@oneclick.dev/cms-core-modules 0.0.52 → 0.0.53

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.
@@ -1,11 +1,21 @@
1
+ interface AppointmentAddOn {
2
+ id: string;
3
+ name: string;
4
+ description?: string;
5
+ price: number;
6
+ required: boolean;
7
+ scope: AddOnScope;
8
+ limit?: number;
9
+ }
10
+ type AddOnScope = 'BOOKING' | 'RESERVATION' | 'TICKET' | 'UNLIMITED' | 'CUSTOM_LIMIT';
1
11
  declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
12
  addOn: {
3
- type: ObjectConstructor;
13
+ type: () => AppointmentAddOn;
4
14
  required: true;
5
15
  };
6
16
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
7
17
  addOn: {
8
- type: ObjectConstructor;
18
+ type: () => AppointmentAddOn;
9
19
  required: true;
10
20
  };
11
21
  }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
@@ -1,5 +1,5 @@
1
- export declare function interpolateTemplateFromVariableContext(template: string, variableContext: Variable[]): string;
2
- export declare function interpolateTemplateFromVariableObject(template: string, variableContext: Record<string, any>): string;
1
+ export declare function interpolateTemplateFromVariableContext(template: string, variableContext: Variable[]): unknown;
2
+ export declare function interpolateTemplateFromVariableObject(template: string, variableContext: Record<string, any>): unknown;
3
3
  interface Variable {
4
4
  name: string;
5
5
  type: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oneclick.dev/cms-core-modules",
3
- "version": "0.0.52",
3
+ "version": "0.0.53",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -22,10 +22,10 @@
22
22
  "peerDependencies": {
23
23
  "@formkit/drag-and-drop": "^0.5.3",
24
24
  "@internationalized/date": "^3.8.0",
25
- "@oneclick.dev/cms-kit": "^0.0.66",
25
+ "@oneclick.dev/cms-kit": "0.0.67",
26
26
  "@tanstack/vue-table": "^8.21.3",
27
27
  "@vee-validate/zod": "^4.15.0",
28
- "@vue-flow/core": "^1.47.0",
28
+ "@vue-flow/core": "^1.48.1",
29
29
  "@vueuse/core": "^13.1.0",
30
30
  "clsx": "^2.1.1",
31
31
  "lucide-vue-next": "^0.548.0",
@@ -40,42 +40,41 @@
40
40
  },
41
41
  "devDependencies": {
42
42
  "@floating-ui/dom": "^1.7.4",
43
- "@tiptap/extension-collaboration": "^3.10.8",
44
- "@tiptap/extension-node-range": "^3.10.8",
45
- "@tiptap/y-tiptap": "^3.0.1",
46
- "@vitejs/plugin-vue": "^6.0.1",
47
- "@vue-flow/core": "^1.47.0",
43
+ "@tiptap/extension-collaboration": "3.6.6",
44
+ "@tiptap/extension-node-range": "3.6.6",
45
+ "@tiptap/y-tiptap": "3.0.0",
46
+ "@vitejs/plugin-vue": "^6.0.3",
47
+ "@vue-flow/core": "^1.48.1",
48
48
  "typescript": "^5.9.3",
49
- "vite": "^7.2.2",
49
+ "vite": "^7.3.0",
50
50
  "vite-plugin-dts": "^4.5.4"
51
51
  },
52
52
  "dependencies": {
53
- "@floating-ui/dom": "^1.7.4",
54
- "@tiptap/core": "^3.10.8",
55
- "@tiptap/extension-bubble-menu": "^3.10.8",
56
- "@tiptap/extension-collaboration": "^3.10.8",
57
- "@tiptap/extension-collaboration-caret": "^3.10.8",
58
- "@tiptap/extension-document": "^3.10.8",
59
- "@tiptap/extension-node-range": "^3.10.8",
60
- "@tiptap/extension-underline": "^3.10.8",
61
- "@tiptap/extension-unique-id": "^3.10.8",
62
- "@tiptap/extensions": "^3.10.8",
63
- "@tiptap/pm": "^3.10.8",
64
- "@tiptap/starter-kit": "^3.10.8",
65
- "@tiptap/vue-3": "^3.10.8",
66
- "@tiptap/y-tiptap": "^3.0.1",
53
+ "@tiptap/core": "3.6.1",
54
+ "@tiptap/extension-bubble-menu": "2.24.0",
55
+ "@tiptap/extension-collaboration": "3.6.6",
56
+ "@tiptap/extension-collaboration-caret": "3.6.6",
57
+ "@tiptap/extension-document": "3.10.4",
58
+ "@tiptap/extension-node-range": "3.6.6",
59
+ "@tiptap/extension-underline": "3.4.5",
60
+ "@tiptap/extension-unique-id": "3.6.1",
61
+ "@tiptap/extensions": "3.6.5",
62
+ "@tiptap/pm": "2.24.0",
63
+ "@tiptap/starter-kit": "2.24.0",
64
+ "@tiptap/vue-3": "2.24.0",
65
+ "@tiptap/y-tiptap": "3.0.0",
67
66
  "emoji-mart-vue-fast": "^15.0.5",
68
67
  "iso-639-1": "^3.1.5",
69
- "lodash-es": "^4.17.21",
68
+ "lodash-es": "^4.17.22",
70
69
  "prosemirror-model": "^1.25.4",
71
70
  "prosemirror-state": "^1.4.4",
72
- "tiptap-extension-auto-joiner": "^0.1.3",
73
- "tiptap-extension-global-drag-handle": "^0.1.18",
74
- "unplugin-auto-import": "^20.2.0",
71
+ "tiptap-extension-auto-joiner": "0.1.3",
72
+ "tiptap-extension-global-drag-handle": "0.1.18",
73
+ "unplugin-auto-import": "^20.3.0",
75
74
  "vue-grid-layout-v3": "^3.1.2",
76
75
  "world-countries": "^5.1.0",
77
76
  "y-webrtc": "^10.3.0",
78
77
  "y-websocket": "^3.0.0",
79
- "yjs": "^13.6.27"
78
+ "yjs": "^13.6.28"
80
79
  }
81
80
  }