@dpa-id-components/dpa-shared-components 11.0.0-alpha.0 → 11.0.0
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/README.md +29 -0
- package/dist/components/UiCheckBoxGroup/UiCheckBoxGroup.stories.d.ts +3 -15
- package/dist/components/UiCheckBoxGroup/UiCheckBoxGroup.vue.d.ts +2 -2
- package/dist/components/UiCollapseNavigation/UiCollapseNavigation.stories.d.ts +9 -3
- package/dist/components/UiCollapseNavigation/UiCollapseNavigation.vue.d.ts +3 -1
- package/dist/components/UiDatePicker/UiDatePicker.stories.d.ts +0 -6
- package/dist/components/UiDatePicker/UiDatePicker.vue.d.ts +2 -2
- package/dist/components/UiFilterBadgeButton/UiFilterBadgeButton.stories.d.ts +0 -6
- package/dist/components/UiFilterBadgeButton/UiFilterBadgeButton.vue.d.ts +2 -2
- package/dist/components/UiInput/UiInput.stories.d.ts +12 -12
- package/dist/components/UiInput/UiInput.vue.d.ts +3 -3
- package/dist/components/UiSearchInput/UiSearchInput.stories.d.ts +3 -1
- package/dist/dpa-shared-components.mjs +39 -34
- package/dist/dpa-shared-components.umd.js +2 -2
- package/dist/style.css +1 -1
- package/dist/tailwind.config.cjs +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -56,6 +56,35 @@ The tailwind config is located at `./src/tailwind/tailwind.config.ts`.
|
|
|
56
56
|
Please be aware that used plugins must be listed in the dependencies or the projects using the components have to
|
|
57
57
|
install it.
|
|
58
58
|
|
|
59
|
+
### ESLint
|
|
60
|
+
|
|
61
|
+
As of version `11.x.x`, this project is setup to use ESLint 9+ which no longer supports the `.eslintrc` configuration format. The [ESLint flat configuration file](https://eslint.org/docs/latest/use/configure/configuration-files) for this project is located at `./eslint.config.mjs`. The base ESLint configuration `./eslint.base.config.mjs` is exported in the published npm package as a [shareable config file](https://eslint.org/docs/latest/extend/shareable-configs) and can be used as the base configuration for host projects. Plugins and third party configs used in `./eslint.base.config.mjs` should be added to `dependencies` in `package.json`.
|
|
62
|
+
|
|
63
|
+
Please note the following when configuring the `eslint.config.mjs` file in a host project:
|
|
64
|
+
- Project specific third-party plugins and config (updated accordingly for flat config support) should be added as `devDependencies`
|
|
65
|
+
- Files to be included or ignored by ESLint should be configured here
|
|
66
|
+
- Adjust the `lint` script in `package.json` to `"lint": "eslint . --fix"`
|
|
67
|
+
|
|
68
|
+
To use the shared ESLint config in a host project's `eslint.config.mjs`:
|
|
69
|
+
|
|
70
|
+
```JavaScript
|
|
71
|
+
import sharedConfig from "@dpa-id-components/dpa-shared-components/eslint.config";
|
|
72
|
+
// Other project specific plugins
|
|
73
|
+
import pluginCypress from "eslint-plugin-cypress/flat";
|
|
74
|
+
|
|
75
|
+
export default [
|
|
76
|
+
// Files to include or ignore under linting
|
|
77
|
+
{
|
|
78
|
+
files: ["**/*.js", "**/*.mjs", "**/*.ts", "**/*.mts", "**/*.vue"],
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
ignores: ["_infrastructure/*", "**/dist/**", "**/coverage/**"],
|
|
82
|
+
},
|
|
83
|
+
...sharedConfig,
|
|
84
|
+
pluginCypress.configs.recommended,
|
|
85
|
+
];
|
|
86
|
+
```
|
|
87
|
+
|
|
59
88
|
## Add a component
|
|
60
89
|
|
|
61
90
|
To add a new component please add at least the following files:
|
|
@@ -8,11 +8,7 @@ declare const meta: {
|
|
|
8
8
|
default: boolean;
|
|
9
9
|
};
|
|
10
10
|
item: {
|
|
11
|
-
type: import('vue').PropType<
|
|
12
|
-
name: string;
|
|
13
|
-
isChecked: boolean;
|
|
14
|
-
iconName: string;
|
|
15
|
-
}[]>;
|
|
11
|
+
type: import('vue').PropType<import('./UiCheckBoxGroup.vue').CheckboxItem[]>;
|
|
16
12
|
default: () => never[];
|
|
17
13
|
};
|
|
18
14
|
firstEntryChecksAll: {
|
|
@@ -29,11 +25,7 @@ declare const meta: {
|
|
|
29
25
|
default: boolean;
|
|
30
26
|
};
|
|
31
27
|
item: {
|
|
32
|
-
type: import('vue').PropType<
|
|
33
|
-
name: string;
|
|
34
|
-
isChecked: boolean;
|
|
35
|
-
iconName: string;
|
|
36
|
-
}[]>;
|
|
28
|
+
type: import('vue').PropType<import('./UiCheckBoxGroup.vue').CheckboxItem[]>;
|
|
37
29
|
default: () => never[];
|
|
38
30
|
};
|
|
39
31
|
firstEntryChecksAll: {
|
|
@@ -46,11 +38,7 @@ declare const meta: {
|
|
|
46
38
|
"onItem-checked"?: ((...args: any[]) => any) | undefined;
|
|
47
39
|
}>, {
|
|
48
40
|
disabled: boolean;
|
|
49
|
-
item:
|
|
50
|
-
name: string;
|
|
51
|
-
isChecked: boolean;
|
|
52
|
-
iconName: string;
|
|
53
|
-
}[];
|
|
41
|
+
item: import('./UiCheckBoxGroup.vue').CheckboxItem[];
|
|
54
42
|
firstEntryChecksAll: boolean;
|
|
55
43
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
56
44
|
argTypes: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
type CheckboxItem = {
|
|
1
|
+
export type CheckboxItem = {
|
|
2
2
|
name: string;
|
|
3
3
|
isChecked: boolean;
|
|
4
|
-
iconName
|
|
4
|
+
iconName?: string;
|
|
5
5
|
};
|
|
6
6
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
7
7
|
item?: CheckboxItem[];
|
|
@@ -16,7 +16,9 @@ declare const meta: {
|
|
|
16
16
|
type: import('vue').PropType<boolean>;
|
|
17
17
|
default: boolean;
|
|
18
18
|
};
|
|
19
|
-
}>> & Readonly<{}>, {
|
|
19
|
+
}>> & Readonly<{}>, {
|
|
20
|
+
openMenu: import('vue').Ref<any, any>;
|
|
21
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
20
22
|
headline: string;
|
|
21
23
|
hasBorderTop: boolean;
|
|
22
24
|
openAsDefault: boolean;
|
|
@@ -40,7 +42,9 @@ declare const meta: {
|
|
|
40
42
|
type: import('vue').PropType<boolean>;
|
|
41
43
|
default: boolean;
|
|
42
44
|
};
|
|
43
|
-
}>> & Readonly<{}>, {
|
|
45
|
+
}>> & Readonly<{}>, {
|
|
46
|
+
openMenu: import('vue').Ref<any, any>;
|
|
47
|
+
}, {}, {}, {}, {
|
|
44
48
|
headline: string;
|
|
45
49
|
hasBorderTop: boolean;
|
|
46
50
|
openAsDefault: boolean;
|
|
@@ -61,7 +65,9 @@ declare const meta: {
|
|
|
61
65
|
type: import('vue').PropType<boolean>;
|
|
62
66
|
default: boolean;
|
|
63
67
|
};
|
|
64
|
-
}>> & Readonly<{}>, {
|
|
68
|
+
}>> & Readonly<{}>, {
|
|
69
|
+
openMenu: import('vue').Ref<any, any>;
|
|
70
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
65
71
|
headline: string;
|
|
66
72
|
hasBorderTop: boolean;
|
|
67
73
|
openAsDefault: boolean;
|
|
@@ -9,7 +9,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
9
9
|
headline: string;
|
|
10
10
|
hasBorderTop: boolean;
|
|
11
11
|
openAsDefault: boolean;
|
|
12
|
-
}>>, {
|
|
12
|
+
}>>, {
|
|
13
|
+
openMenu: import('vue').Ref<any, any>;
|
|
14
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
13
15
|
headline?: string;
|
|
14
16
|
hasBorderTop?: boolean;
|
|
15
17
|
openAsDefault?: boolean;
|
|
@@ -114,7 +114,6 @@ declare const meta: {
|
|
|
114
114
|
};
|
|
115
115
|
customFormatCallback: {
|
|
116
116
|
type: import('vue').PropType<any>;
|
|
117
|
-
required: true;
|
|
118
117
|
default: undefined;
|
|
119
118
|
};
|
|
120
119
|
inputLabel: {
|
|
@@ -302,7 +301,6 @@ declare const meta: {
|
|
|
302
301
|
};
|
|
303
302
|
customFormatCallback: {
|
|
304
303
|
type: import('vue').PropType<any>;
|
|
305
|
-
required: true;
|
|
306
304
|
default: undefined;
|
|
307
305
|
};
|
|
308
306
|
inputLabel: {
|
|
@@ -481,7 +479,6 @@ declare const meta: {
|
|
|
481
479
|
};
|
|
482
480
|
customFormatCallback: {
|
|
483
481
|
type: import('vue').PropType<any>;
|
|
484
|
-
required: true;
|
|
485
482
|
default: undefined;
|
|
486
483
|
};
|
|
487
484
|
inputLabel: {
|
|
@@ -777,7 +774,6 @@ declare const meta: {
|
|
|
777
774
|
};
|
|
778
775
|
customFormatCallback: {
|
|
779
776
|
type: import('vue').PropType<any>;
|
|
780
|
-
required: true;
|
|
781
777
|
default: undefined;
|
|
782
778
|
};
|
|
783
779
|
inputLabel: {
|
|
@@ -965,7 +961,6 @@ declare const meta: {
|
|
|
965
961
|
};
|
|
966
962
|
customFormatCallback: {
|
|
967
963
|
type: import('vue').PropType<any>;
|
|
968
|
-
required: true;
|
|
969
964
|
default: undefined;
|
|
970
965
|
};
|
|
971
966
|
inputLabel: {
|
|
@@ -1144,7 +1139,6 @@ declare const meta: {
|
|
|
1144
1139
|
};
|
|
1145
1140
|
customFormatCallback: {
|
|
1146
1141
|
type: import('vue').PropType<any>;
|
|
1147
|
-
required: true;
|
|
1148
1142
|
default: undefined;
|
|
1149
1143
|
};
|
|
1150
1144
|
inputLabel: {
|
|
@@ -39,7 +39,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
39
39
|
activeState?: boolean;
|
|
40
40
|
disabledState?: boolean;
|
|
41
41
|
monthPicker?: boolean;
|
|
42
|
-
customFormatCallback
|
|
42
|
+
customFormatCallback?: any;
|
|
43
43
|
inputLabel?: string;
|
|
44
44
|
iconLeft?: (typeof iconNames)[number] | null;
|
|
45
45
|
utc?: boolean;
|
|
@@ -114,7 +114,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
114
114
|
activeState?: boolean;
|
|
115
115
|
disabledState?: boolean;
|
|
116
116
|
monthPicker?: boolean;
|
|
117
|
-
customFormatCallback
|
|
117
|
+
customFormatCallback?: any;
|
|
118
118
|
inputLabel?: string;
|
|
119
119
|
iconLeft?: (typeof iconNames)[number] | null;
|
|
120
120
|
utc?: boolean;
|
|
@@ -22,7 +22,6 @@ declare const meta: {
|
|
|
22
22
|
};
|
|
23
23
|
isActive: {
|
|
24
24
|
type: import('vue').PropType<boolean>;
|
|
25
|
-
required: true;
|
|
26
25
|
default: boolean;
|
|
27
26
|
};
|
|
28
27
|
}>> & Readonly<{
|
|
@@ -60,7 +59,6 @@ declare const meta: {
|
|
|
60
59
|
};
|
|
61
60
|
isActive: {
|
|
62
61
|
type: import('vue').PropType<boolean>;
|
|
63
|
-
required: true;
|
|
64
62
|
default: boolean;
|
|
65
63
|
};
|
|
66
64
|
}>> & Readonly<{
|
|
@@ -93,7 +91,6 @@ declare const meta: {
|
|
|
93
91
|
};
|
|
94
92
|
isActive: {
|
|
95
93
|
type: import('vue').PropType<boolean>;
|
|
96
|
-
required: true;
|
|
97
94
|
default: boolean;
|
|
98
95
|
};
|
|
99
96
|
}>> & Readonly<{
|
|
@@ -164,7 +161,6 @@ declare const meta: {
|
|
|
164
161
|
};
|
|
165
162
|
isActive: {
|
|
166
163
|
type: import('vue').PropType<boolean>;
|
|
167
|
-
required: true;
|
|
168
164
|
default: boolean;
|
|
169
165
|
};
|
|
170
166
|
}>> & Readonly<{
|
|
@@ -202,7 +198,6 @@ declare const meta: {
|
|
|
202
198
|
};
|
|
203
199
|
isActive: {
|
|
204
200
|
type: import('vue').PropType<boolean>;
|
|
205
|
-
required: true;
|
|
206
201
|
default: boolean;
|
|
207
202
|
};
|
|
208
203
|
}>> & Readonly<{
|
|
@@ -235,7 +230,6 @@ declare const meta: {
|
|
|
235
230
|
};
|
|
236
231
|
isActive: {
|
|
237
232
|
type: import('vue').PropType<boolean>;
|
|
238
|
-
required: true;
|
|
239
233
|
default: boolean;
|
|
240
234
|
};
|
|
241
235
|
}>> & Readonly<{
|
|
@@ -6,7 +6,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
6
6
|
fill?: string;
|
|
7
7
|
iconIsFilled?: boolean;
|
|
8
8
|
label: string;
|
|
9
|
-
isActive
|
|
9
|
+
isActive?: boolean;
|
|
10
10
|
}>, {
|
|
11
11
|
color: string;
|
|
12
12
|
fill: string;
|
|
@@ -19,7 +19,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
19
19
|
fill?: string;
|
|
20
20
|
iconIsFilled?: boolean;
|
|
21
21
|
label: string;
|
|
22
|
-
isActive
|
|
22
|
+
isActive?: boolean;
|
|
23
23
|
}>, {
|
|
24
24
|
color: string;
|
|
25
25
|
fill: string;
|
|
@@ -5,7 +5,7 @@ declare const meta: {
|
|
|
5
5
|
component: {
|
|
6
6
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
7
7
|
type: {
|
|
8
|
-
type: import('vue').PropType<"number" | "text" | "time" | "date" | "password">;
|
|
8
|
+
type: import('vue').PropType<"number" | "text" | "time" | "date" | "password" | "datetime-local">;
|
|
9
9
|
default: string;
|
|
10
10
|
};
|
|
11
11
|
disabled: {
|
|
@@ -99,7 +99,7 @@ declare const meta: {
|
|
|
99
99
|
keyup: (...args: any[]) => void;
|
|
100
100
|
"update:modelValue": (...args: any[]) => void;
|
|
101
101
|
}, import('vue').PublicProps, {
|
|
102
|
-
type: "text" | "number" | "time" | "date" | "password";
|
|
102
|
+
type: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
103
103
|
disabled: boolean;
|
|
104
104
|
label: string;
|
|
105
105
|
readonly: boolean;
|
|
@@ -127,7 +127,7 @@ declare const meta: {
|
|
|
127
127
|
Defaults: {};
|
|
128
128
|
}, Readonly<import('vue').ExtractPropTypes<{
|
|
129
129
|
type: {
|
|
130
|
-
type: import('vue').PropType<"number" | "text" | "time" | "date" | "password">;
|
|
130
|
+
type: import('vue').PropType<"number" | "text" | "time" | "date" | "password" | "datetime-local">;
|
|
131
131
|
default: string;
|
|
132
132
|
};
|
|
133
133
|
disabled: {
|
|
@@ -215,7 +215,7 @@ declare const meta: {
|
|
|
215
215
|
}>, {
|
|
216
216
|
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
217
217
|
}, {}, {}, {}, {
|
|
218
|
-
type: "text" | "number" | "time" | "date" | "password";
|
|
218
|
+
type: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
219
219
|
disabled: boolean;
|
|
220
220
|
label: string;
|
|
221
221
|
readonly: boolean;
|
|
@@ -240,7 +240,7 @@ declare const meta: {
|
|
|
240
240
|
__isSuspense?: never;
|
|
241
241
|
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
242
242
|
type: {
|
|
243
|
-
type: import('vue').PropType<"number" | "text" | "time" | "date" | "password">;
|
|
243
|
+
type: import('vue').PropType<"number" | "text" | "time" | "date" | "password" | "datetime-local">;
|
|
244
244
|
default: string;
|
|
245
245
|
};
|
|
246
246
|
disabled: {
|
|
@@ -334,7 +334,7 @@ declare const meta: {
|
|
|
334
334
|
keyup: (...args: any[]) => void;
|
|
335
335
|
"update:modelValue": (...args: any[]) => void;
|
|
336
336
|
}, string, {
|
|
337
|
-
type: "text" | "number" | "time" | "date" | "password";
|
|
337
|
+
type: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
338
338
|
disabled: boolean;
|
|
339
339
|
label: string;
|
|
340
340
|
readonly: boolean;
|
|
@@ -431,7 +431,7 @@ declare const meta: {
|
|
|
431
431
|
UiInput: {
|
|
432
432
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
433
433
|
type: {
|
|
434
|
-
type: import('vue').PropType<"number" | "text" | "time" | "date" | "password">;
|
|
434
|
+
type: import('vue').PropType<"number" | "text" | "time" | "date" | "password" | "datetime-local">;
|
|
435
435
|
default: string;
|
|
436
436
|
};
|
|
437
437
|
disabled: {
|
|
@@ -525,7 +525,7 @@ declare const meta: {
|
|
|
525
525
|
keyup: (...args: any[]) => void;
|
|
526
526
|
"update:modelValue": (...args: any[]) => void;
|
|
527
527
|
}, import('vue').PublicProps, {
|
|
528
|
-
type: "text" | "number" | "time" | "date" | "password";
|
|
528
|
+
type: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
529
529
|
disabled: boolean;
|
|
530
530
|
label: string;
|
|
531
531
|
readonly: boolean;
|
|
@@ -553,7 +553,7 @@ declare const meta: {
|
|
|
553
553
|
Defaults: {};
|
|
554
554
|
}, Readonly<import('vue').ExtractPropTypes<{
|
|
555
555
|
type: {
|
|
556
|
-
type: import('vue').PropType<"number" | "text" | "time" | "date" | "password">;
|
|
556
|
+
type: import('vue').PropType<"number" | "text" | "time" | "date" | "password" | "datetime-local">;
|
|
557
557
|
default: string;
|
|
558
558
|
};
|
|
559
559
|
disabled: {
|
|
@@ -641,7 +641,7 @@ declare const meta: {
|
|
|
641
641
|
}>, {
|
|
642
642
|
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
643
643
|
}, {}, {}, {}, {
|
|
644
|
-
type: "text" | "number" | "time" | "date" | "password";
|
|
644
|
+
type: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
645
645
|
disabled: boolean;
|
|
646
646
|
label: string;
|
|
647
647
|
readonly: boolean;
|
|
@@ -666,7 +666,7 @@ declare const meta: {
|
|
|
666
666
|
__isSuspense?: never;
|
|
667
667
|
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
668
668
|
type: {
|
|
669
|
-
type: import('vue').PropType<"number" | "text" | "time" | "date" | "password">;
|
|
669
|
+
type: import('vue').PropType<"number" | "text" | "time" | "date" | "password" | "datetime-local">;
|
|
670
670
|
default: string;
|
|
671
671
|
};
|
|
672
672
|
disabled: {
|
|
@@ -760,7 +760,7 @@ declare const meta: {
|
|
|
760
760
|
keyup: (...args: any[]) => void;
|
|
761
761
|
"update:modelValue": (...args: any[]) => void;
|
|
762
762
|
}, string, {
|
|
763
|
-
type: "text" | "number" | "time" | "date" | "password";
|
|
763
|
+
type: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
764
764
|
disabled: boolean;
|
|
765
765
|
label: string;
|
|
766
766
|
readonly: boolean;
|
|
@@ -4,7 +4,7 @@ declare function __VLS_template(): {
|
|
|
4
4
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
5
5
|
id?: string;
|
|
6
6
|
modelValue: string;
|
|
7
|
-
type?: "text" | "number" | "time" | "date" | "password";
|
|
7
|
+
type?: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
8
8
|
label?: string;
|
|
9
9
|
placeholder?: string;
|
|
10
10
|
autofocus?: boolean;
|
|
@@ -53,7 +53,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
53
53
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
54
54
|
id?: string;
|
|
55
55
|
modelValue: string;
|
|
56
|
-
type?: "text" | "number" | "time" | "date" | "password";
|
|
56
|
+
type?: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
57
57
|
label?: string;
|
|
58
58
|
placeholder?: string;
|
|
59
59
|
autofocus?: boolean;
|
|
@@ -98,7 +98,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
98
98
|
onKeyup?: ((...args: any[]) => any) | undefined;
|
|
99
99
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
100
100
|
}>, {
|
|
101
|
-
type: "text" | "number" | "time" | "date" | "password";
|
|
101
|
+
type: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
102
102
|
disabled: boolean;
|
|
103
103
|
label: string;
|
|
104
104
|
readonly: boolean;
|
|
@@ -7550,7 +7550,7 @@ const Ps = /* @__PURE__ */ Va(wh, [["render", _h]]), xh = ["checked", "aria-chec
|
|
|
7550
7550
|
class: fe(["text-small flex flex-col", [a.disabled ? "text-gray-400" : "cursor-pointer text-gray-900"]])
|
|
7551
7551
|
}, [
|
|
7552
7552
|
se("input", {
|
|
7553
|
-
class: fe(["peer relative
|
|
7553
|
+
class: fe(["peer relative size-0 appearance-none self-center focus:outline-none", a.size]),
|
|
7554
7554
|
type: "checkbox",
|
|
7555
7555
|
checked: a.checked,
|
|
7556
7556
|
"aria-checked": a.checked,
|
|
@@ -7559,8 +7559,8 @@ const Ps = /* @__PURE__ */ Va(wh, [["render", _h]]), xh = ["checked", "aria-chec
|
|
|
7559
7559
|
}, null, 42, xh),
|
|
7560
7560
|
se("span", {
|
|
7561
7561
|
class: fe(["flex items-center before:box-border before:inline-block before:shrink-0 before:border-2 before:transition-colors before:content-[''] after:absolute after:block peer-checked:opacity-100 peer-checked:after:content-[url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAyMCAyMCcgZmlsbD0nbm9uZSc+PHJlY3QgLz48cGF0aCBmaWxsLXJ1bGU9J2V2ZW5vZGQnIGNsaXAtcnVsZT0nZXZlbm9kZCcgZD0nTTguMjE5NjUgMTVDNy45ODk2NSAxNSA3Ljc2OTY1IDE0LjkwNSA3LjYxMjE1IDE0LjczNzVMMy41NTk2NSAxMC40MjE3QzMuMjQzODEgMTAuMDg2NyAzLjI2MTMxIDkuNTU5MTggMy41OTYzMSA5LjI0NDE4QzMuOTMyMTUgOC45MjkxOCA0LjQ1OTY1IDguOTQ1ODUgNC43NzM4MSA5LjI4MDg1TDguMjExMzEgMTIuOTRMMTUuMjE4IDUuMjcxNjhDMTUuNTI5NiA0LjkzMDg1IDE2LjA1NjMgNC45MDgzNSAxNi4zOTYzIDUuMjE4MzVDMTYuNzM1NSA1LjUyODM1IDE2Ljc1ODggNi4wNTU4NSAxNi40NDg4IDYuMzk1MDFMOC44MzQ2NSAxNC43MjgzQzguNjc4ODEgMTQuOSA4LjQ1NzE1IDE0Ljk5ODMgOC4yMjU0OCAxNUg4LjIxOTY1WicgZmlsbD0nd2hpdGUnLz48L3N2Zz4=)]", {
|
|
7562
|
-
"before:
|
|
7563
|
-
"before:
|
|
7562
|
+
"before:size-5 after:size-5": a.size === "medium",
|
|
7563
|
+
"before:size-4 after:size-4": a.size === "small",
|
|
7564
7564
|
"before:border-blue-default peer-checked:before:bg-blue-default peer-hover:before:border-blue-dark peer-hover:peer-checked:before:bg-blue-dark": a.color === "blue",
|
|
7565
7565
|
"before:border-gray-800 peer-checked:before:bg-gray-800 peer-hover:before:border-gray-900 peer-hover:peer-checked:before:bg-gray-900": a.color === "gray",
|
|
7566
7566
|
"before:border-gray-500 peer-checked:before:bg-gray-500": a.disabled,
|
|
@@ -7881,7 +7881,7 @@ const Ps = /* @__PURE__ */ Va(wh, [["render", _h]]), xh = ["checked", "aria-chec
|
|
|
7881
7881
|
_: 3
|
|
7882
7882
|
}, 8, ["class", "disabled", "href"]));
|
|
7883
7883
|
}
|
|
7884
|
-
}), $h = {}, Eh = { class: "flex [&>*:first-child]:rounded-l-full [&>*:last-child]:rounded-r-full [&>*:last-child]:border-r [&>*]:border
|
|
7884
|
+
}), $h = {}, Eh = { class: "flex [&>*:first-child]:rounded-l-full [&>*:last-child]:rounded-r-full [&>*:last-child]:border-r [&>*]:border [&>*]:border-r-0 [&>*]:border-gray-300" };
|
|
7885
7885
|
function Ih(e, t) {
|
|
7886
7886
|
return P(), z("div", Eh, [
|
|
7887
7887
|
de(e.$slots, "default")
|
|
@@ -7968,28 +7968,28 @@ const Rw = /* @__PURE__ */ Va(Bh, [["render", Rh]]), zw = /* @__PURE__ */ Ae({
|
|
|
7968
7968
|
hasBorderTop: { type: Boolean, default: !0 },
|
|
7969
7969
|
openAsDefault: { type: Boolean, default: !0 }
|
|
7970
7970
|
},
|
|
7971
|
-
setup(e) {
|
|
7972
|
-
const
|
|
7971
|
+
setup(e, { expose: t }) {
|
|
7972
|
+
const r = e, n = re();
|
|
7973
7973
|
Un(() => {
|
|
7974
|
-
|
|
7974
|
+
n.value = r.openAsDefault;
|
|
7975
7975
|
});
|
|
7976
|
-
const
|
|
7977
|
-
|
|
7976
|
+
const a = () => {
|
|
7977
|
+
n.value = !n.value;
|
|
7978
7978
|
};
|
|
7979
|
-
return (
|
|
7979
|
+
return t({ openMenu: n }), (o, s) => (P(), z($e, null, [
|
|
7980
7980
|
se("div", {
|
|
7981
|
-
class: fe(
|
|
7981
|
+
class: fe(o.hasBorderTop ? "border-t-[1px] border-t-gray-300" : "")
|
|
7982
7982
|
}, null, 2),
|
|
7983
7983
|
Ne(Da, {
|
|
7984
7984
|
color: "transparent",
|
|
7985
7985
|
class: "flex w-full justify-between border-none",
|
|
7986
|
-
onClick:
|
|
7986
|
+
onClick: a
|
|
7987
7987
|
}, {
|
|
7988
7988
|
default: Te(() => [
|
|
7989
|
-
se("h3", zh, Be(
|
|
7989
|
+
se("h3", zh, Be(o.headline), 1),
|
|
7990
7990
|
Ne(gt, {
|
|
7991
7991
|
name: "chevron-down",
|
|
7992
|
-
class: fe(["rounded-full text-gray-700 transition-transform duration-500 hover:bg-gray-300", { "rotate-180":
|
|
7992
|
+
class: fe(["rounded-full text-gray-700 transition-transform duration-500 hover:bg-gray-300", { "rotate-180": n.value }])
|
|
7993
7993
|
}, null, 8, ["class"])
|
|
7994
7994
|
]),
|
|
7995
7995
|
_: 1
|
|
@@ -8003,8 +8003,8 @@ const Rw = /* @__PURE__ */ Va(Bh, [["render", Rh]]), zw = /* @__PURE__ */ Ae({
|
|
|
8003
8003
|
"leave-to-class": "transform -translate-y-[20px] opacity-0"
|
|
8004
8004
|
}, {
|
|
8005
8005
|
default: Te(() => [
|
|
8006
|
-
|
|
8007
|
-
de(
|
|
8006
|
+
n.value ? (P(), z("div", Nh, [
|
|
8007
|
+
de(o.$slots, "default")
|
|
8008
8008
|
])) : K("", !0)
|
|
8009
8009
|
]),
|
|
8010
8010
|
_: 3
|
|
@@ -17698,7 +17698,7 @@ const Vi = {
|
|
|
17698
17698
|
},
|
|
17699
17699
|
v.monthPicker ? {} : {
|
|
17700
17700
|
range: s.value,
|
|
17701
|
-
startDate: Array.isArray(
|
|
17701
|
+
startDate: Array.isArray(n.selectedDate) ? n.selectedDate[0] : n.selectedDate
|
|
17702
17702
|
},
|
|
17703
17703
|
{
|
|
17704
17704
|
"focus-start-date": "",
|
|
@@ -18122,7 +18122,7 @@ const Vb = {
|
|
|
18122
18122
|
name: n.iconIsFilled ? "saved-search-fill" : "saved-search"
|
|
18123
18123
|
}, null, 8, ["name"]),
|
|
18124
18124
|
se("div", {
|
|
18125
|
-
class: fe(["absolute inset-0 mt-0
|
|
18125
|
+
class: fe(["absolute inset-0 mt-0 size-full rounded-full opacity-10 group-hover:block", { hidden: !n.isActive }]),
|
|
18126
18126
|
style: rt({ backgroundColor: n.fill })
|
|
18127
18127
|
}, null, 6),
|
|
18128
18128
|
se("p", {
|
|
@@ -19454,7 +19454,7 @@ const O1 = { class: "flex items-center" }, D1 = ["placeholder"], C1 = /* @__PURE
|
|
|
19454
19454
|
[C(Wa), f]
|
|
19455
19455
|
]);
|
|
19456
19456
|
}
|
|
19457
|
-
}), Hw = /* @__PURE__ */ Va(z1, [["__scopeId", "data-v-
|
|
19457
|
+
}), Hw = /* @__PURE__ */ Va(z1, [["__scopeId", "data-v-50966021"]]), jw = /* @__PURE__ */ Ae({
|
|
19458
19458
|
__name: "UiMenuList",
|
|
19459
19459
|
props: {
|
|
19460
19460
|
class: { default: void 0 }
|
|
@@ -19479,14 +19479,15 @@ const O1 = { class: "flex items-center" }, D1 = ["placeholder"], C1 = /* @__PURE
|
|
|
19479
19479
|
checkboxColor: { default: "blue" }
|
|
19480
19480
|
},
|
|
19481
19481
|
setup(e) {
|
|
19482
|
-
|
|
19483
|
-
|
|
19484
|
-
|
|
19485
|
-
"
|
|
19486
|
-
"
|
|
19487
|
-
"
|
|
19488
|
-
"
|
|
19489
|
-
|
|
19482
|
+
const t = e;
|
|
19483
|
+
return (r, n) => (P(), xe(na, wt({
|
|
19484
|
+
selectable: r.listVariant === "selectable",
|
|
19485
|
+
"check-box-menu": r.listVariant === "checkbox",
|
|
19486
|
+
"icon-size": r.iconSize,
|
|
19487
|
+
"image-shape": r.imageShape,
|
|
19488
|
+
"checkbox-size": r.checkboxSize,
|
|
19489
|
+
"check-box-color": r.checkboxColor,
|
|
19490
|
+
class: C(Oa)("hover:bg-gray-100 focus:bg-gray-300", r.$props.class)
|
|
19490
19491
|
}, {
|
|
19491
19492
|
...t.option ? {
|
|
19492
19493
|
selected: t.option.selected,
|
|
@@ -19495,12 +19496,12 @@ const O1 = { class: "flex items-center" }, D1 = ["placeholder"], C1 = /* @__PURE
|
|
|
19495
19496
|
} : {}
|
|
19496
19497
|
}), {
|
|
19497
19498
|
default: Te(() => [
|
|
19498
|
-
de(
|
|
19499
|
+
de(r.$slots, "default", { option: r.option })
|
|
19499
19500
|
]),
|
|
19500
19501
|
_: 3
|
|
19501
19502
|
}, 16, ["selectable", "check-box-menu", "icon-size", "image-shape", "checkbox-size", "check-box-color", "class"]));
|
|
19502
19503
|
}
|
|
19503
|
-
}), N1 = { class: "relative
|
|
19504
|
+
}), N1 = { class: "relative size-full border-none" }, F1 = { class: "absolute right-3 top-12 z-10 block border-t bg-white px-4 py-3 shadow-lg" }, Gw = /* @__PURE__ */ Ae({
|
|
19504
19505
|
__name: "UiOverlayMenu",
|
|
19505
19506
|
props: {
|
|
19506
19507
|
isOpen: { type: Boolean, default: !1 }
|
|
@@ -20072,7 +20073,11 @@ const O1 = { class: "flex items-center" }, D1 = ["placeholder"], C1 = /* @__PURE
|
|
|
20072
20073
|
onInput: (_) => c(v, _.target.value),
|
|
20073
20074
|
onBlur: h,
|
|
20074
20075
|
onKeyup: or((_) => i(v, _.target.value), ["delete"]),
|
|
20075
|
-
onKeydown: (_) => f(
|
|
20076
|
+
onKeydown: (_) => f(
|
|
20077
|
+
v,
|
|
20078
|
+
_.target.value,
|
|
20079
|
+
_
|
|
20080
|
+
)
|
|
20076
20081
|
}, null, 40, tw),
|
|
20077
20082
|
g.hasAddEntryOption && w(v) ? (P(), xe(Ia, {
|
|
20078
20083
|
key: 0,
|
|
@@ -20154,7 +20159,7 @@ const O1 = { class: "flex items-center" }, D1 = ["placeholder"], C1 = /* @__PURE
|
|
|
20154
20159
|
ref_key: "searchInputRef",
|
|
20155
20160
|
ref: l,
|
|
20156
20161
|
value: x.modelValue,
|
|
20157
|
-
class: fe(["
|
|
20162
|
+
class: fe(["size-full bg-transparent outline-none placeholder:text-gray-700 lg:text-sm", [
|
|
20158
20163
|
x.isFilterChipEditable ? "px-4" : "px-2",
|
|
20159
20164
|
!o.value && x.hasChips ? "text-transparent" : "",
|
|
20160
20165
|
!o.value && (x.modelValue || !x.isFilterChipEditable) ? "absolute" : ""
|
|
@@ -21198,7 +21203,7 @@ const $o = /* @__PURE__ */ Xc(Ow), Dw = { class: "flex" }, Cw = ["id", "aria-che
|
|
|
21198
21203
|
(P(!0), z($e, null, We(C(tr), (u, c) => (P(), z("div", {
|
|
21199
21204
|
id: `color-${u}`,
|
|
21200
21205
|
key: `ui-cp-${c}`,
|
|
21201
|
-
class: "mr-3 flex
|
|
21206
|
+
class: "mr-3 flex size-4 rotate-45 cursor-pointer items-center justify-center",
|
|
21202
21207
|
style: rt({ backgroundColor: `#${u}` }),
|
|
21203
21208
|
"aria-checked": a.value === u,
|
|
21204
21209
|
onClick: (f) => {
|
|
@@ -21214,7 +21219,7 @@ const $o = /* @__PURE__ */ Xc(Ow), Dw = { class: "flex" }, Cw = ["id", "aria-che
|
|
|
21214
21219
|
}, null, 8, ["class"])) : K("", !0)
|
|
21215
21220
|
], 12, Cw))), 128)),
|
|
21216
21221
|
se("div", {
|
|
21217
|
-
class: "UiColorPicker-inputWrapper flex
|
|
21222
|
+
class: "UiColorPicker-inputWrapper flex size-4 rotate-45 items-center justify-center",
|
|
21218
21223
|
style: rt({
|
|
21219
21224
|
backgroundColor: C(tr).includes(a.value) ? "" : o.value
|
|
21220
21225
|
}),
|
|
@@ -21223,7 +21228,7 @@ const $o = /* @__PURE__ */ Xc(Ow), Dw = { class: "flex" }, Cw = ["id", "aria-che
|
|
|
21223
21228
|
Kt(se("input", {
|
|
21224
21229
|
"onUpdate:modelValue": i[0] || (i[0] = (u) => o.value = u),
|
|
21225
21230
|
type: "color",
|
|
21226
|
-
class: "UiColorPicker-input
|
|
21231
|
+
class: "UiColorPicker-input absolute z-10 size-inherit cursor-pointer bg-gray-200 opacity-0"
|
|
21227
21232
|
}, null, 512), [
|
|
21228
21233
|
[Gc, o.value]
|
|
21229
21234
|
]),
|