@oneclick.dev/cms-core-modules 0.0.121 → 0.0.123
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/{ContentEditor-Dl41qaCh.js → ContentEditor-C-Wm48ai.js} +63 -59
- package/dist/{ContentEditor-u3k-uTny.mjs → ContentEditor-MDGolnIP.mjs} +27683 -27663
- package/dist/{NewReservationDialog.vue_vue_type_script_setup_true_lang-bZidw6RT.mjs → NewReservationDialog.vue_vue_type_script_setup_true_lang-8I_Z9cD_.mjs} +530 -530
- package/dist/NewReservationDialog.vue_vue_type_script_setup_true_lang-BVE_uURZ.js +1 -0
- package/dist/OrderDetailDialog.vue_vue_type_script_setup_true_lang-BdFa-xNf.mjs +3566 -0
- package/dist/OrderDetailDialog.vue_vue_type_script_setup_true_lang-DzPOadcU.js +925 -0
- package/dist/SendPush-CgSBEex2.js +1 -0
- package/dist/SendPush-CmbjcQBL.mjs +680 -0
- package/dist/TableCalculationWidget-CkQPrVUd.js +59 -0
- package/dist/TableCalculationWidget-CrqcLGfU.mjs +254 -0
- package/dist/TableDataWidget-7qvC3Egd.js +1 -0
- package/dist/TableDataWidget-DMTSoGRO.mjs +121 -0
- package/dist/TableOverviewCard-AFq-puJs.js +1 -0
- package/dist/TableOverviewCard-Ci0d4o4w.mjs +391 -0
- package/dist/TableResultView.vue_vue_type_script_setup_true_lang-CBn-Oxl9.mjs +534 -0
- package/dist/TableResultView.vue_vue_type_script_setup_true_lang-C_Lv-SmJ.js +1 -0
- package/dist/TableRowActionCard-BhdnnPaq.mjs +266 -0
- package/dist/TableRowActionCard-IzB6tNN-.js +1 -0
- package/dist/TableView-BkwoKREo.js +4 -0
- package/dist/TableView-C4Zyp8d7.mjs +8228 -0
- package/dist/{agenda-BCKDYOeF.mjs → agenda-DWdbWUbb.mjs} +10 -9
- package/dist/agenda-r9Gl85GL.js +1 -0
- package/dist/dateRangePresets-B-l5b_wR.mjs +48 -0
- package/dist/dateRangePresets-CPWqst_x.js +1 -0
- package/dist/fuse-Deb-Iq39.mjs +1473 -0
- package/dist/fuse-_CGUd5Zq.js +1 -0
- package/dist/{index-DU3Ib10Z.mjs → index-B_qaX29C.mjs} +7 -6
- package/dist/{index-Bk3yLv_G.js → index-yHLT6gaZ.js} +3 -3
- package/dist/index.cjs.js +1 -1
- package/dist/index.mjs +431 -110
- package/dist/languages-C_8yMQOH.mjs +4 -0
- package/dist/languages-Dqvk3X8G.js +1 -0
- package/dist/{orders-CElKNc1v.mjs → orders-BfTLIm7U.mjs} +10 -9
- package/dist/orders-DUa2PVoa.js +1 -0
- package/dist/reports-ChCsd1Gk.mjs +1107 -0
- package/dist/reports-DmJPm8uP.js +158 -0
- package/dist/row-item-C1dUyimV.mjs +204 -0
- package/dist/row-item-Cyo3m3MZ.js +1 -0
- package/dist/src/appointments/components/edit/EventDialog/BookingsList.vue.d.ts +9 -3
- package/dist/src/appointments/components/edit/EventDialog/OrderDetailDialog.vue.d.ts +2 -0
- package/dist/src/appointments/components/edit/EventDialog/ReservationDetailDialog.vue.d.ts +4 -2
- package/dist/src/appointments/components/edit/dashboard/BookingsList.vue.d.ts +9 -3
- package/dist/src/appointments/pages/edit/orders.vue.d.ts +9 -3
- package/dist/src/appointments/pages/edit/reports.vue.d.ts +229 -1
- package/dist/src/push-notifications/config.d.ts +22 -0
- package/dist/src/push-notifications/index.d.ts +22 -0
- package/dist/src/push-notifications/types.d.ts +5 -0
- package/dist/src/table/chat-components/TableCalculationWidget.vue.d.ts +15 -0
- package/dist/src/table/chat-components/TableDataWidget.vue.d.ts +15 -0
- package/dist/src/table/chat-components/TableOverviewCard.vue.d.ts +61 -0
- package/dist/src/table/chat-components/TableResultView.vue.d.ts +48 -0
- package/dist/src/table/chat-components/TableRowActionCard.vue.d.ts +15 -0
- package/dist/src/table/components/filters/DialogTableFilterOptionItem.vue.d.ts +16 -0
- package/dist/src/table/components/filters/NumberComparisonFilter.vue.d.ts +12 -0
- package/dist/src/table/components/filters/NumberComparisonFilterSettings.vue.d.ts +12 -0
- package/dist/src/table/components/filters/NumberRangeFilter.vue.d.ts +12 -0
- package/dist/src/table/components/filters/NumberRangeFilterSettings.vue.d.ts +12 -0
- package/dist/src/table/components/filters/filter-utils.d.ts +14 -0
- package/dist/src/table/composables/useTableAgentTools.d.ts +33 -0
- package/dist/src/table/index.d.ts +339 -0
- package/dist/src/table/tool-sandbox.d.ts +13 -0
- package/dist/src/table/tool-utils.d.ts +11 -0
- package/dist/src/table/tools.d.ts +333 -1
- package/dist/src/table/types.d.ts +79 -0
- package/dist/tool-sandbox-DdkMLkDK.mjs +182 -0
- package/dist/tool-sandbox-DoF1PsyS.js +115 -0
- package/dist/useTableAgentTools-D5mzGf3A.js +1 -0
- package/dist/useTableAgentTools-DcN3kYRL.mjs +131 -0
- package/package.json +17 -17
- package/src/table/tools.ts +304 -1
- package/dist/NewReservationDialog.vue_vue_type_script_setup_true_lang-BdZbcubW.js +0 -1
- package/dist/OrderDetailDialog.vue_vue_type_script_setup_true_lang-BYSeUW_V.js +0 -925
- package/dist/OrderDetailDialog.vue_vue_type_script_setup_true_lang-DwAUYR8p.mjs +0 -5021
- package/dist/SendPush-COns44j7.js +0 -1
- package/dist/SendPush-CPIOjVX4.mjs +0 -184
- package/dist/TableView-Ctnep-Qu.mjs +0 -6247
- package/dist/TableView-DJqyJL9L.js +0 -4
- package/dist/agenda-B54F8cEr.js +0 -1
- package/dist/orders-BMosTk6r.js +0 -1
- package/dist/reports-BQT_GZzU.js +0 -158
- package/dist/reports-DksZCTOw.mjs +0 -837
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),m=require("@oneclick.dev/cms-kit"),_=require("./_plugin-vue_export-helper-BHFhmbuH.js"),v={class:"preview-iphone"},V={class:"push-container"},f={class:"inner"},N={class:"head"},h={class:"app-name"},y={class:"body"},x={class:"push-title"},S={class:"push-message"},E=e.defineComponent({__name:"PreviewIPhone",props:{app:{type:String,required:!0},title:{type:String,required:!0},message:{type:String,required:!0}},setup(t){return(l,o)=>(e.openBlock(),e.createElementBlock("div",v,[e.createElementVNode("div",V,[e.createElementVNode("div",f,[e.createElementVNode("div",N,[e.createElementVNode("span",h,e.toDisplayString(t.app),1),o[0]||(o[0]=e.createElementVNode("span",null,"now",-1))]),e.createElementVNode("div",y,[e.createElementVNode("span",x,e.toDisplayString(t.title),1),e.createElementVNode("span",S,e.toDisplayString(t.message),1)])])])]))}}),w=_._export_sfc(E,[["__scopeId","data-v-8c84cde9"]]),C={class:"preview-android"},B={class:"push-container"},k={class:"inner"},P={class:"head"},$={class:"app-name"},q={class:"body"},b={class:"push-title"},T={class:"push-message"},D=e.defineComponent({__name:"PreviewAndroid",props:{app:{type:String,required:!0},title:{type:String,required:!0},message:{type:String,required:!0}},setup(t){return(l,o)=>(e.openBlock(),e.createElementBlock("div",C,[e.createElementVNode("div",B,[e.createElementVNode("div",k,[e.createElementVNode("div",P,[o[0]||(o[0]=e.createElementVNode("span",{class:"notification-badge"},null,-1)),e.createElementVNode("span",$,e.toDisplayString(t.app),1),o[1]||(o[1]=e.createElementVNode("span",null,null,-1))]),e.createElementVNode("div",q,[e.createElementVNode("span",b,e.toDisplayString(t.title),1),e.createElementVNode("span",T,e.toDisplayString(t.message),1)])])])]))}}),I=_._export_sfc(D,[["__scopeId","data-v-202b94a8"]]),M={class:"flex flex-col"},O=e.defineComponent({__name:"PushPreview",props:{app:{type:String,required:!0},title:{type:String,required:!0},message:{type:String,required:!0}},setup(t){const l=t,o=e.ref("ios"),i=e.computed(()=>l.title.length>0?l.title:"Notification Preview"),d=e.computed(()=>l.message.length>0?l.message:"Preview your push notification");return(r,s)=>{const p=e.resolveComponent("SegmentedControlButton"),n=e.resolveComponent("SegmentedControl");return e.openBlock(),e.createElementBlock("div",M,[e.createVNode(n,{modelValue:e.unref(o),"onUpdate:modelValue":s[0]||(s[0]=a=>e.isRef(o)?o.value=a:null),class:"mx-auto mb-3"},{default:e.withCtx(()=>[e.createVNode(p,{value:"ios"},{default:e.withCtx(()=>[...s[1]||(s[1]=[e.createTextVNode(" iOS ",-1)])]),_:1}),e.createVNode(p,{value:"android"},{default:e.withCtx(()=>[...s[2]||(s[2]=[e.createTextVNode(" Android ",-1)])]),_:1})]),_:1},8,["modelValue"]),e.unref(o)=="ios"?(e.openBlock(),e.createBlock(w,{key:0,app:t.app,title:e.unref(i),message:e.unref(d)},null,8,["app","title","message"])):(e.openBlock(),e.createBlock(I,{key:1,app:t.app,title:e.unref(i),message:e.unref(d)},null,8,["app","title","message"]))])}}}),A={class:"relative"},L={class:"flex gap-12 bg-background rounded-lg p-6 shadow"},U={class:"flex flex-col gap-2 w-96"},j=e.defineComponent({__name:"SendPush",props:{config:{type:Object,required:!0}},setup(t){const{hasPermission:l}=m.useModulePermissions(),{log:o,logWarning:i,logError:d}=m.useLogs(),r=e.ref(""),s=e.ref("");return(p,n)=>{const a=e.resolveComponent("Label"),u=e.resolveComponent("Input"),g=e.resolveComponent("Button");return e.openBlock(),e.createElementBlock("div",A,[e.createElementVNode("div",L,[e.createElementVNode("div",U,[e.createVNode(a,{for:"send_push_title"},{default:e.withCtx(()=>[...n[2]||(n[2]=[e.createTextVNode("Title",-1)])]),_:1}),e.createVNode(u,{type:"text",modelValue:r.value,"onUpdate:modelValue":n[0]||(n[0]=c=>r.value=c),id:"send_push_title"},null,8,["modelValue"]),e.createVNode(a,{for:"send_push_message"},{default:e.withCtx(()=>[...n[3]||(n[3]=[e.createTextVNode("Message",-1)])]),_:1}),e.createVNode(u,{type:"text",modelValue:s.value,"onUpdate:modelValue":n[1]||(n[1]=c=>s.value=c),id:"send_push_message"},null,8,["modelValue"]),e.createVNode(g,null,{default:e.withCtx(()=>[...n[4]||(n[4]=[e.createTextVNode("Send Push",-1)])]),_:1})]),e.createVNode(O,{class:"preview",app:t.config.appName,title:r.value,message:s.value},null,8,["app","title","message"])])])}}});exports.default=j;
|
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
import { defineComponent as g, openBlock as r, createElementBlock as v, createElementVNode as e, toDisplayString as d, ref as x, computed as w, resolveComponent as p, createVNode as i, isRef as q, unref as a, withCtx as u, createTextVNode as c, createBlock as P } from "vue";
|
|
2
|
-
import { useModulePermissions as B, useLogs as C } from "@oneclick.dev/cms-kit";
|
|
3
|
-
import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
4
|
-
const k = { class: "preview-iphone" }, I = { class: "push-container" }, N = { class: "inner" }, A = { class: "head" }, E = { class: "app-name" }, L = { class: "body" }, M = { class: "push-title" }, O = { class: "push-message" }, T = /* @__PURE__ */ g({
|
|
5
|
-
__name: "PreviewIPhone",
|
|
6
|
-
props: {
|
|
7
|
-
app: {
|
|
8
|
-
type: String,
|
|
9
|
-
required: !0
|
|
10
|
-
},
|
|
11
|
-
title: {
|
|
12
|
-
type: String,
|
|
13
|
-
required: !0
|
|
14
|
-
},
|
|
15
|
-
message: {
|
|
16
|
-
type: String,
|
|
17
|
-
required: !0
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
setup(t) {
|
|
21
|
-
return (l, s) => (r(), v("div", k, [
|
|
22
|
-
e("div", I, [
|
|
23
|
-
e("div", N, [
|
|
24
|
-
e("div", A, [
|
|
25
|
-
e("span", E, d(t.app), 1),
|
|
26
|
-
s[0] || (s[0] = e("span", null, "now", -1))
|
|
27
|
-
]),
|
|
28
|
-
e("div", L, [
|
|
29
|
-
e("span", M, d(t.title), 1),
|
|
30
|
-
e("span", O, d(t.message), 1)
|
|
31
|
-
])
|
|
32
|
-
])
|
|
33
|
-
])
|
|
34
|
-
]));
|
|
35
|
-
}
|
|
36
|
-
}), U = /* @__PURE__ */ V(T, [["__scopeId", "data-v-8c84cde9"]]), j = { class: "preview-android" }, D = { class: "push-container" }, R = { class: "inner" }, W = { class: "head" }, z = { class: "app-name" }, F = { class: "body" }, G = { class: "push-title" }, H = { class: "push-message" }, J = /* @__PURE__ */ g({
|
|
37
|
-
__name: "PreviewAndroid",
|
|
38
|
-
props: {
|
|
39
|
-
app: {
|
|
40
|
-
type: String,
|
|
41
|
-
required: !0
|
|
42
|
-
},
|
|
43
|
-
title: {
|
|
44
|
-
type: String,
|
|
45
|
-
required: !0
|
|
46
|
-
},
|
|
47
|
-
message: {
|
|
48
|
-
type: String,
|
|
49
|
-
required: !0
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
setup(t) {
|
|
53
|
-
return (l, s) => (r(), v("div", j, [
|
|
54
|
-
e("div", D, [
|
|
55
|
-
e("div", R, [
|
|
56
|
-
e("div", W, [
|
|
57
|
-
s[0] || (s[0] = e("span", { class: "notification-badge" }, null, -1)),
|
|
58
|
-
e("span", z, d(t.app), 1),
|
|
59
|
-
s[1] || (s[1] = e("span", null, null, -1))
|
|
60
|
-
]),
|
|
61
|
-
e("div", F, [
|
|
62
|
-
e("span", G, d(t.title), 1),
|
|
63
|
-
e("span", H, d(t.message), 1)
|
|
64
|
-
])
|
|
65
|
-
])
|
|
66
|
-
])
|
|
67
|
-
]));
|
|
68
|
-
}
|
|
69
|
-
}), K = /* @__PURE__ */ V(J, [["__scopeId", "data-v-202b94a8"]]), Q = { class: "flex flex-col" }, X = /* @__PURE__ */ g({
|
|
70
|
-
__name: "PushPreview",
|
|
71
|
-
props: {
|
|
72
|
-
app: {
|
|
73
|
-
type: String,
|
|
74
|
-
required: !0
|
|
75
|
-
},
|
|
76
|
-
title: {
|
|
77
|
-
type: String,
|
|
78
|
-
required: !0
|
|
79
|
-
},
|
|
80
|
-
message: {
|
|
81
|
-
type: String,
|
|
82
|
-
required: !0
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
setup(t) {
|
|
86
|
-
const l = t, s = x("ios"), f = w(() => l.title.length > 0 ? l.title : "Notification Preview"), h = w(() => l.message.length > 0 ? l.message : "Preview your push notification");
|
|
87
|
-
return (m, o) => {
|
|
88
|
-
const y = p("SegmentedControlButton"), n = p("SegmentedControl");
|
|
89
|
-
return r(), v("div", Q, [
|
|
90
|
-
i(n, {
|
|
91
|
-
modelValue: a(s),
|
|
92
|
-
"onUpdate:modelValue": o[0] || (o[0] = (_) => q(s) ? s.value = _ : null),
|
|
93
|
-
class: "mx-auto mb-3"
|
|
94
|
-
}, {
|
|
95
|
-
default: u(() => [
|
|
96
|
-
i(y, { value: "ios" }, {
|
|
97
|
-
default: u(() => [...o[1] || (o[1] = [
|
|
98
|
-
c(" iOS ", -1)
|
|
99
|
-
])]),
|
|
100
|
-
_: 1
|
|
101
|
-
}),
|
|
102
|
-
i(y, { value: "android" }, {
|
|
103
|
-
default: u(() => [...o[2] || (o[2] = [
|
|
104
|
-
c(" Android ", -1)
|
|
105
|
-
])]),
|
|
106
|
-
_: 1
|
|
107
|
-
})
|
|
108
|
-
]),
|
|
109
|
-
_: 1
|
|
110
|
-
}, 8, ["modelValue"]),
|
|
111
|
-
a(s) == "ios" ? (r(), P(U, {
|
|
112
|
-
key: 0,
|
|
113
|
-
app: t.app,
|
|
114
|
-
title: a(f),
|
|
115
|
-
message: a(h)
|
|
116
|
-
}, null, 8, ["app", "title", "message"])) : (r(), P(K, {
|
|
117
|
-
key: 1,
|
|
118
|
-
app: t.app,
|
|
119
|
-
title: a(f),
|
|
120
|
-
message: a(h)
|
|
121
|
-
}, null, 8, ["app", "title", "message"]))
|
|
122
|
-
]);
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
}), Y = { class: "relative" }, Z = { class: "flex gap-12 bg-background rounded-lg p-6 shadow" }, ee = { class: "flex flex-col gap-2 w-96" }, oe = /* @__PURE__ */ g({
|
|
126
|
-
__name: "SendPush",
|
|
127
|
-
props: {
|
|
128
|
-
config: {
|
|
129
|
-
type: Object,
|
|
130
|
-
required: !0
|
|
131
|
-
}
|
|
132
|
-
},
|
|
133
|
-
setup(t) {
|
|
134
|
-
const { hasPermission: l } = B(), { log: s, logWarning: f, logError: h } = C(), m = x(""), o = x("");
|
|
135
|
-
return (y, n) => {
|
|
136
|
-
const _ = p("Label"), $ = p("Input"), b = p("Button");
|
|
137
|
-
return r(), v("div", Y, [
|
|
138
|
-
e("div", Z, [
|
|
139
|
-
e("div", ee, [
|
|
140
|
-
i(_, { for: "send_push_title" }, {
|
|
141
|
-
default: u(() => [...n[2] || (n[2] = [
|
|
142
|
-
c("Title", -1)
|
|
143
|
-
])]),
|
|
144
|
-
_: 1
|
|
145
|
-
}),
|
|
146
|
-
i($, {
|
|
147
|
-
type: "text",
|
|
148
|
-
modelValue: m.value,
|
|
149
|
-
"onUpdate:modelValue": n[0] || (n[0] = (S) => m.value = S),
|
|
150
|
-
id: "send_push_title"
|
|
151
|
-
}, null, 8, ["modelValue"]),
|
|
152
|
-
i(_, { for: "send_push_message" }, {
|
|
153
|
-
default: u(() => [...n[3] || (n[3] = [
|
|
154
|
-
c("Message", -1)
|
|
155
|
-
])]),
|
|
156
|
-
_: 1
|
|
157
|
-
}),
|
|
158
|
-
i($, {
|
|
159
|
-
type: "text",
|
|
160
|
-
modelValue: o.value,
|
|
161
|
-
"onUpdate:modelValue": n[1] || (n[1] = (S) => o.value = S),
|
|
162
|
-
id: "send_push_message"
|
|
163
|
-
}, null, 8, ["modelValue"]),
|
|
164
|
-
i(b, null, {
|
|
165
|
-
default: u(() => [...n[4] || (n[4] = [
|
|
166
|
-
c("Send Push", -1)
|
|
167
|
-
])]),
|
|
168
|
-
_: 1
|
|
169
|
-
})
|
|
170
|
-
]),
|
|
171
|
-
i(X, {
|
|
172
|
-
class: "preview",
|
|
173
|
-
app: t.config.appName,
|
|
174
|
-
title: m.value,
|
|
175
|
-
message: o.value
|
|
176
|
-
}, null, 8, ["app", "title", "message"])
|
|
177
|
-
])
|
|
178
|
-
]);
|
|
179
|
-
};
|
|
180
|
-
}
|
|
181
|
-
});
|
|
182
|
-
export {
|
|
183
|
-
oe as default
|
|
184
|
-
};
|