@oneclick.dev/cms-core-modules 0.0.84 → 0.0.85

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.
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("@oneclick.dev/cms-kit"),i={class:"flex-1 bg-[#fcfcfc] dark:bg-muted/20 rounded-lg border shadow overflow-hidden mt-4"},m=e.defineComponent({__name:"View",setup(p){const s=n.useRoute(),u=n.useOverlayParams(),{config:a}=n.useModule(),c=t=>{document.documentElement.dataset.moduleOverlayMode==="true"&&window.parent.postMessage({type:"module-overlay:close"},"*")},l=e.computed(()=>{const t={...s.query,...u.value};return Object.entries(t).reduce((o,[r,d])=>(o[r]=d,o),{})});return(t,o)=>{const r=e.resolveComponent("FormDisplayer");return e.openBlock(),e.createElementBlock("div",i,[e.createVNode(r,{settings:e.unref(a).formLayout,onFinish:c,variables:[],inputValues:l.value,style:{background:"transparent"}},null,8,["settings","inputValues"])])}}});exports.default=m;
@@ -0,0 +1,28 @@
1
+ import { defineComponent as l, computed as d, resolveComponent as m, openBlock as i, createElementBlock as p, createVNode as f, unref as _ } from "vue";
2
+ import { useRoute as v, useOverlayParams as y, useModule as g } from "@oneclick.dev/cms-kit";
3
+ const b = { class: "flex-1 bg-[#fcfcfc] dark:bg-muted/20 rounded-lg border shadow overflow-hidden mt-4" }, V = /* @__PURE__ */ l({
4
+ __name: "View",
5
+ setup(h) {
6
+ const r = v(), n = y(), { config: s } = g(), a = (e) => {
7
+ document.documentElement.dataset.moduleOverlayMode === "true" && window.parent.postMessage({ type: "module-overlay:close" }, "*");
8
+ }, u = d(() => {
9
+ const e = { ...r.query, ...n.value };
10
+ return Object.entries(e).reduce((t, [o, c]) => (t[o] = c, t), {});
11
+ });
12
+ return (e, t) => {
13
+ const o = m("FormDisplayer");
14
+ return i(), p("div", b, [
15
+ f(o, {
16
+ settings: _(s).formLayout,
17
+ onFinish: a,
18
+ variables: [],
19
+ inputValues: u.value,
20
+ style: { background: "transparent" }
21
+ }, null, 8, ["settings", "inputValues"])
22
+ ]);
23
+ };
24
+ }
25
+ });
26
+ export {
27
+ V as default
28
+ };
@@ -1 +1 @@
1
- .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}.dark #custom-module-wrapper::-webkit-scrollbar-thumb{background:#d8d8d8}#custom-module-wrapper::-webkit-scrollbar{width:5px;height:5px}#custom-module-wrapper::-webkit-scrollbar-track{background:transparent}#custom-module-wrapper::-webkit-scrollbar-thumb{background:#494949;border-radius:5px}#custom-module-wrapper .bg-grid{background-image:repeating-linear-gradient(to right,var(--primary) 0,var(--primary) 1px,transparent 1px,transparent calc(100% / 12)),repeating-linear-gradient(to bottom,var(--primary) 0,var(--primary) 1px,transparent 1px,transparent 8px);background-size:100% 100%}#custom-module-wrapper .vue-grid-item.vue-resizable:hover .vue-resizable-handle{display:block}#custom-module-wrapper .vue-grid-item.vue-resizable .vue-resizable-handle{display:none;background:var(--color-muted);border-radius:100px;width:12px;height:12px;right:-6px;bottom:-6px;border:2px solid var(--primary)}.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)}.tiptap-details{position:relative;display:flex;gap:.5rem;border:1px solid #7f7f7f76;border-radius:.5rem;padding:.5rem}.tiptap-details summary{font-weight:700;padding-top:.25rem}.tiptap-details summary::marker{content:""}.tiptap-details .tiptap-details__toggle{align-items:center;background:transparent;border-radius:4px;display:flex;font-size:.8rem;width:2rem;height:2rem;justify-content:center;line-height:1;padding:0;cursor:pointer}.tiptap-details .tiptap-details__toggle:hover{background-color:#7f7f7f48}.tiptap-details .tiptap-details__toggle:before{content:"▶"}.tiptap-details[data-open=true]>button:before{transform:rotate(90deg)}.tiptap-details .tiptap-details__inner{display:flex;flex-direction:column;gap:1rem;width:100%}.tiptap-details .tiptap-details__inner>[data-type=detailsContent]>:last-child{margin-bottom:.5rem}.tiptap-details .details{margin:.5rem 0}.tiptap-details [data-type=detailsContent]{display:none}.tiptap-details[data-open=true] [data-type=detailsContent]{display:block}.grid-cols-24[data-v-6e0addf0]{grid-template-columns:repeat(24,minmax(0,1fr))}.tiptap-component-editor.has-focus[data-v-a5a2678a]{box-shadow:0 0 0 2px var(--ring)}.tiptap-component-editor.has-focus .OVERLAY[data-v-a5a2678a]{opacity:1}.tiptap-component-editor.has-focus .NODE-VIEW[data-v-a5a2678a]{z-index:999999}.OVERLAY[data-v-a5a2678a]{opacity:0}.tiptap-resizable-wrapper.editable[data-v-ebadee9c]:not(.-no-interaction):hover,.has-focus[data-v-ebadee9c]{outline:2px solid var(--section-ui-tint);display:flex;flex-direction:column;min-height:16px}.tiptap-resizable-wrapper.has-focus .tiptap-resizable[data-v-ebadee9c]{border-color:var(--section-ui-tint)}.tiptap-resizable-wrapper.-resizing .editor_space-value[data-v-ebadee9c]{opacity:1}.tiptap-resizable-wrapper:hover .tiptap-resizable[data-v-ebadee9c]:before,.tiptap-resizable-wrapper.-resizing .tiptap-resizable[data-v-ebadee9c]:before{opacity:.3}.tiptap-resizable[data-v-ebadee9c]{position:relative;display:flex;align-items:center;justify-content:center;border:1px dashed rgba(0,0,0,.4);border-radius:8px;transition:border-color .15s ease;height:100%}.tiptap-resizable[data-v-ebadee9c]:before{display:block;content:"";background-clip:content-box;background-image:linear-gradient(-45deg,var(--section-ui-tint) 10%,transparent 10%,transparent 50%,var(--section-ui-tint) 50%,var(--section-ui-tint) 60%,transparent 60%,transparent 100%);background-size:7.07px 7.07px;position:absolute;inset:0;opacity:0;border-radius:8px;transition:opacity .3s}.editor_space-handle[data-v-ebadee9c]{align-items:center;background-color:var(--section-ui-tint);border-radius:2px;cursor:ns-resize;flex-shrink:0;display:flex;height:1px;outline:1px solid var(--section-ui-tint-foreground);position:relative;touch-action:none;transition:opacity .3s;width:12px;z-index:1}.editor_space-handle[data-v-ebadee9c]:before{content:"";display:block;inset:-16px -32px;position:absolute}.editor_space-value[data-v-ebadee9c]{align-items:center;background-color:var(--section-ui-tint);border-radius:99px;color:var(--section-ui-tint-foreground);display:flex;font-size:12px;font-weight:600;gap:4px;left:50%;line-height:1;margin-left:16px;padding:4px 6px;pointer-events:auto;position:absolute;transition:opacity .3s;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:9;opacity:0}.custom-thin-scrollbar[data-v-df549e59]{scrollbar-width:thin;scrollbar-color:var(--input) transparent}.tiptap-container-padding-resizer[data-v-bdccc71a]{position:relative;display:flex;align-items:center;justify-content:center;min-height:16px}.tiptap-container-padding-resizer.-resizing .editor_space-value[data-v-bdccc71a]{opacity:1}.tiptap-container-padding-resizer[data-v-bdccc71a]:before{display:block;content:"";background-clip:content-box;background-image:linear-gradient(-45deg,var(--section-ui-tint) 10%,transparent 10%,transparent 50%,var(--section-ui-tint) 50%,var(--section-ui-tint) 60%,transparent 60%,transparent 100%);background-size:7.07px 7.07px;position:absolute;inset:0;opacity:0;border-radius:8px;transition:opacity .3s}.tiptap-container-padding-resizer.-hovering-dragger[data-v-bdccc71a]:before,.tiptap-container-padding-resizer.-resizing[data-v-bdccc71a]:before{opacity:.3!important}.editor_space-handle[data-v-bdccc71a]{align-items:center;background-color:var(--section-ui-tint);border-radius:2px;cursor:ns-resize;flex-shrink:0;display:flex;height:1px;outline:1px solid var(--section-ui-tint-foreground);position:relative;touch-action:none;transition:opacity .3s;width:12px;z-index:1}.editor_space-handle[data-v-bdccc71a]:before{content:"";display:block;inset:-16px -32px;position:absolute}.editor_space-value[data-v-bdccc71a]{align-items:center;background-color:var(--section-ui-tint);border-radius:99px;color:var(--section-ui-tint-foreground);display:flex;font-size:12px;font-weight:600;gap:4px;left:50%;line-height:1;margin-left:16px;padding:4px 6px;pointer-events:auto;position:absolute;transition:opacity .3s;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:9;opacity:0}.tiptap-top-margin-resizable[data-v-63116a14]{display:flex;align-items:center;justify-content:center;min-height:4px;opacity:0}.tiptap-top-margin-resizable.-resizing .editor_space-handle[data-v-63116a14]:after,.tiptap-top-margin-resizable.-hovering-dragger .editor_space-handle[data-v-63116a14]:after{width:85px}.tiptap-top-margin-resizable.-resizing .editor_space-value[data-v-63116a14],.tiptap-top-margin-resizable.-hovering-dragger .editor_space-value[data-v-63116a14]{opacity:1}.tiptap-top-margin-resizable[data-v-63116a14]:before{display:block;content:"";background-clip:content-box;background-image:linear-gradient(-45deg,var(--section-ui-tint) 10%,transparent 10%,transparent 50%,var(--section-ui-tint) 50%,var(--section-ui-tint) 60%,transparent 60%,transparent 100%);background-size:7.07px 7.07px;position:absolute;inset:0;opacity:0;border-radius:8px;transition:opacity .3s}.tiptap-top-margin-resizable.-hovering-dragger[data-v-63116a14]:before,.tiptap-top-margin-resizable.-resizing[data-v-63116a14]:before{opacity:.3!important}.editor_space-handle[data-v-63116a14]{align-items:center;background-color:var(--section-ui-tint);border-radius:2px;cursor:ns-resize;flex-shrink:0;display:flex;height:1px;outline:1px solid var(--section-ui-tint-foreground);position:relative;touch-action:none;transition:opacity .3s;width:12px;z-index:1}.editor_space-handle[data-v-63116a14]:before{content:"";display:block;inset:-16px -32px;position:absolute}.editor_space-handle[data-v-63116a14]:after{content:"";position:absolute;display:block;width:0px;height:20px;left:0;z-index:0}.editor_space-value[data-v-63116a14]{align-items:center;background-color:var(--section-ui-tint);border-radius:99px;color:var(--section-ui-tint-foreground);display:flex;font-size:12px;font-weight:600;gap:4px;left:50%;line-height:1;margin-left:16px;padding:4px 6px;pointer-events:auto;position:absolute;transition:opacity .3s;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:9;opacity:0;pointer-events:none}.editor_space-value button[data-v-63116a14]{color:var(--section-ui-tint-foreground)}.tiptap.ProseMirror-focused .tiptap-top-margin-resizable{opacity:1}.tiptap-row.editable[data-v-42bc5875]:not(.-no-interaction):hover,.has-focus[data-v-42bc5875]{outline:2px solid var(--section-ui-tint)}.tiptap-stack.editable[data-v-853bffab]:not(.-no-interaction):hover,.has-focus[data-v-853bffab]{outline:2px solid var(--section-ui-tint)}.tiptap-column.editable[data-v-dae9c290]:not(.-no-interaction):hover,.has-focus[data-v-dae9c290]{outline:2px solid var(--section-ui-tint);outline-offset:2px}.resize-handle[data-v-256b2801]{opacity:0}.resize-handle[data-v-256b2801]:after{content:"";position:absolute;left:-8px;top:-5px;width:calc(100% + 16px);height:calc(100% + 10px)}.tiptap.ProseMirror-focused .resize-handle{opacity:1}.tiptap-card.editable[data-v-45135b32]:not(.-no-interaction):hover,.has-focus[data-v-45135b32]{outline:2px solid var(--section-ui-tint)}.tiptap-button.editable[data-v-b8032cfa]:not(.-no-interaction):hover,.has-focus[data-v-b8032cfa]{outline:2px solid var(--section-ui-tint)}.has-focus[data-v-4c86f2c2]{outline:2px solid var(--section-ui-tint);outline-offset:2px}.tiptap-image.editable[data-v-f6aafacd]:not(.-no-interaction):hover,.has-focus[data-v-f6aafacd]{outline:2px solid var(--section-ui-tint)}.tiptap-video.editable[data-v-18248eb5]:not(.-no-interaction):hover,.has-focus[data-v-18248eb5]{outline:2px solid var(--section-ui-tint);outline-offset:2px}.tiptap-heading.editable[data-v-23246135]:not(.-no-interaction):hover,.has-focus[data-v-23246135]{outline:2px solid var(--section-ui-tint)}.tiptap-heading h1 div:focus-visible,.tiptap-heading h2 div:focus-visible,.tiptap-heading h3 div:focus-visible,.tiptap-heading h4 div:focus-visible,.tiptap-heading h5 div:focus-visible,.tiptap-heading h6 div:focus-visible{outline:none}.tiptap-paragraph.editable[data-v-2d65c69e]:not(.-no-interaction):hover,.has-focus[data-v-2d65c69e]{outline:2px solid var(--section-ui-tint)}.tiptap-divider.editable[data-v-b00d2b7c]:not(.-no-interaction):hover,.has-focus[data-v-b00d2b7c]{outline:2px solid var(--section-ui-tint)}.tiptap-details.editable[data-v-91e54428]:not(.-no-interaction):hover,.has-focus[data-v-91e54428]{outline:2px solid var(--section-ui-tint);outline-offset:2px}#content-manager-editor-element-editor-menu>div[data-v-e54a4a9b]{scrollbar-width:thin;scrollbar-color:var(--input) transparent}#content-manager-content-editor .ProseMirror{flex:1;outline:none;transition:background-color .2s ease-in-out;padding:0;--section-ui-tint: #29a1fe;--section-ui-tint-foreground: white}#content-manager-content-editor .ProseMirror::selection :not(.NODE-VIEW){background:#000000ae;color:var(--primary-foreground)}#content-manager-content-editor .ProseMirror p.is-empty:before{color:#adb5bd;content:attr(data-placeholder);float:left;height:0;pointer-events:none}#content-manager-content-editor .ProseMirror p{margin:0 0 .25rem}#content-manager-content-editor .ProseMirror h1,#content-manager-content-editor .ProseMirror h2,#content-manager-content-editor .ProseMirror h3{margin:1rem 0 .5rem;font-weight:700}#content-manager-content-editor .ProseMirror ul,#content-manager-content-editor .ProseMirror ol{margin:0 0 .5rem;padding-left:1.25rem}#content-manager-content-editor .ProseMirror ul li,#content-manager-content-editor .ProseMirror ol li{padding-left:.25rem}#content-manager-content-editor .ProseMirror ol{list-style:decimal}#content-manager-content-editor .ProseMirror ul{list-style:disc}#content-manager-content-editor .ProseMirror a{pointer-events:none}.dark #content-manager-content-editor .ProseMirror::selection :not(.NODE-VIEW){background:#fffd;color:#000}.dark #content-manager-content-editor .ProseMirror p.is-empty:before{color:#868686}.custom-drop-cursor{border:2px solid var(--primary);height:1em}.collaboration-carets__caret{position:relative;display:inline-block;width:.5px;height:1em;border-width:2px;border-style:solid;transform:translateY(.1em)}.collaboration-carets__label{position:absolute;padding:4px 8px 2px;border-radius:5px;transform:translateY(-100%);white-space:nowrap}[data-is-resizing-ew=true],[data-is-resizing-ew=true] *{cursor:ew-resize!important;-webkit-user-select:none!important;user-select:none!important}[data-is-grabbing=true],[data-is-grabbing=true] *{cursor:grabbing!important}[data-is-grabbing=true] [data-node-view-content]>*{pointer-events:none}.tiptap-node-dragging .ProseMirror.tiptap .tiptap-container [data-node-view-wrapper]:not(.tiptap-node--dragged){pointer-events:none}.tiptap-node-dragging .ProseMirror.tiptap .tiptap-container [data-node-view-wrapper]:not(.tiptap-node--dragged) *{pointer-events:none}.tiptap-node-dragging .ProseMirror.tiptap .tiptap-container .tiptap-node--dragged,.tiptap-node-dragging .ProseMirror.tiptap .tiptap-container .tiptap-node--dragged *{pointer-events:auto!important}.tiptap-node-dragging .ProseMirror.tiptap .tiptap-container .tiptap-node--dragged{opacity:.3;transition:opacity .2s ease}.tiptap-drag-ghost{pointer-events:none!important;-webkit-user-select:none;user-select:none}@keyframes pulse-subtle-99339cf2{0%,to{opacity:1}50%{opacity:.7}}.animate-pulse-subtle[data-v-99339cf2]{animation:pulse-subtle-99339cf2 2s ease-in-out infinite}.overflow-x-auto[data-v-99339cf2]::-webkit-scrollbar{height:8px}.overflow-x-auto[data-v-99339cf2]::-webkit-scrollbar-track{background:hsl(var(--muted));border-radius:4px}.overflow-x-auto[data-v-99339cf2]::-webkit-scrollbar-thumb{background:hsl(var(--primary) / .3);border-radius:4px;transition:background .2s}.overflow-x-auto[data-v-99339cf2]::-webkit-scrollbar-thumb:hover{background:hsl(var(--primary) / .5)}
1
+ .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}.dark #custom-module-wrapper::-webkit-scrollbar-thumb{background:#d8d8d8}#custom-module-wrapper::-webkit-scrollbar{width:5px;height:5px}#custom-module-wrapper::-webkit-scrollbar-track{background:transparent}#custom-module-wrapper::-webkit-scrollbar-thumb{background:#494949;border-radius:5px}#custom-module-wrapper .bg-grid{background-image:repeating-linear-gradient(to right,var(--primary) 0,var(--primary) 1px,transparent 1px,transparent calc(100% / 12)),repeating-linear-gradient(to bottom,var(--primary) 0,var(--primary) 1px,transparent 1px,transparent 8px);background-size:100% 100%}#custom-module-wrapper .vue-grid-item.vue-resizable:hover .vue-resizable-handle{display:block}#custom-module-wrapper .vue-grid-item.vue-resizable .vue-resizable-handle{display:none;background:var(--color-muted);border-radius:100px;width:12px;height:12px;right:-6px;bottom:-6px;border:2px solid var(--primary)}.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)}.tiptap-details{position:relative;display:flex;gap:.5rem;border:1px solid #7f7f7f76;border-radius:.5rem;padding:.5rem}.tiptap-details summary{font-weight:700;padding-top:.25rem}.tiptap-details summary::marker{content:""}.tiptap-details .tiptap-details__toggle{align-items:center;background:transparent;border-radius:4px;display:flex;font-size:.8rem;width:2rem;height:2rem;justify-content:center;line-height:1;padding:0;cursor:pointer}.tiptap-details .tiptap-details__toggle:hover{background-color:#7f7f7f48}.tiptap-details .tiptap-details__toggle:before{content:"▶"}.tiptap-details[data-open=true]>button:before{transform:rotate(90deg)}.tiptap-details .tiptap-details__inner{display:flex;flex-direction:column;gap:1rem;width:100%}.tiptap-details .tiptap-details__inner>[data-type=detailsContent]>:last-child{margin-bottom:.5rem}.tiptap-details .details{margin:.5rem 0}.tiptap-details [data-type=detailsContent]{display:none}.tiptap-details[data-open=true] [data-type=detailsContent]{display:block}.grid-cols-24[data-v-6e0addf0]{grid-template-columns:repeat(24,minmax(0,1fr))}.tiptap-component-editor.has-focus[data-v-a5a2678a]{box-shadow:0 0 0 2px var(--ring)}.tiptap-component-editor.has-focus .OVERLAY[data-v-a5a2678a]{opacity:1}.tiptap-component-editor.has-focus .NODE-VIEW[data-v-a5a2678a]{z-index:999999}.OVERLAY[data-v-a5a2678a]{opacity:0}.tiptap-resizable-wrapper.editable[data-v-28f7dfe8]:not(.-no-interaction):hover,.has-focus[data-v-28f7dfe8]{outline:2px solid var(--section-ui-tint);display:flex;flex-direction:column;min-height:16px}.tiptap-resizable-wrapper.has-focus .tiptap-resizable[data-v-28f7dfe8]{border-color:var(--section-ui-tint)}.tiptap-resizable-wrapper.-resizing .editor_space-value[data-v-28f7dfe8]{opacity:1}.tiptap-resizable-wrapper:hover .tiptap-resizable[data-v-28f7dfe8]:before,.tiptap-resizable-wrapper.-resizing .tiptap-resizable[data-v-28f7dfe8]:before{opacity:.3}.tiptap-resizable[data-v-28f7dfe8]{position:relative;display:flex;align-items:center;justify-content:center;border:1px dashed rgba(0,0,0,.4);border-radius:8px;transition:border-color .15s ease;height:100%}.tiptap-resizable[data-v-28f7dfe8]:before{display:block;content:"";background-clip:content-box;background-image:linear-gradient(-45deg,var(--section-ui-tint) 10%,transparent 10%,transparent 50%,var(--section-ui-tint) 50%,var(--section-ui-tint) 60%,transparent 60%,transparent 100%);background-size:7.07px 7.07px;position:absolute;inset:0;opacity:0;border-radius:8px;transition:opacity .3s}.editor_space-handle[data-v-28f7dfe8]{align-items:center;background-color:var(--section-ui-tint);border-radius:2px;cursor:ns-resize;flex-shrink:0;display:flex;height:1px;outline:1px solid var(--section-ui-tint-foreground);position:relative;touch-action:none;transition:opacity .3s;width:12px;z-index:1}.editor_space-handle[data-v-28f7dfe8]:before{content:"";display:block;inset:-16px -32px;position:absolute}.editor_space-value[data-v-28f7dfe8]{align-items:center;background-color:var(--section-ui-tint);border-radius:99px;color:var(--section-ui-tint-foreground);display:flex;font-size:12px;font-weight:600;gap:4px;left:50%;line-height:1;margin-left:16px;padding:4px 6px;pointer-events:auto;position:absolute;transition:opacity .3s;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:9;opacity:0}.custom-thin-scrollbar[data-v-df549e59]{scrollbar-width:thin;scrollbar-color:var(--input) transparent}.tiptap-container-padding-resizer[data-v-bdccc71a]{position:relative;display:flex;align-items:center;justify-content:center;min-height:16px}.tiptap-container-padding-resizer.-resizing .editor_space-value[data-v-bdccc71a]{opacity:1}.tiptap-container-padding-resizer[data-v-bdccc71a]:before{display:block;content:"";background-clip:content-box;background-image:linear-gradient(-45deg,var(--section-ui-tint) 10%,transparent 10%,transparent 50%,var(--section-ui-tint) 50%,var(--section-ui-tint) 60%,transparent 60%,transparent 100%);background-size:7.07px 7.07px;position:absolute;inset:0;opacity:0;border-radius:8px;transition:opacity .3s}.tiptap-container-padding-resizer.-hovering-dragger[data-v-bdccc71a]:before,.tiptap-container-padding-resizer.-resizing[data-v-bdccc71a]:before{opacity:.3!important}.editor_space-handle[data-v-bdccc71a]{align-items:center;background-color:var(--section-ui-tint);border-radius:2px;cursor:ns-resize;flex-shrink:0;display:flex;height:1px;outline:1px solid var(--section-ui-tint-foreground);position:relative;touch-action:none;transition:opacity .3s;width:12px;z-index:1}.editor_space-handle[data-v-bdccc71a]:before{content:"";display:block;inset:-16px -32px;position:absolute}.editor_space-value[data-v-bdccc71a]{align-items:center;background-color:var(--section-ui-tint);border-radius:99px;color:var(--section-ui-tint-foreground);display:flex;font-size:12px;font-weight:600;gap:4px;left:50%;line-height:1;margin-left:16px;padding:4px 6px;pointer-events:auto;position:absolute;transition:opacity .3s;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:9;opacity:0}.tiptap-top-margin-resizable[data-v-63116a14]{display:flex;align-items:center;justify-content:center;min-height:4px;opacity:0}.tiptap-top-margin-resizable.-resizing .editor_space-handle[data-v-63116a14]:after,.tiptap-top-margin-resizable.-hovering-dragger .editor_space-handle[data-v-63116a14]:after{width:85px}.tiptap-top-margin-resizable.-resizing .editor_space-value[data-v-63116a14],.tiptap-top-margin-resizable.-hovering-dragger .editor_space-value[data-v-63116a14]{opacity:1}.tiptap-top-margin-resizable[data-v-63116a14]:before{display:block;content:"";background-clip:content-box;background-image:linear-gradient(-45deg,var(--section-ui-tint) 10%,transparent 10%,transparent 50%,var(--section-ui-tint) 50%,var(--section-ui-tint) 60%,transparent 60%,transparent 100%);background-size:7.07px 7.07px;position:absolute;inset:0;opacity:0;border-radius:8px;transition:opacity .3s}.tiptap-top-margin-resizable.-hovering-dragger[data-v-63116a14]:before,.tiptap-top-margin-resizable.-resizing[data-v-63116a14]:before{opacity:.3!important}.editor_space-handle[data-v-63116a14]{align-items:center;background-color:var(--section-ui-tint);border-radius:2px;cursor:ns-resize;flex-shrink:0;display:flex;height:1px;outline:1px solid var(--section-ui-tint-foreground);position:relative;touch-action:none;transition:opacity .3s;width:12px;z-index:1}.editor_space-handle[data-v-63116a14]:before{content:"";display:block;inset:-16px -32px;position:absolute}.editor_space-handle[data-v-63116a14]:after{content:"";position:absolute;display:block;width:0px;height:20px;left:0;z-index:0}.editor_space-value[data-v-63116a14]{align-items:center;background-color:var(--section-ui-tint);border-radius:99px;color:var(--section-ui-tint-foreground);display:flex;font-size:12px;font-weight:600;gap:4px;left:50%;line-height:1;margin-left:16px;padding:4px 6px;pointer-events:auto;position:absolute;transition:opacity .3s;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:9;opacity:0;pointer-events:none}.editor_space-value button[data-v-63116a14]{color:var(--section-ui-tint-foreground)}.tiptap.ProseMirror-focused .tiptap-top-margin-resizable{opacity:1}.tiptap-row.editable[data-v-25a60ded]:not(.-no-interaction):hover,.has-focus[data-v-25a60ded]{outline:2px solid var(--section-ui-tint)}.tiptap-stack.editable[data-v-4eb2c5ed]:not(.-no-interaction):hover,.has-focus[data-v-4eb2c5ed]{outline:2px solid var(--section-ui-tint)}.tiptap-column.editable[data-v-23f04ea0]:not(.-no-interaction):hover,.has-focus[data-v-23f04ea0]{outline:2px solid var(--section-ui-tint);outline-offset:2px}.resize-handle[data-v-468d9890]{opacity:0}.resize-handle[data-v-468d9890]:after{content:"";position:absolute;left:-8px;top:-5px;width:calc(100% + 16px);height:calc(100% + 10px)}.tiptap.ProseMirror-focused .resize-handle{opacity:1}.tiptap-card.editable[data-v-a8d2f703]:not(.-no-interaction):hover,.has-focus[data-v-a8d2f703]{outline:2px solid var(--section-ui-tint)}.tiptap-button.editable[data-v-7da0c165]:not(.-no-interaction):hover,.has-focus[data-v-7da0c165]{outline:2px solid var(--section-ui-tint)}.has-focus[data-v-4c86f2c2]{outline:2px solid var(--section-ui-tint);outline-offset:2px}.tiptap-image.editable[data-v-85aae3e7]:not(.-no-interaction):hover,.has-focus[data-v-85aae3e7]{outline:2px solid var(--section-ui-tint)}.tiptap-video.editable[data-v-723336c0]:not(.-no-interaction):hover,.has-focus[data-v-723336c0]{outline:2px solid var(--section-ui-tint);outline-offset:2px}.tiptap-heading.editable[data-v-1b3c673f]:not(.-no-interaction):hover,.has-focus[data-v-1b3c673f]{outline:2px solid var(--section-ui-tint)}.tiptap-heading h1 div:focus-visible,.tiptap-heading h2 div:focus-visible,.tiptap-heading h3 div:focus-visible,.tiptap-heading h4 div:focus-visible,.tiptap-heading h5 div:focus-visible,.tiptap-heading h6 div:focus-visible{outline:none}.tiptap-paragraph.editable[data-v-e267d18c]:not(.-no-interaction):hover,.has-focus[data-v-e267d18c]{outline:2px solid var(--section-ui-tint)}.tiptap-divider.editable[data-v-4f24be22]:not(.-no-interaction):hover,.has-focus[data-v-4f24be22]{outline:2px solid var(--section-ui-tint)}.tiptap-details.editable[data-v-3b915ecc]:not(.-no-interaction):hover,.has-focus[data-v-3b915ecc]{outline:2px solid var(--section-ui-tint);outline-offset:2px}#content-manager-editor-element-editor-menu>div[data-v-e54a4a9b]{scrollbar-width:thin;scrollbar-color:var(--input) transparent}#content-manager-content-editor .ProseMirror{flex:1;outline:none;transition:background-color .2s ease-in-out;padding:0;--section-ui-tint: #29a1fe;--section-ui-tint-foreground: white;-webkit-user-drag:none}#content-manager-content-editor .ProseMirror::selection :not(.NODE-VIEW){background:#000000ae;color:var(--primary-foreground)}#content-manager-content-editor .ProseMirror p.is-empty:before{color:#adb5bd;content:attr(data-placeholder);float:left;height:0;pointer-events:none}#content-manager-content-editor .ProseMirror p{margin:0 0 .25rem}#content-manager-content-editor .ProseMirror h1,#content-manager-content-editor .ProseMirror h2,#content-manager-content-editor .ProseMirror h3{margin:1rem 0 .5rem;font-weight:700}#content-manager-content-editor .ProseMirror h1,#content-manager-content-editor .ProseMirror h2,#content-manager-content-editor .ProseMirror h3,#content-manager-content-editor .ProseMirror h4,#content-manager-content-editor .ProseMirror h5,#content-manager-content-editor .ProseMirror h6,#content-manager-content-editor .ProseMirror p{-webkit-user-drag:none;user-drag:none;draggable:false}#content-manager-content-editor .ProseMirror ul,#content-manager-content-editor .ProseMirror ol{margin:0 0 .5rem;padding-left:1.25rem}#content-manager-content-editor .ProseMirror ul li,#content-manager-content-editor .ProseMirror ol li{padding-left:.25rem}#content-manager-content-editor .ProseMirror ol{list-style:decimal}#content-manager-content-editor .ProseMirror ul{list-style:disc}#content-manager-content-editor .ProseMirror a{pointer-events:none}.dark #content-manager-content-editor .ProseMirror::selection :not(.NODE-VIEW){background:#fffd;color:#000}.dark #content-manager-content-editor .ProseMirror p.is-empty:before{color:#868686}.custom-drop-cursor{border:2px solid var(--primary);height:1em}.collaboration-carets__caret{position:relative;display:inline-block;width:.5px;height:1em;border-width:2px;border-style:solid;transform:translateY(.1em)}.collaboration-carets__label{position:absolute;padding:4px 8px 2px;border-radius:5px;transform:translateY(-100%);white-space:nowrap}[data-is-resizing-ew=true],[data-is-resizing-ew=true] *{cursor:ew-resize!important;-webkit-user-select:none!important;user-select:none!important}[data-is-grabbing=true],[data-is-grabbing=true] *{cursor:grabbing!important}[data-is-grabbing=true] [data-node-view-content]>*{pointer-events:none}.tiptap-node-dragging .ProseMirror.tiptap .tiptap-container [data-node-view-wrapper]:not(.tiptap-node--dragged){pointer-events:none}.tiptap-node-dragging .ProseMirror.tiptap .tiptap-container [data-node-view-wrapper]:not(.tiptap-node--dragged) *{pointer-events:none}.tiptap-node-dragging .ProseMirror.tiptap .tiptap-container .tiptap-node--dragged,.tiptap-node-dragging .ProseMirror.tiptap .tiptap-container .tiptap-node--dragged *{pointer-events:auto!important}.tiptap-node-dragging .ProseMirror.tiptap .tiptap-container .tiptap-node--dragged{opacity:.3;transition:opacity .2s ease}.tiptap-drag-ghost{pointer-events:none!important;-webkit-user-select:none;user-select:none}@keyframes pulse-subtle-99339cf2{0%,to{opacity:1}50%{opacity:.7}}.animate-pulse-subtle[data-v-99339cf2]{animation:pulse-subtle-99339cf2 2s ease-in-out infinite}.overflow-x-auto[data-v-99339cf2]::-webkit-scrollbar{height:8px}.overflow-x-auto[data-v-99339cf2]::-webkit-scrollbar-track{background:hsl(var(--muted));border-radius:4px}.overflow-x-auto[data-v-99339cf2]::-webkit-scrollbar-thumb{background:hsl(var(--primary) / .3);border-radius:4px;transition:background .2s}.overflow-x-auto[data-v-99339cf2]::-webkit-scrollbar-thumb:hover{background:hsl(var(--primary) / .5)}
package/dist/index.cjs.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@oneclick.dev/cms-kit"),t={name:"Table",description:"Manage tables and structured data.",icon:"mdi-table",version:"1.0.0"},o=e.defineModuleConfig({getItems:{label:"Fetch items",type:"flow"},viewable:{label:"Viewable",type:"checkbox",default:!1},editable:{label:"Editable",type:"checkbox",default:!1},deletable:{label:"Deletable",type:"checkbox",default:!1},addable:{label:"Addable",type:"checkbox",default:!1},searchable:{label:"Searchable",type:"checkbox",default:!1},downloadable:{label:"Downloadable",type:"checkbox",default:!1},allowBulkActions:{label:"Allow Bulk Actions",type:"checkbox",default:!1}}),r=[{path:"",component:()=>Promise.resolve().then(()=>require("./TableView-D63QrVlK.js"))}],n=[],i={component:()=>Promise.resolve().then(()=>require("./index-DFQGVHTs.js")),metadata:t,config:o,routes:r,permissions:n},a={name:"Products",description:"Manage products",icon:"mdi-table",version:"1.0.0"},s=e.defineModuleConfig({project:{label:"Database",type:"resource",accept:["FIREBASE"]},productCollection:{label:"Product Collection",type:"input",default:"products"},collectionsCollection:{label:"Collections Collection",type:"input",default:"public/e-commerce:collections"},allowedMediaSources:{label:"Allowed Media Sources",type:"mediaSource",multiple:!0},defaultUploadMediaSource:{label:"Default Upload Media Source",type:"mediaSource",multiple:!1},previewUrl:{label:"Preview URL",type:"input",default:"https://preview.com/shop/{{slug}}"}}),c=[{path:"",component:()=>Promise.resolve().then(()=>require("./Overview-DeQQ0FY3.js"))},{path:"/:productId",component:()=>Promise.resolve().then(()=>require("./Detail-CjuhjPby.js"))},{path:"/new",component:()=>Promise.resolve().then(()=>require("./Detail-CjuhjPby.js"))}],p=[{key:"create-product",name:"Create product",description:"Team member can create a new product"},{key:"edit-product",name:"Edit product",description:"Team member can edit a product"},{key:"delete-product",name:"Delete product",description:"Team member can delete a product"}],l=[{name:"getEmptyStock",description:"Get a list of products with empty stock.",executionMode:"api",parameters:{type:"object",properties:{category:{type:"string",description:"Category of the product"}},required:["category"]}},{name:"viewProductDetails",description:"Show a card in chat with details of a product based on product ID.",executionMode:"component",chatComponent:"ProductDetailsCard",parameters:{type:"object",properties:{productId:{type:"string",description:"ID of the product"}},required:["productId"]}}],d={component:()=>Promise.resolve().then(()=>require("./index-R2oUDsjx.js")),metadata:a,config:s,routes:c,permissions:p,tools:l,chatComponents:{ProductDetailsCard:()=>Promise.resolve().then(()=>require("./ProductDetailsCard-Bn7qrgmc.js"))}},m={name:"Custom",description:"Custom module",icon:"mdi-table",version:"1.0.0"},u=e.defineModuleConfig({formLayout:{label:"Design View",type:"form"}}),h=[{path:"",component:()=>Promise.resolve().then(()=>require("./View-BL70u98U.js"))}],f=[],g={component:()=>Promise.resolve().then(()=>require("./index-CSxYBeVA.js")),metadata:m,config:u,routes:h,permissions:f},y={name:"Promo Codes",description:"Create and manage promo codes",icon:"mdi-table",version:"1.0.0"},b=e.defineModuleConfig({project:{label:"Project",type:"resource",accept:["FIREBASE"]},promoCodeCollection:{label:"Promo Code Collection",type:"input",default:"promo-codes"}}),v=[{path:"",component:()=>Promise.resolve().then(()=>require("./Create-DuZ5nZrX.js"))},{path:"/promo-codes",component:()=>Promise.resolve().then(()=>require("./Find-Ds6OvuH6.js"))},{path:"/promo-codes/:promoCodeId",component:()=>Promise.resolve().then(()=>require("./Detail-BZ-iE9vf.js"))}],C=[{key:"create-promo-codes",name:"Create promo codes",description:"Team member can create promo codes"},{key:"view-promo-codes",name:"View promo codes",description:"Team member can view promo codes"},{key:"delete-promo-codes",name:"Delete promo codes",description:"Team member can delete promo codes"}],w={component:()=>Promise.resolve().then(()=>require("./index-CkiNvRzs.js")),metadata:y,config:b,routes:v,permissions:C},P={name:"Product Collections",description:"Manage product collections",icon:"mdi-table",version:"1.0.0"},q=e.defineModuleConfig({project:{label:"Project",type:"resource",accept:["FIREBASE"]},collectionsCollection:{label:"Collections Collection",type:"input",default:"public/e-commerce:collections"},allowedMediaSources:{label:"Allowed Media Sources",type:"mediaSource",multiple:!0},defaultUploadMediaSource:{label:"Default Upload Media Source",type:"mediaSource",multiple:!1}}),D=[{path:"",component:()=>Promise.resolve().then(()=>require("./Overview-T-lsy3UZ.js"))},{path:"/:collectionId",component:()=>Promise.resolve().then(()=>require("./Detail-CPqug27l.js"))},{path:"/new",component:()=>Promise.resolve().then(()=>require("./Detail-CPqug27l.js"))}],S=[{key:"create-collection",name:"Create product collection",description:"Team member can create a new product collection"},{key:"edit-collection",name:"Edit product collection",description:"Team member can edit a product collection"},{key:"delete-collection",name:"Delete product collection",description:"Team member can delete a product collection"}],k={component:()=>Promise.resolve().then(()=>require("./index-CwqrAU-H.js")),metadata:P,config:q,routes:D,permissions:S},M={name:"Shipping Options",description:"Manage shipping options",icon:"mdi-table",version:"1.0.0"},A=e.defineModuleConfig({project:{label:"Project",type:"resource",accept:["FIREBASE"]},shippingOptionsCollection:{label:"Shipping Options Collection",type:"input",default:"public/e-commerce:shipping-options"}}),$=[{path:"",component:()=>Promise.resolve().then(()=>require("./Overview-BbvfH1u-.js"))},{path:"/:optionId",component:()=>Promise.resolve().then(()=>require("./Detail-C8wQiDcv.js"))},{path:"/new",component:()=>Promise.resolve().then(()=>require("./Detail-C8wQiDcv.js"))}],T=[{key:"create-option",name:"Create shipping option",description:"Team member can create a new shipping option"},{key:"edit-option",name:"Edit shipping option",description:"Team member can edit a shipping option"},{key:"delete-option",name:"Delete shipping option",description:"Team member can delete a shipping option"}],x={component:()=>Promise.resolve().then(()=>require("./index-Co4ON2Di.js")),metadata:M,config:A,routes:$,permissions:T},E={name:"Google Analytics",description:"Configure Google Analytics settings.",icon:"mdi-google-analytics",version:"1.0.0"},I=e.defineModuleConfig({serviceAccount:{label:"Google Service Account",type:"resource",accept:["GOOGLE_SERVICE_ACCOUNT"]},propertyId:{label:"GA4 Property ID",type:"input",default:""},siteUrl:{label:"Search Console Site URL",type:"input",default:"",placeholder:"https://example.com or sc-domain:example.com",description:"Optional. When set, the module will fetch real keyword data from Google Search Console. Use the same site URL format as shown in Search Console."}}),j=[{path:"",component:()=>Promise.resolve().then(()=>require("./Overview-Da0XexiT.js"))},{path:"/acquisition",component:()=>Promise.resolve().then(()=>require("./Acquisition-_-cq972V.js"))},{path:"/content",component:()=>Promise.resolve().then(()=>require("./Content-C-4Cdniz.js"))},{path:"/audience",component:()=>Promise.resolve().then(()=>require("./Audience-QnFQs93n.js"))},{path:"/seo",component:()=>Promise.resolve().then(()=>require("./SeoHealth-BkpJ1F2Y.js"))}],U=[],Y=[{name:"getTopPages",description:"Show a card in chat with the most popular/visited pages on the website for a given period.",executionMode:"component",chatComponent:"TopPagesCard",parameters:{type:"object",properties:{startDate:{type:"string",description:"Start date for the report. Use relative formats like 'yesterday', '7daysAgo', '30daysAgo', '90daysAgo', '365daysAgo' or exact dates 'YYYY-MM-DD'. Default: '30daysAgo'"},endDate:{type:"string",description:"End date for the report. Use 'today', 'yesterday', or exact dates 'YYYY-MM-DD'. Default: 'today'"},limit:{type:"number",description:"Number of pages to show. Default: 10, max: 50",default:10}},required:[]}},{name:"getVisitorStats",description:"Show a card in chat with visitor/traffic statistics (sessions, users, page views, bounce rate, etc.) for a given period. Use this when the user asks about traffic, visitors, how many people visited, etc.",executionMode:"component",chatComponent:"VisitorStatsCard",parameters:{type:"object",properties:{startDate:{type:"string",description:"Start date for the report. Use 'yesterday' for yesterday, '7daysAgo' for last week, '30daysAgo' for last month, '90daysAgo' for last quarter, '365daysAgo' for last year, or exact 'YYYY-MM-DD'. Default: '30daysAgo'"},endDate:{type:"string",description:"End date for the report. Use 'today', 'yesterday', or exact 'YYYY-MM-DD'. Default: 'today'"}},required:[]}},{name:"getSearchTerms",description:"Show a card in chat with search terms/keywords that bring visitors to the website. Use this when the user asks about keywords, SEO terms, what people search for, or search queries.",executionMode:"component",chatComponent:"SearchTermsCard",parameters:{type:"object",properties:{startDate:{type:"string",description:"Start date for the report. Default: '30daysAgo'"},endDate:{type:"string",description:"End date for the report. Default: 'today'"}},required:[]}},{name:"getTrafficSources",description:"Show a card in chat with where website visitors are coming from (traffic sources, channels, referrals). Use this when the user asks about traffic sources, where visitors come from, referrals, channels, etc.",executionMode:"component",chatComponent:"TrafficSourcesCard",parameters:{type:"object",properties:{startDate:{type:"string",description:"Start date for the report. Default: '30daysAgo'"},endDate:{type:"string",description:"End date for the report. Default: 'today'"}},required:[]}},{name:"getRealtimeVisitors",description:"Show a card in chat with the current real-time active visitors on the website right now.",executionMode:"component",chatComponent:"RealtimeCard",parameters:{type:"object",properties:{},required:[]}},{name:"getCountryBreakdown",description:"Show a card in chat with a geographic breakdown of where website visitors are located. Use this when the user asks about visitor countries, geographic distribution, or where their audience is from.",executionMode:"component",chatComponent:"CountryBreakdownCard",parameters:{type:"object",properties:{startDate:{type:"string",description:"Start date for the report. Default: '30daysAgo'"},endDate:{type:"string",description:"End date for the report. Default: 'today'"}},required:[]}},{name:"getDeviceBreakdown",description:"Show a card in chat with a device breakdown (desktop, mobile, tablet) of website visitors. Use this when the user asks about what devices people use, mobile vs desktop traffic, or if their site is mobile-friendly.",executionMode:"component",chatComponent:"DeviceBreakdownCard",parameters:{type:"object",properties:{startDate:{type:"string",description:"Start date for the report. Default: '30daysAgo'"},endDate:{type:"string",description:"End date for the report. Default: 'today'"}},required:[]}},{name:"getPeakHours",description:"Show a card in chat with peak traffic hours and a weekly heatmap showing when visitors are most active. Use this when the user asks about best times to post, peak hours, busiest times, or when their audience is online.",executionMode:"component",chatComponent:"PeakHoursCard",parameters:{type:"object",properties:{startDate:{type:"string",description:"Start date for the report. Default: '30daysAgo'"},endDate:{type:"string",description:"End date for the report. Default: 'today'"}},required:[]}}],R={component:()=>Promise.resolve().then(()=>require("./index-DwHYfZl_.js")),metadata:E,config:I,routes:j,permissions:U,tools:Y,chatComponents:{TopPagesCard:()=>Promise.resolve().then(()=>require("./TopPagesCard-BDeA997A.js")),VisitorStatsCard:()=>Promise.resolve().then(()=>require("./VisitorStatsCard-BmByE_Hi.js")),SearchTermsCard:()=>Promise.resolve().then(()=>require("./SearchTermsCard-BsB-63aH.js")),TrafficSourcesCard:()=>Promise.resolve().then(()=>require("./TrafficSourcesCard-C3ziDTUL.js")),RealtimeCard:()=>Promise.resolve().then(()=>require("./RealtimeCard--APfRNc8.js")),CountryBreakdownCard:()=>Promise.resolve().then(()=>require("./CountryBreakdownCard-D7BK3nRD.js")),DeviceBreakdownCard:()=>Promise.resolve().then(()=>require("./DeviceBreakdownCard-DRhQ9ufG.js")),PeakHoursCard:()=>Promise.resolve().then(()=>require("./PeakHoursCard-BR5zmta4.js"))}},B={name:"Content Manager",description:"Create and manage content",icon:"mdi-table",version:"1.0.0"},O=e.defineModuleConfig({project:{label:"Database",type:"resource",accept:["FIREBASE"]},domain:{label:"Domain",type:"input",default:"https://domain.com"},collectionsCollection:{label:"Collections Collection",type:"input",default:"content_collections"},contentCollection:{label:"Content Collection",type:"input",default:"content"},allowedMediaSources:{label:"Allowed Media Sources",type:"mediaSource",multiple:!0},defaultUploadMediaSource:{label:"Default Upload Media Source",type:"mediaSource",multiple:!1},supportedLanguages:{label:"Supported Languages",type:"select",predefinedOptions:"languages",multiple:!0},defaultLanguage:{label:"Default Language",type:"select",predefinedOptions:"languages"},githubIntegration:{label:"GitHub Integration",type:"resource",accept:["GITHUB"]},githubRepo:{label:"GitHub Repository",type:"input"},githubOwner:{label:"GitHub Owner",type:"input",required:!1}}),G=[{path:"",component:()=>Promise.resolve().then(()=>require("./Overview-CA8wh_BI.js"))},{path:"/collections",component:()=>Promise.resolve().then(()=>require("./Overview-CA8wh_BI.js"))},{path:"/collections/:collectionId",component:()=>Promise.resolve().then(()=>require("./Entries-CcEW98F5.js"))},{path:"/collections/:collectionId/:entryId",component:()=>Promise.resolve().then(()=>require("./ContentEditor-DrxtH_Hq.js"))},{path:"/components",component:()=>Promise.resolve().then(()=>require("./Components-DXbx0RLV.js"))},{path:"/global-styling",component:()=>Promise.resolve().then(()=>require("./GlobalStyling-CnSlXkZc.js"))}],L=[{key:"create-content",name:"Create content",description:"Team member can create content"},{key:"edit-content",name:"Edit content",description:"Team member can edit content"},{key:"delete-content",name:"Delete content",description:"Team member can delete content"}],F={component:()=>Promise.resolve().then(()=>require("./index-UtjLbLw-.js")),metadata:B,config:O,routes:G,permissions:L},V={name:"Mail Templates",description:"Build templates for your transactional emails.",icon:"mdi-table",version:"1.0.0"},H=e.defineModuleConfig({project:{label:"Project",type:"resource",accept:["FIREBASE"]},templateCollection:{label:"Mail Templates Collection",type:"input",default:"mail-templates"}}),N=[{path:"",component:()=>Promise.resolve().then(()=>require("./Overview-BDlBCUI_.js"))},{path:"/:optionId",component:()=>Promise.resolve().then(()=>require("./Detail-mvSGbnFU.js"))},{path:"/new",component:()=>Promise.resolve().then(()=>require("./Detail-mvSGbnFU.js"))}],_=[{key:"create-template",name:"Create mail template",description:"Team member can create a new mail template"},{key:"edit-template",name:"Edit mail template",description:"Team member can edit a mail template"},{key:"delete-template",name:"Delete mail template",description:"Team member can delete a mail template"}],K={component:()=>Promise.resolve().then(()=>require("./index-Cz-baGax.js")),metadata:V,config:H,routes:N,permissions:_},W={name:"Appointments",description:"Create and manage agendas for booking appointments.",icon:"mdi-table",version:"1.0.0"},z=e.defineModuleConfig({project:{label:"Project",type:"resource",accept:["FIREBASE"]},mailAccount:{label:"Mail account",type:"resource",accept:["GMAIL"]},agendaCollection:{label:"Agenda Collection",type:"input",default:"agendas"},reservationsCollection:{label:"Reservations Collection",type:"input",default:"bookings_orders"},reservedSpotsCollection:{label:"Reserved Spots Collection",type:"input",default:"reserved_spots"}}),J=[{path:"",component:()=>Promise.resolve().then(()=>require("./Overview-t0pG5xjA.js"))},{path:"/create",component:()=>Promise.resolve().then(()=>require("./index-D2a6wEPh.js"))},{path:"/create/regular",component:()=>Promise.resolve().then(()=>require("./regular-1LXNPviB.js"))},{path:"/edit/:id",component:()=>Promise.resolve().then(()=>require("./index-C9pSS15N.js"))},{path:"/edit/:id/agenda",component:()=>Promise.resolve().then(()=>require("./agenda-DXMwVWpN.js"))},{path:"/edit/:id/regular-slots",component:()=>Promise.resolve().then(()=>require("./regular-slots-Bs3WJB3U.js"))},{path:"/edit/:id/exceptions",component:()=>Promise.resolve().then(()=>require("./exceptions-Cn7zooEu.js"))},{path:"/edit/:id/availability",component:()=>Promise.resolve().then(()=>require("./availability-D_wnfLsH.js"))},{path:"/edit/:id/payment",component:()=>Promise.resolve().then(()=>require("./payment-BQaAqQ5q.js"))},{path:"/edit/:id/resources",component:()=>Promise.resolve().then(()=>require("./resources-eb0pivDL.js"))},{path:"/edit/:id/orders",component:()=>Promise.resolve().then(()=>require("./orders-CG1QUCN8.js"))}],Q=[{key:"create-agendas",name:"Create agendas",description:"Team member can create agendas"},{key:"edit-agendas",name:"Edit agendas",description:"Team member can edit agendas"},{key:"delete-agendas",name:"Delete agendas",description:"Team member can delete agendas"},{key:"manage-reservations",name:"Manage reservations",description:"Team member can create, edit, and delete reservations"}],X=[{name:"findAppointment",description:"Show a card in chat with details of an appointment/booking/reservation/...",executionMode:"component",chatComponent:"AppointmentDetailsCard",parameters:{type:"object",properties:{name:{type:"string",description:"Name of the booker"},email:{type:"string",description:"Email of the booker"},date:{type:"string",description:"Date of the appointment (YYYY-MM-DD)"}},required:["date"]}},{name:"getRecentAppointments",description:"Show a table in chat with recent appointments, default loading the latest 20 appointments.",executionMode:"component",chatComponent:"AppointmentListTable",parameters:{type:"object",properties:{quantity:{type:"number",description:"Number of appointments to load. default: 20 max: 100",default:20}},required:["quantity"]}},{name:"changeAppointmentDetails",description:"Show a card in chat where user can edit name, email and date of an existing appointment.",executionMode:"component",chatComponent:"AppointmentEditor",parameters:{type:"object",properties:{orderId:{type:"string",description:"ID of the order / appointment. This is NOT the reservation ID."}},required:["orderId"]}}],Z={component:()=>Promise.resolve().then(()=>require("./index-9HVlmvK3.js")),metadata:W,config:z,routes:J,permissions:Q,tools:X,chatComponents:{AppointmentDetailsCard:()=>Promise.resolve().then(()=>require("./AppointmentDetailsCard-DpLM5IrB.js")),AppointmentListTable:()=>Promise.resolve().then(()=>require("./AppointmentListTable-CQ0WIXtj.js")),AppointmentEditor:()=>Promise.resolve().then(()=>require("./AppointmentEditor-CaTfbkIf.js"))}};exports.appointments=Z;exports.contentManager=F;exports.custom=g;exports.googleAnalytics=R;exports.mailTemplates=K;exports.productCollections=k;exports.products=d;exports.promoCodes=w;exports.shippingOptions=x;exports.table=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@oneclick.dev/cms-kit"),t={name:"Table",description:"Manage tables and structured data.",icon:"mdi-table",version:"1.0.0"},o=e.defineModuleConfig({getItems:{label:"Fetch items",type:"flow"},viewable:{label:"Viewable",type:"checkbox",default:!1},editable:{label:"Editable",type:"checkbox",default:!1},deletable:{label:"Deletable",type:"checkbox",default:!1},addable:{label:"Addable",type:"checkbox",default:!1},searchable:{label:"Searchable",type:"checkbox",default:!1},downloadable:{label:"Downloadable",type:"checkbox",default:!1},allowBulkActions:{label:"Allow Bulk Actions",type:"checkbox",default:!1}}),r=[{path:"",component:()=>Promise.resolve().then(()=>require("./TableView-klOTPJKZ.js"))}],n=[],i={component:()=>Promise.resolve().then(()=>require("./index-DFQGVHTs.js")),metadata:t,config:o,routes:r,permissions:n},a={name:"Products",description:"Manage products",icon:"mdi-table",version:"1.0.0"},s=e.defineModuleConfig({project:{label:"Database",type:"resource",accept:["FIREBASE"]},productCollection:{label:"Product Collection",type:"input",default:"products"},collectionsCollection:{label:"Collections Collection",type:"input",default:"public/e-commerce:collections"},allowedMediaSources:{label:"Allowed Media Sources",type:"mediaSource",multiple:!0},defaultUploadMediaSource:{label:"Default Upload Media Source",type:"mediaSource",multiple:!1},previewUrl:{label:"Preview URL",type:"input",default:"https://preview.com/shop/{{slug}}"}}),c=[{path:"",component:()=>Promise.resolve().then(()=>require("./Overview-DeQQ0FY3.js"))},{path:"/:productId",component:()=>Promise.resolve().then(()=>require("./Detail-CjuhjPby.js"))},{path:"/new",component:()=>Promise.resolve().then(()=>require("./Detail-CjuhjPby.js"))}],p=[{key:"create-product",name:"Create product",description:"Team member can create a new product"},{key:"edit-product",name:"Edit product",description:"Team member can edit a product"},{key:"delete-product",name:"Delete product",description:"Team member can delete a product"}],l=[{name:"getEmptyStock",description:"Get a list of products with empty stock.",executionMode:"api",parameters:{type:"object",properties:{category:{type:"string",description:"Category of the product"}},required:["category"]}},{name:"viewProductDetails",description:"Show a card in chat with details of a product based on product ID.",executionMode:"component",chatComponent:"ProductDetailsCard",parameters:{type:"object",properties:{productId:{type:"string",description:"ID of the product"}},required:["productId"]}}],d={component:()=>Promise.resolve().then(()=>require("./index-R2oUDsjx.js")),metadata:a,config:s,routes:c,permissions:p,tools:l,chatComponents:{ProductDetailsCard:()=>Promise.resolve().then(()=>require("./ProductDetailsCard-Bn7qrgmc.js"))}},m={name:"Custom",description:"Custom module",icon:"mdi-table",version:"1.0.0"},u=e.defineModuleConfig({formLayout:{label:"Design View",type:"form"}}),h=[{path:"",component:()=>Promise.resolve().then(()=>require("./View-BaFlMcM6.js"))}],f=[],g={component:()=>Promise.resolve().then(()=>require("./index-CSxYBeVA.js")),metadata:m,config:u,routes:h,permissions:f},y={name:"Promo Codes",description:"Create and manage promo codes",icon:"mdi-table",version:"1.0.0"},b=e.defineModuleConfig({project:{label:"Project",type:"resource",accept:["FIREBASE"]},promoCodeCollection:{label:"Promo Code Collection",type:"input",default:"promo-codes"}}),v=[{path:"",component:()=>Promise.resolve().then(()=>require("./Create-DuZ5nZrX.js"))},{path:"/promo-codes",component:()=>Promise.resolve().then(()=>require("./Find-D4Qa45qC.js"))},{path:"/promo-codes/:promoCodeId",component:()=>Promise.resolve().then(()=>require("./Detail-BZ-iE9vf.js"))}],C=[{key:"create-promo-codes",name:"Create promo codes",description:"Team member can create promo codes"},{key:"view-promo-codes",name:"View promo codes",description:"Team member can view promo codes"},{key:"delete-promo-codes",name:"Delete promo codes",description:"Team member can delete promo codes"}],w={component:()=>Promise.resolve().then(()=>require("./index-CkiNvRzs.js")),metadata:y,config:b,routes:v,permissions:C},P={name:"Product Collections",description:"Manage product collections",icon:"mdi-table",version:"1.0.0"},q=e.defineModuleConfig({project:{label:"Project",type:"resource",accept:["FIREBASE"]},collectionsCollection:{label:"Collections Collection",type:"input",default:"public/e-commerce:collections"},allowedMediaSources:{label:"Allowed Media Sources",type:"mediaSource",multiple:!0},defaultUploadMediaSource:{label:"Default Upload Media Source",type:"mediaSource",multiple:!1}}),D=[{path:"",component:()=>Promise.resolve().then(()=>require("./Overview-T-lsy3UZ.js"))},{path:"/:collectionId",component:()=>Promise.resolve().then(()=>require("./Detail-CPqug27l.js"))},{path:"/new",component:()=>Promise.resolve().then(()=>require("./Detail-CPqug27l.js"))}],S=[{key:"create-collection",name:"Create product collection",description:"Team member can create a new product collection"},{key:"edit-collection",name:"Edit product collection",description:"Team member can edit a product collection"},{key:"delete-collection",name:"Delete product collection",description:"Team member can delete a product collection"}],k={component:()=>Promise.resolve().then(()=>require("./index-CwqrAU-H.js")),metadata:P,config:q,routes:D,permissions:S},M={name:"Shipping Options",description:"Manage shipping options",icon:"mdi-table",version:"1.0.0"},A=e.defineModuleConfig({project:{label:"Project",type:"resource",accept:["FIREBASE"]},shippingOptionsCollection:{label:"Shipping Options Collection",type:"input",default:"public/e-commerce:shipping-options"}}),$=[{path:"",component:()=>Promise.resolve().then(()=>require("./Overview-BbvfH1u-.js"))},{path:"/:optionId",component:()=>Promise.resolve().then(()=>require("./Detail-C8wQiDcv.js"))},{path:"/new",component:()=>Promise.resolve().then(()=>require("./Detail-C8wQiDcv.js"))}],T=[{key:"create-option",name:"Create shipping option",description:"Team member can create a new shipping option"},{key:"edit-option",name:"Edit shipping option",description:"Team member can edit a shipping option"},{key:"delete-option",name:"Delete shipping option",description:"Team member can delete a shipping option"}],x={component:()=>Promise.resolve().then(()=>require("./index-Co4ON2Di.js")),metadata:M,config:A,routes:$,permissions:T},E={name:"Google Analytics",description:"Configure Google Analytics settings.",icon:"mdi-google-analytics",version:"1.0.0"},I=e.defineModuleConfig({serviceAccount:{label:"Google Service Account",type:"resource",accept:["GOOGLE_SERVICE_ACCOUNT"]},propertyId:{label:"GA4 Property ID",type:"input",default:""},siteUrl:{label:"Search Console Site URL",type:"input",default:"",placeholder:"https://example.com or sc-domain:example.com",description:"Optional. When set, the module will fetch real keyword data from Google Search Console. Use the same site URL format as shown in Search Console."}}),j=[{path:"",component:()=>Promise.resolve().then(()=>require("./Overview-Da0XexiT.js"))},{path:"/acquisition",component:()=>Promise.resolve().then(()=>require("./Acquisition-_-cq972V.js"))},{path:"/content",component:()=>Promise.resolve().then(()=>require("./Content-C-4Cdniz.js"))},{path:"/audience",component:()=>Promise.resolve().then(()=>require("./Audience-QnFQs93n.js"))},{path:"/seo",component:()=>Promise.resolve().then(()=>require("./SeoHealth-BkpJ1F2Y.js"))}],U=[],Y=[{name:"getTopPages",description:"Show a card in chat with the most popular/visited pages on the website for a given period.",executionMode:"component",chatComponent:"TopPagesCard",parameters:{type:"object",properties:{startDate:{type:"string",description:"Start date for the report. Use relative formats like 'yesterday', '7daysAgo', '30daysAgo', '90daysAgo', '365daysAgo' or exact dates 'YYYY-MM-DD'. Default: '30daysAgo'"},endDate:{type:"string",description:"End date for the report. Use 'today', 'yesterday', or exact dates 'YYYY-MM-DD'. Default: 'today'"},limit:{type:"number",description:"Number of pages to show. Default: 10, max: 50",default:10}},required:[]}},{name:"getVisitorStats",description:"Show a card in chat with visitor/traffic statistics (sessions, users, page views, bounce rate, etc.) for a given period. Use this when the user asks about traffic, visitors, how many people visited, etc.",executionMode:"component",chatComponent:"VisitorStatsCard",parameters:{type:"object",properties:{startDate:{type:"string",description:"Start date for the report. Use 'yesterday' for yesterday, '7daysAgo' for last week, '30daysAgo' for last month, '90daysAgo' for last quarter, '365daysAgo' for last year, or exact 'YYYY-MM-DD'. Default: '30daysAgo'"},endDate:{type:"string",description:"End date for the report. Use 'today', 'yesterday', or exact 'YYYY-MM-DD'. Default: 'today'"}},required:[]}},{name:"getSearchTerms",description:"Show a card in chat with search terms/keywords that bring visitors to the website. Use this when the user asks about keywords, SEO terms, what people search for, or search queries.",executionMode:"component",chatComponent:"SearchTermsCard",parameters:{type:"object",properties:{startDate:{type:"string",description:"Start date for the report. Default: '30daysAgo'"},endDate:{type:"string",description:"End date for the report. Default: 'today'"}},required:[]}},{name:"getTrafficSources",description:"Show a card in chat with where website visitors are coming from (traffic sources, channels, referrals). Use this when the user asks about traffic sources, where visitors come from, referrals, channels, etc.",executionMode:"component",chatComponent:"TrafficSourcesCard",parameters:{type:"object",properties:{startDate:{type:"string",description:"Start date for the report. Default: '30daysAgo'"},endDate:{type:"string",description:"End date for the report. Default: 'today'"}},required:[]}},{name:"getRealtimeVisitors",description:"Show a card in chat with the current real-time active visitors on the website right now.",executionMode:"component",chatComponent:"RealtimeCard",parameters:{type:"object",properties:{},required:[]}},{name:"getCountryBreakdown",description:"Show a card in chat with a geographic breakdown of where website visitors are located. Use this when the user asks about visitor countries, geographic distribution, or where their audience is from.",executionMode:"component",chatComponent:"CountryBreakdownCard",parameters:{type:"object",properties:{startDate:{type:"string",description:"Start date for the report. Default: '30daysAgo'"},endDate:{type:"string",description:"End date for the report. Default: 'today'"}},required:[]}},{name:"getDeviceBreakdown",description:"Show a card in chat with a device breakdown (desktop, mobile, tablet) of website visitors. Use this when the user asks about what devices people use, mobile vs desktop traffic, or if their site is mobile-friendly.",executionMode:"component",chatComponent:"DeviceBreakdownCard",parameters:{type:"object",properties:{startDate:{type:"string",description:"Start date for the report. Default: '30daysAgo'"},endDate:{type:"string",description:"End date for the report. Default: 'today'"}},required:[]}},{name:"getPeakHours",description:"Show a card in chat with peak traffic hours and a weekly heatmap showing when visitors are most active. Use this when the user asks about best times to post, peak hours, busiest times, or when their audience is online.",executionMode:"component",chatComponent:"PeakHoursCard",parameters:{type:"object",properties:{startDate:{type:"string",description:"Start date for the report. Default: '30daysAgo'"},endDate:{type:"string",description:"End date for the report. Default: 'today'"}},required:[]}}],R={component:()=>Promise.resolve().then(()=>require("./index-DwHYfZl_.js")),metadata:E,config:I,routes:j,permissions:U,tools:Y,chatComponents:{TopPagesCard:()=>Promise.resolve().then(()=>require("./TopPagesCard-BDeA997A.js")),VisitorStatsCard:()=>Promise.resolve().then(()=>require("./VisitorStatsCard-BmByE_Hi.js")),SearchTermsCard:()=>Promise.resolve().then(()=>require("./SearchTermsCard-BsB-63aH.js")),TrafficSourcesCard:()=>Promise.resolve().then(()=>require("./TrafficSourcesCard-C3ziDTUL.js")),RealtimeCard:()=>Promise.resolve().then(()=>require("./RealtimeCard--APfRNc8.js")),CountryBreakdownCard:()=>Promise.resolve().then(()=>require("./CountryBreakdownCard-D7BK3nRD.js")),DeviceBreakdownCard:()=>Promise.resolve().then(()=>require("./DeviceBreakdownCard-DRhQ9ufG.js")),PeakHoursCard:()=>Promise.resolve().then(()=>require("./PeakHoursCard-BR5zmta4.js"))}},B={name:"Content Manager",description:"Create and manage content",icon:"mdi-table",version:"1.0.0"},O=e.defineModuleConfig({project:{label:"Database",type:"resource",accept:["FIREBASE"]},domain:{label:"Domain",type:"input",default:"https://domain.com"},collectionsCollection:{label:"Collections Collection",type:"input",default:"content_collections"},contentCollection:{label:"Content Collection",type:"input",default:"content"},allowedMediaSources:{label:"Allowed Media Sources",type:"mediaSource",multiple:!0},defaultUploadMediaSource:{label:"Default Upload Media Source",type:"mediaSource",multiple:!1},supportedLanguages:{label:"Supported Languages",type:"select",predefinedOptions:"languages",multiple:!0},defaultLanguage:{label:"Default Language",type:"select",predefinedOptions:"languages"},githubIntegration:{label:"GitHub Integration",type:"resource",accept:["GITHUB"]},githubRepo:{label:"GitHub Repository",type:"input"},githubOwner:{label:"GitHub Owner",type:"input",required:!1}}),G=[{path:"",component:()=>Promise.resolve().then(()=>require("./Overview-CA8wh_BI.js"))},{path:"/collections",component:()=>Promise.resolve().then(()=>require("./Overview-CA8wh_BI.js"))},{path:"/collections/:collectionId",component:()=>Promise.resolve().then(()=>require("./Entries-CcEW98F5.js"))},{path:"/collections/:collectionId/:entryId",component:()=>Promise.resolve().then(()=>require("./ContentEditor-DiveHwSJ.js"))},{path:"/components",component:()=>Promise.resolve().then(()=>require("./Components-DXbx0RLV.js"))},{path:"/global-styling",component:()=>Promise.resolve().then(()=>require("./GlobalStyling-CnSlXkZc.js"))}],L=[{key:"create-content",name:"Create content",description:"Team member can create content"},{key:"edit-content",name:"Edit content",description:"Team member can edit content"},{key:"delete-content",name:"Delete content",description:"Team member can delete content"}],F={component:()=>Promise.resolve().then(()=>require("./index-UtjLbLw-.js")),metadata:B,config:O,routes:G,permissions:L},V={name:"Mail Templates",description:"Build templates for your transactional emails.",icon:"mdi-table",version:"1.0.0"},H=e.defineModuleConfig({project:{label:"Project",type:"resource",accept:["FIREBASE"]},templateCollection:{label:"Mail Templates Collection",type:"input",default:"mail-templates"}}),N=[{path:"",component:()=>Promise.resolve().then(()=>require("./Overview-BDlBCUI_.js"))},{path:"/:optionId",component:()=>Promise.resolve().then(()=>require("./Detail-mvSGbnFU.js"))},{path:"/new",component:()=>Promise.resolve().then(()=>require("./Detail-mvSGbnFU.js"))}],_=[{key:"create-template",name:"Create mail template",description:"Team member can create a new mail template"},{key:"edit-template",name:"Edit mail template",description:"Team member can edit a mail template"},{key:"delete-template",name:"Delete mail template",description:"Team member can delete a mail template"}],K={component:()=>Promise.resolve().then(()=>require("./index-Cz-baGax.js")),metadata:V,config:H,routes:N,permissions:_},W={name:"Appointments",description:"Create and manage agendas for booking appointments.",icon:"mdi-table",version:"1.0.0"},z=e.defineModuleConfig({project:{label:"Project",type:"resource",accept:["FIREBASE"]},mailAccount:{label:"Mail account",type:"resource",accept:["GMAIL"]},agendaCollection:{label:"Agenda Collection",type:"input",default:"agendas"},reservationsCollection:{label:"Reservations Collection",type:"input",default:"bookings_orders"},reservedSpotsCollection:{label:"Reserved Spots Collection",type:"input",default:"reserved_spots"}}),J=[{path:"",component:()=>Promise.resolve().then(()=>require("./Overview-t0pG5xjA.js"))},{path:"/create",component:()=>Promise.resolve().then(()=>require("./index-D2a6wEPh.js"))},{path:"/create/regular",component:()=>Promise.resolve().then(()=>require("./regular-1LXNPviB.js"))},{path:"/edit/:id",component:()=>Promise.resolve().then(()=>require("./index-C9pSS15N.js"))},{path:"/edit/:id/agenda",component:()=>Promise.resolve().then(()=>require("./agenda-DXMwVWpN.js"))},{path:"/edit/:id/regular-slots",component:()=>Promise.resolve().then(()=>require("./regular-slots-Bs3WJB3U.js"))},{path:"/edit/:id/exceptions",component:()=>Promise.resolve().then(()=>require("./exceptions-Cn7zooEu.js"))},{path:"/edit/:id/availability",component:()=>Promise.resolve().then(()=>require("./availability-D_wnfLsH.js"))},{path:"/edit/:id/payment",component:()=>Promise.resolve().then(()=>require("./payment-BQaAqQ5q.js"))},{path:"/edit/:id/resources",component:()=>Promise.resolve().then(()=>require("./resources-eb0pivDL.js"))},{path:"/edit/:id/orders",component:()=>Promise.resolve().then(()=>require("./orders-V1pch_ih.js"))}],Q=[{key:"create-agendas",name:"Create agendas",description:"Team member can create agendas"},{key:"edit-agendas",name:"Edit agendas",description:"Team member can edit agendas"},{key:"delete-agendas",name:"Delete agendas",description:"Team member can delete agendas"},{key:"manage-reservations",name:"Manage reservations",description:"Team member can create, edit, and delete reservations"}],X=[{name:"findAppointment",description:"Show a card in chat with details of an appointment/booking/reservation/...",executionMode:"component",chatComponent:"AppointmentDetailsCard",parameters:{type:"object",properties:{name:{type:"string",description:"Name of the booker"},email:{type:"string",description:"Email of the booker"},date:{type:"string",description:"Date of the appointment (YYYY-MM-DD)"}},required:["date"]}},{name:"getRecentAppointments",description:"Show a table in chat with recent appointments, default loading the latest 20 appointments.",executionMode:"component",chatComponent:"AppointmentListTable",parameters:{type:"object",properties:{quantity:{type:"number",description:"Number of appointments to load. default: 20 max: 100",default:20}},required:["quantity"]}},{name:"changeAppointmentDetails",description:"Show a card in chat where user can edit name, email and date of an existing appointment.",executionMode:"component",chatComponent:"AppointmentEditor",parameters:{type:"object",properties:{orderId:{type:"string",description:"ID of the order / appointment. This is NOT the reservation ID."}},required:["orderId"]}}],Z={component:()=>Promise.resolve().then(()=>require("./index-9HVlmvK3.js")),metadata:W,config:z,routes:J,permissions:Q,tools:X,chatComponents:{AppointmentDetailsCard:()=>Promise.resolve().then(()=>require("./AppointmentDetailsCard-DpLM5IrB.js")),AppointmentListTable:()=>Promise.resolve().then(()=>require("./AppointmentListTable-CQ0WIXtj.js")),AppointmentEditor:()=>Promise.resolve().then(()=>require("./AppointmentEditor-CaTfbkIf.js"))}};exports.appointments=Z;exports.contentManager=F;exports.custom=g;exports.googleAnalytics=R;exports.mailTemplates=K;exports.productCollections=k;exports.products=d;exports.promoCodes=w;exports.shippingOptions=x;exports.table=i;
package/dist/index.mjs CHANGED
@@ -45,7 +45,7 @@ const t = {
45
45
  default: !1
46
46
  }
47
47
  }), a = [
48
- { path: "", component: () => import("./TableView-BPWAx--G.mjs") }
48
+ { path: "", component: () => import("./TableView-Ei_w_-bn.mjs") }
49
49
  ], n = [], N = {
50
50
  component: () => import("./index-Bkq58CeQ.mjs"),
51
51
  metadata: t,
@@ -153,7 +153,7 @@ const t = {
153
153
  type: "form"
154
154
  }
155
155
  }), l = [
156
- { path: "", component: () => import("./View-BO5N911y.mjs") }
156
+ { path: "", component: () => import("./View-C4MBWRlA.mjs") }
157
157
  ], u = [], W = {
158
158
  component: () => import("./index-Dpl9sU6a.mjs"),
159
159
  metadata: d,
@@ -178,7 +178,7 @@ const t = {
178
178
  }
179
179
  }), g = [
180
180
  { path: "", component: () => import("./Create-6uT9HWar.mjs") },
181
- { path: "/promo-codes", component: () => import("./Find-XPcJxeRH.mjs") },
181
+ { path: "/promo-codes", component: () => import("./Find-Bd1uLqSa.mjs") },
182
182
  { path: "/promo-codes/:promoCodeId", component: () => import("./Detail-CJVMJDP7.mjs") }
183
183
  ], b = [
184
184
  { key: "create-promo-codes", name: "Create promo codes", description: "Team member can create promo codes" },
@@ -528,7 +528,7 @@ const t = {
528
528
  { path: "", component: () => import("./Overview-D4MFwRI_.mjs") },
529
529
  { path: "/collections", component: () => import("./Overview-D4MFwRI_.mjs") },
530
530
  { path: "/collections/:collectionId", component: () => import("./Entries-BkOPae4R.mjs") },
531
- { path: "/collections/:collectionId/:entryId", component: () => import("./ContentEditor-DPhhOkx3.mjs") },
531
+ { path: "/collections/:collectionId/:entryId", component: () => import("./ContentEditor-C5ydvk8b.mjs") },
532
532
  { path: "/components", component: () => import("./Components-C83O-xlF.mjs") },
533
533
  { path: "/global-styling", component: () => import("./GlobalStyling-C9VthHWK.mjs") }
534
534
  ], P = [
@@ -615,7 +615,7 @@ const t = {
615
615
  { path: "/edit/:id/availability", component: () => import("./availability-C1NqOFsQ.mjs") },
616
616
  { path: "/edit/:id/payment", component: () => import("./payment-BbWByERf.mjs") },
617
617
  { path: "/edit/:id/resources", component: () => import("./resources-CFR_s89Z.mjs") },
618
- { path: "/edit/:id/orders", component: () => import("./orders-CeixEBcU.mjs") }
618
+ { path: "/edit/:id/orders", component: () => import("./orders-DhQ2EFXS.mjs") }
619
619
  ], F = [
620
620
  { key: "create-agendas", name: "Create agendas", description: "Team member can create agendas" },
621
621
  { key: "edit-agendas", name: "Edit agendas", description: "Team member can edit agendas" },