@oneclick.dev/cms-kit 0.0.7 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +5 -5
- package/dist/index.css +1 -1
- package/dist/index.es.js +113 -73
- package/dist/types/lib/composables/useBreadcrumbs.d.ts +1 -0
- package/dist/types/lib/composables/useMediaLibrary.d.ts +1 -0
- package/dist/types/lib/composables/useProjectService.d.ts +1 -0
- package/dist/types/lib/composables/useQueryBuilder.d.ts +1 -0
- package/dist/types/lib/injections.d.ts +6 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.emoji-mart,.emoji-mart *{box-sizing:border-box;line-height:1.15}.emoji-mart{font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,sans-serif;font-size:16px;display:flex;flex-direction:column;height:420px;color:#222427;border:1px solid #d9d9d9;border-radius:5px;background:#fff}.emoji-mart-emoji{padding:6px;position:relative;display:inline-block;font-size:0;border:none;background:none;box-shadow:none}.emoji-mart-emoji span{display:inline-block}.emoji-mart-preview-emoji .emoji-mart-emoji span{width:38px;height:38px;font-size:32px}.emoji-type-native{font-family:"Segoe UI Emoji",Segoe UI Symbol,Segoe UI,"Apple Color Emoji",Twemoji Mozilla,"Noto Color Emoji",EmojiOne Color,"Android Emoji";word-break:keep-all}.emoji-type-image{background-size:6100%}.emoji-type-image.emoji-set-apple{background-image:url(https://unpkg.com/emoji-datasource-apple@15.0.1/img/apple/sheets-256/64.png)}.emoji-type-image.emoji-set-facebook{background-image:url(https://unpkg.com/emoji-datasource-facebook@15.0.1/img/facebook/sheets-256/64.png)}.emoji-type-image.emoji-set-google{background-image:url(https://unpkg.com/emoji-datasource-google@15.0.1/img/google/sheets-256/64.png)}.emoji-type-image.emoji-set-twitter{background-image:url(https://unpkg.com/emoji-datasource-twitter@15.0.1/img/twitter/sheets-256/64.png)}.emoji-mart-bar{border:0 solid #d9d9d9}.emoji-mart-bar:first-child{border-bottom-width:1px;border-top-left-radius:5px;border-top-right-radius:5px}.emoji-mart-bar:last-child{border-top-width:1px;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.emoji-mart-scroll{position:relative;overflow-y:scroll;flex:1;padding:0 6px 6px;z-index:0;will-change:transform;-webkit-overflow-scrolling:touch}.emoji-mart-anchors{display:flex;flex-direction:row;justify-content:space-between;padding:0 6px;color:#858585;line-height:0}.emoji-mart-anchor{position:relative;display:block;flex:1 1 auto;text-align:center;padding:12px 4px;overflow:hidden;transition:color .1s ease-out;border:none;background:none;box-shadow:none}.emoji-mart-anchor:hover,.emoji-mart-anchor-selected{color:#464646}.emoji-mart-anchor-selected .emoji-mart-anchor-bar{bottom:0}.emoji-mart-anchor-bar{position:absolute;bottom:-3px;left:0;width:100%;height:3px;background-color:#464646}.emoji-mart-anchors i{display:inline-block;width:100%;max-width:22px}.emoji-mart-anchors svg{fill:currentColor;max-height:18px}.emoji-mart .scroller{height:250px;position:relative;flex:1;padding:0 6px 6px;z-index:0;will-change:transform;-webkit-overflow-scrolling:touch}.emoji-mart-search{margin-top:6px;padding:0 6px}.emoji-mart-search input{font-size:16px;display:block;width:100%;padding:.2em .6em;border-radius:25px;border:1px solid #d9d9d9;outline:0}.emoji-mart-search-results{height:250px;overflow-y:scroll}.emoji-mart-category{position:relative}.emoji-mart-category .emoji-mart-emoji span{z-index:1;position:relative;text-align:center;cursor:default}.emoji-mart-category .emoji-mart-emoji:hover:before,.emoji-mart-emoji-selected:before{z-index:0;content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:#f4f4f4;border-radius:100%;opacity:0}.emoji-mart-category .emoji-mart-emoji:hover:before,.emoji-mart-emoji-selected:before{opacity:1}.emoji-mart-category-label{position:sticky;top:0}.emoji-mart-static .emoji-mart-category-label{z-index:2;position:relative}.emoji-mart-category-label h3{display:block;font-size:16px;width:100%;font-weight:500;padding:5px 6px;background-color:#fff;background-color:#fffffff2}.emoji-mart-emoji{position:relative;display:inline-block;font-size:0}.emoji-mart-no-results{font-size:14px;text-align:center;padding-top:70px;color:#858585}.emoji-mart-no-results .emoji-mart-category-label{display:none}.emoji-mart-no-results .emoji-mart-no-results-label{margin-top:.2em}.emoji-mart-no-results .emoji-mart-emoji:hover:before{content:none}.emoji-mart-preview{position:relative;height:70px}.emoji-mart-preview-emoji,.emoji-mart-preview-data,.emoji-mart-preview-skins{position:absolute;top:50%;transform:translateY(-50%)}.emoji-mart-preview-emoji{left:12px}.emoji-mart-preview-data{left:68px;right:12px;word-break:break-all}.emoji-mart-preview-skins{right:30px;text-align:right}.emoji-mart-preview-name{font-size:14px}.emoji-mart-preview-shortname{font-size:12px;color:#888}.emoji-mart-preview-shortname+.emoji-mart-preview-shortname,.emoji-mart-preview-shortname+.emoji-mart-preview-emoticon,.emoji-mart-preview-emoticon+.emoji-mart-preview-emoticon{margin-left:.5em}.emoji-mart-preview-emoticon{font-size:11px;color:#bbb}.emoji-mart-title span{display:inline-block;vertical-align:middle}.emoji-mart-title .emoji-mart-emoji{padding:0}.emoji-mart-title-label{color:#999a9c;font-size:21px;font-weight:300}.emoji-mart-skin-swatches{font-size:0;padding:2px 0;border:1px solid #d9d9d9;border-radius:12px;background-color:#fff}.emoji-mart-skin-swatches-opened .emoji-mart-skin-swatch{width:16px;padding:0 2px}.emoji-mart-skin-swatches-opened .emoji-mart-skin-swatch-selected:after{opacity:.75}.emoji-mart-skin-swatch{display:inline-block;width:0;vertical-align:middle;transition-property:width,padding;transition-duration:.125s;transition-timing-function:ease-out}.emoji-mart-skin-swatch:nth-child(1){transition-delay:0s}.emoji-mart-skin-swatch:nth-child(2){transition-delay:.03s}.emoji-mart-skin-swatch:nth-child(3){transition-delay:.06s}.emoji-mart-skin-swatch:nth-child(4){transition-delay:.09s}.emoji-mart-skin-swatch:nth-child(5){transition-delay:.12s}.emoji-mart-skin-swatch:nth-child(6){transition-delay:.15s}.emoji-mart-skin-swatch-selected{position:relative;width:16px;padding:0 2px}.emoji-mart-skin-swatch-selected:after{content:"";position:absolute;top:50%;left:50%;width:4px;height:4px;margin:-2px 0 0 -2px;background-color:#fff;border-radius:100%;pointer-events:none;opacity:0;transition:opacity .2s ease-out}.emoji-mart-skin{display:inline-block;width:100%;padding-top:100%;max-width:12px;border-radius:100%}.emoji-mart-skin-tone-1{background-color:#ffc93a}.emoji-mart-skin-tone-2{background-color:#fadcbc}.emoji-mart-skin-tone-3{background-color:#e0bb95}.emoji-mart-skin-tone-4{background-color:#bf8f68}.emoji-mart-skin-tone-5{background-color:#9b643d}.emoji-mart-skin-tone-6{background-color:#594539}.emoji-mart .vue-recycle-scroller{position:relative}.emoji-mart .vue-recycle-scroller.direction-vertical:not(.page-mode){overflow-y:auto}.emoji-mart .vue-recycle-scroller.direction-horizontal:not(.page-mode){overflow-x:auto}.emoji-mart .vue-recycle-scroller.direction-horizontal{display:flex}.emoji-mart .vue-recycle-scroller__slot{flex:auto 0 0}.emoji-mart .vue-recycle-scroller__item-wrapper{flex:1;box-sizing:border-box;overflow:hidden;position:relative}.emoji-mart .vue-recycle-scroller.ready .vue-recycle-scroller__item-view{position:absolute;top:0;left:0;will-change:transform}.emoji-mart .vue-recycle-scroller.direction-vertical .vue-recycle-scroller__item-wrapper{width:100%}.emoji-mart .vue-recycle-scroller.direction-horizontal .vue-recycle-scroller__item-wrapper{height:100%}.emoji-mart .vue-recycle-scroller.ready.direction-vertical .vue-recycle-scroller__item-view{width:100%}.emoji-mart .vue-recycle-scroller.ready.direction-horizontal .vue-recycle-scroller__item-view{height:100%}.emoji-mart .resize-observer[data-v-b329ee4c]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.emoji-mart .resize-observer[data-v-b329ee4c] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.emoji-mart-search .hidden{display:none;visibility:hidden}.emoji-mart-emoji[data-v-52ecd286]{padding:0}.transparent-emoji-picker.emoji-mart{border-width:0;background-color:transparent}.transparent-emoji-picker.emoji-mart .emoji-mart-search input{color:var(--muted-foreground)}.transparent-emoji-picker.emoji-mart .emoji-mart-scroll{padding:0}.transparent-emoji-picker.emoji-mart .emoji-mart-category-label h3{background-color:var(--accent);color:var(--muted-foreground);margin:.5rem 0;border-radius:.5rem}.transparent-emoji-picker.emoji-mart .emoji-mart-category .emoji-mart-emoji:hover:before,.transparent-emoji-picker.emoji-mart .emoji-mart-emoji-selected:before{background-color:var(--muted)}.vue-grid-item[data-v-99aff433]{transition:all .2s ease;transition-property:left,top,right}.vue-grid-item.no-touch[data-v-99aff433]{touch-action:none}.vue-grid-item.cssTransforms[data-v-99aff433]{transition-property:transform;left:0;right:auto}.vue-grid-item.cssTransforms.render-rtl[data-v-99aff433]{left:auto;right:0}.vue-grid-item.resizing[data-v-99aff433]{opacity:.6;z-index:3}.vue-grid-item.vue-draggable-dragging[data-v-99aff433]{transition:none;z-index:3}.vue-grid-item.vue-grid-placeholder[data-v-99aff433]{background:red;opacity:.2;transition-duration:.1s;z-index:2;-webkit-user-select:none;user-select:none}.vue-grid-item>.vue-resizable-handle[data-v-99aff433]{position:absolute;width:20px;height:20px;bottom:0;right:0;background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pg08IS0tIEdlbmVyYXRvcjogQWRvYmUgRmlyZXdvcmtzIENTNiwgRXhwb3J0IFNWRyBFeHRlbnNpb24gYnkgQWFyb24gQmVhbGwgKGh0dHA6Ly9maXJld29ya3MuYWJlYWxsLmNvbSkgLiBWZXJzaW9uOiAwLjYuMSAgLS0+DTwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DTxzdmcgaWQ9IlVudGl0bGVkLVBhZ2UlMjAxIiB2aWV3Qm94PSIwIDAgNiA2IiBzdHlsZT0iYmFja2dyb3VuZC1jb2xvcjojZmZmZmZmMDAiIHZlcnNpb249IjEuMSINCXhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiDQl4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjZweCIgaGVpZ2h0PSI2cHgiDT4NCTxnIG9wYWNpdHk9IjAuMzAyIj4NCQk8cGF0aCBkPSJNIDYgNiBMIDAgNiBMIDAgNC4yIEwgNCA0LjIgTCA0LjIgNC4yIEwgNC4yIDAgTCA2IDAgTCA2IDYgTCA2IDYgWiIgZmlsbD0iIzAwMDAwMCIvPg0JPC9nPg08L3N2Zz4=);background-position:bottom right;padding:0 3px 3px 0;background-repeat:no-repeat;background-origin:content-box;box-sizing:border-box;cursor:se-resize}.vue-grid-item>.vue-rtl-resizable-handle[data-v-99aff433]{bottom:0;left:0;background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAuMDAwMDAwMDAwMDAwMDAyIiBoZWlnaHQ9IjEwLjAwMDAwMDAwMDAwMDAwMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KIDwhLS0gQ3JlYXRlZCB3aXRoIE1ldGhvZCBEcmF3IC0gaHR0cDovL2dpdGh1Yi5jb20vZHVvcGl4ZWwvTWV0aG9kLURyYXcvIC0tPgogPGc+CiAgPHRpdGxlPmJhY2tncm91bmQ8L3RpdGxlPgogIDxyZWN0IGZpbGw9Im5vbmUiIGlkPSJjYW52YXNfYmFja2dyb3VuZCIgaGVpZ2h0PSIxMiIgd2lkdGg9IjEyIiB5PSItMSIgeD0iLTEiLz4KICA8ZyBkaXNwbGF5PSJub25lIiBvdmVyZmxvdz0idmlzaWJsZSIgeT0iMCIgeD0iMCIgaGVpZ2h0PSIxMDAlIiB3aWR0aD0iMTAwJSIgaWQ9ImNhbnZhc0dyaWQiPgogICA8cmVjdCBmaWxsPSJ1cmwoI2dyaWRwYXR0ZXJuKSIgc3Ryb2tlLXdpZHRoPSIwIiB5PSIwIiB4PSIwIiBoZWlnaHQ9IjEwMCUiIHdpZHRoPSIxMDAlIi8+CiAgPC9nPgogPC9nPgogPGc+CiAgPHRpdGxlPkxheWVyIDE8L3RpdGxlPgogIDxsaW5lIGNhbnZhcz0iI2ZmZmZmZiIgY2FudmFzLW9wYWNpdHk9IjEiIHN0cm9rZS1saW5lY2FwPSJ1bmRlZmluZWQiIHN0cm9rZS1saW5lam9pbj0idW5kZWZpbmVkIiBpZD0ic3ZnXzEiIHkyPSItNzAuMTc4NDA3IiB4Mj0iMTI0LjQ2NDE3NSIgeTE9Ii0zOC4zOTI3MzciIHgxPSIxNDQuODIxMjg5IiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlPSIjMDAwIiBmaWxsPSJub25lIi8+CiAgPGxpbmUgc3Ryb2tlPSIjNjY2NjY2IiBzdHJva2UtbGluZWNhcD0idW5kZWZpbmVkIiBzdHJva2UtbGluZWpvaW49InVuZGVmaW5lZCIgaWQ9InN2Z181IiB5Mj0iOS4xMDY5NTciIHgyPSIwLjk0NzI0NyIgeTE9Ii0wLjAxODEyOCIgeDE9IjAuOTQ3MjQ3IiBzdHJva2Utd2lkdGg9IjIiIGZpbGw9Im5vbmUiLz4KICA8bGluZSBzdHJva2UtbGluZWNhcD0idW5kZWZpbmVkIiBzdHJva2UtbGluZWpvaW49InVuZGVmaW5lZCIgaWQ9InN2Z183IiB5Mj0iOSIgeDI9IjEwLjA3MzUyOSIgeTE9IjkiIHgxPSItMC42NTU2NCIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2U9IiM2NjY2NjYiIGZpbGw9Im5vbmUiLz4KIDwvZz4KPC9zdmc+);background-position:bottom left;padding-left:3px;background-repeat:no-repeat;background-origin:content-box;cursor:sw-resize;right:auto}.vue-grid-item.disable-userselect[data-v-99aff433]{-webkit-user-select:none;user-select:none}.vue-grid-layout[data-v-a10aee95]{position:relative;transition:height .2s ease}#custom-form-builder[data-v-4f93e676]::-webkit-scrollbar{width:5px;height:5px}#custom-form-builder[data-v-4f93e676]::-webkit-scrollbar-track{background:transparent}#custom-form-builder[data-v-4f93e676]::-webkit-scrollbar-thumb{background:#494949;border-radius:5px}#custom-form-builder .bg-grid[data-v-4f93e676]{--colNum: 2;background-image:repeating-linear-gradient(to right,var(--primary) 0,var(--primary) 1px,transparent 1px,transparent calc(100% / var(--colNum))),repeating-linear-gradient(to bottom,var(--primary) 0,var(--primary) 1px,transparent 1px,transparent 8px);background-size:100% 100%}#custom-form-builder .vue-grid-item.vue-resizable:hover .vue-resizable-handle[data-v-4f93e676]{display:block}#custom-form-builder .vue-grid-item.vue-resizable .vue-resizable-handle[data-v-4f93e676]{display:none;background:var(--color-muted);border-radius:100px;width:12px;height:12px;right:-6px;bottom:-6px;border:2px solid var(--primary)}.bg-dots[data-v-2b54e479]{background-color:transparent;background-image:radial-gradient(currentColor 1px,transparent 1px);background-size:10px 10px}.draggable-item[data-v-d84d8ac8]{touch-action:none;position:relative;cursor:grab;transition:transform .3s ease-out}.dragging[data-v-d84d8ac8]{cursor:grabbing!important;z-index:100!important;-webkit-user-select:none;user-select:none;transition:none}.media-item-enter-active[data-v-d84d8ac8],.media-item-leave-active[data-v-d84d8ac8]{transition:all .3s ease}@keyframes rippling-bfb499b6{0%{opacity:1}to{transform:scale(2);opacity:0}}.ripple-animation[data-v-bfb499b6]{animation:rippling-bfb499b6 var(--duration) ease-out}
|
|
1
|
+
.emoji-mart,.emoji-mart *{box-sizing:border-box;line-height:1.15}.emoji-mart{font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,sans-serif;font-size:16px;display:flex;flex-direction:column;height:420px;color:#222427;border:1px solid #d9d9d9;border-radius:5px;background:#fff}.emoji-mart-emoji{padding:6px;position:relative;display:inline-block;font-size:0;border:none;background:none;box-shadow:none}.emoji-mart-emoji span{display:inline-block}.emoji-mart-preview-emoji .emoji-mart-emoji span{width:38px;height:38px;font-size:32px}.emoji-type-native{font-family:"Segoe UI Emoji",Segoe UI Symbol,Segoe UI,"Apple Color Emoji",Twemoji Mozilla,"Noto Color Emoji",EmojiOne Color,"Android Emoji";word-break:keep-all}.emoji-type-image{background-size:6100%}.emoji-type-image.emoji-set-apple{background-image:url(https://unpkg.com/emoji-datasource-apple@15.0.1/img/apple/sheets-256/64.png)}.emoji-type-image.emoji-set-facebook{background-image:url(https://unpkg.com/emoji-datasource-facebook@15.0.1/img/facebook/sheets-256/64.png)}.emoji-type-image.emoji-set-google{background-image:url(https://unpkg.com/emoji-datasource-google@15.0.1/img/google/sheets-256/64.png)}.emoji-type-image.emoji-set-twitter{background-image:url(https://unpkg.com/emoji-datasource-twitter@15.0.1/img/twitter/sheets-256/64.png)}.emoji-mart-bar{border:0 solid #d9d9d9}.emoji-mart-bar:first-child{border-bottom-width:1px;border-top-left-radius:5px;border-top-right-radius:5px}.emoji-mart-bar:last-child{border-top-width:1px;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.emoji-mart-scroll{position:relative;overflow-y:scroll;flex:1;padding:0 6px 6px;z-index:0;will-change:transform;-webkit-overflow-scrolling:touch}.emoji-mart-anchors{display:flex;flex-direction:row;justify-content:space-between;padding:0 6px;color:#858585;line-height:0}.emoji-mart-anchor{position:relative;display:block;flex:1 1 auto;text-align:center;padding:12px 4px;overflow:hidden;transition:color .1s ease-out;border:none;background:none;box-shadow:none}.emoji-mart-anchor:hover,.emoji-mart-anchor-selected{color:#464646}.emoji-mart-anchor-selected .emoji-mart-anchor-bar{bottom:0}.emoji-mart-anchor-bar{position:absolute;bottom:-3px;left:0;width:100%;height:3px;background-color:#464646}.emoji-mart-anchors i{display:inline-block;width:100%;max-width:22px}.emoji-mart-anchors svg{fill:currentColor;max-height:18px}.emoji-mart .scroller{height:250px;position:relative;flex:1;padding:0 6px 6px;z-index:0;will-change:transform;-webkit-overflow-scrolling:touch}.emoji-mart-search{margin-top:6px;padding:0 6px}.emoji-mart-search input{font-size:16px;display:block;width:100%;padding:.2em .6em;border-radius:25px;border:1px solid #d9d9d9;outline:0}.emoji-mart-search-results{height:250px;overflow-y:scroll}.emoji-mart-category{position:relative}.emoji-mart-category .emoji-mart-emoji span{z-index:1;position:relative;text-align:center;cursor:default}.emoji-mart-category .emoji-mart-emoji:hover:before,.emoji-mart-emoji-selected:before{z-index:0;content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:#f4f4f4;border-radius:100%;opacity:0}.emoji-mart-category .emoji-mart-emoji:hover:before,.emoji-mart-emoji-selected:before{opacity:1}.emoji-mart-category-label{position:sticky;top:0}.emoji-mart-static .emoji-mart-category-label{z-index:2;position:relative}.emoji-mart-category-label h3{display:block;font-size:16px;width:100%;font-weight:500;padding:5px 6px;background-color:#fff;background-color:#fffffff2}.emoji-mart-emoji{position:relative;display:inline-block;font-size:0}.emoji-mart-no-results{font-size:14px;text-align:center;padding-top:70px;color:#858585}.emoji-mart-no-results .emoji-mart-category-label{display:none}.emoji-mart-no-results .emoji-mart-no-results-label{margin-top:.2em}.emoji-mart-no-results .emoji-mart-emoji:hover:before{content:none}.emoji-mart-preview{position:relative;height:70px}.emoji-mart-preview-emoji,.emoji-mart-preview-data,.emoji-mart-preview-skins{position:absolute;top:50%;transform:translateY(-50%)}.emoji-mart-preview-emoji{left:12px}.emoji-mart-preview-data{left:68px;right:12px;word-break:break-all}.emoji-mart-preview-skins{right:30px;text-align:right}.emoji-mart-preview-name{font-size:14px}.emoji-mart-preview-shortname{font-size:12px;color:#888}.emoji-mart-preview-shortname+.emoji-mart-preview-shortname,.emoji-mart-preview-shortname+.emoji-mart-preview-emoticon,.emoji-mart-preview-emoticon+.emoji-mart-preview-emoticon{margin-left:.5em}.emoji-mart-preview-emoticon{font-size:11px;color:#bbb}.emoji-mart-title span{display:inline-block;vertical-align:middle}.emoji-mart-title .emoji-mart-emoji{padding:0}.emoji-mart-title-label{color:#999a9c;font-size:21px;font-weight:300}.emoji-mart-skin-swatches{font-size:0;padding:2px 0;border:1px solid #d9d9d9;border-radius:12px;background-color:#fff}.emoji-mart-skin-swatches-opened .emoji-mart-skin-swatch{width:16px;padding:0 2px}.emoji-mart-skin-swatches-opened .emoji-mart-skin-swatch-selected:after{opacity:.75}.emoji-mart-skin-swatch{display:inline-block;width:0;vertical-align:middle;transition-property:width,padding;transition-duration:.125s;transition-timing-function:ease-out}.emoji-mart-skin-swatch:nth-child(1){transition-delay:0s}.emoji-mart-skin-swatch:nth-child(2){transition-delay:.03s}.emoji-mart-skin-swatch:nth-child(3){transition-delay:.06s}.emoji-mart-skin-swatch:nth-child(4){transition-delay:.09s}.emoji-mart-skin-swatch:nth-child(5){transition-delay:.12s}.emoji-mart-skin-swatch:nth-child(6){transition-delay:.15s}.emoji-mart-skin-swatch-selected{position:relative;width:16px;padding:0 2px}.emoji-mart-skin-swatch-selected:after{content:"";position:absolute;top:50%;left:50%;width:4px;height:4px;margin:-2px 0 0 -2px;background-color:#fff;border-radius:100%;pointer-events:none;opacity:0;transition:opacity .2s ease-out}.emoji-mart-skin{display:inline-block;width:100%;padding-top:100%;max-width:12px;border-radius:100%}.emoji-mart-skin-tone-1{background-color:#ffc93a}.emoji-mart-skin-tone-2{background-color:#fadcbc}.emoji-mart-skin-tone-3{background-color:#e0bb95}.emoji-mart-skin-tone-4{background-color:#bf8f68}.emoji-mart-skin-tone-5{background-color:#9b643d}.emoji-mart-skin-tone-6{background-color:#594539}.emoji-mart .vue-recycle-scroller{position:relative}.emoji-mart .vue-recycle-scroller.direction-vertical:not(.page-mode){overflow-y:auto}.emoji-mart .vue-recycle-scroller.direction-horizontal:not(.page-mode){overflow-x:auto}.emoji-mart .vue-recycle-scroller.direction-horizontal{display:flex}.emoji-mart .vue-recycle-scroller__slot{flex:auto 0 0}.emoji-mart .vue-recycle-scroller__item-wrapper{flex:1;box-sizing:border-box;overflow:hidden;position:relative}.emoji-mart .vue-recycle-scroller.ready .vue-recycle-scroller__item-view{position:absolute;top:0;left:0;will-change:transform}.emoji-mart .vue-recycle-scroller.direction-vertical .vue-recycle-scroller__item-wrapper{width:100%}.emoji-mart .vue-recycle-scroller.direction-horizontal .vue-recycle-scroller__item-wrapper{height:100%}.emoji-mart .vue-recycle-scroller.ready.direction-vertical .vue-recycle-scroller__item-view{width:100%}.emoji-mart .vue-recycle-scroller.ready.direction-horizontal .vue-recycle-scroller__item-view{height:100%}.emoji-mart .resize-observer[data-v-b329ee4c]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.emoji-mart .resize-observer[data-v-b329ee4c] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.emoji-mart-search .hidden{display:none;visibility:hidden}.emoji-mart-emoji[data-v-52ecd286]{padding:0}.transparent-emoji-picker.emoji-mart{border-width:0;background-color:transparent}.transparent-emoji-picker.emoji-mart .emoji-mart-search input{color:var(--muted-foreground)}.transparent-emoji-picker.emoji-mart .emoji-mart-scroll{padding:0}.transparent-emoji-picker.emoji-mart .emoji-mart-category-label h3{background-color:var(--accent);color:var(--muted-foreground);margin:.5rem 0;border-radius:.5rem}.transparent-emoji-picker.emoji-mart .emoji-mart-category .emoji-mart-emoji:hover:before,.transparent-emoji-picker.emoji-mart .emoji-mart-emoji-selected:before{background-color:var(--muted)}.vue-grid-item[data-v-99aff433]{transition:all .2s ease;transition-property:left,top,right}.vue-grid-item.no-touch[data-v-99aff433]{touch-action:none}.vue-grid-item.cssTransforms[data-v-99aff433]{transition-property:transform;left:0;right:auto}.vue-grid-item.cssTransforms.render-rtl[data-v-99aff433]{left:auto;right:0}.vue-grid-item.resizing[data-v-99aff433]{opacity:.6;z-index:3}.vue-grid-item.vue-draggable-dragging[data-v-99aff433]{transition:none;z-index:3}.vue-grid-item.vue-grid-placeholder[data-v-99aff433]{background:red;opacity:.2;transition-duration:.1s;z-index:2;-webkit-user-select:none;user-select:none}.vue-grid-item>.vue-resizable-handle[data-v-99aff433]{position:absolute;width:20px;height:20px;bottom:0;right:0;background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pg08IS0tIEdlbmVyYXRvcjogQWRvYmUgRmlyZXdvcmtzIENTNiwgRXhwb3J0IFNWRyBFeHRlbnNpb24gYnkgQWFyb24gQmVhbGwgKGh0dHA6Ly9maXJld29ya3MuYWJlYWxsLmNvbSkgLiBWZXJzaW9uOiAwLjYuMSAgLS0+DTwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DTxzdmcgaWQ9IlVudGl0bGVkLVBhZ2UlMjAxIiB2aWV3Qm94PSIwIDAgNiA2IiBzdHlsZT0iYmFja2dyb3VuZC1jb2xvcjojZmZmZmZmMDAiIHZlcnNpb249IjEuMSINCXhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiDQl4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjZweCIgaGVpZ2h0PSI2cHgiDT4NCTxnIG9wYWNpdHk9IjAuMzAyIj4NCQk8cGF0aCBkPSJNIDYgNiBMIDAgNiBMIDAgNC4yIEwgNCA0LjIgTCA0LjIgNC4yIEwgNC4yIDAgTCA2IDAgTCA2IDYgTCA2IDYgWiIgZmlsbD0iIzAwMDAwMCIvPg0JPC9nPg08L3N2Zz4=);background-position:bottom right;padding:0 3px 3px 0;background-repeat:no-repeat;background-origin:content-box;box-sizing:border-box;cursor:se-resize}.vue-grid-item>.vue-rtl-resizable-handle[data-v-99aff433]{bottom:0;left:0;background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAuMDAwMDAwMDAwMDAwMDAyIiBoZWlnaHQ9IjEwLjAwMDAwMDAwMDAwMDAwMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KIDwhLS0gQ3JlYXRlZCB3aXRoIE1ldGhvZCBEcmF3IC0gaHR0cDovL2dpdGh1Yi5jb20vZHVvcGl4ZWwvTWV0aG9kLURyYXcvIC0tPgogPGc+CiAgPHRpdGxlPmJhY2tncm91bmQ8L3RpdGxlPgogIDxyZWN0IGZpbGw9Im5vbmUiIGlkPSJjYW52YXNfYmFja2dyb3VuZCIgaGVpZ2h0PSIxMiIgd2lkdGg9IjEyIiB5PSItMSIgeD0iLTEiLz4KICA8ZyBkaXNwbGF5PSJub25lIiBvdmVyZmxvdz0idmlzaWJsZSIgeT0iMCIgeD0iMCIgaGVpZ2h0PSIxMDAlIiB3aWR0aD0iMTAwJSIgaWQ9ImNhbnZhc0dyaWQiPgogICA8cmVjdCBmaWxsPSJ1cmwoI2dyaWRwYXR0ZXJuKSIgc3Ryb2tlLXdpZHRoPSIwIiB5PSIwIiB4PSIwIiBoZWlnaHQ9IjEwMCUiIHdpZHRoPSIxMDAlIi8+CiAgPC9nPgogPC9nPgogPGc+CiAgPHRpdGxlPkxheWVyIDE8L3RpdGxlPgogIDxsaW5lIGNhbnZhcz0iI2ZmZmZmZiIgY2FudmFzLW9wYWNpdHk9IjEiIHN0cm9rZS1saW5lY2FwPSJ1bmRlZmluZWQiIHN0cm9rZS1saW5lam9pbj0idW5kZWZpbmVkIiBpZD0ic3ZnXzEiIHkyPSItNzAuMTc4NDA3IiB4Mj0iMTI0LjQ2NDE3NSIgeTE9Ii0zOC4zOTI3MzciIHgxPSIxNDQuODIxMjg5IiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlPSIjMDAwIiBmaWxsPSJub25lIi8+CiAgPGxpbmUgc3Ryb2tlPSIjNjY2NjY2IiBzdHJva2UtbGluZWNhcD0idW5kZWZpbmVkIiBzdHJva2UtbGluZWpvaW49InVuZGVmaW5lZCIgaWQ9InN2Z181IiB5Mj0iOS4xMDY5NTciIHgyPSIwLjk0NzI0NyIgeTE9Ii0wLjAxODEyOCIgeDE9IjAuOTQ3MjQ3IiBzdHJva2Utd2lkdGg9IjIiIGZpbGw9Im5vbmUiLz4KICA8bGluZSBzdHJva2UtbGluZWNhcD0idW5kZWZpbmVkIiBzdHJva2UtbGluZWpvaW49InVuZGVmaW5lZCIgaWQ9InN2Z183IiB5Mj0iOSIgeDI9IjEwLjA3MzUyOSIgeTE9IjkiIHgxPSItMC42NTU2NCIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2U9IiM2NjY2NjYiIGZpbGw9Im5vbmUiLz4KIDwvZz4KPC9zdmc+);background-position:bottom left;padding-left:3px;background-repeat:no-repeat;background-origin:content-box;cursor:sw-resize;right:auto}.vue-grid-item.disable-userselect[data-v-99aff433]{-webkit-user-select:none;user-select:none}.vue-grid-layout[data-v-a10aee95]{position:relative;transition:height .2s ease}#custom-form-builder[data-v-4f93e676]::-webkit-scrollbar{width:5px;height:5px}#custom-form-builder[data-v-4f93e676]::-webkit-scrollbar-track{background:transparent}#custom-form-builder[data-v-4f93e676]::-webkit-scrollbar-thumb{background:#494949;border-radius:5px}#custom-form-builder .bg-grid[data-v-4f93e676]{--colNum: 2;background-image:repeating-linear-gradient(to right,var(--primary) 0,var(--primary) 1px,transparent 1px,transparent calc(100% / var(--colNum))),repeating-linear-gradient(to bottom,var(--primary) 0,var(--primary) 1px,transparent 1px,transparent 8px);background-size:100% 100%}#custom-form-builder .vue-grid-item.vue-resizable:hover .vue-resizable-handle[data-v-4f93e676]{display:block}#custom-form-builder .vue-grid-item.vue-resizable .vue-resizable-handle[data-v-4f93e676]{display:none;background:var(--color-muted);border-radius:100px;width:12px;height:12px;right:-6px;bottom:-6px;border:2px solid var(--primary)}.bg-dots[data-v-f9c8032f]{background-color:transparent;background-image:radial-gradient(currentColor 1px,transparent 1px);background-size:10px 10px}.draggable-item[data-v-d84d8ac8]{touch-action:none;position:relative;cursor:grab;transition:transform .3s ease-out}.dragging[data-v-d84d8ac8]{cursor:grabbing!important;z-index:100!important;-webkit-user-select:none;user-select:none;transition:none}.media-item-enter-active[data-v-d84d8ac8],.media-item-leave-active[data-v-d84d8ac8]{transition:all .3s ease}@keyframes rippling-bfb499b6{0%{opacity:1}to{transform:scale(2);opacity:0}}.ripple-animation[data-v-bfb499b6]{animation:rippling-bfb499b6 var(--duration) ease-out}
|
package/dist/index.es.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
-
import { createElementBlock, openBlock, Fragment, renderList, normalizeStyle, normalizeClass, createElementVNode, createBlock, createCommentVNode, resolveDynamicComponent, withCtx, toDisplayString, resolveComponent, createVNode, withDirectives, withKeys, vModelText, renderSlot, vShow, defineComponent, unref, computed as computed$1, mergeProps, h, createTextVNode, ref as ref$1, onMounted as onMounted$1, watch as watch$1, onBeforeUnmount, getCurrentScope, onScopeDispose, nextTick as nextTick$1, customRef, isRef, reactive, getCurrentInstance, hasInjectionContext, inject as inject$1, toRefs as toRefs$1, toValue as toValue$2, shallowRef, watchEffect as watchEffect$1, onUpdated, normalizeProps, guardReactiveProps, onUnmounted, Teleport, useSlots, withModifiers, effectScope, provide
|
|
4
|
+
import { createElementBlock, openBlock, Fragment, renderList, normalizeStyle, normalizeClass, createElementVNode, createBlock, createCommentVNode, resolveDynamicComponent, withCtx, toDisplayString, resolveComponent, createVNode, withDirectives, withKeys, vModelText, renderSlot, vShow, defineComponent, unref, computed as computed$1, mergeProps, h, createTextVNode, ref as ref$1, onMounted as onMounted$1, watch as watch$1, onBeforeUnmount, getCurrentScope, onScopeDispose, nextTick as nextTick$1, customRef, isRef, reactive, getCurrentInstance, hasInjectionContext, inject as inject$1, toRefs as toRefs$1, toValue as toValue$2, shallowRef, watchEffect as watchEffect$1, onUpdated, normalizeProps, guardReactiveProps, onUnmounted, Teleport, useSlots, withModifiers, effectScope, provide, useAttrs, createPropsRestProxy, toRef, markRaw, onBeforeMount, isMemoSame, readonly, toRaw, createSlots, Transition as Transition$2, vModelSelect, withAsyncContext, warn as warn$2, TransitionGroup, onBeforeUpdate, Comment, cloneVNode } from "vue";
|
|
5
5
|
import { AvatarRoot, AvatarFallback, AvatarImage, Primitive, useForwardPropsEmits, CalendarRoot, useForwardProps, CalendarCell, CalendarCellTrigger, CalendarGrid, CalendarGridBody, CalendarGridHead, CalendarGridRow, CalendarHeadCell, CalendarHeader, CalendarHeading, CalendarNext, CalendarPrev, CheckboxRoot, CheckboxIndicator, CollapsibleRoot, CollapsibleContent, CollapsibleTrigger, ComboboxRoot, ComboboxAnchor, ComboboxEmpty, ComboboxGroup, ComboboxLabel, ComboboxInput, ComboboxItem, ComboboxItemIndicator, ComboboxPortal, ComboboxContent, ComboboxSeparator, ComboboxViewport, ComboboxCancel, ComboboxTrigger, useFilter, ListboxRoot, DialogRoot, DialogClose, DialogOverlay, DialogPortal, DialogContent, DialogDescription, DialogTitle, DialogTrigger, useId, ListboxGroup, ListboxGroupLabel, ListboxFilter, ListboxItem, ListboxContent, Separator, createContext as createContext$1, ContextMenuRoot, ContextMenuCheckboxItem, ContextMenuItemIndicator, ContextMenuPortal, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DropdownMenuRoot, DropdownMenuCheckboxItem, DropdownMenuItemIndicator, DropdownMenuPortal, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Slot, Label, MenubarRoot, MenubarCheckboxItem, MenubarItemIndicator, MenubarPortal, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NumberFieldRoot, NumberFieldDecrement, NumberFieldIncrement, NumberFieldInput, PaginationEllipsis, PaginationFirst, PaginationLast, PaginationNext, PaginationPrev, PaginationRoot, PaginationList, PaginationListItem, PopoverRoot, PopoverAnchor, PopoverPortal, PopoverContent, PopoverTrigger, RadioGroupRoot, RadioGroupItem, RadioGroupIndicator, RangeCalendarRoot, RangeCalendarCell, RangeCalendarCellTrigger, RangeCalendarGrid, RangeCalendarGridBody, RangeCalendarGridHead, RangeCalendarGridRow, RangeCalendarHeadCell, RangeCalendarHeader, RangeCalendarHeading, RangeCalendarNext, RangeCalendarPrev, SplitterResizeHandle, SplitterPanel, SplitterGroup, ScrollAreaScrollbar, ScrollAreaThumb, ScrollAreaRoot, ScrollAreaViewport, ScrollAreaCorner, SelectRoot, SelectPortal, SelectContent, SelectViewport, SelectGroup, SelectItem, SelectItemIndicator, SelectItemText, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectIcon, SelectValue, TooltipRoot, TooltipPortal, TooltipContent, TooltipArrow, TooltipProvider, TooltipTrigger, SwitchRoot, SwitchThumb, TabsRoot, TabsContent, TabsList, TabsTrigger, Toggle } from "reka-ui";
|
|
6
6
|
import { cva } from "class-variance-authority";
|
|
7
|
-
import { useNuxtApp } from "nuxt/app";
|
|
7
|
+
import { useNuxtApp, useRoute } from "nuxt/app";
|
|
8
8
|
var NAMESPACE = "emoji-mart";
|
|
9
9
|
const _JSON = JSON;
|
|
10
10
|
var isLocalStorageSupported = typeof window !== "undefined" && "localStorage" in window;
|
|
@@ -62120,7 +62120,7 @@ function useVueFlow(idOrOpts) {
|
|
|
62120
62120
|
}
|
|
62121
62121
|
}
|
|
62122
62122
|
if (scope) {
|
|
62123
|
-
provide
|
|
62123
|
+
provide(VueFlow, vueFlow);
|
|
62124
62124
|
scope.vueFlowId = vueFlow.id;
|
|
62125
62125
|
}
|
|
62126
62126
|
if (isOptsObj) {
|
|
@@ -62902,8 +62902,8 @@ const EdgeWrapper = defineComponent({
|
|
|
62902
62902
|
);
|
|
62903
62903
|
const isUpdatable = toRef(() => typeof edge.value.updatable === "undefined" ? edgesUpdatable.value : edge.value.updatable);
|
|
62904
62904
|
const isFocusable = toRef(() => typeof edge.value.focusable === "undefined" ? edgesFocusable.value : edge.value.focusable);
|
|
62905
|
-
provide
|
|
62906
|
-
provide
|
|
62905
|
+
provide(EdgeId, props.id);
|
|
62906
|
+
provide(EdgeRef, edgeEl);
|
|
62907
62907
|
const edgeClass = computed$1(() => edge.value.class instanceof Function ? edge.value.class(edge.value) : edge.value.class);
|
|
62908
62908
|
const edgeStyle = computed$1(() => edge.value.style instanceof Function ? edge.value.style(edge.value) : edge.value.style);
|
|
62909
62909
|
const edgeCmp = computed$1(() => {
|
|
@@ -63470,8 +63470,8 @@ const NodeWrapper = defineComponent({
|
|
|
63470
63470
|
hooks
|
|
63471
63471
|
} = useVueFlow();
|
|
63472
63472
|
const nodeElement = ref$1(null);
|
|
63473
|
-
provide
|
|
63474
|
-
provide
|
|
63473
|
+
provide(NodeRef, nodeElement);
|
|
63474
|
+
provide(NodeId, props.id);
|
|
63475
63475
|
const slots = inject$1(Slots$1);
|
|
63476
63476
|
const instance = getCurrentInstance();
|
|
63477
63477
|
const updateNodePositions = useUpdateNodePositions();
|
|
@@ -63967,7 +63967,7 @@ const _sfc_main$1$3 = /* @__PURE__ */ defineComponent({
|
|
|
63967
63967
|
useHooks(emit, instance.hooks);
|
|
63968
63968
|
useOnInitHandler();
|
|
63969
63969
|
useStylesLoadedWarning();
|
|
63970
|
-
provide
|
|
63970
|
+
provide(Slots$1, slots);
|
|
63971
63971
|
onUnmounted(() => {
|
|
63972
63972
|
dispose();
|
|
63973
63973
|
});
|
|
@@ -66636,7 +66636,7 @@ const _sfc_main$3F = /* @__PURE__ */ defineComponent({
|
|
|
66636
66636
|
const defaultHeight = 150;
|
|
66637
66637
|
const { id: id2, edges, viewport, translateExtent, dimensions, emits, d3Selection, d3Zoom, getNodesInitialized } = useVueFlow();
|
|
66638
66638
|
const el = ref$1();
|
|
66639
|
-
provide
|
|
66639
|
+
provide(Slots, slots);
|
|
66640
66640
|
const elementWidth = toRef(() => {
|
|
66641
66641
|
var _a2;
|
|
66642
66642
|
return __props.width ?? ((_a2 = attrs.style) == null ? void 0 : _a2.width) ?? defaultWidth;
|
|
@@ -77572,7 +77572,11 @@ const _sfc_main$3h = /* @__PURE__ */ defineComponent({
|
|
|
77572
77572
|
const dependencyMap = {
|
|
77573
77573
|
useIntegrationActionBuilder: () => import("virtual:cms/composables/useIntegrationActionBuilder").then((m) => m.useIntegrationActionBuilder),
|
|
77574
77574
|
useIntegrations: () => import("virtual:cms/composables/useIntegrations").then((m) => m.useIntegrations),
|
|
77575
|
-
useIntegrationActions: () => import("virtual:cms/composables/useIntegrationActions").then((m) => m.useIntegrationActions)
|
|
77575
|
+
useIntegrationActions: () => import("virtual:cms/composables/useIntegrationActions").then((m) => m.useIntegrationActions),
|
|
77576
|
+
useMediaLibrary: () => import("virtual:cms/composables/useMediaLibrary").then((m) => m.useMediaLibrary),
|
|
77577
|
+
useProjectService: () => import("virtual:cms/composables/useProjectService").then((m) => m.useProjectService),
|
|
77578
|
+
useBreadcrumbs: () => import("virtual:cms/composables/useBreadcrumbs").then((m) => m.useBreadcrumbs),
|
|
77579
|
+
useQueryBuilder: () => import("virtual:cms/composables/useQueryBuilder").then((m) => m.useQueryBuilder)
|
|
77576
77580
|
};
|
|
77577
77581
|
function getCmsKitDependency(name2) {
|
|
77578
77582
|
const dep = dependencyMap[name2];
|
|
@@ -77581,6 +77585,9 @@ function getCmsKitDependency(name2) {
|
|
|
77581
77585
|
}
|
|
77582
77586
|
return dep;
|
|
77583
77587
|
}
|
|
77588
|
+
function setCmsKitDependency(name2, loader) {
|
|
77589
|
+
dependencyMap[name2] = loader;
|
|
77590
|
+
}
|
|
77584
77591
|
function useIntegrationActionBuilder() {
|
|
77585
77592
|
const injected = getCmsKitDependency("useIntegrationActionBuilder");
|
|
77586
77593
|
if (!injected) {
|
|
@@ -79203,6 +79210,13 @@ const _sfc_main$2Z = /* @__PURE__ */ defineComponent({
|
|
|
79203
79210
|
};
|
|
79204
79211
|
}
|
|
79205
79212
|
});
|
|
79213
|
+
function useProjectService() {
|
|
79214
|
+
const injected = getCmsKitDependency("useProjectService");
|
|
79215
|
+
if (!injected) {
|
|
79216
|
+
throw new Error("[cms-kit] Missing injected useProjectService composable");
|
|
79217
|
+
}
|
|
79218
|
+
return injected();
|
|
79219
|
+
}
|
|
79206
79220
|
const _hoisted_1$$ = { class: "w-full" };
|
|
79207
79221
|
const _hoisted_2$x = { class: "grid gap-2 mb-2 py-2" };
|
|
79208
79222
|
const _hoisted_3$m = { class: "flex flex-col items-start gap-1.5 mb-4" };
|
|
@@ -80073,8 +80087,8 @@ const _sfc_main$2T = /* @__PURE__ */ defineComponent({
|
|
|
80073
80087
|
const activeEdgeId = ref$1(null);
|
|
80074
80088
|
const variables = ref$1([]);
|
|
80075
80089
|
const computedVariables = ref$1([]);
|
|
80076
|
-
provide
|
|
80077
|
-
provide
|
|
80090
|
+
provide("variables", variables);
|
|
80091
|
+
provide("computedVariables", computedVariables);
|
|
80078
80092
|
const activeNode = computed$1(() => {
|
|
80079
80093
|
return findNode(activeNodeId.value);
|
|
80080
80094
|
});
|
|
@@ -80176,7 +80190,7 @@ const _sfc_main$2T = /* @__PURE__ */ defineComponent({
|
|
|
80176
80190
|
addNodes([newNode]);
|
|
80177
80191
|
connect({ source: args.parentId, target: newNode.id, sourceHandle: args.sourceHandle ?? void 0 });
|
|
80178
80192
|
};
|
|
80179
|
-
provide
|
|
80193
|
+
provide("createNewNode", createNewNode);
|
|
80180
80194
|
const getState = () => {
|
|
80181
80195
|
let state = toObject();
|
|
80182
80196
|
return {
|
|
@@ -111634,7 +111648,7 @@ const _sfc_main$2q = /* @__PURE__ */ defineComponent({
|
|
|
111634
111648
|
};
|
|
111635
111649
|
}
|
|
111636
111650
|
});
|
|
111637
|
-
function useIntegrations
|
|
111651
|
+
function useIntegrations() {
|
|
111638
111652
|
const injected = getCmsKitDependency("useIntegrations");
|
|
111639
111653
|
if (!injected) {
|
|
111640
111654
|
throw new Error("[cms-kit] Missing injected useIntegrations composable");
|
|
@@ -111657,7 +111671,7 @@ const _sfc_main$2p = /* @__PURE__ */ defineComponent({
|
|
|
111657
111671
|
const state = inject$1("state");
|
|
111658
111672
|
const allAvailableVariables = inject$1("allAvailableVariables");
|
|
111659
111673
|
const route = useRoute();
|
|
111660
|
-
const { getProjectIntegrations } = useIntegrations
|
|
111674
|
+
const { getProjectIntegrations } = useIntegrations();
|
|
111661
111675
|
const projectId = route.params.slug;
|
|
111662
111676
|
const integrations = ([__temp, __restore] = withAsyncContext(() => getProjectIntegrations(projectId)), __temp = await __temp, __restore(), __temp);
|
|
111663
111677
|
watch$1(state.apiActions, (val) => {
|
|
@@ -117352,7 +117366,7 @@ const Ss = {
|
|
|
117352
117366
|
originalLayout: null
|
|
117353
117367
|
// store original Layout
|
|
117354
117368
|
});
|
|
117355
|
-
provide
|
|
117369
|
+
provide("emitter", s), provide("gridLayout", { props: i, state: c });
|
|
117356
117370
|
function r2() {
|
|
117357
117371
|
s.on("resizeEvent", k), s.on("dragEvent", C2), o("layout-created", i.layout), xs("resize", g);
|
|
117358
117372
|
}
|
|
@@ -117930,15 +117944,15 @@ const _sfc_main$2g = /* @__PURE__ */ defineComponent({
|
|
|
117930
117944
|
mouseXY.x = e.clientX;
|
|
117931
117945
|
mouseXY.y = e.clientY;
|
|
117932
117946
|
}, false);
|
|
117933
|
-
provide
|
|
117934
|
-
provide
|
|
117935
|
-
provide
|
|
117936
|
-
provide
|
|
117937
|
-
provide
|
|
117938
|
-
provide
|
|
117939
|
-
provide
|
|
117940
|
-
provide
|
|
117941
|
-
provide
|
|
117947
|
+
provide("mouseXY", mouseXY);
|
|
117948
|
+
provide("DragPos", DragPos);
|
|
117949
|
+
provide("state", state);
|
|
117950
|
+
provide("isDragging", isDragging2);
|
|
117951
|
+
provide("activeElement", activeElement);
|
|
117952
|
+
provide("selectedItems", selectedItems);
|
|
117953
|
+
provide("allAvailableVariables", allAvailableVariables);
|
|
117954
|
+
provide("isEditMode", isEditMode);
|
|
117955
|
+
provide("onFinish", props.onFinish);
|
|
117942
117956
|
async function loadState() {
|
|
117943
117957
|
var _a2;
|
|
117944
117958
|
const fetchedState = {};
|
|
@@ -118021,7 +118035,7 @@ const _sfc_main$2g = /* @__PURE__ */ defineComponent({
|
|
|
118021
118035
|
};
|
|
118022
118036
|
}
|
|
118023
118037
|
});
|
|
118024
|
-
const FormBuilderWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$2g, [["__scopeId", "data-v-
|
|
118038
|
+
const FormBuilderWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$2g, [["__scopeId", "data-v-f9c8032f"]]);
|
|
118025
118039
|
const _hoisted_1$p = { class: "flex justify-end gap-2 p-4" };
|
|
118026
118040
|
const _sfc_main$2f = /* @__PURE__ */ defineComponent({
|
|
118027
118041
|
__name: "FormBuilder",
|
|
@@ -119720,7 +119734,7 @@ function _useField(path, rules, opts) {
|
|
|
119720
119734
|
setErrors,
|
|
119721
119735
|
setValue
|
|
119722
119736
|
};
|
|
119723
|
-
provide
|
|
119737
|
+
provide(FieldContextKey, field);
|
|
119724
119738
|
if (isRef(rules) && typeof unref(rules) !== "function") {
|
|
119725
119739
|
watch$1(rules, (value2, oldValue) => {
|
|
119726
119740
|
if (isEqual(value2, oldValue)) {
|
|
@@ -120759,7 +120773,7 @@ function useForm(opts) {
|
|
|
120759
120773
|
(_a3 = formCtx.validateSchema) === null || _a3 === void 0 ? void 0 : _a3.call(formCtx, "validated-only");
|
|
120760
120774
|
});
|
|
120761
120775
|
}
|
|
120762
|
-
provide
|
|
120776
|
+
provide(FormContextKey, formCtx);
|
|
120763
120777
|
if (process.env.NODE_ENV !== "production") {
|
|
120764
120778
|
registerFormWithDevTools(formCtx);
|
|
120765
120779
|
watch$1(() => Object.assign(Object.assign({ errors: errorBag.value }, meta2.value), { values: formValues, isSubmitting: isSubmitting.value, isValidating: isValidating.value, submitCount: submitCount.value }), refreshInspector, {
|
|
@@ -120858,7 +120872,7 @@ function useForm(opts) {
|
|
|
120858
120872
|
});
|
|
120859
120873
|
}
|
|
120860
120874
|
const ctx = Object.assign(Object.assign({}, formCtx), { values: readonly(formValues), handleReset: () => resetForm(), submitForm });
|
|
120861
|
-
provide
|
|
120875
|
+
provide(PublicFormContextKey, ctx);
|
|
120862
120876
|
return ctx;
|
|
120863
120877
|
}
|
|
120864
120878
|
function useFormMeta(pathsState, currentValues, initialValues, errors) {
|
|
@@ -121489,7 +121503,7 @@ const _sfc_main$2a = /* @__PURE__ */ defineComponent({
|
|
|
121489
121503
|
setup(__props) {
|
|
121490
121504
|
const props = __props;
|
|
121491
121505
|
const id2 = useId();
|
|
121492
|
-
provide
|
|
121506
|
+
provide(FORM_ITEM_INJECTION_KEY, id2);
|
|
121493
121507
|
return (_ctx, _cache) => {
|
|
121494
121508
|
return openBlock(), createElementBlock("div", {
|
|
121495
121509
|
"data-slot": "form-item",
|
|
@@ -121641,19 +121655,19 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
121641
121655
|
setup(__props) {
|
|
121642
121656
|
const { builderState, onConfirm, onCancel } = useIntegrationActionBuilder();
|
|
121643
121657
|
const route = useRoute();
|
|
121644
|
-
const { getProjectIntegrations } = useIntegrations
|
|
121645
|
-
const integrations = ref([]);
|
|
121646
|
-
const serviceTypes = ref([]);
|
|
121647
|
-
const actionTypes = ref([]);
|
|
121648
|
-
const projectId = computed(() => route.params.slug);
|
|
121649
|
-
const integrationAction = ref({
|
|
121658
|
+
const { getProjectIntegrations } = useIntegrations();
|
|
121659
|
+
const integrations = ref$1([]);
|
|
121660
|
+
const serviceTypes = ref$1([]);
|
|
121661
|
+
const actionTypes = ref$1([]);
|
|
121662
|
+
const projectId = computed$1(() => route.params.slug);
|
|
121663
|
+
const integrationAction = ref$1({
|
|
121650
121664
|
integration: "",
|
|
121651
121665
|
integrationType: "",
|
|
121652
121666
|
serviceType: "",
|
|
121653
121667
|
actionType: "",
|
|
121654
121668
|
actionTypeConfig: {}
|
|
121655
121669
|
});
|
|
121656
|
-
watch(() => projectId.value, async () => {
|
|
121670
|
+
watch$1(() => projectId.value, async () => {
|
|
121657
121671
|
projectId.value ? loadIntegrations() : integrations.value = [];
|
|
121658
121672
|
serviceTypes.value = [];
|
|
121659
121673
|
actionTypes.value = [];
|
|
@@ -121665,7 +121679,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
121665
121679
|
loadServiceTypes((_a2 = integrationAction.value) == null ? void 0 : _a2.integration);
|
|
121666
121680
|
loadActionTypes((_b = integrationAction.value) == null ? void 0 : _b.serviceType);
|
|
121667
121681
|
};
|
|
121668
|
-
watch(() => builderState.value.show, async (val) => {
|
|
121682
|
+
watch$1(() => builderState.value.show, async (val) => {
|
|
121669
121683
|
if (val) {
|
|
121670
121684
|
let action = builderState.value.action ? JSON.parse(JSON.stringify(builderState.value.action)) : null;
|
|
121671
121685
|
await resetForm();
|
|
@@ -121683,15 +121697,15 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
121683
121697
|
initForm();
|
|
121684
121698
|
}
|
|
121685
121699
|
});
|
|
121686
|
-
watch(() => integrationAction.value.integration, (val) => {
|
|
121700
|
+
watch$1(() => integrationAction.value.integration, (val) => {
|
|
121687
121701
|
var _a2, _b;
|
|
121688
121702
|
loadServiceTypes(val);
|
|
121689
121703
|
integrationAction.value.integrationType = (_b = (_a2 = integrations.value) == null ? void 0 : _a2.find((i) => i.id === val)) == null ? void 0 : _b.type;
|
|
121690
121704
|
});
|
|
121691
|
-
watch(() => integrationAction.value.serviceType, (val) => {
|
|
121705
|
+
watch$1(() => integrationAction.value.serviceType, (val) => {
|
|
121692
121706
|
loadActionTypes(val);
|
|
121693
121707
|
});
|
|
121694
|
-
watch(() => integrationAction.value.actionTypeConfig, (val) => {
|
|
121708
|
+
watch$1(() => integrationAction.value.actionTypeConfig, (val) => {
|
|
121695
121709
|
console.log("actionTypeConfig", val);
|
|
121696
121710
|
});
|
|
121697
121711
|
const loadIntegrations = async () => {
|
|
@@ -121718,7 +121732,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
121718
121732
|
});
|
|
121719
121733
|
serviceTypes.value = [];
|
|
121720
121734
|
actionTypes.value = [];
|
|
121721
|
-
await nextTick();
|
|
121735
|
+
await nextTick$1();
|
|
121722
121736
|
};
|
|
121723
121737
|
const cancel = () => {
|
|
121724
121738
|
resetForm();
|
|
@@ -121727,7 +121741,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
121727
121741
|
const createIntegrationAction = () => {
|
|
121728
121742
|
onConfirm(integrationAction.value);
|
|
121729
121743
|
};
|
|
121730
|
-
onMounted(async () => {
|
|
121744
|
+
onMounted$1(async () => {
|
|
121731
121745
|
initForm();
|
|
121732
121746
|
});
|
|
121733
121747
|
return (_ctx, _cache) => {
|
|
@@ -121786,16 +121800,16 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
121786
121800
|
createElementVNode("div", _hoisted_3$b, [
|
|
121787
121801
|
_cache[7] || (_cache[7] = createElementVNode("p", { class: "text-sm font-semibold" }, "Integration", -1)),
|
|
121788
121802
|
createVNode(_component_ResourceSelect, {
|
|
121789
|
-
modelValue:
|
|
121790
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) =>
|
|
121803
|
+
modelValue: integrationAction.value.integration,
|
|
121804
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => integrationAction.value.integration = $event)
|
|
121791
121805
|
}, null, 8, ["modelValue"])
|
|
121792
121806
|
]),
|
|
121793
121807
|
createElementVNode("div", _hoisted_4$6, [
|
|
121794
121808
|
_cache[8] || (_cache[8] = createElementVNode("p", { class: "text-sm font-semibold" }, "Service type", -1)),
|
|
121795
121809
|
createVNode(_component_Select, {
|
|
121796
|
-
modelValue:
|
|
121797
|
-
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) =>
|
|
121798
|
-
disabled: !
|
|
121810
|
+
modelValue: integrationAction.value.serviceType,
|
|
121811
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => integrationAction.value.serviceType = $event),
|
|
121812
|
+
disabled: !integrationAction.value.integration
|
|
121799
121813
|
}, {
|
|
121800
121814
|
default: withCtx(() => [
|
|
121801
121815
|
createVNode(_component_SelectTrigger, { class: "w-[190px]" }, {
|
|
@@ -121808,7 +121822,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
121808
121822
|
default: withCtx(() => [
|
|
121809
121823
|
createVNode(_component_SelectGroup, null, {
|
|
121810
121824
|
default: withCtx(() => [
|
|
121811
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
121825
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(serviceTypes.value, (serviceType) => {
|
|
121812
121826
|
return openBlock(), createBlock(_component_SelectItem, {
|
|
121813
121827
|
key: serviceType.value,
|
|
121814
121828
|
value: serviceType.value
|
|
@@ -121832,9 +121846,9 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
121832
121846
|
createElementVNode("div", _hoisted_5$6, [
|
|
121833
121847
|
_cache[9] || (_cache[9] = createElementVNode("p", { class: "text-sm font-semibold" }, "Action type", -1)),
|
|
121834
121848
|
createVNode(_component_Select, {
|
|
121835
|
-
modelValue:
|
|
121836
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) =>
|
|
121837
|
-
disabled: !
|
|
121849
|
+
modelValue: integrationAction.value.actionType,
|
|
121850
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => integrationAction.value.actionType = $event),
|
|
121851
|
+
disabled: !integrationAction.value.serviceType
|
|
121838
121852
|
}, {
|
|
121839
121853
|
default: withCtx(() => [
|
|
121840
121854
|
createVNode(_component_SelectTrigger, { class: "w-[190px]" }, {
|
|
@@ -121847,7 +121861,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
121847
121861
|
default: withCtx(() => [
|
|
121848
121862
|
createVNode(_component_SelectGroup, null, {
|
|
121849
121863
|
default: withCtx(() => [
|
|
121850
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
121864
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(actionTypes.value, (actionType) => {
|
|
121851
121865
|
return openBlock(), createBlock(_component_SelectItem, {
|
|
121852
121866
|
key: actionType.value,
|
|
121853
121867
|
value: actionType.value
|
|
@@ -121870,12 +121884,12 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
121870
121884
|
])
|
|
121871
121885
|
]),
|
|
121872
121886
|
createVNode(_component_Separator, { class: "my-4" }),
|
|
121873
|
-
!
|
|
121887
|
+
!integrationAction.value.actionType ? (openBlock(), createElementBlock("div", _hoisted_6$6, _cache[10] || (_cache[10] = [
|
|
121874
121888
|
createElementVNode("p", null, "Choose an action type to get started.", -1)
|
|
121875
121889
|
]))) : (openBlock(), createElementBlock("div", _hoisted_7$5, [
|
|
121876
|
-
(openBlock(), createBlock(resolveDynamicComponent((_a2 =
|
|
121877
|
-
modelValue:
|
|
121878
|
-
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) =>
|
|
121890
|
+
(openBlock(), createBlock(resolveDynamicComponent((_a2 = actionTypes.value.find((at2) => at2.value === integrationAction.value.actionType)) == null ? void 0 : _a2.component), {
|
|
121891
|
+
modelValue: integrationAction.value.actionTypeConfig,
|
|
121892
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => integrationAction.value.actionTypeConfig = $event)
|
|
121879
121893
|
}, null, 8, ["modelValue"]))
|
|
121880
121894
|
]))
|
|
121881
121895
|
]),
|
|
@@ -122488,6 +122502,13 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
|
122488
122502
|
};
|
|
122489
122503
|
}
|
|
122490
122504
|
});
|
|
122505
|
+
function useMediaLibrary$1() {
|
|
122506
|
+
const injected = getCmsKitDependency("useMediaLibrary");
|
|
122507
|
+
if (!injected) {
|
|
122508
|
+
throw new Error("[cms-kit] Missing injected useMediaLibrary composable");
|
|
122509
|
+
}
|
|
122510
|
+
return injected();
|
|
122511
|
+
}
|
|
122491
122512
|
const _hoisted_1$g = { class: "flex items-center gap-2" };
|
|
122492
122513
|
const _hoisted_2$6 = {
|
|
122493
122514
|
key: 0,
|
|
@@ -122520,7 +122541,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
122520
122541
|
const props = __props;
|
|
122521
122542
|
const dialogOpen = ref$1(false);
|
|
122522
122543
|
const project = ref$1(route.params.slug);
|
|
122523
|
-
const { getMediaSource } = useMediaLibrary();
|
|
122544
|
+
const { getMediaSource } = useMediaLibrary$1();
|
|
122524
122545
|
const activeSourceId = ref$1("");
|
|
122525
122546
|
const activeSource = ref$1({});
|
|
122526
122547
|
const folders = ref$1([]);
|
|
@@ -122536,7 +122557,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
122536
122557
|
provide("sort", sort);
|
|
122537
122558
|
const PENDING_FILES = ref$1([]);
|
|
122538
122559
|
provide("pendingFiles", PENDING_FILES);
|
|
122539
|
-
const filteredFolders = computed(() => {
|
|
122560
|
+
const filteredFolders = computed$1(() => {
|
|
122540
122561
|
let filtered = [...folders.value];
|
|
122541
122562
|
if (search.value) {
|
|
122542
122563
|
filtered = filtered.filter((folder) => folder.name.toLowerCase().includes(search.value.toLowerCase()));
|
|
@@ -122547,7 +122568,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
122547
122568
|
return 0;
|
|
122548
122569
|
});
|
|
122549
122570
|
});
|
|
122550
|
-
const filteredFiles = computed(() => {
|
|
122571
|
+
const filteredFiles = computed$1(() => {
|
|
122551
122572
|
function formatPath(path) {
|
|
122552
122573
|
if (path[0] === "/") path = path.substring(1);
|
|
122553
122574
|
if (path[path.length - 1] === "/") path = path.substring(0, path.length - 1);
|
|
@@ -122591,7 +122612,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
122591
122612
|
path = path.substring(1);
|
|
122592
122613
|
}
|
|
122593
122614
|
try {
|
|
122594
|
-
const { getStorageContent } = useMediaLibrary();
|
|
122615
|
+
const { getStorageContent } = useMediaLibrary$1();
|
|
122595
122616
|
if (effectiveBasePath.value && path !== void 0) {
|
|
122596
122617
|
const normalizedPath = path === "" ? "" : path.endsWith("/") ? path : `${path}/`;
|
|
122597
122618
|
const normalizedBasePath = effectiveBasePath.value === "" ? "" : effectiveBasePath.value.endsWith("/") ? effectiveBasePath.value : `${effectiveBasePath.value}/`;
|
|
@@ -122670,7 +122691,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
122670
122691
|
effectiveBasePath.value = effectiveBasePath.value.substring(1);
|
|
122671
122692
|
}
|
|
122672
122693
|
};
|
|
122673
|
-
onMounted(() => {
|
|
122694
|
+
onMounted$1(() => {
|
|
122674
122695
|
var _a2;
|
|
122675
122696
|
activeSourceId.value = ((_a2 = props.sources) == null ? void 0 : _a2[0]) || "";
|
|
122676
122697
|
setEffectiveBasePath();
|
|
@@ -122761,7 +122782,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
122761
122782
|
showNewFolder: activeSource.value.allowUserFolders
|
|
122762
122783
|
}, null, 8, ["showNewFolder"]),
|
|
122763
122784
|
createElementVNode("div", _hoisted_6$3, [
|
|
122764
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
122785
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(filteredFolders.value, (folder) => {
|
|
122765
122786
|
return openBlock(), createElementBlock("div", {
|
|
122766
122787
|
key: folder.path,
|
|
122767
122788
|
onClick: ($event) => navigateToFolder(folder.path),
|
|
@@ -122774,7 +122795,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
122774
122795
|
createElementVNode("span", _hoisted_8$2, toDisplayString(folder.name), 1)
|
|
122775
122796
|
], 10, _hoisted_7$3);
|
|
122776
122797
|
}), 128)),
|
|
122777
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
122798
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(filteredFiles.value, (file) => {
|
|
122778
122799
|
return openBlock(), createBlock(_sfc_main$1$, {
|
|
122779
122800
|
file,
|
|
122780
122801
|
key: file.url,
|
|
@@ -129249,9 +129270,9 @@ const _sfc_main$1Y = /* @__PURE__ */ defineComponent({
|
|
|
129249
129270
|
items.value = [...newVal || []];
|
|
129250
129271
|
}, { deep: true });
|
|
129251
129272
|
const mediaSources = computed(() => props.sources);
|
|
129252
|
-
provide
|
|
129253
|
-
provide
|
|
129254
|
-
provide
|
|
129273
|
+
provide("media-items", items);
|
|
129274
|
+
provide("update-media-items", updateItems);
|
|
129275
|
+
provide("sources", mediaSources);
|
|
129255
129276
|
return (_ctx, _cache) => {
|
|
129256
129277
|
return openBlock(), createBlock(MediaPickerItems);
|
|
129257
129278
|
};
|
|
@@ -130173,6 +130194,13 @@ const __vite_glob_0_50 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.de
|
|
|
130173
130194
|
PopoverContent: _sfc_main$1w,
|
|
130174
130195
|
PopoverTrigger: _sfc_main$1v
|
|
130175
130196
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
130197
|
+
function useQueryBuilder() {
|
|
130198
|
+
const injected = getCmsKitDependency("useQueryBuilder");
|
|
130199
|
+
if (!injected) {
|
|
130200
|
+
throw new Error("[cms-kit] Missing injected useQueryBuilder composable");
|
|
130201
|
+
}
|
|
130202
|
+
return injected();
|
|
130203
|
+
}
|
|
130176
130204
|
const _hoisted_1$c = { key: 0 };
|
|
130177
130205
|
const _hoisted_2$4 = { key: 1 };
|
|
130178
130206
|
const _hoisted_3$3 = { class: "space-y-6 py-4" };
|
|
@@ -131686,9 +131714,9 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
131686
131714
|
const activeIndicator = ref$1(null);
|
|
131687
131715
|
const containerRef = ref$1(null);
|
|
131688
131716
|
const activeButtonIndex = ref$1(0);
|
|
131689
|
-
provide
|
|
131690
|
-
provide
|
|
131691
|
-
provide
|
|
131717
|
+
provide("segmentedControlValue", toRef(props, "modelValue"));
|
|
131718
|
+
provide("segmentedControlRegister", registerButton);
|
|
131719
|
+
provide("segmentedControlContainer", containerRef);
|
|
131692
131720
|
const updateValue = (value) => {
|
|
131693
131721
|
if (props.allowEmpty && value === props.modelValue) {
|
|
131694
131722
|
emit("update:modelValue", "");
|
|
@@ -131696,7 +131724,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
131696
131724
|
}
|
|
131697
131725
|
emit("update:modelValue", value);
|
|
131698
131726
|
};
|
|
131699
|
-
provide
|
|
131727
|
+
provide("updateSegmentedControl", updateValue);
|
|
131700
131728
|
const buttonValues = [];
|
|
131701
131729
|
const buttonRefs = [];
|
|
131702
131730
|
function registerButton(element, value, index) {
|
|
@@ -133419,7 +133447,7 @@ function createContext(providerComponentName, contextName) {
|
|
|
133419
133447
|
return context3;
|
|
133420
133448
|
};
|
|
133421
133449
|
const provideContext = (contextValue) => {
|
|
133422
|
-
provide
|
|
133450
|
+
provide(injectionKey, contextValue);
|
|
133423
133451
|
return contextValue;
|
|
133424
133452
|
};
|
|
133425
133453
|
return [injectContext, provideContext];
|
|
@@ -142302,6 +142330,13 @@ function useCms() {
|
|
|
142302
142330
|
}
|
|
142303
142331
|
return { breadcrumbs, project };
|
|
142304
142332
|
}
|
|
142333
|
+
function useBreadcrumbs$1() {
|
|
142334
|
+
const injected = getCmsKitDependency("useBreadcrumbs");
|
|
142335
|
+
if (!injected) {
|
|
142336
|
+
throw new Error("[cms-kit] Missing injected useBreadcrumbs composable");
|
|
142337
|
+
}
|
|
142338
|
+
return injected();
|
|
142339
|
+
}
|
|
142305
142340
|
const modules = /* @__PURE__ */ Object.assign({ "./components/ui/apple-emoji/index.ts": __vite_glob_0_0, "./components/ui/avatar/index.ts": __vite_glob_0_1, "./components/ui/badge/index.ts": __vite_glob_0_2, "./components/ui/breadcrumb/index.ts": __vite_glob_0_3, "./components/ui/button/index.ts": __vite_glob_0_4, "./components/ui/calendar/index.ts": __vite_glob_0_5, "./components/ui/card/index.ts": __vite_glob_0_6, "./components/ui/checkbox/index.ts": __vite_glob_0_7, "./components/ui/code-editor/index.ts": __vite_glob_0_8, "./components/ui/collapsible/index.ts": __vite_glob_0_9, "./components/ui/combobox/index.ts": __vite_glob_0_10, "./components/ui/command/index.ts": __vite_glob_0_11, "./components/ui/context-menu/index.ts": __vite_glob_0_12, "./components/ui/custom-dialog/index.ts": __vite_glob_0_13, "./components/ui/dialog/index.ts": __vite_glob_0_14, "./components/ui/drawer/index.ts": __vite_glob_0_15, "./components/ui/dropdown-menu/index.ts": __vite_glob_0_16, "./components/ui/emoji-picker/index.ts": __vite_glob_0_17, "./components/ui/flow-builder/index.ts": __vite_glob_0_18, "./components/ui/form-builder/components/admin/element-setting-views/index.ts": __vite_glob_0_19, "./components/ui/form-builder/components/elements/button/index.ts": __vite_glob_0_20, "./components/ui/form-builder/components/elements/checkbox/index.ts": __vite_glob_0_21, "./components/ui/form-builder/components/elements/file/index.ts": __vite_glob_0_22, "./components/ui/form-builder/components/elements/images/index.ts": __vite_glob_0_23, "./components/ui/form-builder/components/elements/index.ts": __vite_glob_0_24, "./components/ui/form-builder/components/elements/items/index.ts": __vite_glob_0_25, "./components/ui/form-builder/components/elements/label/index.ts": __vite_glob_0_26, "./components/ui/form-builder/components/elements/location/index.ts": __vite_glob_0_27, "./components/ui/form-builder/components/elements/radios/index.ts": __vite_glob_0_28, "./components/ui/form-builder/components/elements/richtext/index.ts": __vite_glob_0_29, "./components/ui/form-builder/components/elements/scanner/index.ts": __vite_glob_0_30, "./components/ui/form-builder/components/elements/select/index.ts": __vite_glob_0_31, "./components/ui/form-builder/components/elements/text/index.ts": __vite_glob_0_32, "./components/ui/form-builder/components/elements/textarea/index.ts": __vite_glob_0_33, "./components/ui/form-builder/components/elements/textfield/index.ts": __vite_glob_0_34, "./components/ui/form-builder/index.ts": __vite_glob_0_35, "./components/ui/form/index.ts": __vite_glob_0_36, "./components/ui/input/index.ts": __vite_glob_0_37, "./components/ui/integration-action-builder/index.ts": __vite_glob_0_38, "./components/ui/integration-action-builder/integrations/firebase/index.ts": __vite_glob_0_39, "./components/ui/integration-action-builder/integrations/index.ts": __vite_glob_0_40, "./components/ui/integration-action-builder/integrations/openai/index.ts": __vite_glob_0_41, "./components/ui/integration-action-builder/integrations/twilio/index.ts": __vite_glob_0_42, "./components/ui/integration-icon/index.ts": __vite_glob_0_43, "./components/ui/label/index.ts": __vite_glob_0_44, "./components/ui/lucide-icon-selector/index.ts": __vite_glob_0_45, "./components/ui/media-picker/index.ts": __vite_glob_0_46, "./components/ui/menubar/index.ts": __vite_glob_0_47, "./components/ui/number-field/index.ts": __vite_glob_0_48, "./components/ui/pagination/index.ts": __vite_glob_0_49, "./components/ui/popover/index.ts": __vite_glob_0_50, "./components/ui/query-builder-dialog/index.ts": __vite_glob_0_51, "./components/ui/radio-group/index.ts": __vite_glob_0_52, "./components/ui/range-calendar/index.ts": __vite_glob_0_53, "./components/ui/resizable/index.ts": __vite_glob_0_54, "./components/ui/ripple-button/index.ts": __vite_glob_0_55, "./components/ui/sandbox/index.ts": __vite_glob_0_56, "./components/ui/scroll-area/index.ts": __vite_glob_0_57, "./components/ui/segmented-control/index.ts": __vite_glob_0_58, "./components/ui/select/index.ts": __vite_glob_0_59, "./components/ui/separator/index.ts": __vite_glob_0_60, "./components/ui/sheet/index.ts": __vite_glob_0_61, "./components/ui/sidebar/index.ts": __vite_glob_0_62, "./components/ui/skeleton/index.ts": __vite_glob_0_63, "./components/ui/sonner/index.ts": __vite_glob_0_64, "./components/ui/spring-calendar/index.ts": __vite_glob_0_65, "./components/ui/switch/index.ts": __vite_glob_0_66, "./components/ui/table/index.ts": __vite_glob_0_67, "./components/ui/tabs/index.ts": __vite_glob_0_68, "./components/ui/tailwind-color-picker/index.ts": __vite_glob_0_69, "./components/ui/textarea/index.ts": __vite_glob_0_70, "./components/ui/toggle/index.ts": __vite_glob_0_71, "./components/ui/tooltip/index.ts": __vite_glob_0_72 });
|
|
142306
142341
|
const components = {};
|
|
142307
142342
|
for (const mod of Object.values(modules)) {
|
|
@@ -142310,10 +142345,15 @@ for (const mod of Object.values(modules)) {
|
|
|
142310
142345
|
export {
|
|
142311
142346
|
components,
|
|
142312
142347
|
getCmsKitDependency,
|
|
142348
|
+
setCmsKitDependency,
|
|
142349
|
+
useBreadcrumbs$1 as useBreadcrumbs,
|
|
142313
142350
|
useCms,
|
|
142314
142351
|
useIntegrationActionBuilder,
|
|
142315
142352
|
useIntegrationActions$1 as useIntegrationActions,
|
|
142316
|
-
useIntegrations
|
|
142353
|
+
useIntegrations,
|
|
142317
142354
|
useLayout,
|
|
142355
|
+
useMediaLibrary$1 as useMediaLibrary,
|
|
142356
|
+
useProjectService,
|
|
142357
|
+
useQueryBuilder,
|
|
142318
142358
|
useRunProcess
|
|
142319
142359
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useBreadcrumbs(): Promise<typeof import('../../types/virtual-cms.d.ts').useIntegrationActionBuilder>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useMediaLibrary(): Promise<typeof import('../../types/virtual-cms.d.ts').useIntegrationActionBuilder>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useProjectService(): Promise<typeof import('../../types/virtual-cms.d.ts').useIntegrationActionBuilder>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useQueryBuilder(): Promise<typeof import('../../types/virtual-cms.d.ts').useIntegrationActionBuilder>;
|
|
@@ -2,6 +2,11 @@ declare const dependencyMap: {
|
|
|
2
2
|
useIntegrationActionBuilder: () => Promise<typeof import('../types/virtual-cms.d.ts').useIntegrationActionBuilder>;
|
|
3
3
|
useIntegrations: () => Promise<typeof import('../types/virtual-cms.d.ts').useIntegrations>;
|
|
4
4
|
useIntegrationActions: () => Promise<typeof import('../types/virtual-cms.d.ts').useIntegrationActions>;
|
|
5
|
+
useMediaLibrary: () => Promise<typeof import('../types/virtual-cms.d.ts').useMediaLibrary>;
|
|
6
|
+
useProjectService: () => Promise<typeof import('../types/virtual-cms.d.ts').useProjectService>;
|
|
7
|
+
useBreadcrumbs: () => Promise<typeof import('../types/virtual-cms.d.ts').useBreadcrumbs>;
|
|
8
|
+
useQueryBuilder: () => Promise<typeof import('../types/virtual-cms.d.ts').useQueryBuilder>;
|
|
5
9
|
};
|
|
6
|
-
export declare function getCmsKitDependency(name: keyof typeof dependencyMap): (() => Promise<typeof import('../types/virtual-cms.d.ts').useIntegrationActionBuilder>) | (() => Promise<typeof import('../types/virtual-cms.d.ts').useIntegrations>) | (() => Promise<typeof import('../types/virtual-cms.d.ts').useIntegrationActions>);
|
|
10
|
+
export declare function getCmsKitDependency(name: keyof typeof dependencyMap): (() => Promise<typeof import('../types/virtual-cms.d.ts').useIntegrationActionBuilder>) | (() => Promise<typeof import('../types/virtual-cms.d.ts').useIntegrations>) | (() => Promise<typeof import('../types/virtual-cms.d.ts').useIntegrationActions>) | (() => Promise<typeof import('../types/virtual-cms.d.ts').useMediaLibrary>) | (() => Promise<typeof import('../types/virtual-cms.d.ts').useProjectService>) | (() => Promise<typeof import('../types/virtual-cms.d.ts').useBreadcrumbs>) | (() => Promise<typeof import('../types/virtual-cms.d.ts').useQueryBuilder>);
|
|
11
|
+
export declare function setCmsKitDependency(name: keyof typeof dependencyMap, loader: () => Promise<any>): void;
|
|
7
12
|
export {};
|