cleek 2.11.32 → 2.11.34

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 (75) hide show
  1. package/dist/cleek-styles/tiny-tailwind/aspect-ratio.styl +6 -6
  2. package/dist/cleek-styles/tiny-tailwind/bg-color.styl +161 -161
  3. package/dist/cleek-styles/tiny-tailwind/border-color.styl +161 -161
  4. package/dist/cleek-styles/tiny-tailwind/border.styl +63 -63
  5. package/dist/cleek-styles/tiny-tailwind/flex-direction.styl +8 -8
  6. package/dist/cleek-styles/tiny-tailwind/flex-grow.styl +10 -10
  7. package/dist/cleek-styles/tiny-tailwind/font-size.styl +24 -24
  8. package/dist/cleek-styles/tiny-tailwind/grid.styl +87 -87
  9. package/dist/cleek-styles/tiny-tailwind/height.styl +96 -96
  10. package/dist/cleek-styles/tiny-tailwind/inset.styl +328 -328
  11. package/dist/cleek-styles/tiny-tailwind/leading.styl +28 -28
  12. package/dist/cleek-styles/tiny-tailwind/object-fit.styl +20 -20
  13. package/dist/cleek-styles/tiny-tailwind/opacity.styl +30 -30
  14. package/dist/cleek-styles/tiny-tailwind/pointer-events.styl +4 -4
  15. package/dist/cleek-styles/tiny-tailwind/shadow.styl +16 -16
  16. package/dist/cleek-styles/tiny-tailwind/size-constraints.styl +127 -127
  17. package/dist/cleek-styles/tiny-tailwind/text-color.styl +159 -159
  18. package/dist/cleek-styles/tiny-tailwind/text-decoration.styl +8 -8
  19. package/dist/cleek-styles/tiny-tailwind/text-overflow.styl +38 -38
  20. package/dist/cleek-styles/tiny-tailwind/text-transform.styl +8 -8
  21. package/dist/cleek-styles/tiny-tailwind/transition.styl +55 -55
  22. package/dist/cleek-styles/tiny-tailwind/user-select.styl +8 -8
  23. package/dist/cleek-styles/tiny-tailwind/visibility.styl +4 -4
  24. package/dist/cleek-styles/tiny-tailwind/z-index.styl +14 -14
  25. package/dist/main.cjs.js +1 -1
  26. package/dist/main.css +1 -1
  27. package/dist/main.es.js +2120 -2097
  28. package/dist/types/cleek-options/default-cleek-options.d.ts +0 -1
  29. package/dist/types/components/ck-button.vue.d.ts +17 -41
  30. package/dist/types/components/ck-card.vue.d.ts +17 -27
  31. package/dist/types/components/ck-checkbox.vue.d.ts +26 -61
  32. package/dist/types/components/ck-chip.vue.d.ts +16 -32
  33. package/dist/types/components/ck-circle.vue.d.ts +16 -26
  34. package/dist/types/components/ck-div.vue.d.ts +16 -23
  35. package/dist/types/components/ck-dropdown/ck-dropdown.vue.d.ts +22 -23
  36. package/dist/types/components/ck-dropdown-button.vue.d.ts +7 -17
  37. package/dist/types/components/ck-icon.vue.d.ts +7 -26
  38. package/dist/types/components/ck-img.vue.d.ts +6 -30
  39. package/dist/types/components/ck-input/ck-input-date.vue.d.ts +9 -30
  40. package/dist/types/components/ck-input/ck-input-time.vue.d.ts +7 -23
  41. package/dist/types/components/ck-input.vue.d.ts +56 -249
  42. package/dist/types/components/ck-label.vue.d.ts +13 -20
  43. package/dist/types/components/ck-navbar/ck-navbar.vue.d.ts +12 -19
  44. package/dist/types/components/ck-notify/components/CkConfirm.vue.d.ts +1 -1
  45. package/dist/types/components/ck-popup.vue.d.ts +50 -157
  46. package/dist/types/components/ck-radio.vue.d.ts +8 -25
  47. package/dist/types/components/ck-select.vue.d.ts +52 -243
  48. package/dist/types/components/ck-sidebar.vue.d.ts +30 -69
  49. package/dist/types/components/ck-switch-options.vue.d.ts +27 -115
  50. package/dist/types/components/ck-switch.vue.d.ts +35 -102
  51. package/dist/types/components/ck-table/ck-pagination/ck-pagination.vue.d.ts +6 -25
  52. package/dist/types/components/ck-table/ck-table.vue.d.ts +60 -182
  53. package/dist/types/components/ck-table/ck-td.vue.d.ts +12 -27
  54. package/dist/types/components/ck-table/ck-th.vue.d.ts +12 -20
  55. package/dist/types/components/ck-table/ck-tr.vue.d.ts +9 -3
  56. package/dist/types/components/ck-table/inner-components/ck-table__columns-manager-btn.vue.d.ts +3 -14
  57. package/dist/types/components/ck-table/inner-components/ck-table__columns-manager.vue.d.ts +6 -19
  58. package/dist/types/components/ck-table/inner-components/ck-table__header-items.vue.d.ts +25 -58
  59. package/dist/types/components/ck-table/inner-components/ck-table__items-per-page.vue.d.ts +3 -16
  60. package/dist/types/components/ck-table/inner-components/ck-table__pagination.vue.d.ts +7 -23
  61. package/dist/types/components/ck-table/loading-and-no-results-text/LoadingAndNoResultsText.vue.d.ts +3 -16
  62. package/dist/types/components/ck-tabs/ck-tab.vue.d.ts +12 -18
  63. package/dist/types/components/ck-tabs/ck-tabs.vue.d.ts +19 -19
  64. package/dist/types/components/ck-textarea.vue.d.ts +14 -42
  65. package/dist/types/components/ck-tile-picker.vue.d.ts +35 -0
  66. package/dist/types/components/ck-toggle/ck-toggle.vue.d.ts +16 -27
  67. package/dist/types/components/ck-toggle-group/ck-toggle-group.vue.d.ts +28 -65
  68. package/dist/types/components/index.d.ts +1 -0
  69. package/dist/types/components/showers/ck-datetime-shower.vue.d.ts +5 -20
  70. package/dist/types/components/showers/ck-time-shower.vue.d.ts +3 -14
  71. package/dist/types/composables/use-scroll-listener.composable.d.ts +0 -1
  72. package/dist/types/main.d.ts +0 -1
  73. package/dist/types/types/table.d.ts +0 -1
  74. package/dist/types/utils/global-hooks.d.ts +0 -1
  75. package/package.json +86 -85
@@ -1,34 +1,18 @@
1
1
  import { Align, AlignVertical, WidthBreaks } from '../../cleek-options/cleek-options.types';
2
-
3
2
  type numberTime = number | undefined;
4
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
3
+ type __VLS_Props = {
5
4
  modelValue: numberTime;
6
5
  label?: string;
7
6
  disabled?: boolean;
8
7
  widthBreaks?: WidthBreaks;
9
8
  group?: Align;
10
9
  groupVertical?: AlignVertical;
11
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
- "update:modelValue": (value: number) => void;
13
- change: (value: number) => void;
14
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
15
- modelValue: numberTime;
16
- label?: string;
17
- disabled?: boolean;
18
- widthBreaks?: WidthBreaks;
19
- group?: Align;
20
- groupVertical?: AlignVertical;
21
- }>>> & Readonly<{
10
+ };
11
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
12
+ change: (value: number) => any;
13
+ "update:modelValue": (value: number) => any;
14
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
22
15
  onChange?: (value: number) => any;
23
16
  "onUpdate:modelValue"?: (value: number) => any;
24
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
17
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
25
18
  export default _default;
26
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
27
- type __VLS_TypePropsToRuntimeProps<T> = {
28
- [K in keyof T]-?: {} extends Pick<T, K> ? {
29
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
30
- } : {
31
- type: import('vue').PropType<T[K]>;
32
- required: true;
33
- };
34
- };
@@ -1,267 +1,74 @@
1
- import { Align, AlignVertical, Icon, IconPack, InputType, Layout, WidthBreaks } from '../cleek-options/cleek-options.types';
2
-
1
+ import { Align, AlignVertical, Color, Icon, IconPack, InputType, Layout, SizeInCSS, WidthBreaks } from '../cleek-options/cleek-options.types';
3
2
  type Value = string | number;
3
+ type __VLS_Props = {
4
+ type?: InputType;
5
+ preventAutocomplete?: boolean;
6
+ readonly?: boolean;
7
+ disabled?: boolean;
8
+ placeholder?: string;
9
+ plusMinusButtons?: boolean;
10
+ min?: number;
11
+ max?: number;
12
+ suffix?: string;
13
+ label?: string;
14
+ labelAlign?: Align;
15
+ icon?: Icon;
16
+ iconRight?: Icon;
17
+ iconPack?: IconPack;
18
+ iconColor?: Color;
19
+ group?: Align;
20
+ groupVertical?: AlignVertical;
21
+ widthBreaks?: WidthBreaks;
22
+ fontSize?: SizeInCSS;
23
+ size?: 's' | 'm' | 'l' | 'xl';
24
+ hideBorder?: boolean;
25
+ width?: string;
26
+ align?: Align;
27
+ layout?: Layout;
28
+ borderColor?: Color;
29
+ textColor?: Color;
30
+ optional?: boolean;
31
+ autofocus?: boolean;
32
+ capitalize?: boolean;
33
+ toUpperCase?: boolean;
34
+ autoSelect?: boolean;
35
+ delayChangeTime?: number;
36
+ justInteger?: boolean;
37
+ tabindex?: string | number;
38
+ };
4
39
  declare function focus(): void;
5
40
  declare function select(): void;
6
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
7
- modelValue: {
8
- required: true;
9
- type: import('vue').PropType<Value>;
10
- };
11
- label: {
12
- type: import('vue').PropType<string>;
13
- };
14
- layout: {
15
- type: import('vue').PropType<Layout>;
16
- };
17
- borderColor: {
18
- type: import('vue').PropType<string>;
19
- };
20
- type: {
21
- type: import('vue').PropType<InputType>;
22
- default: string;
23
- };
24
- textColor: {
25
- type: import('vue').PropType<string>;
26
- };
27
- fontSize: {
28
- type: import('vue').PropType<string>;
29
- };
30
- size: {
31
- type: import('vue').PropType<"s" | "m" | "l" | "xl">;
32
- default: string;
33
- };
34
- group: {
35
- type: import('vue').PropType<Align>;
36
- };
37
- groupVertical: {
38
- type: import('vue').PropType<AlignVertical>;
39
- };
40
- widthBreaks: {
41
- type: import('vue').PropType<WidthBreaks>;
42
- };
43
- width: {
44
- type: import('vue').PropType<string>;
45
- };
46
- icon: {
47
- type: import('vue').PropType<Icon>;
48
- };
49
- iconPack: {
50
- type: import('vue').PropType<IconPack>;
51
- };
52
- toUpperCase: {
53
- type: import('vue').PropType<boolean>;
54
- };
55
- disabled: {
56
- type: import('vue').PropType<boolean>;
57
- };
58
- max: {
59
- type: import('vue').PropType<number>;
60
- };
61
- placeholder: {
62
- type: import('vue').PropType<string>;
63
- };
64
- tabindex: {
65
- type: import('vue').PropType<string | number>;
66
- };
67
- align: {
68
- type: import('vue').PropType<Align>;
69
- };
70
- iconRight: {
71
- type: import('vue').PropType<Icon>;
72
- };
73
- labelAlign: {
74
- type: import('vue').PropType<Align>;
75
- };
76
- preventAutocomplete: {
77
- type: import('vue').PropType<boolean>;
78
- };
79
- readonly: {
80
- type: import('vue').PropType<boolean>;
81
- };
82
- plusMinusButtons: {
83
- type: import('vue').PropType<boolean>;
84
- };
85
- min: {
86
- type: import('vue').PropType<number>;
87
- };
88
- suffix: {
89
- type: import('vue').PropType<string>;
90
- };
91
- rightIconIsButton: {
92
- type: import('vue').PropType<boolean>;
93
- default: boolean;
94
- };
95
- rightIconTooltip: {
96
- type: import('vue').PropType<string>;
97
- };
98
- iconColor: {
99
- type: import('vue').PropType<string>;
100
- };
101
- hideBorder: {
102
- type: import('vue').PropType<boolean>;
103
- };
104
- optional: {
105
- type: import('vue').PropType<boolean>;
106
- };
107
- autofocus: {
108
- type: import('vue').PropType<boolean>;
109
- };
110
- capitalize: {
111
- type: import('vue').PropType<boolean>;
112
- };
113
- autoSelect: {
114
- type: import('vue').PropType<boolean>;
115
- };
116
- delayChangeTime: {
117
- type: import('vue').PropType<number>;
118
- default: number;
119
- };
120
- justInteger: {
121
- type: import('vue').PropType<boolean>;
122
- };
123
- }>, {
41
+ type __VLS_PublicProps = {
42
+ modelValue: Value;
43
+ } & __VLS_Props;
44
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
124
45
  focus: typeof focus;
125
46
  select: typeof select;
126
47
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
127
- input: (value: Value) => void;
128
- click: (event: Event) => void;
129
- blur: (event: Event) => void;
130
- change: (value: Value) => void;
131
- focus: (event: Event) => void;
132
- inputDelayed: (value: Value) => void;
133
- changeDelayed: (value: Value) => void;
134
- rightIconClick: (event: Event) => void;
135
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
136
- modelValue: {
137
- required: true;
138
- type: import('vue').PropType<Value>;
139
- };
140
- label: {
141
- type: import('vue').PropType<string>;
142
- };
143
- layout: {
144
- type: import('vue').PropType<Layout>;
145
- };
146
- borderColor: {
147
- type: import('vue').PropType<string>;
148
- };
149
- type: {
150
- type: import('vue').PropType<InputType>;
151
- default: string;
152
- };
153
- textColor: {
154
- type: import('vue').PropType<string>;
155
- };
156
- fontSize: {
157
- type: import('vue').PropType<string>;
158
- };
159
- size: {
160
- type: import('vue').PropType<"s" | "m" | "l" | "xl">;
161
- default: string;
162
- };
163
- group: {
164
- type: import('vue').PropType<Align>;
165
- };
166
- groupVertical: {
167
- type: import('vue').PropType<AlignVertical>;
168
- };
169
- widthBreaks: {
170
- type: import('vue').PropType<WidthBreaks>;
171
- };
172
- width: {
173
- type: import('vue').PropType<string>;
174
- };
175
- icon: {
176
- type: import('vue').PropType<Icon>;
177
- };
178
- iconPack: {
179
- type: import('vue').PropType<IconPack>;
180
- };
181
- toUpperCase: {
182
- type: import('vue').PropType<boolean>;
183
- };
184
- disabled: {
185
- type: import('vue').PropType<boolean>;
186
- };
187
- max: {
188
- type: import('vue').PropType<number>;
189
- };
190
- placeholder: {
191
- type: import('vue').PropType<string>;
192
- };
193
- tabindex: {
194
- type: import('vue').PropType<string | number>;
195
- };
196
- align: {
197
- type: import('vue').PropType<Align>;
198
- };
199
- iconRight: {
200
- type: import('vue').PropType<Icon>;
201
- };
202
- labelAlign: {
203
- type: import('vue').PropType<Align>;
204
- };
205
- preventAutocomplete: {
206
- type: import('vue').PropType<boolean>;
207
- };
208
- readonly: {
209
- type: import('vue').PropType<boolean>;
210
- };
211
- plusMinusButtons: {
212
- type: import('vue').PropType<boolean>;
213
- };
214
- min: {
215
- type: import('vue').PropType<number>;
216
- };
217
- suffix: {
218
- type: import('vue').PropType<string>;
219
- };
220
- rightIconIsButton: {
221
- type: import('vue').PropType<boolean>;
222
- default: boolean;
223
- };
224
- rightIconTooltip: {
225
- type: import('vue').PropType<string>;
226
- };
227
- iconColor: {
228
- type: import('vue').PropType<string>;
229
- };
230
- hideBorder: {
231
- type: import('vue').PropType<boolean>;
232
- };
233
- optional: {
234
- type: import('vue').PropType<boolean>;
235
- };
236
- autofocus: {
237
- type: import('vue').PropType<boolean>;
238
- };
239
- capitalize: {
240
- type: import('vue').PropType<boolean>;
241
- };
242
- autoSelect: {
243
- type: import('vue').PropType<boolean>;
244
- };
245
- delayChangeTime: {
246
- type: import('vue').PropType<number>;
247
- default: number;
248
- };
249
- justInteger: {
250
- type: import('vue').PropType<boolean>;
251
- };
252
- }>> & Readonly<{
48
+ focus: (event: Event) => any;
49
+ input: (value: Value) => any;
50
+ click: (event: Event) => any;
51
+ blur: (event: Event) => any;
52
+ change: (value: Value) => any;
53
+ inputDelayed: (value: Value) => any;
54
+ changeDelayed: (value: Value) => any;
55
+ rightIconClick: (event: Event) => any;
56
+ "update:modelValue": (value: Value) => any;
57
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
58
+ onFocus?: (event: Event) => any;
253
59
  onInput?: (value: Value) => any;
254
60
  onClick?: (event: Event) => any;
255
61
  onBlur?: (event: Event) => any;
256
62
  onChange?: (value: Value) => any;
257
- onFocus?: (event: Event) => any;
258
63
  onInputDelayed?: (value: Value) => any;
259
64
  onChangeDelayed?: (value: Value) => any;
260
65
  onRightIconClick?: (event: Event) => any;
66
+ "onUpdate:modelValue"?: (value: Value) => any;
261
67
  }>, {
262
68
  type: InputType;
263
69
  size: "s" | "m" | "l" | "xl";
264
- rightIconIsButton: boolean;
265
70
  delayChangeTime: number;
266
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
71
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
72
+ inputRef: HTMLInputElement;
73
+ }, HTMLDivElement>;
267
74
  export default _default;
@@ -1,28 +1,21 @@
1
1
  import { Align } from '../cleek-options/cleek-options.types';
2
-
3
- declare function __VLS_template(): {
4
- default?(_: {}): any;
5
- };
6
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
- for?: string;
8
- align: Align;
9
- size?: "s" | "m" | "l" | "xl";
10
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
+ type __VLS_Props = {
11
3
  for?: string;
12
4
  align: Align;
13
- size?: "s" | "m" | "l" | "xl";
14
- }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
15
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
16
- export default _default;
17
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
18
- type __VLS_TypePropsToRuntimeProps<T> = {
19
- [K in keyof T]-?: {} extends Pick<T, K> ? {
20
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
21
- } : {
22
- type: import('vue').PropType<T[K]>;
23
- required: true;
5
+ size?: 's' | 'm' | 'l' | 'xl';
6
+ };
7
+ declare function __VLS_template(): {
8
+ attrs: Partial<{}>;
9
+ slots: {
10
+ default?(_: {}): any;
24
11
  };
12
+ refs: {};
13
+ rootEl: HTMLLabelElement;
25
14
  };
15
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
17
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
18
+ export default _default;
26
19
  type __VLS_WithTemplateSlots<T, S> = T & {
27
20
  new (): {
28
21
  $slots: S;
@@ -1,28 +1,21 @@
1
1
  import { Color } from '../../cleek-options/cleek-options.types';
2
-
3
- declare function __VLS_template(): {
4
- default?(_: {}): any;
5
- };
6
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
- backgroundColor?: Color;
8
- padding?: string;
9
- position?: string;
10
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
+ type __VLS_Props = {
11
3
  backgroundColor?: Color;
12
4
  padding?: string;
13
5
  position?: string;
14
- }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
15
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
16
- export default _default;
17
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
18
- type __VLS_TypePropsToRuntimeProps<T> = {
19
- [K in keyof T]-?: {} extends Pick<T, K> ? {
20
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
21
- } : {
22
- type: import('vue').PropType<T[K]>;
23
- required: true;
6
+ };
7
+ declare function __VLS_template(): {
8
+ attrs: Partial<{}>;
9
+ slots: {
10
+ default?(_: {}): any;
24
11
  };
12
+ refs: {};
13
+ rootEl: HTMLDivElement;
25
14
  };
15
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
17
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
18
+ export default _default;
26
19
  type __VLS_WithTemplateSlots<T, S> = T & {
27
20
  new (): {
28
21
  $slots: S;
@@ -5,5 +5,5 @@ declare const _default: import('vue').DefineComponent<{}, {
5
5
  cancelText: import('vue').Ref<string, string>;
6
6
  responseSuccess: import('vue').Ref<() => void, () => void>;
7
7
  responseFailure: import('vue').Ref<() => void, () => void>;
8
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
8
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
9
9
  export default _default;
@@ -1,164 +1,57 @@
1
- import { Align, Layout, ButtonType } from '../cleek-options/cleek-options.types';
2
-
1
+ import { Align, Color, Layout, ButtonType } from '../cleek-options/cleek-options.types';
2
+ type __VLS_Props = {
3
+ title?: string;
4
+ topAlert?: string;
5
+ confirmButtons?: boolean;
6
+ acceptButton?: boolean;
7
+ acceptBtnText?: string;
8
+ acceptBtnType?: ButtonType;
9
+ cancelButton?: boolean;
10
+ cancelBtnText?: string;
11
+ cancelBtnType?: ButtonType;
12
+ notCloseBtn?: boolean;
13
+ notCloseByBg?: boolean;
14
+ notClose?: boolean;
15
+ preventCloseOnCancel?: boolean;
16
+ isLoading?: boolean;
17
+ width?: number;
18
+ maxWidth?: number;
19
+ layout?: Layout;
20
+ textColor?: Color;
21
+ headerColor?: Color;
22
+ headerAlign?: Align;
23
+ backgroundColor?: Color;
24
+ fontSize?: string;
25
+ };
26
+ type __VLS_PublicProps = {
27
+ modelValue: boolean;
28
+ 'topAlertVisible'?: boolean;
29
+ } & __VLS_Props;
3
30
  declare function __VLS_template(): {
4
- header?(_: {}): any;
5
- default?(_: {}): any;
6
- footer?(_: {}): any;
31
+ attrs: Partial<{}>;
32
+ slots: {
33
+ header?(_: {}): any;
34
+ default?(_: {}): any;
35
+ footer?(_: {}): any;
36
+ };
37
+ refs: {};
38
+ rootEl: any;
7
39
  };
8
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
9
- modelValue: {
10
- required: true;
11
- type: import('vue').PropType<boolean>;
12
- };
13
- topAlertVisible: import('vue').PropType<boolean>;
14
- title: {
15
- type: import('vue').PropType<string>;
16
- };
17
- topAlert: {
18
- type: import('vue').PropType<string>;
19
- };
20
- confirmButtons: {
21
- type: import('vue').PropType<boolean>;
22
- };
23
- acceptButton: {
24
- type: import('vue').PropType<boolean>;
25
- };
26
- acceptBtnText: {
27
- type: import('vue').PropType<string>;
28
- };
29
- acceptBtnType: {
30
- type: import('vue').PropType<ButtonType>;
31
- };
32
- cancelButton: {
33
- type: import('vue').PropType<boolean>;
34
- };
35
- cancelBtnText: {
36
- type: import('vue').PropType<string>;
37
- };
38
- cancelBtnType: {
39
- type: import('vue').PropType<ButtonType>;
40
- };
41
- notCloseBtn: {
42
- type: import('vue').PropType<boolean>;
43
- };
44
- notCloseByBg: {
45
- type: import('vue').PropType<boolean>;
46
- };
47
- notClose: {
48
- type: import('vue').PropType<boolean>;
49
- };
50
- preventCloseOnCancel: {
51
- type: import('vue').PropType<boolean>;
52
- };
53
- isLoading: {
54
- type: import('vue').PropType<boolean>;
55
- };
56
- width: {
57
- type: import('vue').PropType<number>;
58
- };
59
- maxWidth: {
60
- type: import('vue').PropType<number>;
61
- };
62
- layout: {
63
- type: import('vue').PropType<Layout>;
64
- };
65
- textColor: {
66
- type: import('vue').PropType<string>;
67
- };
68
- headerColor: {
69
- type: import('vue').PropType<string>;
70
- };
71
- headerAlign: {
72
- type: import('vue').PropType<Align>;
73
- };
74
- backgroundColor: {
75
- type: import('vue').PropType<string>;
76
- };
77
- fontSize: {
78
- type: import('vue').PropType<string>;
79
- };
80
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
81
- cancel: () => void;
82
- close: () => void;
83
- accept: () => void;
84
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
85
- modelValue: {
86
- required: true;
87
- type: import('vue').PropType<boolean>;
88
- };
89
- topAlertVisible: import('vue').PropType<boolean>;
90
- title: {
91
- type: import('vue').PropType<string>;
92
- };
93
- topAlert: {
94
- type: import('vue').PropType<string>;
95
- };
96
- confirmButtons: {
97
- type: import('vue').PropType<boolean>;
98
- };
99
- acceptButton: {
100
- type: import('vue').PropType<boolean>;
101
- };
102
- acceptBtnText: {
103
- type: import('vue').PropType<string>;
104
- };
105
- acceptBtnType: {
106
- type: import('vue').PropType<ButtonType>;
107
- };
108
- cancelButton: {
109
- type: import('vue').PropType<boolean>;
110
- };
111
- cancelBtnText: {
112
- type: import('vue').PropType<string>;
113
- };
114
- cancelBtnType: {
115
- type: import('vue').PropType<ButtonType>;
116
- };
117
- notCloseBtn: {
118
- type: import('vue').PropType<boolean>;
119
- };
120
- notCloseByBg: {
121
- type: import('vue').PropType<boolean>;
122
- };
123
- notClose: {
124
- type: import('vue').PropType<boolean>;
125
- };
126
- preventCloseOnCancel: {
127
- type: import('vue').PropType<boolean>;
128
- };
129
- isLoading: {
130
- type: import('vue').PropType<boolean>;
131
- };
132
- width: {
133
- type: import('vue').PropType<number>;
134
- };
135
- maxWidth: {
136
- type: import('vue').PropType<number>;
137
- };
138
- layout: {
139
- type: import('vue').PropType<Layout>;
140
- };
141
- textColor: {
142
- type: import('vue').PropType<string>;
143
- };
144
- headerColor: {
145
- type: import('vue').PropType<string>;
146
- };
147
- headerAlign: {
148
- type: import('vue').PropType<Align>;
149
- };
150
- backgroundColor: {
151
- type: import('vue').PropType<string>;
152
- };
153
- fontSize: {
154
- type: import('vue').PropType<string>;
155
- };
156
- }>> & Readonly<{
157
- onCancel?: () => any;
40
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
41
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
42
+ close: () => any;
43
+ cancel: () => any;
44
+ "update:modelValue": (value: boolean) => any;
45
+ accept: () => any;
46
+ "update:topAlertVisible": (value: boolean) => any;
47
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
158
48
  onClose?: () => any;
49
+ onCancel?: () => any;
50
+ "onUpdate:modelValue"?: (value: boolean) => any;
159
51
  onAccept?: () => any;
160
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
161
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
52
+ "onUpdate:topAlertVisible"?: (value: boolean) => any;
53
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
54
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
162
55
  export default _default;
163
56
  type __VLS_WithTemplateSlots<T, S> = T & {
164
57
  new (): {