@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.
- package/dist/cms-core-modules.css +1 -1
- package/dist/index.cjs.js +57 -84
- package/dist/index.mjs +27426 -27523
- package/dist/src/appointments/components/edit/PaymentAddons/Addon.vue.d.ts +12 -2
- package/dist/src/lib/interpolation.d.ts +2 -2
- package/dist/src/lib/utils.d.ts +1 -0
- package/dist/src/table/components/DataTable.vue.d.ts +12 -0
- package/dist/src/table/components/DataTableMobileRowActionDrawer.vue.d.ts +4 -0
- package/dist/src/table/index.d.ts +12 -0
- package/dist/src/table/pages/TableView.vue.d.ts +12 -0
- package/dist/src/table/routes.d.ts +12 -0
- package/package.json +27 -28
|
@@ -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:
|
|
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:
|
|
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[]):
|
|
2
|
-
export declare function interpolateTemplateFromVariableObject(template: string, variableContext: Record<string, any>):
|
|
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/dist/src/lib/utils.d.ts
CHANGED
|
@@ -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.
|
|
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": "
|
|
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.
|
|
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": "
|
|
44
|
-
"@tiptap/extension-node-range": "
|
|
45
|
-
"@tiptap/y-tiptap": "
|
|
46
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
47
|
-
"@vue-flow/core": "^1.
|
|
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.
|
|
49
|
+
"vite": "^7.3.0",
|
|
50
50
|
"vite-plugin-dts": "^4.5.4"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@
|
|
54
|
-
"@tiptap/
|
|
55
|
-
"@tiptap/extension-
|
|
56
|
-
"@tiptap/extension-collaboration": "
|
|
57
|
-
"@tiptap/extension-
|
|
58
|
-
"@tiptap/extension-
|
|
59
|
-
"@tiptap/extension-
|
|
60
|
-
"@tiptap/extension-
|
|
61
|
-
"@tiptap/
|
|
62
|
-
"@tiptap/
|
|
63
|
-
"@tiptap/
|
|
64
|
-
"@tiptap/
|
|
65
|
-
"@tiptap/
|
|
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.
|
|
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": "
|
|
73
|
-
"tiptap-extension-global-drag-handle": "
|
|
74
|
-
"unplugin-auto-import": "^20.
|
|
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.
|
|
78
|
+
"yjs": "^13.6.28"
|
|
80
79
|
}
|
|
81
80
|
}
|