maz-ui 3.5.0 → 3.6.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 (174) hide show
  1. package/components/MazAvatar.d.ts +156 -149
  2. package/components/MazAvatar.mjs +656 -0
  3. package/components/MazAvatar.umd.js +2 -0
  4. package/components/MazBackdrop.d.ts +89 -89
  5. package/components/MazBackdrop.mjs +140 -0
  6. package/components/MazBackdrop.umd.js +2 -0
  7. package/components/MazBadge.d.ts +73 -68
  8. package/components/MazBadge.mjs +61 -0
  9. package/components/MazBadge.umd.js +2 -0
  10. package/components/MazBottomSheet.d.ts +36 -29
  11. package/components/MazBottomSheet.mjs +553 -0
  12. package/components/MazBottomSheet.umd.js +2 -0
  13. package/components/MazBtn.d.ts +178 -171
  14. package/components/MazBtn.mjs +371 -0
  15. package/components/MazBtn.umd.js +2 -0
  16. package/components/MazCard.d.ts +194 -183
  17. package/components/MazCard.mjs +1390 -0
  18. package/components/MazCard.umd.js +2 -0
  19. package/components/MazCarousel.d.ts +24 -16
  20. package/components/MazCarousel.mjs +469 -0
  21. package/components/MazCarousel.umd.js +2 -0
  22. package/components/MazChart/includes.d.ts +11 -11
  23. package/components/MazChart.d.ts +114 -114
  24. package/components/MazChart.mjs +135 -0
  25. package/components/MazChart.umd.js +2 -0
  26. package/components/MazCheckbox.d.ts +54 -49
  27. package/components/MazCheckbox.mjs +86 -0
  28. package/components/MazCheckbox.umd.js +2 -0
  29. package/components/MazDialog.d.ts +40 -29
  30. package/components/MazDialog.mjs +566 -0
  31. package/components/MazDialog.umd.js +2 -0
  32. package/components/MazDialogPromise/use-maz-dialog-promise.d.ts +30 -30
  33. package/components/MazDialogPromise.d.ts +36 -28
  34. package/components/MazDialogPromise.mjs +692 -0
  35. package/components/MazDialogPromise.umd.js +2 -0
  36. package/components/MazDrawer.d.ts +69 -59
  37. package/components/MazDrawer.mjs +572 -0
  38. package/components/MazDrawer.umd.js +2 -0
  39. package/components/MazDropzone.d.ts +128 -128
  40. package/components/MazDropzone.mjs +369 -0
  41. package/components/MazDropzone.umd.js +2 -0
  42. package/components/MazGallery.d.ts +144 -144
  43. package/components/MazGallery.mjs +948 -0
  44. package/components/MazGallery.umd.js +2 -0
  45. package/components/MazIcon.d.ts +64 -66
  46. package/components/MazIcon.mjs +161 -0
  47. package/components/MazIcon.umd.js +2 -0
  48. package/components/MazInput.d.ts +276 -276
  49. package/components/MazInput.mjs +750 -0
  50. package/components/MazInput.umd.js +2 -0
  51. package/components/MazInputNumber.d.ts +65 -67
  52. package/components/MazInputNumber.mjs +857 -0
  53. package/components/MazInputNumber.umd.js +2 -0
  54. package/components/MazInputPrice.d.ts +69 -64
  55. package/components/MazInputPrice.mjs +889 -0
  56. package/components/MazInputPrice.umd.js +2 -0
  57. package/components/MazInputTags.d.ts +94 -96
  58. package/components/MazInputTags.mjs +904 -0
  59. package/components/MazInputTags.umd.js +2 -0
  60. package/components/MazLazyImg.d.ts +85 -80
  61. package/components/MazLazyImg.mjs +376 -0
  62. package/components/MazLazyImg.umd.js +2 -0
  63. package/components/MazPhoneNumberInput/constantes/locales.d.ts +12 -12
  64. package/components/MazPhoneNumberInput/types.d.ts +21 -21
  65. package/components/MazPhoneNumberInput/utils/countries-name-list-by-iso-code.d.ts +2 -2
  66. package/components/MazPhoneNumberInput/utils/index.d.ts +12 -12
  67. package/components/MazPhoneNumberInput.d.ts +253 -255
  68. package/components/MazPhoneNumberInput.mjs +1907 -0
  69. package/components/MazPhoneNumberInput.umd.js +2 -0
  70. package/components/MazPicker/MazPickerCalendar.vue.d.ts +135 -137
  71. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarDays.vue.d.ts +20 -22
  72. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +112 -114
  73. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +122 -124
  74. package/components/MazPicker/MazPickerCalendarSwitcher.vue.d.ts +36 -38
  75. package/components/MazPicker/MazPickerContainer.vue.d.ts +210 -212
  76. package/components/MazPicker/MazPickerFooter.vue.d.ts +16 -0
  77. package/components/MazPicker/MazPickerHeader.vue.d.ts +82 -84
  78. package/components/MazPicker/MazPickerMonthSwitcher.vue.d.ts +41 -43
  79. package/components/MazPicker/MazPickerShortcuts.vue.d.ts +60 -62
  80. package/components/MazPicker/MazPickerTime.vue.d.ts +127 -129
  81. package/components/MazPicker/MazPickerYearSwitcher.vue.d.ts +33 -35
  82. package/components/MazPicker/types.d.ts +15 -15
  83. package/components/MazPicker/utils.d.ts +54 -54
  84. package/components/MazPicker.d.ts +311 -313
  85. package/components/MazPicker.mjs +2942 -0
  86. package/components/MazPicker.umd.js +2 -0
  87. package/components/MazRadioButtons.d.ts +77 -69
  88. package/components/MazRadioButtons.mjs +80 -0
  89. package/components/MazRadioButtons.umd.js +2 -0
  90. package/components/MazSelect.d.ts +185 -176
  91. package/components/MazSelect.mjs +1085 -0
  92. package/components/MazSelect.umd.js +2 -0
  93. package/components/MazSlider/utils.d.ts +15 -15
  94. package/components/MazSlider.d.ts +94 -96
  95. package/components/MazSlider.mjs +377 -0
  96. package/components/MazSlider.umd.js +2 -0
  97. package/components/MazSpinner.d.ts +28 -30
  98. package/components/MazSpinner.mjs +59 -0
  99. package/components/MazSpinner.umd.js +2 -0
  100. package/components/MazStepper.d.ts +71 -73
  101. package/components/MazStepper.mjs +227 -0
  102. package/components/MazStepper.umd.js +2 -0
  103. package/components/MazSwitch.d.ts +54 -56
  104. package/components/MazSwitch.mjs +61 -0
  105. package/components/MazSwitch.umd.js +2 -0
  106. package/components/MazTabsBar.d.ts +47 -49
  107. package/components/MazTabsBar.mjs +470 -0
  108. package/components/MazTabsBar.umd.js +2 -0
  109. package/components/MazTabsContent.d.ts +21 -16
  110. package/components/MazTabsContent.mjs +89 -0
  111. package/components/MazTabsContent.umd.js +2 -0
  112. package/components/MazTabsContentItem.d.ts +19 -14
  113. package/components/MazTabsContentItem.mjs +61 -0
  114. package/components/MazTabsContentItem.umd.js +2 -0
  115. package/components/MazTextarea/textarea-autogrow.d.ts +9 -9
  116. package/components/MazTextarea.d.ts +123 -125
  117. package/components/MazTextarea.mjs +260 -0
  118. package/components/MazTextarea.umd.js +2 -0
  119. package/components/MazTransitionExpand.d.ts +9 -4
  120. package/components/MazTransitionExpand.mjs +62 -0
  121. package/components/MazTransitionExpand.umd.js +2 -0
  122. package/components/index.d.ts +33 -33
  123. package/components/index.mjs +35 -0
  124. package/components/index.umd.js +35 -0
  125. package/components/no_photo-410a8f01.mjs +4 -0
  126. package/components/types.d.ts +17 -17
  127. package/css/main.css +1 -1
  128. package/maz-ui.d.ts +234 -232
  129. package/modules/maz-ui.mjs +1892 -0
  130. package/modules/maz-ui.umd.js +2 -0
  131. package/modules/no_photo-410a8f01.mjs +4 -0
  132. package/package.json +43 -52
  133. package/tailwindcss/tailwind.config.js +6 -7
  134. package/tailwindcss/utils/colors.js +1 -3
  135. package/tailwindcss/variables/breakpoints.js +1 -2
  136. package/tailwindcss/variables/utilities.js +1 -2
  137. package/tailwindcss/variables/z-indexes.js +1 -1
  138. package/components/MazAvatar.js +0 -3
  139. package/components/MazBackdrop.js +0 -3
  140. package/components/MazBadge.js +0 -1
  141. package/components/MazBottomSheet.js +0 -3
  142. package/components/MazBtn.js +0 -3
  143. package/components/MazCard.js +0 -3
  144. package/components/MazCarousel.js +0 -3
  145. package/components/MazChart.js +0 -1
  146. package/components/MazCheckbox.js +0 -1
  147. package/components/MazDialog.js +0 -3
  148. package/components/MazDialogPromise.js +0 -3
  149. package/components/MazDrawer.js +0 -3
  150. package/components/MazDropzone.js +0 -3
  151. package/components/MazGallery.js +0 -3
  152. package/components/MazIcon.js +0 -3
  153. package/components/MazInput.js +0 -3
  154. package/components/MazInputNumber.js +0 -3
  155. package/components/MazInputPrice.js +0 -3
  156. package/components/MazInputTags.js +0 -3
  157. package/components/MazLazyImg.js +0 -3
  158. package/components/MazPhoneNumberInput.js +0 -3
  159. package/components/MazPicker.js +0 -3
  160. package/components/MazRadioButtons.js +0 -1
  161. package/components/MazSelect.js +0 -3
  162. package/components/MazSlider.js +0 -3
  163. package/components/MazSpinner.js +0 -1
  164. package/components/MazStepper.js +0 -1
  165. package/components/MazSwitch.js +0 -1
  166. package/components/MazTabsBar.js +0 -3
  167. package/components/MazTabsContent.js +0 -1
  168. package/components/MazTabsContentItem.js +0 -3
  169. package/components/MazTextarea.js +0 -1
  170. package/components/MazTransitionExpand.js +0 -1
  171. package/components/index.js +0 -35
  172. package/components/no_photo-a72545e4.js +0 -1
  173. package/modules/index.js +0 -3
  174. package/modules/no_photo-a72545e4.js +0 -1
@@ -1,16 +1,21 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- activeTab: {
3
- type: NumberConstructor;
4
- default: undefined;
5
- };
6
- }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
7
- [key: string]: any;
8
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
9
- activeTab: {
10
- type: NumberConstructor;
11
- default: undefined;
12
- };
13
- }>>, {
14
- activeTab: number;
15
- }>;
16
- export default _default;
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ activeTab: {
3
+ type: NumberConstructor;
4
+ default: undefined;
5
+ };
6
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
+ activeTab: {
8
+ type: NumberConstructor;
9
+ default: undefined;
10
+ };
11
+ }>>, {
12
+ activeTab: number;
13
+ }>, {
14
+ default: (_: {}) => any;
15
+ }>;
16
+ export default _default;
17
+ type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,89 @@
1
+ (function(){"use strict";try{if(typeof document!="undefined"){var e=document.createElement("style");e.appendChild(document.createTextNode("")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
+ import { defineComponent, ref, onBeforeMount, watch, openBlock, createElementBlock, normalizeClass, renderSlot } from "vue";
3
+ function debounce(fn, wait = 0, callFirst = false) {
4
+ let timeout;
5
+ let debouncedFn;
6
+ const clear = function() {
7
+ if (timeout) {
8
+ clearTimeout(timeout);
9
+ debouncedFn = void 0;
10
+ timeout = void 0;
11
+ }
12
+ };
13
+ const flush = function() {
14
+ const call = debouncedFn;
15
+ clear();
16
+ if (call) {
17
+ call();
18
+ }
19
+ };
20
+ const debounceWrapper = function(...args) {
21
+ if (!wait) {
22
+ return fn.apply(this, args);
23
+ }
24
+ const context = this;
25
+ const callNow = callFirst && !timeout;
26
+ clear();
27
+ debouncedFn = function() {
28
+ fn.apply(context, args);
29
+ };
30
+ timeout = setTimeout(function() {
31
+ timeout = void 0;
32
+ if (!callNow) {
33
+ const call = debouncedFn;
34
+ debouncedFn = void 0;
35
+ if (call !== void 0)
36
+ return call();
37
+ }
38
+ }, wait);
39
+ if (callNow) {
40
+ return debouncedFn();
41
+ }
42
+ };
43
+ debounceWrapper.cancel = clear;
44
+ debounceWrapper.flush = flush;
45
+ return debounceWrapper;
46
+ }
47
+ const _sfc_main = /* @__PURE__ */ defineComponent({
48
+ __name: "MazTabsContent",
49
+ props: {
50
+ activeTab: { type: Number, default: void 0 }
51
+ },
52
+ setup(__props) {
53
+ const props = __props;
54
+ const MazTabsContent = ref();
55
+ const currentTab = ref();
56
+ const hideOverflow = ref(false);
57
+ const setOverflowHiddenTemp = () => {
58
+ hideOverflow.value = true;
59
+ allowOverFlow();
60
+ };
61
+ const allowOverFlow = debounce(function() {
62
+ hideOverflow.value = false;
63
+ }, 700);
64
+ onBeforeMount(() => {
65
+ currentTab.value = 1;
66
+ });
67
+ watch(
68
+ () => [props.activeTab, currentTab.value],
69
+ (values) => {
70
+ setOverflowHiddenTemp();
71
+ if (values[0])
72
+ currentTab.value = values[0];
73
+ },
74
+ { immediate: true }
75
+ );
76
+ return (_ctx, _cache) => {
77
+ return openBlock(), createElementBlock("div", {
78
+ ref_key: "MazTabsContent",
79
+ ref: MazTabsContent,
80
+ class: normalizeClass(["m-tabs-content maz-relative", { "maz-overflow-hidden": hideOverflow.value }])
81
+ }, [
82
+ renderSlot(_ctx.$slots, "default")
83
+ ], 2);
84
+ };
85
+ }
86
+ });
87
+ export {
88
+ _sfc_main as default
89
+ };
@@ -0,0 +1,2 @@
1
+ (function(){"use strict";try{if(typeof document!="undefined"){var e=document.createElement("style");e.appendChild(document.createTextNode("")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("vue")):"function"==typeof define&&define.amd?define(["vue"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).MazTabsContent=t(e.Vue)}(this,(function(e){"use strict";return e.defineComponent({__name:"MazTabsContent",props:{activeTab:{type:Number,default:void 0}},setup(t){const n=t,o=e.ref(),i=e.ref(),u=e.ref(!1),a=function(e,t=0,n=!1){let o,i;const u=function(){o&&(clearTimeout(o),i=void 0,o=void 0)},a=function(...a){if(!t)return e.apply(this,a);const f=this,r=n&&!o;return u(),i=function(){e.apply(f,a)},o=setTimeout((function(){if(o=void 0,!r){const e=i;if(i=void 0,void 0!==e)return e()}}),t),r?i():void 0};return a.cancel=u,a.flush=function(){const e=i;u(),e&&e()},a}((function(){u.value=!1}),700);return e.onBeforeMount((()=>{i.value=1})),e.watch((()=>[n.activeTab,i.value]),(e=>{u.value=!0,a(),e[0]&&(i.value=e[0])}),{immediate:!0}),(t,n)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"MazTabsContent",ref:o,class:e.normalizeClass(["m-tabs-content maz-relative",{"maz-overflow-hidden":u.value}])},[e.renderSlot(t.$slots,"default")],2))}})}));
@@ -1,14 +1,19 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- tab: {
3
- type: NumberConstructor;
4
- required: true;
5
- };
6
- }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
7
- [key: string]: any;
8
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
9
- tab: {
10
- type: NumberConstructor;
11
- required: true;
12
- };
13
- }>>, {}>;
14
- export default _default;
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ tab: {
3
+ type: NumberConstructor;
4
+ required: true;
5
+ };
6
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
+ tab: {
8
+ type: NumberConstructor;
9
+ required: true;
10
+ };
11
+ }>>, {}>, {
12
+ default: (_: {}) => any;
13
+ }>;
14
+ export default _default;
15
+ type __VLS_WithTemplateSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,61 @@
1
+ (function(){"use strict";try{if(typeof document!="undefined"){var e=document.createElement("style");e.appendChild(document.createTextNode(".m-tabs-content-item[data-v-1ad27c6a]{position:relative;top:0px;width:100%;-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;-webkit-transition:all .5s cubic-bezier(.25,.8,.5,1);transition:all .5s cubic-bezier(.25,.8,.5,1)}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
+ import { defineComponent, ref, watch, computed, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, renderSlot, vShow, unref } from "vue";
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ __name: "MazTabsContentItem",
5
+ props: {
6
+ tab: { type: Number, required: true }
7
+ },
8
+ setup(__props) {
9
+ const props = __props;
10
+ const currentTab = ref();
11
+ const transitionName = ref("maz-tab-transition");
12
+ const MazTabsContentItem2 = ref();
13
+ watch(
14
+ () => currentTab.value,
15
+ async (value, oldValue) => {
16
+ if (typeof value === "number" && typeof oldValue === "number") {
17
+ const newTabIsBigger = oldValue < value;
18
+ transitionName.value = newTabIsBigger ? "maz-tab-transition" : "maz-tab-reverse-transition";
19
+ }
20
+ },
21
+ { immediate: true }
22
+ );
23
+ const itemTabNumber = computed(() => {
24
+ return props.tab - 1;
25
+ });
26
+ const isCurrentTab = computed(() => {
27
+ return currentTab.value === itemTabNumber.value;
28
+ });
29
+ return (_ctx, _cache) => {
30
+ return openBlock(), createBlock(Transition, {
31
+ name: transitionName.value,
32
+ tag: "div"
33
+ }, {
34
+ default: withCtx(() => [
35
+ withDirectives(createElementVNode("div", {
36
+ ref_key: "MazTabsContentItem",
37
+ ref: MazTabsContentItem2,
38
+ class: "m-tabs-content-item"
39
+ }, [
40
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
41
+ ], 512), [
42
+ [vShow, unref(isCurrentTab)]
43
+ ])
44
+ ]),
45
+ _: 3
46
+ }, 8, ["name"]);
47
+ };
48
+ }
49
+ });
50
+ const MazTabsContentItem_vue_vue_type_style_index_0_scoped_1ad27c6a_lang = "";
51
+ const _export_sfc = (sfc, props) => {
52
+ const target = sfc.__vccOpts || sfc;
53
+ for (const [key, val] of props) {
54
+ target[key] = val;
55
+ }
56
+ return target;
57
+ };
58
+ const MazTabsContentItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1ad27c6a"]]);
59
+ export {
60
+ MazTabsContentItem as default
61
+ };
@@ -0,0 +1,2 @@
1
+ (function(){"use strict";try{if(typeof document!="undefined"){var e=document.createElement("style");e.appendChild(document.createTextNode(".m-tabs-content-item[data-v-1ad27c6a]{position:relative;top:0px;width:100%;-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;-webkit-transition:all .5s cubic-bezier(.25,.8,.5,1);transition:all .5s cubic-bezier(.25,.8,.5,1)}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("vue")):"function"==typeof define&&define.amd?define(["vue"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).MazTabsContentItem=t(e.Vue)}(this,(function(e){"use strict";return((e,t)=>{const n=e.__vccOpts||e;for(const[o,a]of t)n[o]=a;return n})(e.defineComponent({__name:"MazTabsContentItem",props:{tab:{type:Number,required:!0}},setup(t){const n=t,o=e.ref(),a=e.ref("maz-tab-transition"),r=e.ref();e.watch((()=>o.value),(async(e,t)=>{if("number"==typeof e&&"number"==typeof t){const n=t<e;a.value=n?"maz-tab-transition":"maz-tab-reverse-transition"}}),{immediate:!0});const i=e.computed((()=>n.tab-1)),s=e.computed((()=>o.value===i.value));return(t,n)=>(e.openBlock(),e.createBlock(e.Transition,{name:a.value,tag:"div"},{default:e.withCtx((()=>[e.withDirectives(e.createElementVNode("div",{ref_key:"MazTabsContentItem",ref:r,class:"m-tabs-content-item"},[e.renderSlot(t.$slots,"default",{},void 0,!0)],512),[[e.vShow,e.unref(s)]])])),_:3},8,["name"]))}}),[["__scopeId","data-v-1ad27c6a"]])}));
@@ -1,9 +1,9 @@
1
- export declare class TextareaAutogrow {
2
- private element;
3
- constructor(element: HTMLTextAreaElement);
4
- private connect;
5
- disconnect(): void;
6
- private onFocus;
7
- private onResize;
8
- private autogrow;
9
- }
1
+ export declare class TextareaAutogrow {
2
+ private element;
3
+ constructor(element: HTMLTextAreaElement);
4
+ private connect;
5
+ disconnect(): void;
6
+ private onFocus;
7
+ private onResize;
8
+ private autogrow;
9
+ }
@@ -1,125 +1,123 @@
1
- import { type PropType } from 'vue';
2
- import type { Color } from './types';
3
- export type { Color } from './types';
4
- declare const _default: import("vue").DefineComponent<{
5
- modelValue: {
6
- type: StringConstructor;
7
- default: undefined;
8
- };
9
- id: {
10
- type: StringConstructor;
11
- default: undefined;
12
- };
13
- name: {
14
- type: StringConstructor;
15
- default: string;
16
- };
17
- label: {
18
- type: StringConstructor;
19
- default: undefined;
20
- };
21
- required: {
22
- type: BooleanConstructor;
23
- default: boolean;
24
- };
25
- disabled: {
26
- type: BooleanConstructor;
27
- default: boolean;
28
- };
29
- readonly: {
30
- type: BooleanConstructor;
31
- default: boolean;
32
- };
33
- error: {
34
- type: BooleanConstructor;
35
- default: boolean;
36
- };
37
- success: {
38
- type: BooleanConstructor;
39
- default: boolean;
40
- };
41
- warning: {
42
- type: BooleanConstructor;
43
- default: boolean;
44
- };
45
- hint: {
46
- type: StringConstructor;
47
- default: undefined;
48
- };
49
- color: {
50
- type: PropType<Color>;
51
- default: string;
52
- validator: (value: string) => boolean;
53
- };
54
- }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
55
- [key: string]: any;
56
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "focus" | "blur" | "change")[], "input" | "focus" | "blur" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
57
- modelValue: {
58
- type: StringConstructor;
59
- default: undefined;
60
- };
61
- id: {
62
- type: StringConstructor;
63
- default: undefined;
64
- };
65
- name: {
66
- type: StringConstructor;
67
- default: string;
68
- };
69
- label: {
70
- type: StringConstructor;
71
- default: undefined;
72
- };
73
- required: {
74
- type: BooleanConstructor;
75
- default: boolean;
76
- };
77
- disabled: {
78
- type: BooleanConstructor;
79
- default: boolean;
80
- };
81
- readonly: {
82
- type: BooleanConstructor;
83
- default: boolean;
84
- };
85
- error: {
86
- type: BooleanConstructor;
87
- default: boolean;
88
- };
89
- success: {
90
- type: BooleanConstructor;
91
- default: boolean;
92
- };
93
- warning: {
94
- type: BooleanConstructor;
95
- default: boolean;
96
- };
97
- hint: {
98
- type: StringConstructor;
99
- default: undefined;
100
- };
101
- color: {
102
- type: PropType<Color>;
103
- default: string;
104
- validator: (value: string) => boolean;
105
- };
106
- }>> & {
107
- onInput?: ((...args: any[]) => any) | undefined;
108
- onFocus?: ((...args: any[]) => any) | undefined;
109
- onBlur?: ((...args: any[]) => any) | undefined;
110
- onChange?: ((...args: any[]) => any) | undefined;
111
- }, {
112
- id: string;
113
- name: string;
114
- disabled: boolean;
115
- required: boolean;
116
- success: boolean;
117
- warning: boolean;
118
- modelValue: string;
119
- label: string;
120
- readonly: boolean;
121
- error: boolean;
122
- hint: string;
123
- color: Color;
124
- }>;
125
- export default _default;
1
+ import { type PropType } from 'vue';
2
+ import type { Color } from './types';
3
+ export type { Color } from './types';
4
+ declare const _default: import("vue").DefineComponent<{
5
+ modelValue: {
6
+ type: StringConstructor;
7
+ default: undefined;
8
+ };
9
+ id: {
10
+ type: StringConstructor;
11
+ default: undefined;
12
+ };
13
+ name: {
14
+ type: StringConstructor;
15
+ default: string;
16
+ };
17
+ label: {
18
+ type: StringConstructor;
19
+ default: undefined;
20
+ };
21
+ required: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ };
25
+ disabled: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ };
29
+ readonly: {
30
+ type: BooleanConstructor;
31
+ default: boolean;
32
+ };
33
+ error: {
34
+ type: BooleanConstructor;
35
+ default: boolean;
36
+ };
37
+ success: {
38
+ type: BooleanConstructor;
39
+ default: boolean;
40
+ };
41
+ warning: {
42
+ type: BooleanConstructor;
43
+ default: boolean;
44
+ };
45
+ hint: {
46
+ type: StringConstructor;
47
+ default: undefined;
48
+ };
49
+ color: {
50
+ type: PropType<Color>;
51
+ default: string;
52
+ validator: (value: string) => boolean;
53
+ };
54
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "blur" | "change" | "focus")[], "input" | "blur" | "change" | "focus", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
55
+ modelValue: {
56
+ type: StringConstructor;
57
+ default: undefined;
58
+ };
59
+ id: {
60
+ type: StringConstructor;
61
+ default: undefined;
62
+ };
63
+ name: {
64
+ type: StringConstructor;
65
+ default: string;
66
+ };
67
+ label: {
68
+ type: StringConstructor;
69
+ default: undefined;
70
+ };
71
+ required: {
72
+ type: BooleanConstructor;
73
+ default: boolean;
74
+ };
75
+ disabled: {
76
+ type: BooleanConstructor;
77
+ default: boolean;
78
+ };
79
+ readonly: {
80
+ type: BooleanConstructor;
81
+ default: boolean;
82
+ };
83
+ error: {
84
+ type: BooleanConstructor;
85
+ default: boolean;
86
+ };
87
+ success: {
88
+ type: BooleanConstructor;
89
+ default: boolean;
90
+ };
91
+ warning: {
92
+ type: BooleanConstructor;
93
+ default: boolean;
94
+ };
95
+ hint: {
96
+ type: StringConstructor;
97
+ default: undefined;
98
+ };
99
+ color: {
100
+ type: PropType<Color>;
101
+ default: string;
102
+ validator: (value: string) => boolean;
103
+ };
104
+ }>> & {
105
+ onFocus?: ((...args: any[]) => any) | undefined;
106
+ onBlur?: ((...args: any[]) => any) | undefined;
107
+ onChange?: ((...args: any[]) => any) | undefined;
108
+ onInput?: ((...args: any[]) => any) | undefined;
109
+ }, {
110
+ label: string;
111
+ error: boolean;
112
+ success: boolean;
113
+ warning: boolean;
114
+ readonly: boolean;
115
+ color: Color;
116
+ required: boolean;
117
+ name: string;
118
+ modelValue: string;
119
+ disabled: boolean;
120
+ id: string;
121
+ hint: string;
122
+ }>;
123
+ export default _default;