@oneclick.dev/cms-core-modules 0.0.51 → 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;
@@ -4,3 +4,4 @@ import { ClassValue } from 'clsx';
4
4
  export declare function classNames(...inputs: ClassValue[]): string;
5
5
  export declare function valueUpdater<T extends Updater<any>>(updaterOrValue: T, ref: Ref): void;
6
6
  export declare function downloadJSONAsCSV(jsonData: any, filename?: string): void;
7
+ export declare function isMobile(): boolean;
@@ -2,5 +2,17 @@ declare const _default: import('vue').DefineComponent<{}, {
2
2
  saveSortMode: () => Promise<void>;
3
3
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
4
4
  dragContainer: unknown;
5
+ mobileActionDrawer: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
6
+ onRowClick: (e: MouseEvent) => void;
7
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
8
+ P: {};
9
+ B: {};
10
+ D: {};
11
+ C: {};
12
+ M: {};
13
+ Defaults: {};
14
+ }, Readonly<{}> & Readonly<{}>, {
15
+ onRowClick: (e: MouseEvent) => void;
16
+ }, {}, {}, {}, {}> | null;
5
17
  }, any>;
6
18
  export default _default;
@@ -0,0 +1,4 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {
2
+ onRowClick: (e: MouseEvent) => void;
3
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
4
+ export default _default;
@@ -118,6 +118,18 @@ declare const _default: {
118
118
  saveSortMode: () => Promise<void>;
119
119
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
120
120
  dragContainer: unknown;
121
+ mobileActionDrawer: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
122
+ onRowClick: (e: MouseEvent) => void;
123
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
124
+ P: {};
125
+ B: {};
126
+ D: {};
127
+ C: {};
128
+ M: {};
129
+ Defaults: {};
130
+ }, Readonly<{}> & Readonly<{}>, {
131
+ onRowClick: (e: MouseEvent) => void;
132
+ }, {}, {}, {}, {}> | null;
121
133
  }, any, import('vue').ComponentProvideOptions, {
122
134
  P: {};
123
135
  B: {};
@@ -16,6 +16,18 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
16
16
  saveSortMode: () => Promise<void>;
17
17
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
18
18
  dragContainer: unknown;
19
+ mobileActionDrawer: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
20
+ onRowClick: (e: MouseEvent) => void;
21
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
22
+ P: {};
23
+ B: {};
24
+ D: {};
25
+ C: {};
26
+ M: {};
27
+ Defaults: {};
28
+ }, Readonly<{}> & Readonly<{}>, {
29
+ onRowClick: (e: MouseEvent) => void;
30
+ }, {}, {}, {}, {}> | null;
19
31
  }, any, import('vue').ComponentProvideOptions, {
20
32
  P: {};
21
33
  B: {};
@@ -16,6 +16,18 @@ declare const _default: {
16
16
  saveSortMode: () => Promise<void>;
17
17
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
18
18
  dragContainer: unknown;
19
+ mobileActionDrawer: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
20
+ onRowClick: (e: MouseEvent) => void;
21
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
22
+ P: {};
23
+ B: {};
24
+ D: {};
25
+ C: {};
26
+ M: {};
27
+ Defaults: {};
28
+ }, Readonly<{}> & Readonly<{}>, {
29
+ onRowClick: (e: MouseEvent) => void;
30
+ }, {}, {}, {}, {}> | null;
19
31
  }, any, import('vue').ComponentProvideOptions, {
20
32
  P: {};
21
33
  B: {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oneclick.dev/cms-core-modules",
3
- "version": "0.0.51",
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.65",
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
  }