@davincihealthcare/elty-design-system-vue 1.13.4 → 1.13.6

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.
Files changed (45) hide show
  1. package/dist/ElAccordion.vue.d.ts +33 -33
  2. package/dist/ElAvatar.vue.d.ts +2 -2
  3. package/dist/ElBadge.vue.d.ts +2 -2
  4. package/dist/ElButton.vue.d.ts +14 -3
  5. package/dist/ElCalendarCard.vue.d.ts +2 -2
  6. package/dist/ElCalendarCell.vue.d.ts +2 -2
  7. package/dist/ElClipToAnchor.vue.d.ts +2 -2
  8. package/dist/ElDrawer.vue.d.ts +3 -3
  9. package/dist/ElDropdown.vue.d.ts +101 -65
  10. package/dist/ElFile.vue.d.ts +3 -3
  11. package/dist/ElIcon.vue.d.ts +2 -2
  12. package/dist/ElIconButton.vue.d.ts +4 -3
  13. package/dist/ElItem.vue.d.ts +4 -3
  14. package/dist/ElLogo.vue.d.ts +2 -2
  15. package/dist/ElSortingHeader.vue.d.ts +2 -2
  16. package/dist/ElSuggestionChip.vue.d.ts +2 -2
  17. package/dist/ElTab.vue.d.ts +3 -3
  18. package/dist/ElTabGroup.vue.d.ts +3 -3
  19. package/dist/ElTableHead.vue.d.ts +3 -2
  20. package/dist/ElTabs.vue.d.ts +3 -3
  21. package/dist/ElTag.vue.d.ts +3 -2
  22. package/dist/ElTextCell.vue.d.ts +2 -2
  23. package/dist/ElToast.vue.d.ts +1 -1
  24. package/dist/ElTooltip.vue.d.ts +2 -2
  25. package/dist/_CustomTransition.vue.d.ts +3 -3
  26. package/dist/forms/ElInputCheckbox.vue.d.ts +4 -3
  27. package/dist/forms/ElInputContainer.vue.d.ts +2 -2
  28. package/dist/forms/ElInputDate.vue.d.ts +5 -4
  29. package/dist/forms/ElInputFile.vue.d.ts +4 -3
  30. package/dist/forms/ElInputMeasureUnit.vue.d.ts +5 -4
  31. package/dist/forms/ElInputNumber.vue.d.ts +6 -5
  32. package/dist/forms/ElInputPhone.vue.d.ts +6 -5
  33. package/dist/forms/ElInputSelect.vue.d.ts +6 -5
  34. package/dist/forms/ElInputText.vue.d.ts +6 -5
  35. package/dist/forms/ElInputTextarea.vue.d.ts +6 -5
  36. package/dist/forms/input.d.ts +3 -3
  37. package/dist/forms/utils.d.ts +2 -2
  38. package/dist/index.d.ts +1 -0
  39. package/dist/index.js +4635 -4485
  40. package/dist/index.js.map +1 -1
  41. package/dist/index.umd.cjs +21 -19
  42. package/dist/index.umd.cjs.map +1 -1
  43. package/dist/tailwind.plugin.d.ts +2 -2
  44. package/dist/utils.d.ts +1 -0
  45. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
1
  export declare const elTooltipPositions: readonly ["bottom-left", "bottom", "bottom-right", "top-left", "top", "top-right", "left", "left-start", "left-end", "right", "right-start", "right-end"];
2
2
  export type ElTooltipPosition = (typeof elTooltipPositions)[number];
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
4
4
  text: string;
5
5
  position?: "bottom-left" | "bottom" | "bottom-right" | "top-left" | "top" | "top-right" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | undefined;
6
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
7
  text: string;
8
8
  position?: "bottom-left" | "bottom" | "bottom-right" | "top-left" | "top" | "top-right" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | undefined;
9
9
  }>>>, {}, {}>, {
@@ -1,10 +1,10 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
1
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
2
  name: "fade" | "scale" | "slide-x-fade" | "slide-y-fade" | "flip-x" | "expand" | "slide-y" | "slide-x";
3
3
  mode?: "out-in" | "in-out" | undefined;
4
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
5
5
  onEnter: () => void;
6
6
  onLeave: () => void;
7
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
8
  name: "fade" | "scale" | "slide-x-fade" | "slide-y-fade" | "flip-x" | "expand" | "slide-y" | "slide-x";
9
9
  mode?: "out-in" | "in-out" | undefined;
10
10
  }>>> & {
@@ -1,9 +1,10 @@
1
1
  import { PropType } from 'vue';
2
+
2
3
  export declare const elInputCheckboxSizes: readonly ["xs", "xxs"];
3
4
  export type ElInputCheckboxSizes = (typeof elInputCheckboxSizes)[number];
4
5
  export declare const elInputCheckboxModelValues: readonly [true, false, "indeterminate"];
5
6
  export type ElInputCheckboxModelValues = (typeof elInputCheckboxModelValues)[number];
6
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
7
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
7
8
  modelValue: {
8
9
  type: PropType<boolean | "indeterminate">;
9
10
  default: boolean;
@@ -53,9 +54,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
53
54
  required: boolean;
54
55
  default: boolean;
55
56
  };
56
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
57
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
57
58
  "update:modelValue": (val: boolean | "indeterminate") => void;
58
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
59
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
59
60
  modelValue: {
60
61
  type: PropType<boolean | "indeterminate">;
61
62
  default: boolean;
@@ -1,4 +1,4 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
1
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
2
2
  label: {
3
3
  type: StringConstructor;
4
4
  default: string;
@@ -22,7 +22,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
22
22
  required: false;
23
23
  default: boolean;
24
24
  };
25
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
25
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
26
26
  label: {
27
27
  type: StringConstructor;
28
28
  default: string;
@@ -1,8 +1,9 @@
1
- import { PropType } from 'vue';
2
1
  import { NumberValueType } from './input';
2
+ import { PropType } from 'vue';
3
+
3
4
  export declare const elInputDateTypes: readonly ["date", "datetime-local", "time"];
4
5
  export type ElInputDateType = (typeof elInputDateTypes)[number];
5
- declare const _default: import("vue").DefineComponent<{
6
+ declare const _default: import('vue').DefineComponent<{
6
7
  type: {
7
8
  type: PropType<"time" | "date" | "datetime-local">;
8
9
  default: string;
@@ -45,10 +46,10 @@ declare const _default: import("vue").DefineComponent<{
45
46
  required: boolean;
46
47
  default: boolean;
47
48
  };
48
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
49
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
49
50
  "update:modelValue": (value: NumberValueType) => void;
50
51
  "update:readableString": (value: string) => void;
51
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
52
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
52
53
  type: {
53
54
  type: PropType<"time" | "date" | "datetime-local">;
54
55
  default: string;
@@ -1,7 +1,8 @@
1
1
  import { PropType } from 'vue';
2
+
2
3
  export declare const elInputFileTypes: readonly ["image", "document", "csv", "excel", "any", "patientsImportDataFpfV5", "patientsImportDataHippocrates", "patientsImportDataIatros", "patientsImportDataMdb2000", "patientsImportDataMillewin", "patientsImportDataPhronesis", "patientsImportDataFastamb", "patientsImportDataMedico2000", "patientsImportDataTServe", "patientsImportDataProfim"];
3
4
  export type ElInputFileType = (typeof elInputFileTypes)[number];
4
- declare const _default: import("vue").DefineComponent<{
5
+ declare const _default: import('vue').DefineComponent<{
5
6
  modelValue: {
6
7
  type: () => File[];
7
8
  required: true;
@@ -44,9 +45,9 @@ declare const _default: import("vue").DefineComponent<{
44
45
  required: boolean;
45
46
  default: boolean;
46
47
  };
47
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
48
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
48
49
  "update:modelValue": (files: File[]) => void;
49
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
50
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
50
51
  modelValue: {
51
52
  type: () => File[];
52
53
  required: true;
@@ -1,5 +1,6 @@
1
- import { NumberValueType } from './input';
2
1
  import { PropType } from 'vue';
2
+ import { NumberValueType } from './input';
3
+
3
4
  interface MeasureUnitTypes {
4
5
  weight: string[];
5
6
  height: string[];
@@ -7,7 +8,7 @@ interface MeasureUnitTypes {
7
8
  drugTimeMeasure: string[];
8
9
  drugDurationMeasure: string[];
9
10
  }
10
- declare const _default: import("vue").DefineComponent<{
11
+ declare const _default: import('vue').DefineComponent<{
11
12
  availableUnitCategory: {
12
13
  type: PropType<keyof MeasureUnitTypes>;
13
14
  default: () => string;
@@ -60,10 +61,10 @@ declare const _default: import("vue").DefineComponent<{
60
61
  };
61
62
  }, {
62
63
  changeUnit: (value: string) => string;
63
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
64
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
64
65
  "update:modelValue": (value: NumberValueType) => void;
65
66
  changeUnit: (value: string) => void;
66
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
67
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
67
68
  availableUnitCategory: {
68
69
  type: PropType<keyof MeasureUnitTypes>;
69
70
  default: () => string;
@@ -1,11 +1,12 @@
1
1
  import { NumberValueType } from './input';
2
- declare const _default: import("vue").DefineComponent<{
2
+
3
+ declare const _default: import('vue').DefineComponent<{
3
4
  isTwoDecimals: {
4
5
  type: BooleanConstructor;
5
6
  default: boolean;
6
7
  };
7
8
  modelValue: {
8
- type: import("vue").PropType<NumberValueType>;
9
+ type: import('vue').PropType<NumberValueType>;
9
10
  };
10
11
  placeholder: {
11
12
  type: StringConstructor;
@@ -42,17 +43,17 @@ declare const _default: import("vue").DefineComponent<{
42
43
  required: boolean;
43
44
  default: boolean;
44
45
  };
45
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
46
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
46
47
  "update:modelValue": (value: NumberValueType) => void;
47
48
  overlayedBtnClicked: () => void;
48
49
  "update:formattedAmount": (value: NumberValueType) => void;
49
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
50
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
50
51
  isTwoDecimals: {
51
52
  type: BooleanConstructor;
52
53
  default: boolean;
53
54
  };
54
55
  modelValue: {
55
- type: import("vue").PropType<NumberValueType>;
56
+ type: import('vue').PropType<NumberValueType>;
56
57
  };
57
58
  placeholder: {
58
59
  type: StringConstructor;
@@ -1,7 +1,8 @@
1
1
  import { TextualValueType } from './input';
2
- declare const _default: import("vue").DefineComponent<{
2
+
3
+ declare const _default: import('vue').DefineComponent<{
3
4
  modelValue: {
4
- type: import("vue").PropType<TextualValueType>;
5
+ type: import('vue').PropType<TextualValueType>;
5
6
  default: string;
6
7
  };
7
8
  placeholder: {
@@ -34,11 +35,11 @@ declare const _default: import("vue").DefineComponent<{
34
35
  required: boolean;
35
36
  default: boolean;
36
37
  };
37
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
38
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
38
39
  "update:modelValue": (value: TextualValueType) => void;
39
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
40
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
40
41
  modelValue: {
41
- type: import("vue").PropType<TextualValueType>;
42
+ type: import('vue').PropType<TextualValueType>;
42
43
  default: string;
43
44
  };
44
45
  placeholder: {
@@ -1,8 +1,9 @@
1
- import { PropType } from 'vue';
2
- import { OptionType } from '../types';
3
1
  import { AutocompleteOptionType } from './utils';
2
+ import { OptionType } from '../types';
3
+ import { PropType } from 'vue';
4
+
4
5
  type ValueType = string | string[] | null | undefined;
5
- declare const _default: import("vue").DefineComponent<{
6
+ declare const _default: import('vue').DefineComponent<{
6
7
  modelValue: {
7
8
  type: PropType<ValueType>;
8
9
  required: false;
@@ -55,10 +56,10 @@ declare const _default: import("vue").DefineComponent<{
55
56
  required: boolean;
56
57
  default: boolean;
57
58
  };
58
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
59
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
59
60
  "update:modelValue": (newValue: ValueType) => void;
60
61
  "update:modelLabel": (newValue: ValueType) => void;
61
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
62
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
62
63
  modelValue: {
63
64
  type: PropType<ValueType>;
64
65
  required: false;
@@ -1,9 +1,10 @@
1
- import { TextualValueType } from './input';
2
- import { PropType } from 'vue';
3
1
  import { ElIconProps } from '../ElIcon.vue';
2
+ import { PropType } from 'vue';
3
+ import { TextualValueType } from './input';
4
+
4
5
  export declare const elInputTextTypes: readonly ["text", "password"];
5
6
  export type ElInputTextType = (typeof elInputTextTypes)[number];
6
- declare const _default: import("vue").DefineComponent<{
7
+ declare const _default: import('vue').DefineComponent<{
7
8
  type: {
8
9
  type: PropType<"text" | "password">;
9
10
  default: string;
@@ -52,9 +53,9 @@ declare const _default: import("vue").DefineComponent<{
52
53
  required: boolean;
53
54
  default: boolean;
54
55
  };
55
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
56
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
56
57
  "update:modelValue": (value: TextualValueType) => void;
57
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
58
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
58
59
  type: {
59
60
  type: PropType<"text" | "password">;
60
61
  default: string;
@@ -1,5 +1,6 @@
1
1
  import { TextualValueType } from './input';
2
- declare const _default: import("vue").DefineComponent<{
2
+
3
+ declare const _default: import('vue').DefineComponent<{
3
4
  resizable: {
4
5
  type: BooleanConstructor;
5
6
  default: boolean;
@@ -13,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
13
14
  default: string;
14
15
  };
15
16
  modelValue: {
16
- type: import("vue").PropType<TextualValueType>;
17
+ type: import('vue').PropType<TextualValueType>;
17
18
  default: string;
18
19
  };
19
20
  placeholder: {
@@ -46,9 +47,9 @@ declare const _default: import("vue").DefineComponent<{
46
47
  required: boolean;
47
48
  default: boolean;
48
49
  };
49
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
50
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
50
51
  "update:modelValue": (value: TextualValueType) => void;
51
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
52
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
52
53
  resizable: {
53
54
  type: BooleanConstructor;
54
55
  default: boolean;
@@ -62,7 +63,7 @@ declare const _default: import("vue").DefineComponent<{
62
63
  default: string;
63
64
  };
64
65
  modelValue: {
65
- type: import("vue").PropType<TextualValueType>;
66
+ type: import('vue').PropType<TextualValueType>;
66
67
  default: string;
67
68
  };
68
69
  placeholder: {
@@ -1,7 +1,7 @@
1
+ import { ComputedRef, PropType, Ref } from 'vue';
1
2
  export declare const UniqueID: () => {
2
3
  getID: () => string;
3
4
  };
4
- import { ComputedRef, PropType, Ref } from 'vue';
5
5
  export type TextualValueType = string | null | undefined;
6
6
  export type NumberValueType = number | null | undefined;
7
7
  export declare const withCommonInputProps: () => {
@@ -235,11 +235,11 @@ export declare const withNumberElInputProps: () => {
235
235
  };
236
236
  };
237
237
  export declare function useInput<T = string>(initialValue: Ref<T>, validations: Ref<string[]> | ComputedRef<string[]>, onChange?: (value: T) => void): {
238
- fieldContext: import("vee-validate").FieldContext<T>;
238
+ fieldContext: import('vee-validate').FieldContext<T>;
239
239
  errorMessage: Ref<string | undefined>;
240
240
  value: Ref<T>;
241
241
  uuid: string;
242
- meta: import("vee-validate").FieldMeta<T>;
242
+ meta: import('vee-validate').FieldMeta<T>;
243
243
  setValue: (value: T, shouldValidate?: boolean | undefined) => void;
244
244
  };
245
245
  export declare function showRequiredMark(validations: string[], forceHideMark?: boolean | undefined): boolean;
@@ -1,5 +1,5 @@
1
- import * as outlineIcons from '@heroicons/vue/24/outline';
2
1
  import { OptionType } from '../types';
2
+ import * as outlineIcons from '@heroicons/vue/24/outline';
3
3
  export type IconNames = keyof typeof outlineIcons;
4
4
  export type BadgeColor = 'blue' | 'yellow' | 'red' | 'green' | 'gray' | 'pink' | 'lightPurple' | 'lightBlue' | 'grayBgWhiteText' | 'redBgWhiteText' | 'primaryBgWhiteText' | 'redBorder' | 'purpleBorder' | 'blueBorder' | 'greenBorder' | 'yellowBorder' | 'lightBlueBgPrimaryText' | 'lightGrayBgWhiteText';
5
5
  export type BannerColor = 'yellow' | 'red' | 'primary' | 'gray';
@@ -15,7 +15,7 @@ export type AutocompleteOptionType = OptionType & {
15
15
  export declare const isAutocompleteOptionType: (o: any) => o is AutocompleteOptionType;
16
16
  export declare const getEnumFromString: <T>(type: any, str: string | null) => T[keyof T] | null;
17
17
  export declare const currencyToReadableString: (n: number) => string;
18
- export declare const cleanArray: <T>(arrayObj: (T | Error | null | undefined)[] | null | undefined) => T[];
18
+ export declare const cleanArray: <T>(arrayObj: (T | null | undefined | Error)[] | undefined | null) => T[];
19
19
  export declare const downloadFileViaUrl: (url: string, filename: string) => void;
20
20
  export declare const getReadableDate: (d: number) => string;
21
21
  export declare const getReadableDateTime: (d: number | string | Date, dateTimeFormatOptions?: Intl.DateTimeFormatOptions) => string;
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+
1
2
  export { default as EltyVuePlugin } from './vue.plugin';
2
3
  export { default as EltyTailwindPlugin } from './tailwind.plugin';
3
4
  export * from './types';