@nexdom/uimed-vue 2.0.0-beta.22 → 2.0.0-beta.24
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/components.d.ts +103 -33
- package/dist/components.js +105 -5
- package/package.json +1 -1
package/dist/components.d.ts
CHANGED
|
@@ -182,8 +182,8 @@ type MainProps = {
|
|
|
182
182
|
*
|
|
183
183
|
* @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/main | Main Guide}
|
|
184
184
|
*/
|
|
185
|
-
declare const _default$
|
|
186
|
-
declare const __VLS_export$
|
|
185
|
+
declare const _default$12: typeof __VLS_export$17;
|
|
186
|
+
declare const __VLS_export$17: __VLS_WithSlots$10<import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<MainProps & {
|
|
187
187
|
notificationsOpen?: boolean;
|
|
188
188
|
}, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {
|
|
189
189
|
"update:notificationsOpen": (value: boolean) => any;
|
|
@@ -215,8 +215,8 @@ type __VLS_WithSlots$10<T, S> = T & {
|
|
|
215
215
|
*
|
|
216
216
|
* @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/button | Button Guide}
|
|
217
217
|
*/
|
|
218
|
-
declare const _default$1: typeof __VLS_export$
|
|
219
|
-
declare const __VLS_export$
|
|
218
|
+
declare const _default$1: typeof __VLS_export$16;
|
|
219
|
+
declare const __VLS_export$16: __VLS_WithSlots$9<import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<ButtonProps, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {} & {
|
|
220
220
|
click: (event: MouseEvent) => any;
|
|
221
221
|
}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<ButtonProps> & Readonly<{
|
|
222
222
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
@@ -254,7 +254,9 @@ type TextFieldProps = {
|
|
|
254
254
|
*/
|
|
255
255
|
disabled?: boolean;
|
|
256
256
|
/**
|
|
257
|
-
* Displays a loading indicator on the input.
|
|
257
|
+
* Displays a loading indicator on the input. The field keeps its label as
|
|
258
|
+
* accessible name and is marked as busy, and assistive technologies ignore
|
|
259
|
+
* the indicator.
|
|
258
260
|
* @default false
|
|
259
261
|
*/
|
|
260
262
|
loading?: boolean;
|
|
@@ -317,7 +319,9 @@ type AutocompleteFieldProps<T = string, Multiple extends boolean = false> = {
|
|
|
317
319
|
*/
|
|
318
320
|
disabled?: boolean;
|
|
319
321
|
/**
|
|
320
|
-
* Displays a loading indicator on the input.
|
|
322
|
+
* Displays a loading indicator on the input. The field keeps its label as
|
|
323
|
+
* accessible name and is marked as busy, and assistive technologies ignore
|
|
324
|
+
* the indicator.
|
|
321
325
|
* @default false
|
|
322
326
|
*/
|
|
323
327
|
loading?: boolean;
|
|
@@ -387,8 +391,8 @@ type AutocompleteFieldProps<T = string, Multiple extends boolean = false> = {
|
|
|
387
391
|
*
|
|
388
392
|
* @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/autocomplete-field | AutocompleteField Guide}
|
|
389
393
|
*/
|
|
390
|
-
declare const _default: typeof __VLS_export$
|
|
391
|
-
declare const __VLS_export$
|
|
394
|
+
declare const _default: typeof __VLS_export$15;
|
|
395
|
+
declare const __VLS_export$15: <T = string, Multiple extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$2<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
392
396
|
props: import("vue").PublicProps & __VLS_PrettifyLocal$2<(AutocompleteFieldProps<T, Multiple> & {
|
|
393
397
|
modelValue?: Multiple extends true ? T[] : T;
|
|
394
398
|
}) & {
|
|
@@ -418,8 +422,8 @@ type __VLS_PrettifyLocal$2<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [
|
|
|
418
422
|
*
|
|
419
423
|
* @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/text-field | TextField Guide}
|
|
420
424
|
*/
|
|
421
|
-
declare const _default$
|
|
422
|
-
declare const __VLS_export$
|
|
425
|
+
declare const _default$17: typeof __VLS_export$14;
|
|
426
|
+
declare const __VLS_export$14: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<TextFieldProps & {
|
|
423
427
|
modelValue?: string;
|
|
424
428
|
}, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {
|
|
425
429
|
"update:modelValue": (value: string) => any;
|
|
@@ -429,8 +433,8 @@ declare const __VLS_export$13: import("vue", { with: { "resolution-mode": "impor
|
|
|
429
433
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
430
434
|
}>, {
|
|
431
435
|
variant: TextFieldVariant;
|
|
432
|
-
type: TextFieldType;
|
|
433
436
|
clearable: boolean;
|
|
437
|
+
type: TextFieldType;
|
|
434
438
|
}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
|
|
435
439
|
//#endregion
|
|
436
440
|
//#region src/components/inputs/checkbox/types.d.ts
|
|
@@ -481,8 +485,8 @@ type CheckboxProps<T = boolean> = {
|
|
|
481
485
|
*
|
|
482
486
|
* @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/checkbox | Checkbox Guide}
|
|
483
487
|
*/
|
|
484
|
-
declare const _default$2: typeof __VLS_export$
|
|
485
|
-
declare const __VLS_export$
|
|
488
|
+
declare const _default$2: typeof __VLS_export$13;
|
|
489
|
+
declare const __VLS_export$13: <T = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$1<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
486
490
|
props: import("vue").PublicProps & __VLS_PrettifyLocal$1<(CheckboxProps<boolean | T> & {
|
|
487
491
|
modelValue?: T;
|
|
488
492
|
}) & {
|
|
@@ -541,7 +545,9 @@ type DateTimeFieldProps = {
|
|
|
541
545
|
*/
|
|
542
546
|
disabled?: boolean;
|
|
543
547
|
/**
|
|
544
|
-
* Displays a loading indicator on the input.
|
|
548
|
+
* Displays a loading indicator on the input. The field keeps its label as
|
|
549
|
+
* accessible name and is marked as busy, and assistive technologies ignore
|
|
550
|
+
* the indicator.
|
|
545
551
|
* @default false
|
|
546
552
|
*/
|
|
547
553
|
loading?: boolean;
|
|
@@ -596,8 +602,8 @@ type DateTimeFieldProps = {
|
|
|
596
602
|
*
|
|
597
603
|
* @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/date-time-field | DateTimeField Guide}
|
|
598
604
|
*/
|
|
599
|
-
declare const _default$7: typeof __VLS_export$
|
|
600
|
-
declare const __VLS_export$
|
|
605
|
+
declare const _default$7: typeof __VLS_export$12;
|
|
606
|
+
declare const __VLS_export$12: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<DateTimeFieldProps & {
|
|
601
607
|
modelValue?: string;
|
|
602
608
|
}, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {
|
|
603
609
|
"update:modelValue": (value: string) => any;
|
|
@@ -636,8 +642,8 @@ type ContainerProps = {
|
|
|
636
642
|
*
|
|
637
643
|
* @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/layout | Container Guide}
|
|
638
644
|
*/
|
|
639
|
-
declare const _default$4: typeof __VLS_export$
|
|
640
|
-
declare const __VLS_export$
|
|
645
|
+
declare const _default$4: typeof __VLS_export$11;
|
|
646
|
+
declare const __VLS_export$11: __VLS_WithSlots$8<import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<ContainerProps, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<ContainerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>, {
|
|
641
647
|
default?: (props: {}) => any;
|
|
642
648
|
}>;
|
|
643
649
|
type __VLS_WithSlots$8<T, S> = T & {
|
|
@@ -716,8 +722,8 @@ type RowAlignY = "start" | "center" | "end" | "stretch";
|
|
|
716
722
|
*
|
|
717
723
|
* @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/layout | Row Guide}
|
|
718
724
|
*/
|
|
719
|
-
declare const _default$
|
|
720
|
-
declare const __VLS_export$
|
|
725
|
+
declare const _default$13: typeof __VLS_export$10;
|
|
726
|
+
declare const __VLS_export$10: __VLS_WithSlots$7<import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<RowProps, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<RowProps> & Readonly<{}>, {
|
|
721
727
|
alignX: RowAlignX;
|
|
722
728
|
alignY: RowAlignY;
|
|
723
729
|
}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>, {
|
|
@@ -775,8 +781,8 @@ type Cols = "auto" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10"
|
|
|
775
781
|
*
|
|
776
782
|
* @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/layout | Column Guide}
|
|
777
783
|
*/
|
|
778
|
-
declare const _default$3: typeof __VLS_export$
|
|
779
|
-
declare const __VLS_export$
|
|
784
|
+
declare const _default$3: typeof __VLS_export$9;
|
|
785
|
+
declare const __VLS_export$9: __VLS_WithSlots$6<import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<ColumnProps, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<ColumnProps> & Readonly<{}>, {
|
|
780
786
|
cols: "12" | "auto" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11";
|
|
781
787
|
}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>, {
|
|
782
788
|
default?: (props: {}) => any;
|
|
@@ -818,8 +824,8 @@ type FormProps = {
|
|
|
818
824
|
*
|
|
819
825
|
* @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/form | Form Guide}
|
|
820
826
|
*/
|
|
821
|
-
declare const _default$10: typeof __VLS_export$
|
|
822
|
-
declare const __VLS_export$
|
|
827
|
+
declare const _default$10: typeof __VLS_export$8;
|
|
828
|
+
declare const __VLS_export$8: __VLS_WithSlots$5<import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<FormProps, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {} & {
|
|
823
829
|
submit: (event: SubmitEvent) => any;
|
|
824
830
|
}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<FormProps> & Readonly<{
|
|
825
831
|
onSubmit?: ((event: SubmitEvent) => any) | undefined;
|
|
@@ -848,8 +854,8 @@ type __VLS_WithSlots$5<T, S> = T & {
|
|
|
848
854
|
*
|
|
849
855
|
* @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/section | Section Guide}
|
|
850
856
|
*/
|
|
851
|
-
declare const _default$
|
|
852
|
-
declare const __VLS_export$
|
|
857
|
+
declare const _default$15: typeof __VLS_export$7;
|
|
858
|
+
declare const __VLS_export$7: __VLS_WithSlots$4<import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<{}, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, true, {}, any>, {
|
|
853
859
|
default?: (props: {}) => any;
|
|
854
860
|
}>;
|
|
855
861
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -952,8 +958,8 @@ interface SectionAction extends ButtonProps {
|
|
|
952
958
|
*
|
|
953
959
|
* @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/section | Section Guide}
|
|
954
960
|
*/
|
|
955
|
-
declare const _default$
|
|
956
|
-
declare const __VLS_export$
|
|
961
|
+
declare const _default$14: typeof __VLS_export$6;
|
|
962
|
+
declare const __VLS_export$6: __VLS_WithSlots$3<import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<SectionProps, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<SectionProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>, {
|
|
957
963
|
default?: (props: {}) => any;
|
|
958
964
|
}>;
|
|
959
965
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -1027,8 +1033,8 @@ type TableProps = {
|
|
|
1027
1033
|
*
|
|
1028
1034
|
* @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/table | Table Guide}
|
|
1029
1035
|
*/
|
|
1030
|
-
declare const _default$
|
|
1031
|
-
declare const __VLS_export$
|
|
1036
|
+
declare const _default$16: typeof __VLS_export$5;
|
|
1037
|
+
declare const __VLS_export$5: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<TableProps, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<TableProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
|
|
1032
1038
|
//#endregion
|
|
1033
1039
|
//#region src/components/details/types.d.ts
|
|
1034
1040
|
type DetailsVariant = "primary" | "secondary";
|
|
@@ -1075,8 +1081,8 @@ type DetailsProps = {
|
|
|
1075
1081
|
*
|
|
1076
1082
|
* @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/details | Details Guide}
|
|
1077
1083
|
*/
|
|
1078
|
-
declare const _default$8: typeof __VLS_export$
|
|
1079
|
-
declare const __VLS_export$
|
|
1084
|
+
declare const _default$8: typeof __VLS_export$4;
|
|
1085
|
+
declare const __VLS_export$4: __VLS_WithSlots$2<import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<DetailsProps, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<DetailsProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>, {
|
|
1080
1086
|
default?: (props: {}) => any;
|
|
1081
1087
|
}>;
|
|
1082
1088
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -1085,6 +1091,70 @@ type __VLS_WithSlots$2<T, S> = T & {
|
|
|
1085
1091
|
};
|
|
1086
1092
|
};
|
|
1087
1093
|
//#endregion
|
|
1094
|
+
//#region src/components/img/types.d.ts
|
|
1095
|
+
/**
|
|
1096
|
+
* Props exposed by the {@link Img} component.
|
|
1097
|
+
*/
|
|
1098
|
+
type ImgProps = {
|
|
1099
|
+
/**
|
|
1100
|
+
* Path or URL of the image.
|
|
1101
|
+
*/
|
|
1102
|
+
src: string;
|
|
1103
|
+
/**
|
|
1104
|
+
* Width of the image. A number sets it in pixels, and a string sets it in
|
|
1105
|
+
* any CSS unit (e.g. `"100%"`). Shrinks to fit the available width when
|
|
1106
|
+
* it's larger (e.g. inside a narrow `UColumn`).
|
|
1107
|
+
*/
|
|
1108
|
+
width?: number | string;
|
|
1109
|
+
/**
|
|
1110
|
+
* Height of the image. A number sets it in pixels, and a string sets it in
|
|
1111
|
+
* any CSS unit (e.g. `"10rem"`).
|
|
1112
|
+
*/
|
|
1113
|
+
height?: number | string;
|
|
1114
|
+
/**
|
|
1115
|
+
* Proportion between width and height (e.g. `16 / 9`), used to reserve the
|
|
1116
|
+
* image's space before it loads. Ignored when `height` is set.
|
|
1117
|
+
*/
|
|
1118
|
+
aspectRatio?: number;
|
|
1119
|
+
/**
|
|
1120
|
+
* Fills the image's area, cropping the image when its proportion differs
|
|
1121
|
+
* from the area's. By default, the whole image is shown inside the area.
|
|
1122
|
+
* @default false
|
|
1123
|
+
*/
|
|
1124
|
+
cover?: boolean;
|
|
1125
|
+
/**
|
|
1126
|
+
* Loads the image right away, instead of when it's about to become
|
|
1127
|
+
* visible. Use it for images visible when the page opens, such as a logo.
|
|
1128
|
+
* @default false
|
|
1129
|
+
*/
|
|
1130
|
+
eager?: boolean;
|
|
1131
|
+
/**
|
|
1132
|
+
* Component id to use on automated tests.
|
|
1133
|
+
*/
|
|
1134
|
+
dataTestid?: string;
|
|
1135
|
+
};
|
|
1136
|
+
//#endregion
|
|
1137
|
+
//#region src/components/img/img.vue.d.ts
|
|
1138
|
+
/**
|
|
1139
|
+
* Decorative image, ignored by assistive technologies, loaded when it's about
|
|
1140
|
+
* to become visible. Set its dimensions to reserve its space before it loads.
|
|
1141
|
+
*
|
|
1142
|
+
* @example
|
|
1143
|
+
* ```vue
|
|
1144
|
+
* <template>
|
|
1145
|
+
* <u-row>
|
|
1146
|
+
* <u-column cols="12">
|
|
1147
|
+
* <u-img src="/logo.svg" :width="380" :height="88" eager />
|
|
1148
|
+
* </u-column>
|
|
1149
|
+
* </u-row>
|
|
1150
|
+
* </template>
|
|
1151
|
+
* ```
|
|
1152
|
+
*
|
|
1153
|
+
* @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/img | Img Guide}
|
|
1154
|
+
*/
|
|
1155
|
+
declare const _default$11: typeof __VLS_export$3;
|
|
1156
|
+
declare const __VLS_export$3: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<ImgProps, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<ImgProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
|
|
1157
|
+
//#endregion
|
|
1088
1158
|
//#region src/components/data-sets/data-set/types.d.ts
|
|
1089
1159
|
/**
|
|
1090
1160
|
* Number of records shown side by side on each row of a {@link DataSet}.
|
|
@@ -1341,4 +1411,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
1341
1411
|
};
|
|
1342
1412
|
};
|
|
1343
1413
|
//#endregion
|
|
1344
|
-
export { _default as UAutocompleteField, _default$1 as UButton, _default$2 as UCheckbox, _default$3 as UColumn, _default$4 as UContainer, _default$5 as UDataSet, _default$6 as UDataSetItem, _default$7 as UDateTimeField, _default$8 as UDetails, _default$9 as UDialog, _default$10 as UForm, _default$11 as
|
|
1414
|
+
export { _default as UAutocompleteField, _default$1 as UButton, _default$2 as UCheckbox, _default$3 as UColumn, _default$4 as UContainer, _default$5 as UDataSet, _default$6 as UDataSetItem, _default$7 as UDateTimeField, _default$8 as UDetails, _default$9 as UDialog, _default$10 as UForm, _default$11 as UImg, _default$12 as UMain, _default$13 as URow, _default$14 as USection, _default$15 as USectionContent, _default$16 as UTable, _default$17 as UTextField };
|
package/dist/components.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as messages, n as owners, r as requests, s as useVuetifyColor } from "./use-dialog-Ck2_ZW7T.js";
|
|
2
|
-
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, inject, isRef, mergeModels, mergeProps, normalizeClass, onMounted, onScopeDispose, onUnmounted, openBlock, provide, ref, renderList, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toValue, unref, useId, useModel, useSlots, useTemplateRef, watch, withCtx, withModifiers } from "vue";
|
|
2
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, inject, isRef, mergeModels, mergeProps, normalizeClass, normalizeProps, onMounted, onScopeDispose, onUnmounted, openBlock, provide, ref, renderList, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toValue, unref, useId, useModel, useSlots, useTemplateRef, watch, withCtx, withModifiers } from "vue";
|
|
3
3
|
import { pt } from "vuetify/locale";
|
|
4
|
-
import { VApp, VAppBar, VAppBarNavIcon, VAppBarTitle, VAutocomplete, VAvatar, VBadge, VBtn, VCard, VCardActions, VCardText, VCheckboxBtn, VCol, VCombobox, VContainer, VDataIterator, VDatePicker, VDialog, VDivider, VEmptyState, VExpansionPanel, VExpansionPanelText, VExpansionPanelTitle, VExpansionPanels, VForm, VIcon, VIconBtn, VImg, VList, VListGroup, VListItem, VListItemAction, VListSubheader, VLocaleProvider, VMain, VMenu, VNavigationDrawer, VPagination, VRow, VSkeletonLoader, VSnackbarQueue, VTable, VTextField, VTimePicker } from "vuetify/components";
|
|
4
|
+
import { VApp, VAppBar, VAppBarNavIcon, VAppBarTitle, VAutocomplete, VAvatar, VBadge, VBtn, VCard, VCardActions, VCardText, VCheckboxBtn, VCol, VCombobox, VContainer, VDataIterator, VDatePicker, VDialog, VDivider, VEmptyState, VExpansionPanel, VExpansionPanelText, VExpansionPanelTitle, VExpansionPanels, VForm, VIcon, VIconBtn, VImg, VList, VListGroup, VListItem, VListItemAction, VListSubheader, VLocaleProvider, VMain, VMenu, VNavigationDrawer, VPagination, VProgressLinear, VRow, VSkeletonLoader, VSnackbarQueue, VTable, VTextField, VTimePicker } from "vuetify/components";
|
|
5
5
|
import { formatDateTime, isEmail, isEmpty, isPhone, isUrl } from "@nexdom/shared/utils";
|
|
6
6
|
//#region src/composables/navigation/use-route-props.ts
|
|
7
7
|
function useRouteProps(route) {
|
|
@@ -315,6 +315,34 @@ function associatedRuleType(type) {
|
|
|
315
315
|
return type in textFieldTypeToVuetifyRule;
|
|
316
316
|
}
|
|
317
317
|
//#endregion
|
|
318
|
+
//#region src/components/inputs/field-loader.vue
|
|
319
|
+
var field_loader_default = /* @__PURE__ */ defineComponent({
|
|
320
|
+
inheritAttrs: false,
|
|
321
|
+
__name: "field-loader",
|
|
322
|
+
props: {
|
|
323
|
+
color: {
|
|
324
|
+
type: String,
|
|
325
|
+
required: false
|
|
326
|
+
},
|
|
327
|
+
isActive: {
|
|
328
|
+
type: Boolean,
|
|
329
|
+
required: true
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
setup(__props) {
|
|
333
|
+
const props = __props;
|
|
334
|
+
return (_ctx, _cache) => {
|
|
335
|
+
return openBlock(), createBlock(unref(VProgressLinear), {
|
|
336
|
+
active: props.isActive,
|
|
337
|
+
color: props.color,
|
|
338
|
+
height: "2",
|
|
339
|
+
indeterminate: "",
|
|
340
|
+
"aria-hidden": "true"
|
|
341
|
+
}, null, 8, ["active", "color"]);
|
|
342
|
+
};
|
|
343
|
+
}
|
|
344
|
+
});
|
|
345
|
+
//#endregion
|
|
318
346
|
//#region src/components/inputs/text-field/text-field.vue
|
|
319
347
|
var text_field_default = /* @__PURE__ */ defineComponent({
|
|
320
348
|
inheritAttrs: false,
|
|
@@ -398,13 +426,17 @@ var text_field_default = /* @__PURE__ */ defineComponent({
|
|
|
398
426
|
"data-testid": props.dataTestid,
|
|
399
427
|
disabled: props.disabled,
|
|
400
428
|
loading: props.loading,
|
|
429
|
+
"aria-busy": props.loading || void 0,
|
|
401
430
|
readonly: props.readonly,
|
|
402
431
|
label: props.label,
|
|
403
432
|
placeholder: props.placeholder,
|
|
404
433
|
hint: props.hint,
|
|
405
434
|
clearable: computedClearable.value,
|
|
406
435
|
"onClick:clear": clear
|
|
407
|
-
},
|
|
436
|
+
}, {
|
|
437
|
+
loader: withCtx((loader) => [createVNode(field_loader_default, normalizeProps(guardReactiveProps(loader)), null, 16)]),
|
|
438
|
+
_: 1
|
|
439
|
+
}, 8, [
|
|
408
440
|
"modelValue",
|
|
409
441
|
"variant",
|
|
410
442
|
"type",
|
|
@@ -413,6 +445,7 @@ var text_field_default = /* @__PURE__ */ defineComponent({
|
|
|
413
445
|
"data-testid",
|
|
414
446
|
"disabled",
|
|
415
447
|
"loading",
|
|
448
|
+
"aria-busy",
|
|
416
449
|
"readonly",
|
|
417
450
|
"label",
|
|
418
451
|
"placeholder",
|
|
@@ -1115,6 +1148,7 @@ var autocomplete_field_default = /* @__PURE__ */ defineComponent({
|
|
|
1115
1148
|
"data-testid": props.dataTestid,
|
|
1116
1149
|
disabled: props.disabled,
|
|
1117
1150
|
loading: props.loading,
|
|
1151
|
+
"aria-busy": props.loading || void 0,
|
|
1118
1152
|
readonly: props.readonly,
|
|
1119
1153
|
label: props.label,
|
|
1120
1154
|
placeholder: props.placeholder,
|
|
@@ -1124,13 +1158,17 @@ var autocomplete_field_default = /* @__PURE__ */ defineComponent({
|
|
|
1124
1158
|
"item-title": "label",
|
|
1125
1159
|
rules: unref(rules),
|
|
1126
1160
|
chips: ""
|
|
1127
|
-
},
|
|
1161
|
+
}, {
|
|
1162
|
+
loader: withCtx((loader) => [createVNode(field_loader_default, normalizeProps(guardReactiveProps(loader)), null, 16)]),
|
|
1163
|
+
_: 1
|
|
1164
|
+
}, 8, [
|
|
1128
1165
|
"modelValue",
|
|
1129
1166
|
"variant",
|
|
1130
1167
|
"items",
|
|
1131
1168
|
"data-testid",
|
|
1132
1169
|
"disabled",
|
|
1133
1170
|
"loading",
|
|
1171
|
+
"aria-busy",
|
|
1134
1172
|
"readonly",
|
|
1135
1173
|
"label",
|
|
1136
1174
|
"placeholder",
|
|
@@ -1396,6 +1434,7 @@ var date_time_field_default = /* @__PURE__ */ defineComponent({
|
|
|
1396
1434
|
"data-testid": props.dataTestid,
|
|
1397
1435
|
disabled: props.disabled,
|
|
1398
1436
|
loading: props.loading,
|
|
1437
|
+
"aria-busy": props.loading || void 0,
|
|
1399
1438
|
label: props.label,
|
|
1400
1439
|
placeholder: props.placeholder,
|
|
1401
1440
|
hint: props.hint,
|
|
@@ -1403,6 +1442,7 @@ var date_time_field_default = /* @__PURE__ */ defineComponent({
|
|
|
1403
1442
|
readonly: "",
|
|
1404
1443
|
"onClick:clear": clear
|
|
1405
1444
|
}, {
|
|
1445
|
+
loader: withCtx((loader) => [createVNode(field_loader_default, normalizeProps(guardReactiveProps(loader)), null, 16)]),
|
|
1406
1446
|
default: withCtx(() => [createVNode(unref(VMenu), {
|
|
1407
1447
|
modelValue: isMenuOpen.value,
|
|
1408
1448
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isMenuOpen.value = $event),
|
|
@@ -1456,6 +1496,7 @@ var date_time_field_default = /* @__PURE__ */ defineComponent({
|
|
|
1456
1496
|
"data-testid",
|
|
1457
1497
|
"disabled",
|
|
1458
1498
|
"loading",
|
|
1499
|
+
"aria-busy",
|
|
1459
1500
|
"label",
|
|
1460
1501
|
"placeholder",
|
|
1461
1502
|
"hint",
|
|
@@ -1887,6 +1928,65 @@ var details_default = /* @__PURE__ */ defineComponent({
|
|
|
1887
1928
|
}
|
|
1888
1929
|
});
|
|
1889
1930
|
//#endregion
|
|
1931
|
+
//#region src/components/img/img.vue
|
|
1932
|
+
var img_default = /* @__PURE__ */ defineComponent({
|
|
1933
|
+
inheritAttrs: false,
|
|
1934
|
+
__name: "img",
|
|
1935
|
+
props: {
|
|
1936
|
+
src: {
|
|
1937
|
+
type: String,
|
|
1938
|
+
required: true
|
|
1939
|
+
},
|
|
1940
|
+
width: {
|
|
1941
|
+
type: [Number, String],
|
|
1942
|
+
required: false
|
|
1943
|
+
},
|
|
1944
|
+
height: {
|
|
1945
|
+
type: [Number, String],
|
|
1946
|
+
required: false
|
|
1947
|
+
},
|
|
1948
|
+
aspectRatio: {
|
|
1949
|
+
type: Number,
|
|
1950
|
+
required: false
|
|
1951
|
+
},
|
|
1952
|
+
cover: {
|
|
1953
|
+
type: Boolean,
|
|
1954
|
+
required: false
|
|
1955
|
+
},
|
|
1956
|
+
eager: {
|
|
1957
|
+
type: Boolean,
|
|
1958
|
+
required: false
|
|
1959
|
+
},
|
|
1960
|
+
dataTestid: {
|
|
1961
|
+
type: String,
|
|
1962
|
+
required: false
|
|
1963
|
+
}
|
|
1964
|
+
},
|
|
1965
|
+
setup(__props) {
|
|
1966
|
+
const props = __props;
|
|
1967
|
+
return (_ctx, _cache) => {
|
|
1968
|
+
return openBlock(), createBlock(unref(VImg), {
|
|
1969
|
+
src: props.src,
|
|
1970
|
+
alt: "",
|
|
1971
|
+
width: props.width,
|
|
1972
|
+
height: props.height,
|
|
1973
|
+
"aspect-ratio": props.aspectRatio,
|
|
1974
|
+
cover: props.cover,
|
|
1975
|
+
eager: props.eager,
|
|
1976
|
+
"data-testid": props.dataTestid
|
|
1977
|
+
}, null, 8, [
|
|
1978
|
+
"src",
|
|
1979
|
+
"width",
|
|
1980
|
+
"height",
|
|
1981
|
+
"aspect-ratio",
|
|
1982
|
+
"cover",
|
|
1983
|
+
"eager",
|
|
1984
|
+
"data-testid"
|
|
1985
|
+
]);
|
|
1986
|
+
};
|
|
1987
|
+
}
|
|
1988
|
+
});
|
|
1989
|
+
//#endregion
|
|
1890
1990
|
//#region src/composables/data-set/data-set.ts
|
|
1891
1991
|
/**
|
|
1892
1992
|
* Width, out of the grid's 12 columns, taken by each record so that
|
|
@@ -2184,4 +2284,4 @@ var data_set_item_default = /* @__PURE__ */ defineComponent({
|
|
|
2184
2284
|
}
|
|
2185
2285
|
});
|
|
2186
2286
|
//#endregion
|
|
2187
|
-
export { autocomplete_field_default as UAutocompleteField, button_default as UButton, checkbox_default as UCheckbox, column_default as UColumn, container_default as UContainer, data_set_default as UDataSet, data_set_item_default as UDataSetItem, date_time_field_default as UDateTimeField, details_default as UDetails, dialog_default as UDialog, form_default as UForm, main_default as UMain, row_default as URow, section_default as USection, section_content_default as USectionContent, table_default as UTable, text_field_default as UTextField };
|
|
2287
|
+
export { autocomplete_field_default as UAutocompleteField, button_default as UButton, checkbox_default as UCheckbox, column_default as UColumn, container_default as UContainer, data_set_default as UDataSet, data_set_item_default as UDataSetItem, date_time_field_default as UDateTimeField, details_default as UDetails, dialog_default as UDialog, form_default as UForm, img_default as UImg, main_default as UMain, row_default as URow, section_default as USection, section_content_default as USectionContent, table_default as UTable, text_field_default as UTextField };
|