@open-xamu-co/ui-components-vue 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/LICENSE +7 -0
  3. package/README.md +3 -0
  4. package/dist/_virtual/chunk_h.cjs.js +1 -0
  5. package/dist/_virtual/chunk_h.es.js +4372 -0
  6. package/dist/_virtual/index.cjs.js +1 -0
  7. package/dist/_virtual/index.es.js +39 -0
  8. package/dist/_virtual/lodash.cjs.js +27 -0
  9. package/dist/_virtual/lodash.es.js +3686 -0
  10. package/dist/_virtual/nanoid.cjs.js +1 -0
  11. package/dist/_virtual/nanoid.es.js +4 -0
  12. package/dist/_virtual/sweetalert2.cjs.js +65 -0
  13. package/dist/_virtual/sweetalert2.es.js +1415 -0
  14. package/dist/_virtual/validator.cjs.js +7 -0
  15. package/dist/_virtual/validator.es.js +4508 -0
  16. package/dist/components/Dropdown.vue.cjs +1 -0
  17. package/dist/components/Dropdown.vue.d.ts +64 -0
  18. package/dist/components/Dropdown.vue.mjs +9 -0
  19. package/dist/components/Modal.vue.cjs +1 -0
  20. package/dist/components/Modal.vue.d.ts +112 -0
  21. package/dist/components/Modal.vue.mjs +9 -0
  22. package/dist/components/Slider.vue.cjs +1 -0
  23. package/dist/components/Slider.vue.d.ts +110 -0
  24. package/dist/components/Slider.vue.mjs +9 -0
  25. package/dist/components/Table.vue.cjs +1 -0
  26. package/dist/components/Table.vue.d.ts +98 -0
  27. package/dist/components/Table.vue.mjs +9 -0
  28. package/dist/components/action/Button.vue.cjs +1 -0
  29. package/dist/components/action/Button.vue.d.ts +149 -0
  30. package/dist/components/action/Button.vue.mjs +9 -0
  31. package/dist/components/action/ButtonLink.vue.cjs +1 -0
  32. package/dist/components/action/ButtonLink.vue.d.ts +155 -0
  33. package/dist/components/action/ButtonLink.vue.mjs +9 -0
  34. package/dist/components/action/ButtonToggle.vue.cjs +1 -0
  35. package/dist/components/action/ButtonToggle.vue.d.ts +155 -0
  36. package/dist/components/action/ButtonToggle.vue.mjs +9 -0
  37. package/dist/components/action/Link.vue.cjs +1 -0
  38. package/dist/components/action/Link.vue.d.ts +155 -0
  39. package/dist/components/action/Link.vue.mjs +9 -0
  40. package/dist/components/base/Action.vue.cjs +1 -0
  41. package/dist/components/base/Action.vue.d.ts +95 -0
  42. package/dist/components/base/Action.vue.mjs +9 -0
  43. package/dist/components/base/Img.vue.cjs +1 -0
  44. package/dist/components/base/Img.vue.d.ts +48 -0
  45. package/dist/components/base/Img.vue.mjs +9 -0
  46. package/dist/components/base/Input.vue.cjs +1 -0
  47. package/dist/components/base/Input.vue.d.ts +71 -0
  48. package/dist/components/base/Input.vue.mjs +9 -0
  49. package/dist/components/base/Select.vue.cjs +1 -0
  50. package/dist/components/base/Select.vue.d.ts +61 -0
  51. package/dist/components/base/Select.vue.mjs +9 -0
  52. package/dist/components/base/Wrapper.vue.cjs +1 -0
  53. package/dist/components/base/Wrapper.vue.d.ts +42 -0
  54. package/dist/components/base/Wrapper.vue.mjs +9 -0
  55. package/dist/components/box/Action.vue.cjs +1 -0
  56. package/dist/components/box/Action.vue.d.ts +170 -0
  57. package/dist/components/box/Action.vue.mjs +9 -0
  58. package/dist/components/box/Message.vue.cjs +1 -0
  59. package/dist/components/box/Message.vue.d.ts +143 -0
  60. package/dist/components/box/Message.vue.mjs +9 -0
  61. package/dist/components/form/Input.vue.cjs +1 -0
  62. package/dist/components/form/Input.vue.d.ts +49 -0
  63. package/dist/components/form/Input.vue.mjs +9 -0
  64. package/dist/components/form/InputCountriesAPI.vue.d.ts +45 -0
  65. package/dist/components/form/InputLoop.vue.d.ts +44 -0
  66. package/dist/components/form/InputNValues.vue.d.ts +34 -0
  67. package/dist/components/form/InputOptions.vue.d.ts +22 -0
  68. package/dist/components/form/Simple.vue.cjs +1 -0
  69. package/dist/components/form/Simple.vue.d.ts +45 -0
  70. package/dist/components/form/Simple.vue.mjs +9 -0
  71. package/dist/components/form/Stages.vue.cjs +1 -0
  72. package/dist/components/form/Stages.vue.d.ts +77 -0
  73. package/dist/components/form/Stages.vue.mjs +9 -0
  74. package/dist/components/icon/Fa.vue.cjs +1 -0
  75. package/dist/components/icon/Fa.vue.d.ts +47 -0
  76. package/dist/components/icon/Fa.vue.mjs +9 -0
  77. package/dist/components/icon/Simple.vue.cjs +1 -0
  78. package/dist/components/icon/Simple.vue.d.ts +29 -0
  79. package/dist/components/icon/Simple.vue.mjs +9 -0
  80. package/dist/components/index.cjs +1 -0
  81. package/dist/components/index.d.ts +32 -0
  82. package/dist/components/index.mjs +40 -0
  83. package/dist/components/input/Color.vue.d.ts +88 -0
  84. package/dist/components/input/File.vue.cjs +1 -0
  85. package/dist/components/input/File.vue.d.ts +135 -0
  86. package/dist/components/input/File.vue.mjs +9 -0
  87. package/dist/components/input/Text.vue.cjs +1 -0
  88. package/dist/components/input/Text.vue.d.ts +128 -0
  89. package/dist/components/input/Text.vue.mjs +9 -0
  90. package/dist/components/input/Toggle.vue.cjs +1 -0
  91. package/dist/components/input/Toggle.vue.d.ts +113 -0
  92. package/dist/components/input/Toggle.vue.mjs +9 -0
  93. package/dist/components/loader/Content.vue.cjs +1 -0
  94. package/dist/components/loader/Content.vue.d.ts +73 -0
  95. package/dist/components/loader/Content.vue.mjs +9 -0
  96. package/dist/components/loader/ContentFetch.vue.cjs +1 -0
  97. package/dist/components/loader/ContentFetch.vue.d.ts +60 -0
  98. package/dist/components/loader/ContentFetch.vue.mjs +9 -0
  99. package/dist/components/loader/Simple.vue.cjs +1 -0
  100. package/dist/components/loader/Simple.vue.d.ts +47 -0
  101. package/dist/components/loader/Simple.vue.mjs +9 -0
  102. package/dist/components/pagination/Content.vue.cjs +1 -0
  103. package/dist/components/pagination/Content.vue.d.ts +66 -0
  104. package/dist/components/pagination/Content.vue.mjs +9 -0
  105. package/dist/components/pagination/Simple.vue.cjs +1 -0
  106. package/dist/components/pagination/Simple.vue.d.ts +41 -0
  107. package/dist/components/pagination/Simple.vue.mjs +9 -0
  108. package/dist/components/select/Filter.vue.cjs +1 -0
  109. package/dist/components/select/Filter.vue.d.ts +110 -0
  110. package/dist/components/select/Filter.vue.mjs +9 -0
  111. package/dist/components/select/Simple.vue.cjs +1 -0
  112. package/dist/components/select/Simple.vue.d.ts +88 -0
  113. package/dist/components/select/Simple.vue.mjs +9 -0
  114. package/dist/components/value/Complex.vue.cjs +1 -0
  115. package/dist/components/value/Complex.vue.d.ts +80 -0
  116. package/dist/components/value/Complex.vue.mjs +9 -0
  117. package/dist/components/value/Simple.vue.cjs +1 -0
  118. package/dist/components/value/Simple.vue.d.ts +50 -0
  119. package/dist/components/value/Simple.vue.mjs +9 -0
  120. package/dist/composables/browser.d.ts +11 -0
  121. package/dist/composables/countries.d.ts +21 -0
  122. package/dist/composables/fetch.d.ts +10 -0
  123. package/dist/composables/helpers.d.ts +2 -0
  124. package/dist/composables/input.d.ts +9 -0
  125. package/dist/composables/modifiers.d.ts +9 -0
  126. package/dist/composables/state.d.ts +9 -0
  127. package/dist/composables/theme.d.ts +28 -0
  128. package/dist/composables/uuid.d.ts +9 -0
  129. package/dist/plugin.cjs +1 -0
  130. package/dist/plugin.d.ts +8 -0
  131. package/dist/plugin.mjs +36 -0
  132. package/dist/types/countries.d.ts +12 -0
  133. package/dist/types/props.d.ts +77 -0
  134. package/dist/vite.svg +22 -0
  135. package/package.json +162 -0
@@ -0,0 +1,71 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ modelValue: {
3
+ type: import("vue").PropType<unknown>;
4
+ };
5
+ type: {
6
+ type: import("vue").PropType<string>;
7
+ };
8
+ autocomplete: {
9
+ type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tFormAutocomplete>;
10
+ };
11
+ id: {
12
+ type: import("vue").PropType<string>;
13
+ };
14
+ name: {
15
+ type: import("vue").PropType<string>;
16
+ };
17
+ placeholder: {
18
+ type: import("vue").PropType<string>;
19
+ };
20
+ title: {
21
+ type: import("vue").PropType<string>;
22
+ };
23
+ required: {
24
+ type: import("vue").PropType<boolean>;
25
+ };
26
+ disabled: {
27
+ type: import("vue").PropType<boolean>;
28
+ };
29
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:model-value"[], "update:model-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
30
+ modelValue: {
31
+ type: import("vue").PropType<unknown>;
32
+ };
33
+ type: {
34
+ type: import("vue").PropType<string>;
35
+ };
36
+ autocomplete: {
37
+ type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tFormAutocomplete>;
38
+ };
39
+ id: {
40
+ type: import("vue").PropType<string>;
41
+ };
42
+ name: {
43
+ type: import("vue").PropType<string>;
44
+ };
45
+ placeholder: {
46
+ type: import("vue").PropType<string>;
47
+ };
48
+ title: {
49
+ type: import("vue").PropType<string>;
50
+ };
51
+ required: {
52
+ type: import("vue").PropType<boolean>;
53
+ };
54
+ disabled: {
55
+ type: import("vue").PropType<boolean>;
56
+ };
57
+ }>> & {
58
+ "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
59
+ }, {}, {}>, {
60
+ default?(_: {
61
+ id: string;
62
+ name: string | undefined;
63
+ modelValue: unknown;
64
+ }): any;
65
+ }>;
66
+ export default _default;
67
+ type __VLS_WithTemplateSlots<T, S> = T & {
68
+ new (): {
69
+ $slots: S;
70
+ };
71
+ };
@@ -0,0 +1,9 @@
1
+ import { h as e } from "../../_virtual/chunk_h.es.js";
2
+ import "../../_virtual/lodash.es.js";
3
+ import "../../_virtual/sweetalert2.es.js";
4
+ import "vue";
5
+ import "../../_virtual/validator.es.js";
6
+ import "../../_virtual/nanoid.es.js";
7
+ export {
8
+ e as default
9
+ };
@@ -0,0 +1 @@
1
+ "use strict";const e=require("../../_virtual/chunk_h.cjs.js");require("../../_virtual/lodash.cjs.js");require("../../_virtual/sweetalert2.cjs.js");require("vue");require("../../_virtual/validator.cjs.js");require("../../_virtual/nanoid.cjs.js");module.exports=e._sfc_main$7;
@@ -0,0 +1,61 @@
1
+ import type { iSelectOption } from "@open-xamu-co/ui-common-types";
2
+ declare const _default: import("vue").DefineComponent<{
3
+ modelValue: {
4
+ type: import("vue").PropType<string | number>;
5
+ };
6
+ options: {
7
+ type: import("vue").PropType<(string | number | iSelectOption)[]>;
8
+ };
9
+ multiple: {
10
+ type: import("vue").PropType<boolean>;
11
+ };
12
+ id: {
13
+ type: import("vue").PropType<string>;
14
+ };
15
+ name: {
16
+ type: import("vue").PropType<string>;
17
+ };
18
+ placeholder: {
19
+ type: import("vue").PropType<string>;
20
+ };
21
+ title: {
22
+ type: import("vue").PropType<string>;
23
+ };
24
+ required: {
25
+ type: import("vue").PropType<boolean>;
26
+ };
27
+ disabled: {
28
+ type: import("vue").PropType<boolean>;
29
+ };
30
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:model-value"[], "update:model-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
31
+ modelValue: {
32
+ type: import("vue").PropType<string | number>;
33
+ };
34
+ options: {
35
+ type: import("vue").PropType<(string | number | iSelectOption)[]>;
36
+ };
37
+ multiple: {
38
+ type: import("vue").PropType<boolean>;
39
+ };
40
+ id: {
41
+ type: import("vue").PropType<string>;
42
+ };
43
+ name: {
44
+ type: import("vue").PropType<string>;
45
+ };
46
+ placeholder: {
47
+ type: import("vue").PropType<string>;
48
+ };
49
+ title: {
50
+ type: import("vue").PropType<string>;
51
+ };
52
+ required: {
53
+ type: import("vue").PropType<boolean>;
54
+ };
55
+ disabled: {
56
+ type: import("vue").PropType<boolean>;
57
+ };
58
+ }>> & {
59
+ "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
60
+ }, {}, {}>;
61
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import { i as e } from "../../_virtual/chunk_h.es.js";
2
+ import "../../_virtual/lodash.es.js";
3
+ import "../../_virtual/sweetalert2.es.js";
4
+ import "vue";
5
+ import "../../_virtual/validator.es.js";
6
+ import "../../_virtual/nanoid.es.js";
7
+ export {
8
+ e as default
9
+ };
@@ -0,0 +1 @@
1
+ "use strict";const e=require("../../_virtual/chunk_h.cjs.js");require("../../_virtual/lodash.cjs.js");require("../../_virtual/sweetalert2.cjs.js");require("vue");require("../../_virtual/validator.cjs.js");require("../../_virtual/nanoid.cjs.js");module.exports=e._sfc_main$8;
@@ -0,0 +1,42 @@
1
+ import { Component as VueComponent, FunctionalComponent, DefineComponent, PropType } from "vue";
2
+ declare const _default: __VLS_WithTemplateSlots<DefineComponent<{
3
+ /**
4
+ * Wheter or not render the wrapper
5
+ */
6
+ wrap: {
7
+ type: BooleanConstructor;
8
+ required: true;
9
+ };
10
+ /**
11
+ * Component or tag to render
12
+ */
13
+ el: {
14
+ type: PropType<string | VueComponent | FunctionalComponent<{}, {}, any> | DefineComponent>;
15
+ default: string;
16
+ };
17
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
18
+ /**
19
+ * Wheter or not render the wrapper
20
+ */
21
+ wrap: {
22
+ type: BooleanConstructor;
23
+ required: true;
24
+ };
25
+ /**
26
+ * Component or tag to render
27
+ */
28
+ el: {
29
+ type: PropType<string | VueComponent | FunctionalComponent<{}, {}, any> | DefineComponent>;
30
+ default: string;
31
+ };
32
+ }>>, {
33
+ el: string | VueComponent | FunctionalComponent<{}, {}, any> | DefineComponent;
34
+ }, {}>, {
35
+ default?(_: {}): any;
36
+ }>;
37
+ export default _default;
38
+ type __VLS_WithTemplateSlots<T, S> = T & {
39
+ new (): {
40
+ $slots: S;
41
+ };
42
+ };
@@ -0,0 +1,9 @@
1
+ import { j as e } from "../../_virtual/chunk_h.es.js";
2
+ import "../../_virtual/lodash.es.js";
3
+ import "../../_virtual/sweetalert2.es.js";
4
+ import "vue";
5
+ import "../../_virtual/validator.es.js";
6
+ import "../../_virtual/nanoid.es.js";
7
+ export {
8
+ e as default
9
+ };
@@ -0,0 +1 @@
1
+ "use strict";const e=require("../../_virtual/chunk_h.cjs.js");require("../../_virtual/lodash.cjs.js");require("../../_virtual/sweetalert2.cjs.js");require("vue");require("../../_virtual/validator.cjs.js");require("../../_virtual/nanoid.cjs.js");module.exports=e._sfc_main$9;
@@ -0,0 +1,170 @@
1
+ import type { IconName } from "@fortawesome/fontawesome-common-types";
2
+ import type { iFormIconProps } from "@open-xamu-co/ui-common-types";
3
+ declare const _default: import("vue").DefineComponent<{
4
+ icon: {
5
+ type: import("vue").PropType<IconName>;
6
+ };
7
+ iconProps: {
8
+ type: import("vue").PropType<iFormIconProps>;
9
+ };
10
+ src: {
11
+ type: import("vue").PropType<string>;
12
+ };
13
+ text: {
14
+ type: import("vue").PropType<string>;
15
+ required: true;
16
+ };
17
+ to: {
18
+ type: import("vue").PropType<string | Record<string, unknown>>;
19
+ };
20
+ href: {
21
+ type: import("vue").PropType<string>;
22
+ };
23
+ target: {
24
+ type: import("vue").PropType<string>;
25
+ };
26
+ tel: {
27
+ type: import("vue").PropType<string>;
28
+ };
29
+ disabled: {
30
+ type: import("vue").PropType<boolean>;
31
+ };
32
+ mailto: {
33
+ type: import("vue").PropType<string>;
34
+ };
35
+ type: {
36
+ type: import("vue").PropType<"button" | "submit" | "reset">;
37
+ };
38
+ tag: {
39
+ type: import("vue").PropType<string>;
40
+ };
41
+ toggle: {
42
+ type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tProp<"list" | "dropdown">>;
43
+ };
44
+ round: {
45
+ type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tPropsModifier<string>>;
46
+ };
47
+ toggleState: {
48
+ type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tProps<string>>;
49
+ };
50
+ indicative: {
51
+ type: import("vue").PropType<`${string}+${number}`>;
52
+ };
53
+ whatsapp: {
54
+ type: import("vue").PropType<boolean>;
55
+ };
56
+ download: {
57
+ type: import("vue").PropType<string>;
58
+ };
59
+ hidden: {
60
+ type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tPropsModifier<string>>;
61
+ };
62
+ size: {
63
+ type: import("vue").PropType<string | number>;
64
+ };
65
+ active: {
66
+ type: import("vue").PropType<boolean>;
67
+ };
68
+ invalid: {
69
+ type: import("vue").PropType<boolean>;
70
+ };
71
+ state: {
72
+ type: import("vue").PropType<Record<string, boolean>>;
73
+ };
74
+ theme: {
75
+ type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tThemeTuple | import("@open-xamu-co/ui-common-types").tProp<import("@open-xamu-co/ui-common-types").tThemeModifier>>;
76
+ };
77
+ tooltip: {
78
+ type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tProp>;
79
+ };
80
+ tooltipPosition: {
81
+ type: import("vue").PropType<"right" | "left" | "bottom" | "top">;
82
+ };
83
+ tooltipAsText: {
84
+ type: import("vue").PropType<boolean>;
85
+ };
86
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
87
+ icon: {
88
+ type: import("vue").PropType<IconName>;
89
+ };
90
+ iconProps: {
91
+ type: import("vue").PropType<iFormIconProps>;
92
+ };
93
+ src: {
94
+ type: import("vue").PropType<string>;
95
+ };
96
+ text: {
97
+ type: import("vue").PropType<string>;
98
+ required: true;
99
+ };
100
+ to: {
101
+ type: import("vue").PropType<string | Record<string, unknown>>;
102
+ };
103
+ href: {
104
+ type: import("vue").PropType<string>;
105
+ };
106
+ target: {
107
+ type: import("vue").PropType<string>;
108
+ };
109
+ tel: {
110
+ type: import("vue").PropType<string>;
111
+ };
112
+ disabled: {
113
+ type: import("vue").PropType<boolean>;
114
+ };
115
+ mailto: {
116
+ type: import("vue").PropType<string>;
117
+ };
118
+ type: {
119
+ type: import("vue").PropType<"button" | "submit" | "reset">;
120
+ };
121
+ tag: {
122
+ type: import("vue").PropType<string>;
123
+ };
124
+ toggle: {
125
+ type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tProp<"list" | "dropdown">>;
126
+ };
127
+ round: {
128
+ type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tPropsModifier<string>>;
129
+ };
130
+ toggleState: {
131
+ type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tProps<string>>;
132
+ };
133
+ indicative: {
134
+ type: import("vue").PropType<`${string}+${number}`>;
135
+ };
136
+ whatsapp: {
137
+ type: import("vue").PropType<boolean>;
138
+ };
139
+ download: {
140
+ type: import("vue").PropType<string>;
141
+ };
142
+ hidden: {
143
+ type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tPropsModifier<string>>;
144
+ };
145
+ size: {
146
+ type: import("vue").PropType<string | number>;
147
+ };
148
+ active: {
149
+ type: import("vue").PropType<boolean>;
150
+ };
151
+ invalid: {
152
+ type: import("vue").PropType<boolean>;
153
+ };
154
+ state: {
155
+ type: import("vue").PropType<Record<string, boolean>>;
156
+ };
157
+ theme: {
158
+ type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tThemeTuple | import("@open-xamu-co/ui-common-types").tProp<import("@open-xamu-co/ui-common-types").tThemeModifier>>;
159
+ };
160
+ tooltip: {
161
+ type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tProp>;
162
+ };
163
+ tooltipPosition: {
164
+ type: import("vue").PropType<"right" | "left" | "bottom" | "top">;
165
+ };
166
+ tooltipAsText: {
167
+ type: import("vue").PropType<boolean>;
168
+ };
169
+ }>>, {}, {}>;
170
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import { k as e } from "../../_virtual/chunk_h.es.js";
2
+ import "../../_virtual/lodash.es.js";
3
+ import "../../_virtual/sweetalert2.es.js";
4
+ import "vue";
5
+ import "../../_virtual/validator.es.js";
6
+ import "../../_virtual/nanoid.es.js";
7
+ export {
8
+ e as default
9
+ };
@@ -0,0 +1 @@
1
+ "use strict";const e=require("../../_virtual/chunk_h.cjs.js");require("../../_virtual/lodash.cjs.js");require("../../_virtual/sweetalert2.cjs.js");require("vue");require("../../_virtual/validator.cjs.js");require("../../_virtual/nanoid.cjs.js");module.exports=e._sfc_main$10;
@@ -0,0 +1,143 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ text: {
3
+ type: import("vue").PropType<string>;
4
+ };
5
+ asButton: {
6
+ type: import("vue").PropType<boolean>;
7
+ };
8
+ to: {
9
+ type: import("vue").PropType<string | Record<string, unknown>>;
10
+ };
11
+ href: {
12
+ type: import("vue").PropType<string>;
13
+ };
14
+ target: {
15
+ type: import("vue").PropType<string>;
16
+ };
17
+ tel: {
18
+ type: import("vue").PropType<string>;
19
+ };
20
+ disabled: {
21
+ type: import("vue").PropType<boolean>;
22
+ };
23
+ mailto: {
24
+ type: import("vue").PropType<string>;
25
+ };
26
+ type: {
27
+ type: import("vue").PropType<"button" | "submit" | "reset">;
28
+ };
29
+ tag: {
30
+ type: import("vue").PropType<string>;
31
+ };
32
+ toggle: {
33
+ type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tProp<"list" | "dropdown">>;
34
+ };
35
+ round: {
36
+ type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tPropsModifier<string>>;
37
+ };
38
+ toggleState: {
39
+ type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tProps<string>>;
40
+ };
41
+ indicative: {
42
+ type: import("vue").PropType<`${string}+${number}`>;
43
+ };
44
+ whatsapp: {
45
+ type: import("vue").PropType<boolean>;
46
+ };
47
+ download: {
48
+ type: import("vue").PropType<string>;
49
+ };
50
+ hidden: {
51
+ type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tPropsModifier<string>>;
52
+ };
53
+ size: {
54
+ type: import("vue").PropType<string | number>;
55
+ };
56
+ active: {
57
+ type: import("vue").PropType<boolean>;
58
+ };
59
+ invalid: {
60
+ type: import("vue").PropType<boolean>;
61
+ };
62
+ state: {
63
+ type: import("vue").PropType<Record<string, boolean>>;
64
+ };
65
+ theme: {
66
+ type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tThemeTuple | import("@open-xamu-co/ui-common-types").tProp<import("@open-xamu-co/ui-common-types").tThemeModifier>>;
67
+ };
68
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
69
+ text: {
70
+ type: import("vue").PropType<string>;
71
+ };
72
+ asButton: {
73
+ type: import("vue").PropType<boolean>;
74
+ };
75
+ to: {
76
+ type: import("vue").PropType<string | Record<string, unknown>>;
77
+ };
78
+ href: {
79
+ type: import("vue").PropType<string>;
80
+ };
81
+ target: {
82
+ type: import("vue").PropType<string>;
83
+ };
84
+ tel: {
85
+ type: import("vue").PropType<string>;
86
+ };
87
+ disabled: {
88
+ type: import("vue").PropType<boolean>;
89
+ };
90
+ mailto: {
91
+ type: import("vue").PropType<string>;
92
+ };
93
+ type: {
94
+ type: import("vue").PropType<"button" | "submit" | "reset">;
95
+ };
96
+ tag: {
97
+ type: import("vue").PropType<string>;
98
+ };
99
+ toggle: {
100
+ type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tProp<"list" | "dropdown">>;
101
+ };
102
+ round: {
103
+ type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tPropsModifier<string>>;
104
+ };
105
+ toggleState: {
106
+ type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tProps<string>>;
107
+ };
108
+ indicative: {
109
+ type: import("vue").PropType<`${string}+${number}`>;
110
+ };
111
+ whatsapp: {
112
+ type: import("vue").PropType<boolean>;
113
+ };
114
+ download: {
115
+ type: import("vue").PropType<string>;
116
+ };
117
+ hidden: {
118
+ type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tPropsModifier<string>>;
119
+ };
120
+ size: {
121
+ type: import("vue").PropType<string | number>;
122
+ };
123
+ active: {
124
+ type: import("vue").PropType<boolean>;
125
+ };
126
+ invalid: {
127
+ type: import("vue").PropType<boolean>;
128
+ };
129
+ state: {
130
+ type: import("vue").PropType<Record<string, boolean>>;
131
+ };
132
+ theme: {
133
+ type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tThemeTuple | import("@open-xamu-co/ui-common-types").tProp<import("@open-xamu-co/ui-common-types").tThemeModifier>>;
134
+ };
135
+ }>>, {}, {}>, {
136
+ default?(_: {}): any;
137
+ }>;
138
+ export default _default;
139
+ type __VLS_WithTemplateSlots<T, S> = T & {
140
+ new (): {
141
+ $slots: S;
142
+ };
143
+ };
@@ -0,0 +1,9 @@
1
+ import { l as e } from "../../_virtual/chunk_h.es.js";
2
+ import "../../_virtual/lodash.es.js";
3
+ import "../../_virtual/sweetalert2.es.js";
4
+ import "vue";
5
+ import "../../_virtual/validator.es.js";
6
+ import "../../_virtual/nanoid.es.js";
7
+ export {
8
+ e as default
9
+ };
@@ -0,0 +1 @@
1
+ "use strict";const e=require("../../_virtual/chunk_h.cjs.js");require("../../_virtual/lodash.cjs.js");require("../../_virtual/sweetalert2.cjs.js");require("vue");require("../../_virtual/validator.cjs.js");require("../../_virtual/nanoid.cjs.js");module.exports=e._sfc_main$12;
@@ -0,0 +1,49 @@
1
+ import type { iInvalidInput } from "@open-xamu-co/ui-common-types";
2
+ import { FormInput as FormInputClass } from "@open-xamu-co/ui-common-helpers";
3
+ import type { iCountry, iState } from "../../types/countries";
4
+ declare const _default: import("vue").DefineComponent<{
5
+ modelValue: {
6
+ type: import("vue").PropType<any[]>;
7
+ required: true;
8
+ };
9
+ input: {
10
+ type: import("vue").PropType<FormInputClass<import("@open-xamu-co/ui-common-types").iFormValue>>;
11
+ required: true;
12
+ };
13
+ invalid: {
14
+ type: import("vue").PropType<iInvalidInput>;
15
+ };
16
+ countries: {
17
+ type: import("vue").PropType<iCountry[]>;
18
+ };
19
+ states: {
20
+ type: import("vue").PropType<iState[]>;
21
+ };
22
+ theme: {
23
+ type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tThemeTuple | import("@open-xamu-co/ui-common-types").tProp<import("@open-xamu-co/ui-common-types").tThemeModifier>>;
24
+ };
25
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:model-value"[], "update:model-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
26
+ modelValue: {
27
+ type: import("vue").PropType<any[]>;
28
+ required: true;
29
+ };
30
+ input: {
31
+ type: import("vue").PropType<FormInputClass<import("@open-xamu-co/ui-common-types").iFormValue>>;
32
+ required: true;
33
+ };
34
+ invalid: {
35
+ type: import("vue").PropType<iInvalidInput>;
36
+ };
37
+ countries: {
38
+ type: import("vue").PropType<iCountry[]>;
39
+ };
40
+ states: {
41
+ type: import("vue").PropType<iState[]>;
42
+ };
43
+ theme: {
44
+ type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tThemeTuple | import("@open-xamu-co/ui-common-types").tProp<import("@open-xamu-co/ui-common-types").tThemeModifier>>;
45
+ };
46
+ }>> & {
47
+ "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
48
+ }, {}, {}>;
49
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import { n as e } from "../../_virtual/chunk_h.es.js";
2
+ import "../../_virtual/lodash.es.js";
3
+ import "../../_virtual/sweetalert2.es.js";
4
+ import "vue";
5
+ import "../../_virtual/validator.es.js";
6
+ import "../../_virtual/nanoid.es.js";
7
+ export {
8
+ e as default
9
+ };
@@ -0,0 +1,45 @@
1
+ import type { iSelectOption } from "@open-xamu-co/ui-common-types";
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
+ model: {
4
+ type: import("vue").PropType<string[]>;
5
+ required: true;
6
+ };
7
+ states: {
8
+ type: import("vue").PropType<iSelectOption[]>;
9
+ };
10
+ theme: {
11
+ type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tThemeTuple | import("@open-xamu-co/ui-common-types").tProp<import("@open-xamu-co/ui-common-types").tThemeModifier>>;
12
+ };
13
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
14
+ model: {
15
+ type: import("vue").PropType<string[]>;
16
+ required: true;
17
+ };
18
+ states: {
19
+ type: import("vue").PropType<iSelectOption[]>;
20
+ };
21
+ theme: {
22
+ type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tThemeTuple | import("@open-xamu-co/ui-common-types").tProp<import("@open-xamu-co/ui-common-types").tThemeModifier>>;
23
+ };
24
+ }>>, {}, {}>, {
25
+ default?(_: {
26
+ statesReq: {
27
+ content: import("../../types/countries").iState[];
28
+ refresh: (fallback?: import("../../types/countries").iState[] | undefined) => Promise<void>;
29
+ loading: boolean;
30
+ errors: any;
31
+ };
32
+ citiesReq: {
33
+ content: import("../../types/countries").iCity[];
34
+ refresh: (fallback?: import("../../types/countries").iCity[] | undefined) => Promise<void>;
35
+ loading: boolean;
36
+ errors: any;
37
+ };
38
+ }): any;
39
+ }>;
40
+ export default _default;
41
+ type __VLS_WithTemplateSlots<T, S> = T & {
42
+ new (): {
43
+ $slots: S;
44
+ };
45
+ };