@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.
- package/CHANGELOG.md +8 -0
- package/LICENSE +7 -0
- package/README.md +3 -0
- package/dist/_virtual/chunk_h.cjs.js +1 -0
- package/dist/_virtual/chunk_h.es.js +4372 -0
- package/dist/_virtual/index.cjs.js +1 -0
- package/dist/_virtual/index.es.js +39 -0
- package/dist/_virtual/lodash.cjs.js +27 -0
- package/dist/_virtual/lodash.es.js +3686 -0
- package/dist/_virtual/nanoid.cjs.js +1 -0
- package/dist/_virtual/nanoid.es.js +4 -0
- package/dist/_virtual/sweetalert2.cjs.js +65 -0
- package/dist/_virtual/sweetalert2.es.js +1415 -0
- package/dist/_virtual/validator.cjs.js +7 -0
- package/dist/_virtual/validator.es.js +4508 -0
- package/dist/components/Dropdown.vue.cjs +1 -0
- package/dist/components/Dropdown.vue.d.ts +64 -0
- package/dist/components/Dropdown.vue.mjs +9 -0
- package/dist/components/Modal.vue.cjs +1 -0
- package/dist/components/Modal.vue.d.ts +112 -0
- package/dist/components/Modal.vue.mjs +9 -0
- package/dist/components/Slider.vue.cjs +1 -0
- package/dist/components/Slider.vue.d.ts +110 -0
- package/dist/components/Slider.vue.mjs +9 -0
- package/dist/components/Table.vue.cjs +1 -0
- package/dist/components/Table.vue.d.ts +98 -0
- package/dist/components/Table.vue.mjs +9 -0
- package/dist/components/action/Button.vue.cjs +1 -0
- package/dist/components/action/Button.vue.d.ts +149 -0
- package/dist/components/action/Button.vue.mjs +9 -0
- package/dist/components/action/ButtonLink.vue.cjs +1 -0
- package/dist/components/action/ButtonLink.vue.d.ts +155 -0
- package/dist/components/action/ButtonLink.vue.mjs +9 -0
- package/dist/components/action/ButtonToggle.vue.cjs +1 -0
- package/dist/components/action/ButtonToggle.vue.d.ts +155 -0
- package/dist/components/action/ButtonToggle.vue.mjs +9 -0
- package/dist/components/action/Link.vue.cjs +1 -0
- package/dist/components/action/Link.vue.d.ts +155 -0
- package/dist/components/action/Link.vue.mjs +9 -0
- package/dist/components/base/Action.vue.cjs +1 -0
- package/dist/components/base/Action.vue.d.ts +95 -0
- package/dist/components/base/Action.vue.mjs +9 -0
- package/dist/components/base/Img.vue.cjs +1 -0
- package/dist/components/base/Img.vue.d.ts +48 -0
- package/dist/components/base/Img.vue.mjs +9 -0
- package/dist/components/base/Input.vue.cjs +1 -0
- package/dist/components/base/Input.vue.d.ts +71 -0
- package/dist/components/base/Input.vue.mjs +9 -0
- package/dist/components/base/Select.vue.cjs +1 -0
- package/dist/components/base/Select.vue.d.ts +61 -0
- package/dist/components/base/Select.vue.mjs +9 -0
- package/dist/components/base/Wrapper.vue.cjs +1 -0
- package/dist/components/base/Wrapper.vue.d.ts +42 -0
- package/dist/components/base/Wrapper.vue.mjs +9 -0
- package/dist/components/box/Action.vue.cjs +1 -0
- package/dist/components/box/Action.vue.d.ts +170 -0
- package/dist/components/box/Action.vue.mjs +9 -0
- package/dist/components/box/Message.vue.cjs +1 -0
- package/dist/components/box/Message.vue.d.ts +143 -0
- package/dist/components/box/Message.vue.mjs +9 -0
- package/dist/components/form/Input.vue.cjs +1 -0
- package/dist/components/form/Input.vue.d.ts +49 -0
- package/dist/components/form/Input.vue.mjs +9 -0
- package/dist/components/form/InputCountriesAPI.vue.d.ts +45 -0
- package/dist/components/form/InputLoop.vue.d.ts +44 -0
- package/dist/components/form/InputNValues.vue.d.ts +34 -0
- package/dist/components/form/InputOptions.vue.d.ts +22 -0
- package/dist/components/form/Simple.vue.cjs +1 -0
- package/dist/components/form/Simple.vue.d.ts +45 -0
- package/dist/components/form/Simple.vue.mjs +9 -0
- package/dist/components/form/Stages.vue.cjs +1 -0
- package/dist/components/form/Stages.vue.d.ts +77 -0
- package/dist/components/form/Stages.vue.mjs +9 -0
- package/dist/components/icon/Fa.vue.cjs +1 -0
- package/dist/components/icon/Fa.vue.d.ts +47 -0
- package/dist/components/icon/Fa.vue.mjs +9 -0
- package/dist/components/icon/Simple.vue.cjs +1 -0
- package/dist/components/icon/Simple.vue.d.ts +29 -0
- package/dist/components/icon/Simple.vue.mjs +9 -0
- package/dist/components/index.cjs +1 -0
- package/dist/components/index.d.ts +32 -0
- package/dist/components/index.mjs +40 -0
- package/dist/components/input/Color.vue.d.ts +88 -0
- package/dist/components/input/File.vue.cjs +1 -0
- package/dist/components/input/File.vue.d.ts +135 -0
- package/dist/components/input/File.vue.mjs +9 -0
- package/dist/components/input/Text.vue.cjs +1 -0
- package/dist/components/input/Text.vue.d.ts +128 -0
- package/dist/components/input/Text.vue.mjs +9 -0
- package/dist/components/input/Toggle.vue.cjs +1 -0
- package/dist/components/input/Toggle.vue.d.ts +113 -0
- package/dist/components/input/Toggle.vue.mjs +9 -0
- package/dist/components/loader/Content.vue.cjs +1 -0
- package/dist/components/loader/Content.vue.d.ts +73 -0
- package/dist/components/loader/Content.vue.mjs +9 -0
- package/dist/components/loader/ContentFetch.vue.cjs +1 -0
- package/dist/components/loader/ContentFetch.vue.d.ts +60 -0
- package/dist/components/loader/ContentFetch.vue.mjs +9 -0
- package/dist/components/loader/Simple.vue.cjs +1 -0
- package/dist/components/loader/Simple.vue.d.ts +47 -0
- package/dist/components/loader/Simple.vue.mjs +9 -0
- package/dist/components/pagination/Content.vue.cjs +1 -0
- package/dist/components/pagination/Content.vue.d.ts +66 -0
- package/dist/components/pagination/Content.vue.mjs +9 -0
- package/dist/components/pagination/Simple.vue.cjs +1 -0
- package/dist/components/pagination/Simple.vue.d.ts +41 -0
- package/dist/components/pagination/Simple.vue.mjs +9 -0
- package/dist/components/select/Filter.vue.cjs +1 -0
- package/dist/components/select/Filter.vue.d.ts +110 -0
- package/dist/components/select/Filter.vue.mjs +9 -0
- package/dist/components/select/Simple.vue.cjs +1 -0
- package/dist/components/select/Simple.vue.d.ts +88 -0
- package/dist/components/select/Simple.vue.mjs +9 -0
- package/dist/components/value/Complex.vue.cjs +1 -0
- package/dist/components/value/Complex.vue.d.ts +80 -0
- package/dist/components/value/Complex.vue.mjs +9 -0
- package/dist/components/value/Simple.vue.cjs +1 -0
- package/dist/components/value/Simple.vue.d.ts +50 -0
- package/dist/components/value/Simple.vue.mjs +9 -0
- package/dist/composables/browser.d.ts +11 -0
- package/dist/composables/countries.d.ts +21 -0
- package/dist/composables/fetch.d.ts +10 -0
- package/dist/composables/helpers.d.ts +2 -0
- package/dist/composables/input.d.ts +9 -0
- package/dist/composables/modifiers.d.ts +9 -0
- package/dist/composables/state.d.ts +9 -0
- package/dist/composables/theme.d.ts +28 -0
- package/dist/composables/uuid.d.ts +9 -0
- package/dist/plugin.cjs +1 -0
- package/dist/plugin.d.ts +8 -0
- package/dist/plugin.mjs +36 -0
- package/dist/types/countries.d.ts +12 -0
- package/dist/types/props.d.ts +77 -0
- package/dist/vite.svg +22 -0
- package/package.json +162 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { s 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$18;
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import type { IconName } from "@fortawesome/fontawesome-common-types";
|
|
2
|
+
import type { iFormIconProps, tTextInputType } from "@open-xamu-co/ui-common-types";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
type: {
|
|
5
|
+
type: import("vue").PropType<tTextInputType>;
|
|
6
|
+
};
|
|
7
|
+
placeholder: {
|
|
8
|
+
type: import("vue").PropType<string>;
|
|
9
|
+
};
|
|
10
|
+
icon: {
|
|
11
|
+
type: import("vue").PropType<IconName>;
|
|
12
|
+
};
|
|
13
|
+
iconProps: {
|
|
14
|
+
type: import("vue").PropType<iFormIconProps>;
|
|
15
|
+
};
|
|
16
|
+
textarea: {
|
|
17
|
+
type: import("vue").PropType<boolean>;
|
|
18
|
+
};
|
|
19
|
+
min: {
|
|
20
|
+
type: import("vue").PropType<string | number>;
|
|
21
|
+
};
|
|
22
|
+
max: {
|
|
23
|
+
type: import("vue").PropType<string | number>;
|
|
24
|
+
};
|
|
25
|
+
modelValue: {
|
|
26
|
+
type: import("vue").PropType<string | number>;
|
|
27
|
+
};
|
|
28
|
+
autocomplete: {
|
|
29
|
+
type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tFormAutocomplete>;
|
|
30
|
+
};
|
|
31
|
+
id: {
|
|
32
|
+
type: import("vue").PropType<string>;
|
|
33
|
+
};
|
|
34
|
+
name: {
|
|
35
|
+
type: import("vue").PropType<string>;
|
|
36
|
+
};
|
|
37
|
+
title: {
|
|
38
|
+
type: import("vue").PropType<string>;
|
|
39
|
+
};
|
|
40
|
+
required: {
|
|
41
|
+
type: import("vue").PropType<boolean>;
|
|
42
|
+
};
|
|
43
|
+
disabled: {
|
|
44
|
+
type: import("vue").PropType<boolean>;
|
|
45
|
+
};
|
|
46
|
+
hidden: {
|
|
47
|
+
type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tPropsModifier<string>>;
|
|
48
|
+
};
|
|
49
|
+
size: {
|
|
50
|
+
type: import("vue").PropType<string | number>;
|
|
51
|
+
};
|
|
52
|
+
active: {
|
|
53
|
+
type: import("vue").PropType<boolean>;
|
|
54
|
+
};
|
|
55
|
+
invalid: {
|
|
56
|
+
type: import("vue").PropType<boolean>;
|
|
57
|
+
};
|
|
58
|
+
state: {
|
|
59
|
+
type: import("vue").PropType<Record<string, boolean>>;
|
|
60
|
+
};
|
|
61
|
+
theme: {
|
|
62
|
+
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>>;
|
|
63
|
+
};
|
|
64
|
+
}, {}, 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<{
|
|
65
|
+
type: {
|
|
66
|
+
type: import("vue").PropType<tTextInputType>;
|
|
67
|
+
};
|
|
68
|
+
placeholder: {
|
|
69
|
+
type: import("vue").PropType<string>;
|
|
70
|
+
};
|
|
71
|
+
icon: {
|
|
72
|
+
type: import("vue").PropType<IconName>;
|
|
73
|
+
};
|
|
74
|
+
iconProps: {
|
|
75
|
+
type: import("vue").PropType<iFormIconProps>;
|
|
76
|
+
};
|
|
77
|
+
textarea: {
|
|
78
|
+
type: import("vue").PropType<boolean>;
|
|
79
|
+
};
|
|
80
|
+
min: {
|
|
81
|
+
type: import("vue").PropType<string | number>;
|
|
82
|
+
};
|
|
83
|
+
max: {
|
|
84
|
+
type: import("vue").PropType<string | number>;
|
|
85
|
+
};
|
|
86
|
+
modelValue: {
|
|
87
|
+
type: import("vue").PropType<string | number>;
|
|
88
|
+
};
|
|
89
|
+
autocomplete: {
|
|
90
|
+
type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tFormAutocomplete>;
|
|
91
|
+
};
|
|
92
|
+
id: {
|
|
93
|
+
type: import("vue").PropType<string>;
|
|
94
|
+
};
|
|
95
|
+
name: {
|
|
96
|
+
type: import("vue").PropType<string>;
|
|
97
|
+
};
|
|
98
|
+
title: {
|
|
99
|
+
type: import("vue").PropType<string>;
|
|
100
|
+
};
|
|
101
|
+
required: {
|
|
102
|
+
type: import("vue").PropType<boolean>;
|
|
103
|
+
};
|
|
104
|
+
disabled: {
|
|
105
|
+
type: import("vue").PropType<boolean>;
|
|
106
|
+
};
|
|
107
|
+
hidden: {
|
|
108
|
+
type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tPropsModifier<string>>;
|
|
109
|
+
};
|
|
110
|
+
size: {
|
|
111
|
+
type: import("vue").PropType<string | number>;
|
|
112
|
+
};
|
|
113
|
+
active: {
|
|
114
|
+
type: import("vue").PropType<boolean>;
|
|
115
|
+
};
|
|
116
|
+
invalid: {
|
|
117
|
+
type: import("vue").PropType<boolean>;
|
|
118
|
+
};
|
|
119
|
+
state: {
|
|
120
|
+
type: import("vue").PropType<Record<string, boolean>>;
|
|
121
|
+
};
|
|
122
|
+
theme: {
|
|
123
|
+
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>>;
|
|
124
|
+
};
|
|
125
|
+
}>> & {
|
|
126
|
+
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
127
|
+
}, {}, {}>;
|
|
128
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { t 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$19;
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
type: {
|
|
3
|
+
type: import("vue").PropType<"radio" | "switch" | "checkbox">;
|
|
4
|
+
};
|
|
5
|
+
label: {
|
|
6
|
+
type: import("vue").PropType<string>;
|
|
7
|
+
};
|
|
8
|
+
showPlaceholder: {
|
|
9
|
+
type: import("vue").PropType<boolean>;
|
|
10
|
+
};
|
|
11
|
+
fullWidth: {
|
|
12
|
+
type: import("vue").PropType<boolean>;
|
|
13
|
+
};
|
|
14
|
+
autocomplete: {
|
|
15
|
+
type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tFormAutocomplete>;
|
|
16
|
+
};
|
|
17
|
+
id: {
|
|
18
|
+
type: import("vue").PropType<string>;
|
|
19
|
+
};
|
|
20
|
+
name: {
|
|
21
|
+
type: import("vue").PropType<string>;
|
|
22
|
+
};
|
|
23
|
+
placeholder: {
|
|
24
|
+
type: import("vue").PropType<string>;
|
|
25
|
+
};
|
|
26
|
+
title: {
|
|
27
|
+
type: import("vue").PropType<string>;
|
|
28
|
+
};
|
|
29
|
+
required: {
|
|
30
|
+
type: import("vue").PropType<boolean>;
|
|
31
|
+
};
|
|
32
|
+
disabled: {
|
|
33
|
+
type: import("vue").PropType<boolean>;
|
|
34
|
+
};
|
|
35
|
+
hidden: {
|
|
36
|
+
type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tPropsModifier<string>>;
|
|
37
|
+
};
|
|
38
|
+
size: {
|
|
39
|
+
type: import("vue").PropType<string | number>;
|
|
40
|
+
};
|
|
41
|
+
active: {
|
|
42
|
+
type: import("vue").PropType<boolean>;
|
|
43
|
+
};
|
|
44
|
+
invalid: {
|
|
45
|
+
type: import("vue").PropType<boolean>;
|
|
46
|
+
};
|
|
47
|
+
state: {
|
|
48
|
+
type: import("vue").PropType<Record<string, boolean>>;
|
|
49
|
+
};
|
|
50
|
+
theme: {
|
|
51
|
+
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>>;
|
|
52
|
+
};
|
|
53
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
54
|
+
type: {
|
|
55
|
+
type: import("vue").PropType<"radio" | "switch" | "checkbox">;
|
|
56
|
+
};
|
|
57
|
+
label: {
|
|
58
|
+
type: import("vue").PropType<string>;
|
|
59
|
+
};
|
|
60
|
+
showPlaceholder: {
|
|
61
|
+
type: import("vue").PropType<boolean>;
|
|
62
|
+
};
|
|
63
|
+
fullWidth: {
|
|
64
|
+
type: import("vue").PropType<boolean>;
|
|
65
|
+
};
|
|
66
|
+
autocomplete: {
|
|
67
|
+
type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tFormAutocomplete>;
|
|
68
|
+
};
|
|
69
|
+
id: {
|
|
70
|
+
type: import("vue").PropType<string>;
|
|
71
|
+
};
|
|
72
|
+
name: {
|
|
73
|
+
type: import("vue").PropType<string>;
|
|
74
|
+
};
|
|
75
|
+
placeholder: {
|
|
76
|
+
type: import("vue").PropType<string>;
|
|
77
|
+
};
|
|
78
|
+
title: {
|
|
79
|
+
type: import("vue").PropType<string>;
|
|
80
|
+
};
|
|
81
|
+
required: {
|
|
82
|
+
type: import("vue").PropType<boolean>;
|
|
83
|
+
};
|
|
84
|
+
disabled: {
|
|
85
|
+
type: import("vue").PropType<boolean>;
|
|
86
|
+
};
|
|
87
|
+
hidden: {
|
|
88
|
+
type: import("vue").PropType<import("@open-xamu-co/ui-common-types").tPropsModifier<string>>;
|
|
89
|
+
};
|
|
90
|
+
size: {
|
|
91
|
+
type: import("vue").PropType<string | number>;
|
|
92
|
+
};
|
|
93
|
+
active: {
|
|
94
|
+
type: import("vue").PropType<boolean>;
|
|
95
|
+
};
|
|
96
|
+
invalid: {
|
|
97
|
+
type: import("vue").PropType<boolean>;
|
|
98
|
+
};
|
|
99
|
+
state: {
|
|
100
|
+
type: import("vue").PropType<Record<string, boolean>>;
|
|
101
|
+
};
|
|
102
|
+
theme: {
|
|
103
|
+
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>>;
|
|
104
|
+
};
|
|
105
|
+
}>>, {}, {}>, {
|
|
106
|
+
default?(_: {}): any;
|
|
107
|
+
}>;
|
|
108
|
+
export default _default;
|
|
109
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
110
|
+
new (): {
|
|
111
|
+
$slots: S;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { u 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$20;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { Component as VueComponent, FunctionalComponent, DefineComponent } from "vue";
|
|
2
|
+
import type { tProps } from "@open-xamu-co/ui-common-types";
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<DefineComponent<{
|
|
4
|
+
content: {
|
|
5
|
+
type: import("vue").PropType<boolean>;
|
|
6
|
+
};
|
|
7
|
+
loading: {
|
|
8
|
+
type: import("vue").PropType<boolean>;
|
|
9
|
+
};
|
|
10
|
+
errors: {
|
|
11
|
+
type: import("vue").PropType<boolean>;
|
|
12
|
+
};
|
|
13
|
+
noContentMessage: {
|
|
14
|
+
type: import("vue").PropType<string>;
|
|
15
|
+
};
|
|
16
|
+
label: {
|
|
17
|
+
type: import("vue").PropType<string>;
|
|
18
|
+
};
|
|
19
|
+
refresh: {
|
|
20
|
+
type: import("vue").PropType<() => unknown>;
|
|
21
|
+
};
|
|
22
|
+
unwrap: {
|
|
23
|
+
type: import("vue").PropType<boolean>;
|
|
24
|
+
};
|
|
25
|
+
el: {
|
|
26
|
+
type: import("vue").PropType<string | VueComponent | FunctionalComponent<{}, {}, any> | DefineComponent>;
|
|
27
|
+
};
|
|
28
|
+
loaderClasses: {
|
|
29
|
+
type: import("vue").PropType<tProps<string>>;
|
|
30
|
+
};
|
|
31
|
+
theme: {
|
|
32
|
+
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>>;
|
|
33
|
+
};
|
|
34
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
35
|
+
content: {
|
|
36
|
+
type: import("vue").PropType<boolean>;
|
|
37
|
+
};
|
|
38
|
+
loading: {
|
|
39
|
+
type: import("vue").PropType<boolean>;
|
|
40
|
+
};
|
|
41
|
+
errors: {
|
|
42
|
+
type: import("vue").PropType<boolean>;
|
|
43
|
+
};
|
|
44
|
+
noContentMessage: {
|
|
45
|
+
type: import("vue").PropType<string>;
|
|
46
|
+
};
|
|
47
|
+
label: {
|
|
48
|
+
type: import("vue").PropType<string>;
|
|
49
|
+
};
|
|
50
|
+
refresh: {
|
|
51
|
+
type: import("vue").PropType<() => unknown>;
|
|
52
|
+
};
|
|
53
|
+
unwrap: {
|
|
54
|
+
type: import("vue").PropType<boolean>;
|
|
55
|
+
};
|
|
56
|
+
el: {
|
|
57
|
+
type: import("vue").PropType<string | VueComponent | FunctionalComponent<{}, {}, any> | DefineComponent>;
|
|
58
|
+
};
|
|
59
|
+
loaderClasses: {
|
|
60
|
+
type: import("vue").PropType<tProps<string>>;
|
|
61
|
+
};
|
|
62
|
+
theme: {
|
|
63
|
+
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>>;
|
|
64
|
+
};
|
|
65
|
+
}>>, {}, {}>, {
|
|
66
|
+
default?(_: {}): any;
|
|
67
|
+
}>;
|
|
68
|
+
export default _default;
|
|
69
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
70
|
+
new (): {
|
|
71
|
+
$slots: S;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { v 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$21;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { Component as VueComponent, FunctionalComponent, DefineComponent } from "vue";
|
|
2
|
+
import type { tHydrate } from "@open-xamu-co/ui-common-types";
|
|
3
|
+
import type { iUseThemeProps } from "../../types/props";
|
|
4
|
+
export interface iLoaderContentFetchProps<Ti, Pi extends unknown[]> extends iUseThemeProps {
|
|
5
|
+
promise?: false | ((hydrate: tHydrate<Ti>, ...args: Pi) => Promise<Ti>);
|
|
6
|
+
url?: false | string;
|
|
7
|
+
fallback?: Ti;
|
|
8
|
+
unwrap?: boolean;
|
|
9
|
+
payload?: Pi;
|
|
10
|
+
/**
|
|
11
|
+
* Component or tag to render
|
|
12
|
+
*/
|
|
13
|
+
el?: VueComponent | FunctionalComponent | DefineComponent | string;
|
|
14
|
+
preventAutoload?: boolean;
|
|
15
|
+
}
|
|
16
|
+
declare const _default: <T, P extends unknown[] = unknown[]>(__VLS_props: iLoaderContentFetchProps<T, P> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
|
|
17
|
+
props: iLoaderContentFetchProps<T, P>;
|
|
18
|
+
expose(exposed: {}): void;
|
|
19
|
+
attrs: any;
|
|
20
|
+
slots: {
|
|
21
|
+
default?(_: {
|
|
22
|
+
content: NonNullable<T>;
|
|
23
|
+
refresh: (fallback?: T | undefined) => Promise<void>;
|
|
24
|
+
loading: boolean;
|
|
25
|
+
errors: any;
|
|
26
|
+
}): any;
|
|
27
|
+
};
|
|
28
|
+
emit: (event: "refresh", ...args: any[]) => void;
|
|
29
|
+
}, "attrs" | "slots" | "emit"> | undefined, __VLS_expose?: ((exposed: {}) => void) | undefined, __VLS_setup?: Promise<{
|
|
30
|
+
props: iLoaderContentFetchProps<T, P>;
|
|
31
|
+
expose(exposed: {}): void;
|
|
32
|
+
attrs: any;
|
|
33
|
+
slots: {
|
|
34
|
+
default?(_: {
|
|
35
|
+
content: NonNullable<T>;
|
|
36
|
+
refresh: (fallback?: T | undefined) => Promise<void>;
|
|
37
|
+
loading: boolean;
|
|
38
|
+
errors: any;
|
|
39
|
+
}): any;
|
|
40
|
+
};
|
|
41
|
+
emit: (event: "refresh", ...args: any[]) => void;
|
|
42
|
+
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
43
|
+
[key: string]: any;
|
|
44
|
+
}> & {
|
|
45
|
+
__ctx?: {
|
|
46
|
+
props: iLoaderContentFetchProps<T, P>;
|
|
47
|
+
expose(exposed: {}): void;
|
|
48
|
+
attrs: any;
|
|
49
|
+
slots: {
|
|
50
|
+
default?(_: {
|
|
51
|
+
content: NonNullable<T>;
|
|
52
|
+
refresh: (fallback?: T | undefined) => Promise<void>;
|
|
53
|
+
loading: boolean;
|
|
54
|
+
errors: any;
|
|
55
|
+
}): any;
|
|
56
|
+
};
|
|
57
|
+
emit: (event: "refresh", ...args: any[]) => void;
|
|
58
|
+
} | undefined;
|
|
59
|
+
};
|
|
60
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { w 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$22;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
label: {
|
|
3
|
+
type: import("vue").PropType<string>;
|
|
4
|
+
};
|
|
5
|
+
size: {
|
|
6
|
+
type: import("vue").PropType<string>;
|
|
7
|
+
};
|
|
8
|
+
margin: {
|
|
9
|
+
type: import("vue").PropType<string>;
|
|
10
|
+
};
|
|
11
|
+
radius: {
|
|
12
|
+
type: import("vue").PropType<string>;
|
|
13
|
+
};
|
|
14
|
+
speed: {
|
|
15
|
+
type: import("vue").PropType<number>;
|
|
16
|
+
};
|
|
17
|
+
theme: {
|
|
18
|
+
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>>;
|
|
19
|
+
};
|
|
20
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
label: {
|
|
22
|
+
type: import("vue").PropType<string>;
|
|
23
|
+
};
|
|
24
|
+
size: {
|
|
25
|
+
type: import("vue").PropType<string>;
|
|
26
|
+
};
|
|
27
|
+
margin: {
|
|
28
|
+
type: import("vue").PropType<string>;
|
|
29
|
+
};
|
|
30
|
+
radius: {
|
|
31
|
+
type: import("vue").PropType<string>;
|
|
32
|
+
};
|
|
33
|
+
speed: {
|
|
34
|
+
type: import("vue").PropType<number>;
|
|
35
|
+
};
|
|
36
|
+
theme: {
|
|
37
|
+
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>>;
|
|
38
|
+
};
|
|
39
|
+
}>>, {}, {}>, {
|
|
40
|
+
default?(_: {}): any;
|
|
41
|
+
}>;
|
|
42
|
+
export default _default;
|
|
43
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
44
|
+
new (): {
|
|
45
|
+
$slots: S;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { x 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$24;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import type { iGetPage, iPagination } from "@open-xamu-co/ui-common-types";
|
|
2
|
+
import type { iUseThemeProps } from "../../types/props";
|
|
3
|
+
export interface iPaginationContentProps<Ti, Ci extends string | number = string> extends iPagination, iUseThemeProps {
|
|
4
|
+
/**
|
|
5
|
+
* Function used to fetch the page
|
|
6
|
+
*/
|
|
7
|
+
page: iGetPage<Ti, Ci>;
|
|
8
|
+
/**
|
|
9
|
+
* paginate using props
|
|
10
|
+
*/
|
|
11
|
+
withProps?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* paginate using route
|
|
14
|
+
*/
|
|
15
|
+
withRoute?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* hide pagination buttons
|
|
18
|
+
*/
|
|
19
|
+
hideControls?: boolean;
|
|
20
|
+
preventAutoload?: boolean;
|
|
21
|
+
}
|
|
22
|
+
declare const _default: <T, C extends string | number = string>(__VLS_props: iPaginationContentProps<T, C> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
|
|
23
|
+
props: iPaginationContentProps<T, C>;
|
|
24
|
+
expose(exposed: {}): void;
|
|
25
|
+
attrs: any;
|
|
26
|
+
slots: {
|
|
27
|
+
default?(_: {
|
|
28
|
+
content: T[];
|
|
29
|
+
pagination: iPagination | undefined;
|
|
30
|
+
currentPage: import("@open-xamu-co/ui-common-types").iPage<T, C>;
|
|
31
|
+
refresh: (fallback?: import("@open-xamu-co/ui-common-types").iPage<T, C> | null | undefined) => Promise<void>;
|
|
32
|
+
}): any;
|
|
33
|
+
};
|
|
34
|
+
emit: any;
|
|
35
|
+
}, "attrs" | "slots" | "emit"> | undefined, __VLS_expose?: ((exposed: {}) => void) | undefined, __VLS_setup?: Promise<{
|
|
36
|
+
props: iPaginationContentProps<T, C>;
|
|
37
|
+
expose(exposed: {}): void;
|
|
38
|
+
attrs: any;
|
|
39
|
+
slots: {
|
|
40
|
+
default?(_: {
|
|
41
|
+
content: T[];
|
|
42
|
+
pagination: iPagination | undefined;
|
|
43
|
+
currentPage: import("@open-xamu-co/ui-common-types").iPage<T, C>;
|
|
44
|
+
refresh: (fallback?: import("@open-xamu-co/ui-common-types").iPage<T, C> | null | undefined) => Promise<void>;
|
|
45
|
+
}): any;
|
|
46
|
+
};
|
|
47
|
+
emit: any;
|
|
48
|
+
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
49
|
+
[key: string]: any;
|
|
50
|
+
}> & {
|
|
51
|
+
__ctx?: {
|
|
52
|
+
props: iPaginationContentProps<T, C>;
|
|
53
|
+
expose(exposed: {}): void;
|
|
54
|
+
attrs: any;
|
|
55
|
+
slots: {
|
|
56
|
+
default?(_: {
|
|
57
|
+
content: T[];
|
|
58
|
+
pagination: iPagination | undefined;
|
|
59
|
+
currentPage: import("@open-xamu-co/ui-common-types").iPage<T, C>;
|
|
60
|
+
refresh: (fallback?: import("@open-xamu-co/ui-common-types").iPage<T, C> | null | undefined) => Promise<void>;
|
|
61
|
+
}): any;
|
|
62
|
+
};
|
|
63
|
+
emit: any;
|
|
64
|
+
} | undefined;
|
|
65
|
+
};
|
|
66
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z 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$25;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { iPagination, iPage } from "@open-xamu-co/ui-common-types";
|
|
2
|
+
import type { iUseThemeProps } from "../../types/props";
|
|
3
|
+
export interface iPaginationSimpleProps<Ti, Ci extends string | number> extends iUseThemeProps {
|
|
4
|
+
/**
|
|
5
|
+
* paginate using route
|
|
6
|
+
*/
|
|
7
|
+
withRoute?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* hide page length picker
|
|
10
|
+
*/
|
|
11
|
+
hidePageLength?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* pagination params
|
|
14
|
+
*/
|
|
15
|
+
pagination?: iPagination;
|
|
16
|
+
currentPage: iPage<Ti, Ci> | null;
|
|
17
|
+
}
|
|
18
|
+
declare const _default: <T, C extends string | number>(__VLS_props: iPaginationSimpleProps<T, C> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
|
|
19
|
+
props: iPaginationSimpleProps<T, C>;
|
|
20
|
+
expose(exposed: {}): void;
|
|
21
|
+
attrs: any;
|
|
22
|
+
slots: {};
|
|
23
|
+
emit: any;
|
|
24
|
+
}, "attrs" | "slots" | "emit"> | undefined, __VLS_expose?: ((exposed: {}) => void) | undefined, __VLS_setup?: Promise<{
|
|
25
|
+
props: iPaginationSimpleProps<T, C>;
|
|
26
|
+
expose(exposed: {}): void;
|
|
27
|
+
attrs: any;
|
|
28
|
+
slots: {};
|
|
29
|
+
emit: any;
|
|
30
|
+
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
}> & {
|
|
33
|
+
__ctx?: {
|
|
34
|
+
props: iPaginationSimpleProps<T, C>;
|
|
35
|
+
expose(exposed: {}): void;
|
|
36
|
+
attrs: any;
|
|
37
|
+
slots: {};
|
|
38
|
+
emit: any;
|
|
39
|
+
} | undefined;
|
|
40
|
+
};
|
|
41
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { A 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$26;
|