@oneclick.dev/cms-core-modules 0.0.105 → 0.0.106

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.
Files changed (73) hide show
  1. package/dist/{Acquisition-CPlZzUBo.mjs → Acquisition-B2pM5vSp.mjs} +2 -2
  2. package/dist/{Acquisition-Br1Pfny3.js → Acquisition-Dt2rREU8.js} +1 -1
  3. package/dist/{Audience-BfkrmBuQ.js → Audience-Bs7b0TNm.js} +1 -1
  4. package/dist/{Audience-DTblSAiL.mjs → Audience-VLnUsQvW.mjs} +2 -2
  5. package/dist/{ContentEditor-B1nfKG_5.mjs → ContentEditor-BNLEv-qJ.mjs} +3119 -3098
  6. package/dist/{ContentEditor-DdFU8piH.js → ContentEditor-BUvvqfG1.js} +36 -36
  7. package/dist/{Create-qPeQxkdl.js → Create-89z41K73.js} +1 -1
  8. package/dist/{Create-BRBh0xjM.mjs → Create-Cn_Eufga.mjs} +5 -1
  9. package/dist/{Entries-C8UJkrVC.mjs → Entries-BdhUyJR5.mjs} +1 -1
  10. package/dist/{Entries-BaS6H6ak.js → Entries-CEXM_SkO.js} +1 -1
  11. package/dist/NewReservationDialog.vue_vue_type_script_setup_true_lang-Ceoje52V.js +1 -0
  12. package/dist/NewReservationDialog.vue_vue_type_script_setup_true_lang-DMGcRmm-.mjs +1255 -0
  13. package/dist/OrderDetailDialog.vue_vue_type_script_setup_true_lang-COrK1j0S.js +1 -0
  14. package/dist/OrderDetailDialog.vue_vue_type_script_setup_true_lang-Vb3q8EVv.mjs +330 -0
  15. package/dist/{Overview-CpHhuiaV.js → Overview-Bn1Xx3_j.js} +1 -1
  16. package/dist/{Overview-BrCwozey.js → Overview-DC9io1bk.js} +1 -1
  17. package/dist/Overview-Di84CsR5.mjs +476 -0
  18. package/dist/Overview-UoZHUMUz.js +1 -0
  19. package/dist/{Overview-kaMhsIUq.mjs → Overview-ejh4vUMT.mjs} +3 -3
  20. package/dist/{Overview-D_T3K6aq.mjs → Overview-lWAyyenp.mjs} +1 -1
  21. package/dist/ReservationDetailDialog.vue_vue_type_script_setup_true_lang-CuwREvXD.js +349 -0
  22. package/dist/ReservationDetailDialog.vue_vue_type_script_setup_true_lang-GYNZ_yhD.mjs +3077 -0
  23. package/dist/{SeoHealth-BzcWd_w7.mjs → SeoHealth-DsbVdd2l.mjs} +3 -3
  24. package/dist/SeoHealth-az1YuNF2.js +1 -0
  25. package/dist/{TableView-DXmEF6pY.mjs → TableView-Bm6HaRHm.mjs} +1 -1
  26. package/dist/{TableView-CPAw3h8g.js → TableView-DQW0A1oG.js} +1 -1
  27. package/dist/agenda-IOqtALWf.js +1 -0
  28. package/dist/agenda-neyeLWv-.mjs +1165 -0
  29. package/dist/cms-core-modules.css +1 -1
  30. package/dist/{index-C4YUVWzJ.js → index-A2kp8Isi.js} +6 -6
  31. package/dist/{index-BuzLn4Km.js → index-B5aBwdxY.js} +2 -2
  32. package/dist/{index-p5Uqu8c2.mjs → index-BRdCrvcz.mjs} +52 -47
  33. package/dist/{index-D3L8WAJI.js → index-BiT55eU0.js} +2 -2
  34. package/dist/{index-CMk3uhUt.mjs → index-Bvxc5xv_.mjs} +153 -147
  35. package/dist/{index-DQYBP8Js.js → index-G7cIlnGN.js} +4 -4
  36. package/dist/{index-DjDCYQ_6.mjs → index-X6LV64jK.mjs} +102 -101
  37. package/dist/{index-_2lRVt_k.mjs → index-uOkqO74I.mjs} +105 -107
  38. package/dist/index-unsDfNYv.mjs +1187 -0
  39. package/dist/index-vHmvbEwa.js +35 -0
  40. package/dist/index.cjs.js +1 -1
  41. package/dist/index.mjs +14 -14
  42. package/dist/interpolation-CHn59tIC.js +1 -0
  43. package/dist/interpolation-w7IRDJwK.mjs +180 -0
  44. package/dist/orders-C65SlpJy.mjs +618 -0
  45. package/dist/orders-XVzWAgG1.js +1 -0
  46. package/dist/src/appointments/components/edit/EventDialog/BookingsList.vue.d.ts +11 -2
  47. package/dist/src/appointments/components/edit/EventDialog/OrderDetailDialog.vue.d.ts +55 -0
  48. package/dist/src/appointments/components/edit/EventDialog/ReservationDetailDialog.vue.d.ts +6 -1
  49. package/dist/src/appointments/components/edit/NewReservationDialog/CustomerInformation.vue.d.ts +10 -0
  50. package/dist/src/appointments/components/edit/NewReservationDialog/NewReservationDialog.vue.d.ts +25 -1
  51. package/dist/src/appointments/components/edit/NewReservationDialog/QuickReservationAdder.vue.d.ts +26 -0
  52. package/dist/src/appointments/components/edit/NewReservationDialog/ReservationLines.vue.d.ts +31 -0
  53. package/dist/src/appointments/components/edit/dashboard/Timeline.vue.d.ts +3 -1
  54. package/dist/src/appointments/composables/useHorizontalScroll.d.ts +20 -0
  55. package/dist/src/lib/interpolation.d.ts +6 -0
  56. package/package.json +2 -2
  57. package/dist/NewReservationDialog.vue_vue_type_script_setup_true_lang-9Q7TMm4u.mjs +0 -401
  58. package/dist/NewReservationDialog.vue_vue_type_script_setup_true_lang-DiNzGl-q.js +0 -1
  59. package/dist/Overview-BYMrsZjM.mjs +0 -332
  60. package/dist/Overview-t0pG5xjA.js +0 -1
  61. package/dist/ReservationDetailDialog.vue_vue_type_script_setup_true_lang-Cz_22Oce.mjs +0 -2927
  62. package/dist/ReservationDetailDialog.vue_vue_type_script_setup_true_lang-DPPNc-Z5.js +0 -349
  63. package/dist/SeoHealth-09sEOu3G.js +0 -1
  64. package/dist/agenda-BNG05SAq.js +0 -1
  65. package/dist/agenda-D1RxMxBS.mjs +0 -1152
  66. package/dist/index-BtujSJeg.js +0 -35
  67. package/dist/index-dOdMm1pV.mjs +0 -1105
  68. package/dist/interpolation-DEDSLETn.mjs +0 -128
  69. package/dist/interpolation-DERg6Lwt.js +0 -1
  70. package/dist/orders-CzzcFQha.mjs +0 -559
  71. package/dist/orders-ETtbA4aQ.js +0 -1
  72. package/dist/src/appointments/components/edit/dashboard/BookingsList.vue.d.ts +0 -110
  73. package/dist/src/appointments/pages/edit/orders.vue.d.ts +0 -98
@@ -1,128 +0,0 @@
1
- function d(n, i) {
2
- if (!n) return "";
3
- const r = i?.reduce((t, o) => (t[o.name] = o.value, t), {}) ?? {};
4
- return c(n, f(r));
5
- }
6
- function c(n, i, r = "text") {
7
- const t = n.match(/^\s*\{\{\s*([\s\S]+?)\s*\}\}\s*$/);
8
- return t && !t[1].includes("{{") && !t[1].includes("}}") ? u(t[1].trim(), i) : n.replace(/\{\{\s*([\s\S]+?)\s*\}\}/g, (o, s) => {
9
- const e = u(String(s).trim(), i);
10
- if (r === "js") {
11
- if (e == null) return "null";
12
- if (typeof e == "string") return JSON.stringify(e);
13
- if (typeof e == "number" || typeof e == "boolean") return String(e);
14
- try {
15
- return JSON.stringify(e);
16
- } catch {
17
- return "null";
18
- }
19
- }
20
- if (e == null) return "";
21
- if (typeof e == "string") return e;
22
- if (typeof e == "number" || typeof e == "boolean") return String(e);
23
- try {
24
- return JSON.stringify(e);
25
- } catch {
26
- return String(e);
27
- }
28
- });
29
- }
30
- function u(n, i) {
31
- if (!n) return "";
32
- const r = y(n), t = { ...i };
33
- for (const e of r)
34
- e in t || (t[e] = void 0);
35
- const o = Object.keys(t), s = Object.values(t);
36
- try {
37
- return new Function(...o, `'use strict'; return (${n})`)(...s);
38
- } catch (e) {
39
- console.warn(`Interpolation failed for expression: "${n}"`, e);
40
- return;
41
- }
42
- }
43
- function a(n) {
44
- return /^[$A-Z_][0-9A-Z_$]*$/i.test(n);
45
- }
46
- function f(n) {
47
- const i = ["__proto__", "constructor", "prototype"], r = (t) => {
48
- if (Array.isArray(t)) return t.map(r);
49
- if (t && typeof t == "object") {
50
- const o = {};
51
- for (const s in t)
52
- !i.includes(s) && a(s) && (o[s] = r(t[s]));
53
- return o;
54
- }
55
- return t;
56
- };
57
- return r(n);
58
- }
59
- const l = /* @__PURE__ */ new Set([
60
- "Number",
61
- "String",
62
- "Boolean",
63
- "Array",
64
- "Object",
65
- "JSON",
66
- "Math",
67
- "Date",
68
- "RegExp",
69
- "parseInt",
70
- "parseFloat",
71
- "isNaN",
72
- "isFinite",
73
- "encodeURIComponent",
74
- "decodeURIComponent",
75
- "encodeURI",
76
- "decodeURI",
77
- "NaN",
78
- "Infinity",
79
- "Intl"
80
- ]);
81
- function y(n) {
82
- const i = n.match(/\b[a-zA-Z_][a-zA-Z0-9_]*\b/g) || [], r = /* @__PURE__ */ new Set([
83
- "true",
84
- "false",
85
- "null",
86
- "undefined",
87
- "return",
88
- "if",
89
- "else",
90
- "try",
91
- "catch",
92
- "typeof",
93
- "new",
94
- "delete",
95
- "void",
96
- "throw",
97
- "in",
98
- "instanceof",
99
- "var",
100
- "let",
101
- "const",
102
- "function",
103
- "class",
104
- "this",
105
- "super",
106
- "switch",
107
- "case",
108
- "break",
109
- "continue",
110
- "default",
111
- "for",
112
- "while",
113
- "do",
114
- "of",
115
- "with",
116
- "yield",
117
- "await",
118
- "async",
119
- "import",
120
- "export",
121
- "from",
122
- "debugger"
123
- ]);
124
- return [...new Set(i.filter((t) => !r.has(t) && !l.has(t)))];
125
- }
126
- export {
127
- d as i
128
- };
@@ -1 +0,0 @@
1
- "use strict";function c(n,i){if(!n)return"";const r=i?.reduce((t,o)=>(t[o.name]=o.value,t),{})??{};return a(n,l(r))}function a(n,i,r="text"){const t=n.match(/^\s*\{\{\s*([\s\S]+?)\s*\}\}\s*$/);return t&&!t[1].includes("{{")&&!t[1].includes("}}")?u(t[1].trim(),i):n.replace(/\{\{\s*([\s\S]+?)\s*\}\}/g,(o,s)=>{const e=u(String(s).trim(),i);if(r==="js"){if(e==null)return"null";if(typeof e=="string")return JSON.stringify(e);if(typeof e=="number"||typeof e=="boolean")return String(e);try{return JSON.stringify(e)}catch{return"null"}}if(e==null)return"";if(typeof e=="string")return e;if(typeof e=="number"||typeof e=="boolean")return String(e);try{return JSON.stringify(e)}catch{return String(e)}})}function u(n,i){if(!n)return"";const r=d(n),t={...i};for(const e of r)e in t||(t[e]=void 0);const o=Object.keys(t),s=Object.values(t);try{return new Function(...o,`'use strict'; return (${n})`)(...s)}catch(e){console.warn(`Interpolation failed for expression: "${n}"`,e);return}}function f(n){return/^[$A-Z_][0-9A-Z_$]*$/i.test(n)}function l(n){const i=["__proto__","constructor","prototype"],r=t=>{if(Array.isArray(t))return t.map(r);if(t&&typeof t=="object"){const o={};for(const s in t)!i.includes(s)&&f(s)&&(o[s]=r(t[s]));return o}return t};return r(n)}const y=new Set(["Number","String","Boolean","Array","Object","JSON","Math","Date","RegExp","parseInt","parseFloat","isNaN","isFinite","encodeURIComponent","decodeURIComponent","encodeURI","decodeURI","NaN","Infinity","Intl"]);function d(n){const i=n.match(/\b[a-zA-Z_][a-zA-Z0-9_]*\b/g)||[],r=new Set(["true","false","null","undefined","return","if","else","try","catch","typeof","new","delete","void","throw","in","instanceof","var","let","const","function","class","this","super","switch","case","break","continue","default","for","while","do","of","with","yield","await","async","import","export","from","debugger"]);return[...new Set(i.filter(t=>!r.has(t)&&!y.has(t)))]}exports.interpolateTemplateFromVariableContext=c;