@oneclick.dev/cms-kit 0.0.8 → 0.0.10
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 +6 -6
- package/dist/index.css +1 -1
- package/dist/index.es.js +109 -81
- package/dist/types/lib/composables/useBreadcrumbs.d.ts +1 -0
- package/dist/types/lib/composables/useIntegrationActionBuilder.d.ts +1 -1
- package/dist/types/lib/composables/useIntegrationActions.d.ts +1 -1
- package/dist/types/lib/composables/useIntegrations.d.ts +1 -1
- 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 +2 -8
- 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;
|
|
@@ -77569,21 +77569,17 @@ const _sfc_main$3h = /* @__PURE__ */ defineComponent({
|
|
|
77569
77569
|
};
|
|
77570
77570
|
}
|
|
77571
77571
|
});
|
|
77572
|
-
const
|
|
77573
|
-
|
|
77574
|
-
|
|
77575
|
-
|
|
77576
|
-
};
|
|
77572
|
+
const resolvedDependencies = {};
|
|
77573
|
+
function setCmsKitDependency(name2, value) {
|
|
77574
|
+
resolvedDependencies[name2] = value;
|
|
77575
|
+
}
|
|
77577
77576
|
function getCmsKitDependency(name2) {
|
|
77578
|
-
const dep =
|
|
77577
|
+
const dep = resolvedDependencies[name2];
|
|
77579
77578
|
if (!dep) {
|
|
77580
77579
|
throw new Error(`[cms-kit] Missing dependency: ${name2}`);
|
|
77581
77580
|
}
|
|
77582
77581
|
return dep;
|
|
77583
77582
|
}
|
|
77584
|
-
function setCmsKitDependency(name2, loader) {
|
|
77585
|
-
dependencyMap[name2] = loader;
|
|
77586
|
-
}
|
|
77587
77583
|
function useIntegrationActionBuilder() {
|
|
77588
77584
|
const injected = getCmsKitDependency("useIntegrationActionBuilder");
|
|
77589
77585
|
if (!injected) {
|
|
@@ -79206,6 +79202,13 @@ const _sfc_main$2Z = /* @__PURE__ */ defineComponent({
|
|
|
79206
79202
|
};
|
|
79207
79203
|
}
|
|
79208
79204
|
});
|
|
79205
|
+
function useProjectService() {
|
|
79206
|
+
const injected = getCmsKitDependency("useProjectService");
|
|
79207
|
+
if (!injected) {
|
|
79208
|
+
throw new Error("[cms-kit] Missing injected useProjectService composable");
|
|
79209
|
+
}
|
|
79210
|
+
return injected();
|
|
79211
|
+
}
|
|
79209
79212
|
const _hoisted_1$$ = { class: "w-full" };
|
|
79210
79213
|
const _hoisted_2$x = { class: "grid gap-2 mb-2 py-2" };
|
|
79211
79214
|
const _hoisted_3$m = { class: "flex flex-col items-start gap-1.5 mb-4" };
|
|
@@ -80076,8 +80079,8 @@ const _sfc_main$2T = /* @__PURE__ */ defineComponent({
|
|
|
80076
80079
|
const activeEdgeId = ref$1(null);
|
|
80077
80080
|
const variables = ref$1([]);
|
|
80078
80081
|
const computedVariables = ref$1([]);
|
|
80079
|
-
provide
|
|
80080
|
-
provide
|
|
80082
|
+
provide("variables", variables);
|
|
80083
|
+
provide("computedVariables", computedVariables);
|
|
80081
80084
|
const activeNode = computed$1(() => {
|
|
80082
80085
|
return findNode(activeNodeId.value);
|
|
80083
80086
|
});
|
|
@@ -80179,7 +80182,7 @@ const _sfc_main$2T = /* @__PURE__ */ defineComponent({
|
|
|
80179
80182
|
addNodes([newNode]);
|
|
80180
80183
|
connect({ source: args.parentId, target: newNode.id, sourceHandle: args.sourceHandle ?? void 0 });
|
|
80181
80184
|
};
|
|
80182
|
-
provide
|
|
80185
|
+
provide("createNewNode", createNewNode);
|
|
80183
80186
|
const getState = () => {
|
|
80184
80187
|
let state = toObject();
|
|
80185
80188
|
return {
|
|
@@ -111637,7 +111640,7 @@ const _sfc_main$2q = /* @__PURE__ */ defineComponent({
|
|
|
111637
111640
|
};
|
|
111638
111641
|
}
|
|
111639
111642
|
});
|
|
111640
|
-
function useIntegrations
|
|
111643
|
+
function useIntegrations() {
|
|
111641
111644
|
const injected = getCmsKitDependency("useIntegrations");
|
|
111642
111645
|
if (!injected) {
|
|
111643
111646
|
throw new Error("[cms-kit] Missing injected useIntegrations composable");
|
|
@@ -111660,7 +111663,7 @@ const _sfc_main$2p = /* @__PURE__ */ defineComponent({
|
|
|
111660
111663
|
const state = inject$1("state");
|
|
111661
111664
|
const allAvailableVariables = inject$1("allAvailableVariables");
|
|
111662
111665
|
const route = useRoute();
|
|
111663
|
-
const { getProjectIntegrations } = useIntegrations
|
|
111666
|
+
const { getProjectIntegrations } = useIntegrations();
|
|
111664
111667
|
const projectId = route.params.slug;
|
|
111665
111668
|
const integrations = ([__temp, __restore] = withAsyncContext(() => getProjectIntegrations(projectId)), __temp = await __temp, __restore(), __temp);
|
|
111666
111669
|
watch$1(state.apiActions, (val) => {
|
|
@@ -117355,7 +117358,7 @@ const Ss = {
|
|
|
117355
117358
|
originalLayout: null
|
|
117356
117359
|
// store original Layout
|
|
117357
117360
|
});
|
|
117358
|
-
provide
|
|
117361
|
+
provide("emitter", s), provide("gridLayout", { props: i, state: c });
|
|
117359
117362
|
function r2() {
|
|
117360
117363
|
s.on("resizeEvent", k), s.on("dragEvent", C2), o("layout-created", i.layout), xs("resize", g);
|
|
117361
117364
|
}
|
|
@@ -117933,15 +117936,15 @@ const _sfc_main$2g = /* @__PURE__ */ defineComponent({
|
|
|
117933
117936
|
mouseXY.x = e.clientX;
|
|
117934
117937
|
mouseXY.y = e.clientY;
|
|
117935
117938
|
}, false);
|
|
117936
|
-
provide
|
|
117937
|
-
provide
|
|
117938
|
-
provide
|
|
117939
|
-
provide
|
|
117940
|
-
provide
|
|
117941
|
-
provide
|
|
117942
|
-
provide
|
|
117943
|
-
provide
|
|
117944
|
-
provide
|
|
117939
|
+
provide("mouseXY", mouseXY);
|
|
117940
|
+
provide("DragPos", DragPos);
|
|
117941
|
+
provide("state", state);
|
|
117942
|
+
provide("isDragging", isDragging2);
|
|
117943
|
+
provide("activeElement", activeElement);
|
|
117944
|
+
provide("selectedItems", selectedItems);
|
|
117945
|
+
provide("allAvailableVariables", allAvailableVariables);
|
|
117946
|
+
provide("isEditMode", isEditMode);
|
|
117947
|
+
provide("onFinish", props.onFinish);
|
|
117945
117948
|
async function loadState() {
|
|
117946
117949
|
var _a2;
|
|
117947
117950
|
const fetchedState = {};
|
|
@@ -118024,7 +118027,7 @@ const _sfc_main$2g = /* @__PURE__ */ defineComponent({
|
|
|
118024
118027
|
};
|
|
118025
118028
|
}
|
|
118026
118029
|
});
|
|
118027
|
-
const FormBuilderWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$2g, [["__scopeId", "data-v-
|
|
118030
|
+
const FormBuilderWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$2g, [["__scopeId", "data-v-f9c8032f"]]);
|
|
118028
118031
|
const _hoisted_1$p = { class: "flex justify-end gap-2 p-4" };
|
|
118029
118032
|
const _sfc_main$2f = /* @__PURE__ */ defineComponent({
|
|
118030
118033
|
__name: "FormBuilder",
|
|
@@ -119723,7 +119726,7 @@ function _useField(path, rules, opts) {
|
|
|
119723
119726
|
setErrors,
|
|
119724
119727
|
setValue
|
|
119725
119728
|
};
|
|
119726
|
-
provide
|
|
119729
|
+
provide(FieldContextKey, field);
|
|
119727
119730
|
if (isRef(rules) && typeof unref(rules) !== "function") {
|
|
119728
119731
|
watch$1(rules, (value2, oldValue) => {
|
|
119729
119732
|
if (isEqual(value2, oldValue)) {
|
|
@@ -120762,7 +120765,7 @@ function useForm(opts) {
|
|
|
120762
120765
|
(_a3 = formCtx.validateSchema) === null || _a3 === void 0 ? void 0 : _a3.call(formCtx, "validated-only");
|
|
120763
120766
|
});
|
|
120764
120767
|
}
|
|
120765
|
-
provide
|
|
120768
|
+
provide(FormContextKey, formCtx);
|
|
120766
120769
|
if (process.env.NODE_ENV !== "production") {
|
|
120767
120770
|
registerFormWithDevTools(formCtx);
|
|
120768
120771
|
watch$1(() => Object.assign(Object.assign({ errors: errorBag.value }, meta2.value), { values: formValues, isSubmitting: isSubmitting.value, isValidating: isValidating.value, submitCount: submitCount.value }), refreshInspector, {
|
|
@@ -120861,7 +120864,7 @@ function useForm(opts) {
|
|
|
120861
120864
|
});
|
|
120862
120865
|
}
|
|
120863
120866
|
const ctx = Object.assign(Object.assign({}, formCtx), { values: readonly(formValues), handleReset: () => resetForm(), submitForm });
|
|
120864
|
-
provide
|
|
120867
|
+
provide(PublicFormContextKey, ctx);
|
|
120865
120868
|
return ctx;
|
|
120866
120869
|
}
|
|
120867
120870
|
function useFormMeta(pathsState, currentValues, initialValues, errors) {
|
|
@@ -121492,7 +121495,7 @@ const _sfc_main$2a = /* @__PURE__ */ defineComponent({
|
|
|
121492
121495
|
setup(__props) {
|
|
121493
121496
|
const props = __props;
|
|
121494
121497
|
const id2 = useId();
|
|
121495
|
-
provide
|
|
121498
|
+
provide(FORM_ITEM_INJECTION_KEY, id2);
|
|
121496
121499
|
return (_ctx, _cache) => {
|
|
121497
121500
|
return openBlock(), createElementBlock("div", {
|
|
121498
121501
|
"data-slot": "form-item",
|
|
@@ -121644,19 +121647,19 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
121644
121647
|
setup(__props) {
|
|
121645
121648
|
const { builderState, onConfirm, onCancel } = useIntegrationActionBuilder();
|
|
121646
121649
|
const route = useRoute();
|
|
121647
|
-
const { getProjectIntegrations } = useIntegrations
|
|
121648
|
-
const integrations = ref([]);
|
|
121649
|
-
const serviceTypes = ref([]);
|
|
121650
|
-
const actionTypes = ref([]);
|
|
121651
|
-
const projectId = computed(() => route.params.slug);
|
|
121652
|
-
const integrationAction = ref({
|
|
121650
|
+
const { getProjectIntegrations } = useIntegrations();
|
|
121651
|
+
const integrations = ref$1([]);
|
|
121652
|
+
const serviceTypes = ref$1([]);
|
|
121653
|
+
const actionTypes = ref$1([]);
|
|
121654
|
+
const projectId = computed$1(() => route.params.slug);
|
|
121655
|
+
const integrationAction = ref$1({
|
|
121653
121656
|
integration: "",
|
|
121654
121657
|
integrationType: "",
|
|
121655
121658
|
serviceType: "",
|
|
121656
121659
|
actionType: "",
|
|
121657
121660
|
actionTypeConfig: {}
|
|
121658
121661
|
});
|
|
121659
|
-
watch(() => projectId.value, async () => {
|
|
121662
|
+
watch$1(() => projectId.value, async () => {
|
|
121660
121663
|
projectId.value ? loadIntegrations() : integrations.value = [];
|
|
121661
121664
|
serviceTypes.value = [];
|
|
121662
121665
|
actionTypes.value = [];
|
|
@@ -121668,7 +121671,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
121668
121671
|
loadServiceTypes((_a2 = integrationAction.value) == null ? void 0 : _a2.integration);
|
|
121669
121672
|
loadActionTypes((_b = integrationAction.value) == null ? void 0 : _b.serviceType);
|
|
121670
121673
|
};
|
|
121671
|
-
watch(() => builderState.value.show, async (val) => {
|
|
121674
|
+
watch$1(() => builderState.value.show, async (val) => {
|
|
121672
121675
|
if (val) {
|
|
121673
121676
|
let action = builderState.value.action ? JSON.parse(JSON.stringify(builderState.value.action)) : null;
|
|
121674
121677
|
await resetForm();
|
|
@@ -121686,15 +121689,15 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
121686
121689
|
initForm();
|
|
121687
121690
|
}
|
|
121688
121691
|
});
|
|
121689
|
-
watch(() => integrationAction.value.integration, (val) => {
|
|
121692
|
+
watch$1(() => integrationAction.value.integration, (val) => {
|
|
121690
121693
|
var _a2, _b;
|
|
121691
121694
|
loadServiceTypes(val);
|
|
121692
121695
|
integrationAction.value.integrationType = (_b = (_a2 = integrations.value) == null ? void 0 : _a2.find((i) => i.id === val)) == null ? void 0 : _b.type;
|
|
121693
121696
|
});
|
|
121694
|
-
watch(() => integrationAction.value.serviceType, (val) => {
|
|
121697
|
+
watch$1(() => integrationAction.value.serviceType, (val) => {
|
|
121695
121698
|
loadActionTypes(val);
|
|
121696
121699
|
});
|
|
121697
|
-
watch(() => integrationAction.value.actionTypeConfig, (val) => {
|
|
121700
|
+
watch$1(() => integrationAction.value.actionTypeConfig, (val) => {
|
|
121698
121701
|
console.log("actionTypeConfig", val);
|
|
121699
121702
|
});
|
|
121700
121703
|
const loadIntegrations = async () => {
|
|
@@ -121721,7 +121724,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
121721
121724
|
});
|
|
121722
121725
|
serviceTypes.value = [];
|
|
121723
121726
|
actionTypes.value = [];
|
|
121724
|
-
await nextTick();
|
|
121727
|
+
await nextTick$1();
|
|
121725
121728
|
};
|
|
121726
121729
|
const cancel = () => {
|
|
121727
121730
|
resetForm();
|
|
@@ -121730,7 +121733,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
121730
121733
|
const createIntegrationAction = () => {
|
|
121731
121734
|
onConfirm(integrationAction.value);
|
|
121732
121735
|
};
|
|
121733
|
-
onMounted(async () => {
|
|
121736
|
+
onMounted$1(async () => {
|
|
121734
121737
|
initForm();
|
|
121735
121738
|
});
|
|
121736
121739
|
return (_ctx, _cache) => {
|
|
@@ -121789,16 +121792,16 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
121789
121792
|
createElementVNode("div", _hoisted_3$b, [
|
|
121790
121793
|
_cache[7] || (_cache[7] = createElementVNode("p", { class: "text-sm font-semibold" }, "Integration", -1)),
|
|
121791
121794
|
createVNode(_component_ResourceSelect, {
|
|
121792
|
-
modelValue:
|
|
121793
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) =>
|
|
121795
|
+
modelValue: integrationAction.value.integration,
|
|
121796
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => integrationAction.value.integration = $event)
|
|
121794
121797
|
}, null, 8, ["modelValue"])
|
|
121795
121798
|
]),
|
|
121796
121799
|
createElementVNode("div", _hoisted_4$6, [
|
|
121797
121800
|
_cache[8] || (_cache[8] = createElementVNode("p", { class: "text-sm font-semibold" }, "Service type", -1)),
|
|
121798
121801
|
createVNode(_component_Select, {
|
|
121799
|
-
modelValue:
|
|
121800
|
-
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) =>
|
|
121801
|
-
disabled: !
|
|
121802
|
+
modelValue: integrationAction.value.serviceType,
|
|
121803
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => integrationAction.value.serviceType = $event),
|
|
121804
|
+
disabled: !integrationAction.value.integration
|
|
121802
121805
|
}, {
|
|
121803
121806
|
default: withCtx(() => [
|
|
121804
121807
|
createVNode(_component_SelectTrigger, { class: "w-[190px]" }, {
|
|
@@ -121811,7 +121814,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
121811
121814
|
default: withCtx(() => [
|
|
121812
121815
|
createVNode(_component_SelectGroup, null, {
|
|
121813
121816
|
default: withCtx(() => [
|
|
121814
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
121817
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(serviceTypes.value, (serviceType) => {
|
|
121815
121818
|
return openBlock(), createBlock(_component_SelectItem, {
|
|
121816
121819
|
key: serviceType.value,
|
|
121817
121820
|
value: serviceType.value
|
|
@@ -121835,9 +121838,9 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
121835
121838
|
createElementVNode("div", _hoisted_5$6, [
|
|
121836
121839
|
_cache[9] || (_cache[9] = createElementVNode("p", { class: "text-sm font-semibold" }, "Action type", -1)),
|
|
121837
121840
|
createVNode(_component_Select, {
|
|
121838
|
-
modelValue:
|
|
121839
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) =>
|
|
121840
|
-
disabled: !
|
|
121841
|
+
modelValue: integrationAction.value.actionType,
|
|
121842
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => integrationAction.value.actionType = $event),
|
|
121843
|
+
disabled: !integrationAction.value.serviceType
|
|
121841
121844
|
}, {
|
|
121842
121845
|
default: withCtx(() => [
|
|
121843
121846
|
createVNode(_component_SelectTrigger, { class: "w-[190px]" }, {
|
|
@@ -121850,7 +121853,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
121850
121853
|
default: withCtx(() => [
|
|
121851
121854
|
createVNode(_component_SelectGroup, null, {
|
|
121852
121855
|
default: withCtx(() => [
|
|
121853
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
121856
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(actionTypes.value, (actionType) => {
|
|
121854
121857
|
return openBlock(), createBlock(_component_SelectItem, {
|
|
121855
121858
|
key: actionType.value,
|
|
121856
121859
|
value: actionType.value
|
|
@@ -121873,12 +121876,12 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
121873
121876
|
])
|
|
121874
121877
|
]),
|
|
121875
121878
|
createVNode(_component_Separator, { class: "my-4" }),
|
|
121876
|
-
!
|
|
121879
|
+
!integrationAction.value.actionType ? (openBlock(), createElementBlock("div", _hoisted_6$6, _cache[10] || (_cache[10] = [
|
|
121877
121880
|
createElementVNode("p", null, "Choose an action type to get started.", -1)
|
|
121878
121881
|
]))) : (openBlock(), createElementBlock("div", _hoisted_7$5, [
|
|
121879
|
-
(openBlock(), createBlock(resolveDynamicComponent((_a2 =
|
|
121880
|
-
modelValue:
|
|
121881
|
-
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) =>
|
|
121882
|
+
(openBlock(), createBlock(resolveDynamicComponent((_a2 = actionTypes.value.find((at2) => at2.value === integrationAction.value.actionType)) == null ? void 0 : _a2.component), {
|
|
121883
|
+
modelValue: integrationAction.value.actionTypeConfig,
|
|
121884
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => integrationAction.value.actionTypeConfig = $event)
|
|
121882
121885
|
}, null, 8, ["modelValue"]))
|
|
121883
121886
|
]))
|
|
121884
121887
|
]),
|
|
@@ -122491,6 +122494,13 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
|
122491
122494
|
};
|
|
122492
122495
|
}
|
|
122493
122496
|
});
|
|
122497
|
+
function useMediaLibrary$1() {
|
|
122498
|
+
const injected = getCmsKitDependency("useMediaLibrary");
|
|
122499
|
+
if (!injected) {
|
|
122500
|
+
throw new Error("[cms-kit] Missing injected useMediaLibrary composable");
|
|
122501
|
+
}
|
|
122502
|
+
return injected();
|
|
122503
|
+
}
|
|
122494
122504
|
const _hoisted_1$g = { class: "flex items-center gap-2" };
|
|
122495
122505
|
const _hoisted_2$6 = {
|
|
122496
122506
|
key: 0,
|
|
@@ -122523,7 +122533,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
122523
122533
|
const props = __props;
|
|
122524
122534
|
const dialogOpen = ref$1(false);
|
|
122525
122535
|
const project = ref$1(route.params.slug);
|
|
122526
|
-
const { getMediaSource } = useMediaLibrary();
|
|
122536
|
+
const { getMediaSource } = useMediaLibrary$1();
|
|
122527
122537
|
const activeSourceId = ref$1("");
|
|
122528
122538
|
const activeSource = ref$1({});
|
|
122529
122539
|
const folders = ref$1([]);
|
|
@@ -122539,7 +122549,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
122539
122549
|
provide("sort", sort);
|
|
122540
122550
|
const PENDING_FILES = ref$1([]);
|
|
122541
122551
|
provide("pendingFiles", PENDING_FILES);
|
|
122542
|
-
const filteredFolders = computed(() => {
|
|
122552
|
+
const filteredFolders = computed$1(() => {
|
|
122543
122553
|
let filtered = [...folders.value];
|
|
122544
122554
|
if (search.value) {
|
|
122545
122555
|
filtered = filtered.filter((folder) => folder.name.toLowerCase().includes(search.value.toLowerCase()));
|
|
@@ -122550,7 +122560,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
122550
122560
|
return 0;
|
|
122551
122561
|
});
|
|
122552
122562
|
});
|
|
122553
|
-
const filteredFiles = computed(() => {
|
|
122563
|
+
const filteredFiles = computed$1(() => {
|
|
122554
122564
|
function formatPath(path) {
|
|
122555
122565
|
if (path[0] === "/") path = path.substring(1);
|
|
122556
122566
|
if (path[path.length - 1] === "/") path = path.substring(0, path.length - 1);
|
|
@@ -122594,7 +122604,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
122594
122604
|
path = path.substring(1);
|
|
122595
122605
|
}
|
|
122596
122606
|
try {
|
|
122597
|
-
const { getStorageContent } = useMediaLibrary();
|
|
122607
|
+
const { getStorageContent } = useMediaLibrary$1();
|
|
122598
122608
|
if (effectiveBasePath.value && path !== void 0) {
|
|
122599
122609
|
const normalizedPath = path === "" ? "" : path.endsWith("/") ? path : `${path}/`;
|
|
122600
122610
|
const normalizedBasePath = effectiveBasePath.value === "" ? "" : effectiveBasePath.value.endsWith("/") ? effectiveBasePath.value : `${effectiveBasePath.value}/`;
|
|
@@ -122673,7 +122683,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
122673
122683
|
effectiveBasePath.value = effectiveBasePath.value.substring(1);
|
|
122674
122684
|
}
|
|
122675
122685
|
};
|
|
122676
|
-
onMounted(() => {
|
|
122686
|
+
onMounted$1(() => {
|
|
122677
122687
|
var _a2;
|
|
122678
122688
|
activeSourceId.value = ((_a2 = props.sources) == null ? void 0 : _a2[0]) || "";
|
|
122679
122689
|
setEffectiveBasePath();
|
|
@@ -122764,7 +122774,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
122764
122774
|
showNewFolder: activeSource.value.allowUserFolders
|
|
122765
122775
|
}, null, 8, ["showNewFolder"]),
|
|
122766
122776
|
createElementVNode("div", _hoisted_6$3, [
|
|
122767
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
122777
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(filteredFolders.value, (folder) => {
|
|
122768
122778
|
return openBlock(), createElementBlock("div", {
|
|
122769
122779
|
key: folder.path,
|
|
122770
122780
|
onClick: ($event) => navigateToFolder(folder.path),
|
|
@@ -122777,7 +122787,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
122777
122787
|
createElementVNode("span", _hoisted_8$2, toDisplayString(folder.name), 1)
|
|
122778
122788
|
], 10, _hoisted_7$3);
|
|
122779
122789
|
}), 128)),
|
|
122780
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
122790
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(filteredFiles.value, (file) => {
|
|
122781
122791
|
return openBlock(), createBlock(_sfc_main$1$, {
|
|
122782
122792
|
file,
|
|
122783
122793
|
key: file.url,
|
|
@@ -129252,9 +129262,9 @@ const _sfc_main$1Y = /* @__PURE__ */ defineComponent({
|
|
|
129252
129262
|
items.value = [...newVal || []];
|
|
129253
129263
|
}, { deep: true });
|
|
129254
129264
|
const mediaSources = computed(() => props.sources);
|
|
129255
|
-
provide
|
|
129256
|
-
provide
|
|
129257
|
-
provide
|
|
129265
|
+
provide("media-items", items);
|
|
129266
|
+
provide("update-media-items", updateItems);
|
|
129267
|
+
provide("sources", mediaSources);
|
|
129258
129268
|
return (_ctx, _cache) => {
|
|
129259
129269
|
return openBlock(), createBlock(MediaPickerItems);
|
|
129260
129270
|
};
|
|
@@ -130176,6 +130186,13 @@ const __vite_glob_0_50 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.de
|
|
|
130176
130186
|
PopoverContent: _sfc_main$1w,
|
|
130177
130187
|
PopoverTrigger: _sfc_main$1v
|
|
130178
130188
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
130189
|
+
function useQueryBuilder() {
|
|
130190
|
+
const injected = getCmsKitDependency("useQueryBuilder");
|
|
130191
|
+
if (!injected) {
|
|
130192
|
+
throw new Error("[cms-kit] Missing injected useQueryBuilder composable");
|
|
130193
|
+
}
|
|
130194
|
+
return injected();
|
|
130195
|
+
}
|
|
130179
130196
|
const _hoisted_1$c = { key: 0 };
|
|
130180
130197
|
const _hoisted_2$4 = { key: 1 };
|
|
130181
130198
|
const _hoisted_3$3 = { class: "space-y-6 py-4" };
|
|
@@ -131689,9 +131706,9 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
131689
131706
|
const activeIndicator = ref$1(null);
|
|
131690
131707
|
const containerRef = ref$1(null);
|
|
131691
131708
|
const activeButtonIndex = ref$1(0);
|
|
131692
|
-
provide
|
|
131693
|
-
provide
|
|
131694
|
-
provide
|
|
131709
|
+
provide("segmentedControlValue", toRef(props, "modelValue"));
|
|
131710
|
+
provide("segmentedControlRegister", registerButton);
|
|
131711
|
+
provide("segmentedControlContainer", containerRef);
|
|
131695
131712
|
const updateValue = (value) => {
|
|
131696
131713
|
if (props.allowEmpty && value === props.modelValue) {
|
|
131697
131714
|
emit("update:modelValue", "");
|
|
@@ -131699,7 +131716,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
131699
131716
|
}
|
|
131700
131717
|
emit("update:modelValue", value);
|
|
131701
131718
|
};
|
|
131702
|
-
provide
|
|
131719
|
+
provide("updateSegmentedControl", updateValue);
|
|
131703
131720
|
const buttonValues = [];
|
|
131704
131721
|
const buttonRefs = [];
|
|
131705
131722
|
function registerButton(element, value, index) {
|
|
@@ -133422,7 +133439,7 @@ function createContext(providerComponentName, contextName) {
|
|
|
133422
133439
|
return context3;
|
|
133423
133440
|
};
|
|
133424
133441
|
const provideContext = (contextValue) => {
|
|
133425
|
-
provide
|
|
133442
|
+
provide(injectionKey, contextValue);
|
|
133426
133443
|
return contextValue;
|
|
133427
133444
|
};
|
|
133428
133445
|
return [injectContext, provideContext];
|
|
@@ -142305,6 +142322,13 @@ function useCms() {
|
|
|
142305
142322
|
}
|
|
142306
142323
|
return { breadcrumbs, project };
|
|
142307
142324
|
}
|
|
142325
|
+
function useBreadcrumbs$1() {
|
|
142326
|
+
const injected = getCmsKitDependency("useBreadcrumbs");
|
|
142327
|
+
if (!injected) {
|
|
142328
|
+
throw new Error("[cms-kit] Missing injected useBreadcrumbs composable");
|
|
142329
|
+
}
|
|
142330
|
+
return injected();
|
|
142331
|
+
}
|
|
142308
142332
|
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 });
|
|
142309
142333
|
const components = {};
|
|
142310
142334
|
for (const mod of Object.values(modules)) {
|
|
@@ -142314,10 +142338,14 @@ export {
|
|
|
142314
142338
|
components,
|
|
142315
142339
|
getCmsKitDependency,
|
|
142316
142340
|
setCmsKitDependency,
|
|
142341
|
+
useBreadcrumbs$1 as useBreadcrumbs,
|
|
142317
142342
|
useCms,
|
|
142318
142343
|
useIntegrationActionBuilder,
|
|
142319
142344
|
useIntegrationActions$1 as useIntegrationActions,
|
|
142320
|
-
useIntegrations
|
|
142345
|
+
useIntegrations,
|
|
142321
142346
|
useLayout,
|
|
142347
|
+
useMediaLibrary$1 as useMediaLibrary,
|
|
142348
|
+
useProjectService,
|
|
142349
|
+
useQueryBuilder,
|
|
142322
142350
|
useRunProcess
|
|
142323
142351
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useBreadcrumbs(): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function useIntegrationActionBuilder():
|
|
1
|
+
export declare function useIntegrationActionBuilder(): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function useIntegrationActions():
|
|
1
|
+
export declare function useIntegrationActions(): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function useIntegrations():
|
|
1
|
+
export declare function useIntegrations(): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useMediaLibrary(): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useProjectService(): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useQueryBuilder(): any;
|