Commit 8cf6a33
Add visual-editing package (#1)
* init
* add editable elements and overlay management functionality
* add edit button click handler
* update Form type
* trim whitespace from key-value pairs in editable element parsing
* refactor DirectusFrame to singleton, add receive action and key for communication
* refactor EditableStore and EditableElement for static access and clean-up
* add confirmation handling in scan function
* add sameOrigin check in receive method for improved security
* make structure of SavedData clearer
* rename property to mode
* add highlight functionality for overlay elements and extend receive actions
* add support for popover overlays and send position/rect to Directus frame
* reset the edit button styles to initial to avoid interfering with website styles
* add toEditAttr helper function
* refactor: rename Form type to EditConfig and update related references
* add support for modal
* make entire overlay element clickable when highlighted
* add support for individually changing the z-index of overlay elements via CSS vars
* check if window exists to prevent warnings
* prevent overwriting options when elements were specified
* update remove method to correctly remove the container instead of the element
* update query method to select all children instead of first occurrence
* allow elements parameter to accept null
* refactor EditConfig to allow fields as a string or string array
* ensure elements parameter is correctly evaluated as boolean
* add build script to rename global IIFE output files
* add test-website
* update dependencies
* update rename-global-iife script
* update .gitignore to ignore dist folder while including global IIFE
* update path to package.json in tsup.config.js
* update repository URL in package.json
* refactor build script to inline rename-global-iife command
* extract types and refactor
* build
* add readme files
* improve readme files
* Update typo
Co-authored-by: Alex Gaillard <[email protected]>
* refactor: rename noDimensions to hasNoDimensions for clarity
* update readmes
* build
* update setup instructions
* fix types
* rename scan function to apply for clarity
* rename toEditAttr function to setAttr for improved clarity
* build
* update docs
* update package description
* update package description
* refactor build script and update README for Windows compatibility
* build
* refactor nuxt configuration to copy visual-editing.js during build process
* add shell-emulator configuration to .npmrc
* update README for clarity on command usage in test-website
* update test website to include 'visual' module in module_bar
* Update Package Readmes (#2)
* Update library readme
* Update test-website readme
* Delete test-website/template/pnpm-lock.yaml
Remove lock file
* Update readme.md
Co-authored-by: Florian C. Wachmann <[email protected]>
* Update readme.md
Co-authored-by: Florian C. Wachmann <[email protected]>
* Update readme.md
Co-authored-by: Florian C. Wachmann <[email protected]>
* Update readme.md
Co-authored-by: Florian C. Wachmann <[email protected]>
* Update readme.md
Co-authored-by: Florian C. Wachmann <[email protected]>
* Adjust wording
* update readme
* Update test-website/readme.md
Co-authored-by: Alex Gaillard <[email protected]>
* capitalize PHP
* add link to docs for Docker installation
---------
Co-authored-by: Florian C. Wachmann <[email protected]>
* fix wrong link
---------
Co-authored-by: Alex Gaillard <[email protected]>1 parent 2d59ad1 commit 8cf6a33
File tree
273 files changed
+50341
-0
lines changed- dist
- src
- lib
- types
- test-website
- simple-cms/nuxt
- app
- assets
- css
- images
- components
- base
- block
- forms
- fields
- ui
- badge
- button
- checkbox
- collapsible
- command
- dialog
- form
- input
- label
- pagination
- popover
- radio-group
- select
- separator
- textarea
- tooltip
- layouts
- lib
- pages
- blog
- plugins
- public
- icons/social
- images
- scripts
- server
- api
- forms
- posts
- [slug]
- search
- users
- utils
- template
- src
- assets
- content
- schema
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
273 files changed
+50341
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
0 commit comments