@7pmlabs/design-system 0.8.0 → 0.8.2

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 (132) hide show
  1. package/dist/design-system10.mjs +9 -9
  2. package/dist/design-system10.mjs.map +1 -1
  3. package/dist/design-system100.mjs +6 -68
  4. package/dist/design-system100.mjs.map +1 -1
  5. package/dist/design-system101.mjs +67 -6
  6. package/dist/design-system101.mjs.map +1 -1
  7. package/dist/design-system102.mjs +16 -16
  8. package/dist/design-system105.mjs +9 -9
  9. package/dist/design-system106.mjs.map +1 -1
  10. package/dist/design-system107.mjs.map +1 -1
  11. package/dist/design-system108.mjs +16 -16
  12. package/dist/design-system109.mjs +16 -16
  13. package/dist/design-system11.mjs.map +1 -1
  14. package/dist/design-system111.mjs +16 -16
  15. package/dist/design-system111.mjs.map +1 -1
  16. package/dist/design-system112.mjs.map +1 -1
  17. package/dist/design-system114.mjs.map +1 -1
  18. package/dist/design-system117.mjs +1 -1
  19. package/dist/design-system118.mjs +5 -5
  20. package/dist/design-system118.mjs.map +1 -1
  21. package/dist/design-system12.mjs.map +1 -1
  22. package/dist/design-system123.mjs.map +1 -1
  23. package/dist/design-system125.mjs +7 -4
  24. package/dist/design-system125.mjs.map +1 -1
  25. package/dist/design-system126.mjs +5 -8
  26. package/dist/design-system126.mjs.map +1 -1
  27. package/dist/design-system127.mjs +6 -6
  28. package/dist/design-system127.mjs.map +1 -1
  29. package/dist/design-system13.mjs.map +1 -1
  30. package/dist/design-system14.mjs.map +1 -1
  31. package/dist/design-system15.mjs.map +1 -1
  32. package/dist/design-system16.mjs +1 -1
  33. package/dist/design-system16.mjs.map +1 -1
  34. package/dist/design-system17.mjs +92 -92
  35. package/dist/design-system17.mjs.map +1 -1
  36. package/dist/design-system18.mjs +2 -2
  37. package/dist/design-system18.mjs.map +1 -1
  38. package/dist/design-system19.mjs +64 -64
  39. package/dist/design-system19.mjs.map +1 -1
  40. package/dist/design-system20.mjs +78 -78
  41. package/dist/design-system20.mjs.map +1 -1
  42. package/dist/design-system21.mjs.map +1 -1
  43. package/dist/design-system22.mjs.map +1 -1
  44. package/dist/design-system23.mjs.map +1 -1
  45. package/dist/design-system24.mjs.map +1 -1
  46. package/dist/design-system25.mjs.map +1 -1
  47. package/dist/design-system40.mjs +46 -46
  48. package/dist/design-system40.mjs.map +1 -1
  49. package/dist/design-system43.mjs +10 -10
  50. package/dist/design-system45.mjs.map +1 -1
  51. package/dist/design-system49.mjs +2 -2
  52. package/dist/design-system49.mjs.map +1 -1
  53. package/dist/design-system51.mjs +68 -68
  54. package/dist/design-system51.mjs.map +1 -1
  55. package/dist/design-system54.mjs.map +1 -1
  56. package/dist/design-system57.mjs.map +1 -1
  57. package/dist/design-system64.mjs +10 -10
  58. package/dist/design-system64.mjs.map +1 -1
  59. package/dist/design-system66.mjs.map +1 -1
  60. package/dist/design-system72.mjs.map +1 -1
  61. package/dist/design-system76.mjs.map +1 -1
  62. package/dist/design-system79.mjs.map +1 -1
  63. package/dist/design-system83.mjs +43 -43
  64. package/dist/design-system83.mjs.map +1 -1
  65. package/dist/design-system85.mjs +75 -75
  66. package/dist/design-system85.mjs.map +1 -1
  67. package/dist/design-system88.mjs.map +1 -1
  68. package/dist/design-system90.mjs.map +1 -1
  69. package/dist/design-system95.mjs +42 -42
  70. package/dist/design-system95.mjs.map +1 -1
  71. package/dist/design-system96.mjs +2 -2
  72. package/dist/design-system96.mjs.map +1 -1
  73. package/dist/design-system97.mjs +1 -1
  74. package/dist/design-system97.mjs.map +1 -1
  75. package/dist/design-system98.mjs +12 -12
  76. package/dist/design-system98.mjs.map +1 -1
  77. package/dist/design-system99.mjs +63 -62
  78. package/dist/design-system99.mjs.map +1 -1
  79. package/dist/style.css +1 -1
  80. package/dist/types/components/BBreadcrumb/BBreadcrumb.vue.d.ts +4 -4
  81. package/dist/types/components/BBreadcrumb/BBreadcrumbSeparator.vue.d.ts +1 -1
  82. package/dist/types/components/BButton.vue.d.ts +4 -4
  83. package/dist/types/components/BCarousel/BCarousel.vue.d.ts +6 -6
  84. package/dist/types/components/BCarousel/BCarouselItem.vue.d.ts +1 -1
  85. package/dist/types/components/BCheckbox.vue.d.ts +5 -5
  86. package/dist/types/components/BCollapse.vue.d.ts +3 -3
  87. package/dist/types/components/BCurrencyField.vue.d.ts +6 -6
  88. package/dist/types/components/BDatePicker/BDatePicker.vue.d.ts +6 -6
  89. package/dist/types/components/BDatePicker/BDatePickerButtonNext.vue.d.ts +1 -1
  90. package/dist/types/components/BDatePicker/BDatePickerButtonPrevious.vue.d.ts +1 -1
  91. package/dist/types/components/BDatePicker/BDatePickerGridDate.vue.d.ts +3 -3
  92. package/dist/types/components/BDatePicker/BDatePickerGridDateRange.vue.d.ts +3 -3
  93. package/dist/types/components/BDatePicker/BDatePickerGridMonth.vue.d.ts +3 -3
  94. package/dist/types/components/BDatePicker/BDatePickerGridYear.vue.d.ts +3 -3
  95. package/dist/types/components/BDatePicker/BDatePickerHeading.vue.d.ts +1 -1
  96. package/dist/types/components/BDatePicker/BDatePickerIcon.vue.d.ts +1 -1
  97. package/dist/types/components/BDropdown/BDropdown.vue.d.ts +5 -5
  98. package/dist/types/components/BDropdown/BDropdownContent.vue.d.ts +1 -1
  99. package/dist/types/components/BDropdown/BDropdownItem.vue.d.ts +4 -4
  100. package/dist/types/components/BErrorMessage.vue.d.ts +4 -4
  101. package/dist/types/components/BImagePicker/BImagePicker.vue.d.ts +7 -7
  102. package/dist/types/components/BImagePicker/BImagePickerCloseButton.vue.d.ts +1 -1
  103. package/dist/types/components/BImagePicker/BImagePreview.vue.d.ts +3 -3
  104. package/dist/types/components/BLabel.vue.d.ts +5 -5
  105. package/dist/types/components/BLoadingBar.vue.d.ts +4 -4
  106. package/dist/types/components/BLoadingOverlay.vue.d.ts +4 -4
  107. package/dist/types/components/BModal/BModal.vue.d.ts +5 -5
  108. package/dist/types/components/BModal/BModalBody.vue.d.ts +1 -1
  109. package/dist/types/components/BModal/BModalContainer.vue.d.ts +5 -5
  110. package/dist/types/components/BModal/BModalFooter.vue.d.ts +1 -1
  111. package/dist/types/components/BModal/BModalHeader.vue.d.ts +1 -1
  112. package/dist/types/components/BMultiSelect.vue.d.ts +9 -9
  113. package/dist/types/components/BOtpField/BOtpField.vue.d.ts +7 -7
  114. package/dist/types/components/BOtpField/BOtpFieldBox.vue.d.ts +7 -7
  115. package/dist/types/components/BOverlay.vue.d.ts +1 -1
  116. package/dist/types/components/BPagination.vue.d.ts +5 -5
  117. package/dist/types/components/BRadio.vue.d.ts +6 -6
  118. package/dist/types/components/BSelect.vue.d.ts +9 -9
  119. package/dist/types/components/BStepper.vue.d.ts +3 -3
  120. package/dist/types/components/BSwitch.vue.d.ts +5 -5
  121. package/dist/types/components/BTabs/BTab.vue.d.ts +1 -1
  122. package/dist/types/components/BTabs/BTabs.vue.d.ts +5 -5
  123. package/dist/types/components/BTextField.vue.d.ts +8 -8
  124. package/dist/types/components/BTextarea.vue.d.ts +7 -7
  125. package/dist/types/components/BTimeline/BTimeline.vue.d.ts +1 -1
  126. package/dist/types/components/BTimeline/BTimelineItem.vue.d.ts +1 -1
  127. package/dist/types/components/BToast/BToast.vue.d.ts +3 -3
  128. package/dist/types/components/BToast/BToastItem.vue.d.ts +6 -6
  129. package/dist/types/components/BTooltip.vue.d.ts +6 -6
  130. package/dist/types/composables/Validation.d.ts +6 -1
  131. package/dist/types/constants/Common.d.ts +2 -2
  132. package/package.json +3 -3
@@ -24,7 +24,7 @@ export interface BRadioProps {
24
24
  required?: boolean;
25
25
  requiredErrorMessage?: string;
26
26
  }
27
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BRadioProps>, {
27
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BRadioProps>, {
28
28
  inputId: string;
29
29
  modelValue: string;
30
30
  inputName: string;
@@ -36,7 +36,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
36
36
  validationRules: any;
37
37
  required: boolean;
38
38
  requiredErrorMessage: string;
39
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
39
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
40
40
  change: () => void;
41
41
  "update:modelValue": (value: string | number | boolean) => void;
42
42
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BRadioProps>, {
@@ -51,22 +51,22 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
51
51
  validationRules: any;
52
52
  required: boolean;
53
53
  requiredErrorMessage: string;
54
- }>>> & {
54
+ }>>> & Readonly<{
55
55
  onChange?: () => any;
56
56
  "onUpdate:modelValue"?: (value: string | number | boolean) => any;
57
- }, {
57
+ }>, {
58
58
  disabled: boolean;
59
+ required: boolean;
59
60
  label: string;
60
61
  inputId: string;
61
62
  modelValue: string | number | boolean;
62
63
  labelOrphan: boolean;
63
- required: boolean;
64
64
  validationRules: ValidationRule[];
65
65
  requiredErrorMessage: string;
66
66
  hideDetails: boolean;
67
67
  inputName: string;
68
68
  labelCssClass: string;
69
- }, {}>, {
69
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
70
70
  default?(_: {}): any;
71
71
  }>;
72
72
  export default _default;
@@ -27,7 +27,7 @@ export interface BSelectProps {
27
27
  */
28
28
  allowInput?: boolean;
29
29
  }
30
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BSelectProps>, {
30
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BSelectProps>, {
31
31
  inputId: string;
32
32
  label: string;
33
33
  disabled: boolean;
@@ -39,10 +39,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
39
39
  requiredErrorMessage: string;
40
40
  hideDetails: boolean;
41
41
  allowInput: boolean;
42
- }>, {
42
+ }>>, {
43
43
  validate: () => void;
44
- selectMenu: import("vue").Ref<boolean>;
45
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
44
+ selectMenu: import("vue").Ref<boolean, boolean>;
45
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
46
46
  change: (value: string | number) => void;
47
47
  open: () => void;
48
48
  close: () => void;
@@ -60,17 +60,17 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
60
60
  requiredErrorMessage: string;
61
61
  hideDetails: boolean;
62
62
  allowInput: boolean;
63
- }>>> & {
63
+ }>>> & Readonly<{
64
64
  onChange?: (value: string | number) => any;
65
+ onClose?: () => any;
65
66
  "onUpdate:modelValue"?: (value: string | number) => any;
66
67
  onOpen?: () => any;
67
- onClose?: () => any;
68
68
  "onChange:input"?: (inputValue: string) => any;
69
- }, {
69
+ }>, {
70
70
  disabled: boolean;
71
+ required: boolean;
71
72
  label: string;
72
73
  inputId: string;
73
- required: boolean;
74
74
  validationRules: ValidationRule[];
75
75
  placeholder: string;
76
76
  requiredErrorMessage: string;
@@ -78,7 +78,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
78
78
  valueCssClass: string;
79
79
  menuCssClass: string;
80
80
  allowInput: boolean;
81
- }, {}>;
81
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
82
82
  export default _default;
83
83
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
84
84
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -9,11 +9,11 @@ interface Props {
9
9
  */
10
10
  modelValue: number;
11
11
  }
12
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
13
  "update:modelValue": (value: number) => void;
14
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {}>>> & {
14
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {}>>> & Readonly<{
15
15
  "onUpdate:modelValue"?: (value: number) => any;
16
- }, {}, {}>, Partial<Record<`step-header-${number}`, (_: {
16
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Partial<Record<`step-header-${number}`, (_: {
17
17
  text: string;
18
18
  }) => any>> & Partial<Record<`step-content-${number}`, (_: {}) => any>>>;
19
19
  export default _default;
@@ -8,13 +8,13 @@ export interface BCheckboxProps {
8
8
  labelOrphan?: boolean;
9
9
  disabled?: boolean;
10
10
  }
11
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BCheckboxProps>, {
11
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BCheckboxProps>, {
12
12
  inputId: string;
13
13
  modelValue: boolean;
14
14
  label: string;
15
15
  labelOrphan: boolean;
16
16
  disabled: boolean;
17
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
18
  "update:modelValue": (value: boolean | (string | number)[]) => void;
19
19
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BCheckboxProps>, {
20
20
  inputId: string;
@@ -22,15 +22,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
22
22
  label: string;
23
23
  labelOrphan: boolean;
24
24
  disabled: boolean;
25
- }>>> & {
25
+ }>>> & Readonly<{
26
26
  "onUpdate:modelValue"?: (value: boolean | (string | number)[]) => any;
27
- }, {
27
+ }>, {
28
28
  disabled: boolean;
29
29
  label: string;
30
30
  inputId: string;
31
31
  modelValue: boolean | (string | number)[];
32
32
  labelOrphan: boolean;
33
- }, {}>, {
33
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
34
34
  default?(_: {}): any;
35
35
  }>;
36
36
  export default _default;
@@ -1,4 +1,4 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
2
2
  default?(_: {}): any;
3
3
  }>;
4
4
  export default _default;
@@ -13,20 +13,20 @@ export interface BTabsProps {
13
13
  */
14
14
  headerCssClass?: string;
15
15
  }
16
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BTabsProps>, {
16
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BTabsProps>, {
17
17
  modelValue: any;
18
18
  headerCssClass: string;
19
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
20
  "update:modelValue": (value: number) => void;
21
21
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BTabsProps>, {
22
22
  modelValue: any;
23
23
  headerCssClass: string;
24
- }>>> & {
24
+ }>>> & Readonly<{
25
25
  "onUpdate:modelValue"?: (value: number) => any;
26
- }, {
26
+ }>, {
27
27
  modelValue: number;
28
28
  headerCssClass: string;
29
- }, {}>, {
29
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
30
30
  "headers-prepend"?(_: {}): any;
31
31
  "headers-append"?(_: {}): any;
32
32
  default?(_: {}): any;
@@ -34,7 +34,7 @@ export interface BTextFieldProps {
34
34
  */
35
35
  inputmode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
36
36
  }
37
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BTextFieldProps>, {
37
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BTextFieldProps>, {
38
38
  inputId: string;
39
39
  inputCssClass: string;
40
40
  validationRules: any;
@@ -49,11 +49,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
49
49
  hideDetails: boolean;
50
50
  inputHandler: any;
51
51
  inputmode: string;
52
- }>, {
52
+ }>>, {
53
53
  validate: () => void;
54
54
  focus: () => void;
55
55
  blur: () => void;
56
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
56
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
57
57
  focus: () => void;
58
58
  blur: () => void;
59
59
  "press:enter": () => void;
@@ -73,17 +73,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
73
73
  hideDetails: boolean;
74
74
  inputHandler: any;
75
75
  inputmode: string;
76
- }>>> & {
77
- onFocus?: () => any;
76
+ }>>> & Readonly<{
78
77
  onBlur?: () => any;
78
+ onFocus?: () => any;
79
79
  "onUpdate:modelValue"?: (value: string | number) => any;
80
80
  "onPress:enter"?: () => any;
81
- }, {
81
+ }>, {
82
82
  type: string;
83
83
  disabled: boolean;
84
+ required: boolean;
84
85
  label: string;
85
86
  inputId: string;
86
- required: boolean;
87
87
  inputCssClass: string;
88
88
  validationRules: ValidationRule[];
89
89
  placeholder: string;
@@ -93,7 +93,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
93
93
  hideDetails: boolean;
94
94
  inputHandler: any;
95
95
  inputmode: "text" | "search" | "email" | "tel" | "url" | "none" | "numeric" | "decimal";
96
- }, {}>, {
96
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
97
97
  prependIcon?(_: {}): any;
98
98
  appendIcon?(_: {}): any;
99
99
  }>;
@@ -26,7 +26,7 @@ export interface BTextareaProps {
26
26
  */
27
27
  hideDetails?: boolean;
28
28
  }
29
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BTextareaProps>, {
29
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BTextareaProps>, {
30
30
  inputId: string;
31
31
  inputCssClass: string;
32
32
  validationRules: any;
@@ -39,9 +39,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
39
39
  required: boolean;
40
40
  requiredErrorMessage: string;
41
41
  hideDetails: boolean;
42
- }>, {
42
+ }>>, {
43
43
  validate: () => void;
44
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
44
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
45
45
  "update:modelValue": (value: string) => void;
46
46
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BTextareaProps>, {
47
47
  inputId: string;
@@ -56,13 +56,13 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
56
56
  required: boolean;
57
57
  requiredErrorMessage: string;
58
58
  hideDetails: boolean;
59
- }>>> & {
59
+ }>>> & Readonly<{
60
60
  "onUpdate:modelValue"?: (value: string) => any;
61
- }, {
61
+ }>, {
62
62
  disabled: boolean;
63
+ required: boolean;
63
64
  label: string;
64
65
  inputId: string;
65
- required: boolean;
66
66
  inputCssClass: string;
67
67
  validationRules: ValidationRule[];
68
68
  placeholder: string;
@@ -71,7 +71,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
71
71
  readonly: boolean;
72
72
  hideDetails: boolean;
73
73
  rows: number;
74
- }, {}>;
74
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
75
75
  export default _default;
76
76
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
77
77
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,4 +1,4 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
2
2
  default?(_: {}): any;
3
3
  }>;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
2
2
  default?(_: {}): any;
3
3
  }>;
4
4
  export default _default;
@@ -2,11 +2,11 @@ import type { BToastItemModel } from '@/types';
2
2
  export interface Props {
3
3
  modelValue: BToastItemModel[];
4
4
  }
5
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
6
  "update:modelValue": (value: BToastItemModel[]) => void;
7
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {}>>> & {
7
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {}>>> & Readonly<{
8
8
  "onUpdate:modelValue"?: (value: BToastItemModel[]) => any;
9
- }, {}, {}>;
9
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
10
10
  export default _default;
11
11
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
12
12
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -4,23 +4,23 @@ export interface Props {
4
4
  type?: `${BToastItemType}`;
5
5
  hideClose?: boolean;
6
6
  }
7
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
7
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
8
8
  text: string;
9
9
  type: BToastItemType;
10
10
  hideClose: boolean;
11
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
12
  close: () => void;
13
13
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
14
14
  text: string;
15
15
  type: BToastItemType;
16
16
  hideClose: boolean;
17
- }>>> & {
17
+ }>>> & Readonly<{
18
18
  onClose?: () => any;
19
- }, {
20
- type: "default" | "success" | "error";
19
+ }>, {
20
+ type: "default" | "error" | "success";
21
21
  text: string;
22
22
  hideClose: boolean;
23
- }, {}>, {
23
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
24
24
  default?(_: {}): any;
25
25
  }>;
26
26
  export default _default;
@@ -10,23 +10,23 @@ export interface BTooltipProps {
10
10
  */
11
11
  openEvent?: `${BTooltipOpenEvent}`;
12
12
  }
13
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BTooltipProps>, {
13
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BTooltipProps>, {
14
14
  modelValue: boolean;
15
15
  position: BTooltipPosition;
16
16
  openEvent: BTooltipOpenEvent;
17
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
18
  "update:modelValue": (value: boolean) => void;
19
19
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BTooltipProps>, {
20
20
  modelValue: boolean;
21
21
  position: BTooltipPosition;
22
22
  openEvent: BTooltipOpenEvent;
23
- }>>> & {
23
+ }>>> & Readonly<{
24
24
  "onUpdate:modelValue"?: (value: boolean) => any;
25
- }, {
25
+ }>, {
26
26
  modelValue: boolean;
27
27
  position: "top" | "bottom";
28
- openEvent: "focus" | "click" | "hover";
29
- }, {}>, {
28
+ openEvent: "click" | "focus" | "hover";
29
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
30
30
  toggle?(_: {}): any;
31
31
  default?(_: {}): any;
32
32
  }>;
@@ -19,7 +19,7 @@ export interface ValidationResult {
19
19
  * @returns
20
20
  */
21
21
  export declare function useValidationForm(): {
22
- validationForm: Record<string, Ref<ValidationResult>>;
22
+ validationForm: Record<string, Ref<ValidationResult, ValidationResult>>;
23
23
  validateAll: () => boolean;
24
24
  resetAll: () => void;
25
25
  };
@@ -37,5 +37,10 @@ export declare function useValidationField(key: string, fieldValue: Ref<any>, va
37
37
  fieldValue: any;
38
38
  valid: boolean;
39
39
  errorMessage: ValidationErrorMessageFunction;
40
+ }, ValidationResult | {
41
+ validate: () => void;
42
+ fieldValue: any;
43
+ valid: boolean;
44
+ errorMessage: ValidationErrorMessageFunction;
40
45
  }>;
41
46
  };
@@ -3,8 +3,8 @@ import type { ValidationResult } from '@/composables/Validation';
3
3
  export declare const DateDelimiter = "/";
4
4
  export declare const RequiredSymbol = "*";
5
5
  export declare const PIKey: {
6
- FormValidation: InjectionKey<Record<string, Ref<ValidationResult>>>;
6
+ FormValidation: InjectionKey<Record<string, Ref<ValidationResult, ValidationResult>>>;
7
7
  CloseDropdown: InjectionKey<() => void>;
8
- Carousel: InjectionKey<Ref<HTMLDivElement[]>>;
8
+ Carousel: InjectionKey<Ref<HTMLDivElement[], HTMLDivElement[]>>;
9
9
  };
10
10
  export declare const FileImageTypes: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@7pmlabs/design-system",
3
- "version": "0.8.0",
3
+ "version": "0.8.2",
4
4
  "homepage": "https://github.com/ngphanducthinh/design-system",
5
5
  "sideEffects": [
6
6
  "style.css"
@@ -51,8 +51,8 @@
51
51
  "@vueuse/core": "^10.9.0",
52
52
  "lodash-es": "^4.17.21",
53
53
  "moment-mini": "^2.29.4",
54
- "uuid": "^9.0.0",
55
- "vue": "^3.0.0",
54
+ "uuid": "^10.0.0",
55
+ "vue": "^3.5.12",
56
56
  "vue-i18n": "^9.2.2"
57
57
  },
58
58
  "devDependencies": {