@namba_one/ui-kit-2 1.0.97 → 1.0.98

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/dist/index.d.ts CHANGED
@@ -29,7 +29,7 @@ import { VueDatePickerProps } from '@vuepic/vue-datepicker';
29
29
  import { WatchOptions } from 'vue';
30
30
  import { WatchStopHandle } from 'vue';
31
31
 
32
- declare const __VLS_component: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
32
+ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
33
33
 
34
34
  declare const __VLS_component_10: DefineComponent<ResponseBaseProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ResponseBaseProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
35
35
 
@@ -146,9 +146,9 @@ default?(_: {}): any;
146
146
  triggerElementRef: HTMLDivElement;
147
147
  }, HTMLDivElement>;
148
148
 
149
- declare const __VLS_component_22: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
149
+ declare const __VLS_component_22: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
150
150
  apply: (value: string[] | null) => any;
151
- }, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{
151
+ }, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{
152
152
  onApply?: ((value: string[] | null) => any) | undefined;
153
153
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
154
154
 
@@ -203,93 +203,100 @@ click: () => any;
203
203
  onClick?: (() => any) | undefined;
204
204
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
205
205
 
206
- declare type __VLS_Props = CardContentProps;
206
+ /**
207
+ * @author Sokolov D <ds@burno.tech>
208
+ */
209
+ declare type __VLS_Props = {
210
+ isLoading?: boolean;
211
+ };
207
212
 
208
- declare type __VLS_Props_10 = DropdownElementProps;
213
+ declare type __VLS_Props_10 = StatusSelectProps;
209
214
 
210
- declare type __VLS_Props_11 = ThemePickerProps;
215
+ declare type __VLS_Props_11 = DropdownElementProps;
211
216
 
212
- declare type __VLS_Props_12 = FilterHubProps;
217
+ declare type __VLS_Props_12 = ThemePickerProps;
213
218
 
214
- declare type __VLS_Props_13 = {
219
+ declare type __VLS_Props_13 = FilterHubProps;
220
+
221
+ declare type __VLS_Props_14 = {
215
222
  list: CheckboxFilterItem[];
216
223
  initialValue: string[];
217
224
  };
218
225
 
219
- declare type __VLS_Props_14 = {
226
+ declare type __VLS_Props_15 = {
220
227
  filter: CheckboxGroupFilter;
221
228
  value: CheckboxGroupFilterValue;
222
229
  };
223
230
 
224
- declare type __VLS_Props_15 = {
231
+ declare type __VLS_Props_16 = {
225
232
  filter: DatepickerFilter_2;
226
233
  value: DatepickerFilterValue;
227
234
  };
228
235
 
229
- declare type __VLS_Props_2 = CardContentListProps;
236
+ declare type __VLS_Props_2 = CardContentProps;
230
237
 
231
- declare type __VLS_Props_3 = DropzoneProps;
238
+ declare type __VLS_Props_3 = CardContentListProps;
232
239
 
233
- declare type __VLS_Props_4 = InputProps;
240
+ declare type __VLS_Props_4 = DropzoneProps;
234
241
 
235
- declare type __VLS_Props_5 = ListHeaderProps;
242
+ declare type __VLS_Props_5 = InputProps;
236
243
 
237
- declare type __VLS_Props_6 = SelectProps;
244
+ declare type __VLS_Props_6 = ListHeaderProps;
238
245
 
239
- declare type __VLS_Props_7 = ColorPickerProps;
246
+ declare type __VLS_Props_7 = SelectProps;
240
247
 
241
- declare type __VLS_Props_8 = TabsProps;
248
+ declare type __VLS_Props_8 = ColorPickerProps;
242
249
 
243
- declare type __VLS_Props_9 = StatusSelectProps;
250
+ declare type __VLS_Props_9 = TabsProps;
244
251
 
245
252
  declare type __VLS_PublicProps = {
246
253
  'value': boolean;
247
- } & __VLS_Props;
254
+ } & __VLS_Props_2;
248
255
 
249
256
  declare type __VLS_PublicProps_10 = {
250
257
  'value': StatusSelectProps['value'];
251
- } & __VLS_Props_9;
258
+ } & __VLS_Props_10;
252
259
 
253
260
  declare type __VLS_PublicProps_11 = {
254
261
  'isShowDropdown': boolean;
255
- } & __VLS_Props_10;
262
+ } & __VLS_Props_11;
256
263
 
257
264
  declare type __VLS_PublicProps_12 = {
258
265
  'value': ThemePickerProps['value'];
259
- } & __VLS_Props_11;
266
+ } & __VLS_Props_12;
260
267
 
261
268
  declare type __VLS_PublicProps_13 = {
262
269
  'values': FilterValue[];
263
- } & __VLS_Props_12;
270
+ } & __VLS_Props_13;
264
271
 
265
272
  declare type __VLS_PublicProps_2 = {
266
273
  'list': CardContentListProps['list'];
267
- } & __VLS_Props_2;
274
+ } & __VLS_Props_3;
268
275
 
269
276
  declare type __VLS_PublicProps_3 = {
270
277
  'value': DropzoneProps['value'];
271
278
  'isError'?: DropzoneProps['isError'];
272
- } & __VLS_Props_3;
279
+ } & __VLS_Props_4;
273
280
 
274
281
  declare type __VLS_PublicProps_4 = {
275
282
  'value'?: string | undefined | null;
276
- } & __VLS_Props_4;
283
+ } & __VLS_Props_5;
277
284
 
278
285
  declare type __VLS_PublicProps_5 = {
279
286
  'isSortable': ListHeaderProps['isSortable'];
280
- } & __VLS_Props_5;
287
+ } & __VLS_Props_6;
281
288
 
282
289
  declare type __VLS_PublicProps_6 = {
283
290
  'value'?: Maybe<string | number>;
284
- } & __VLS_Props_6;
291
+ } & __VLS_Props_7;
285
292
 
286
293
  declare type __VLS_PublicProps_7 = {
287
294
  'value': Value;
288
- } & __VLS_Props_7;
295
+ } & __VLS_Props_8;
289
296
 
290
297
  declare type __VLS_PublicProps_8 = {
291
298
  'value': TabsProps['value'];
292
- } & __VLS_Props_8;
299
+ } & __VLS_Props_9;
293
300
 
294
301
  declare type __VLS_PublicProps_9 = {
295
302
  'value': boolean;
@@ -939,10 +946,10 @@ export declare type CheckboxGroupFilter = {
939
946
  }[];
940
947
  };
941
948
 
942
- export declare const CheckboxGroupFilterChip: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
949
+ export declare const CheckboxGroupFilterChip: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
943
950
  drop: (value: CheckboxGroupFilterValue) => any;
944
951
  apply: (value: CheckboxGroupFilterValue) => any;
945
- }, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{
952
+ }, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{
946
953
  onDrop?: ((value: CheckboxGroupFilterValue) => any) | undefined;
947
954
  onApply?: ((value: CheckboxGroupFilterValue) => any) | undefined;
948
955
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
@@ -1207,10 +1214,10 @@ declare type DatepickerFilter_2 = {
1207
1214
  kind: 'datepicker';
1208
1215
  };
1209
1216
 
1210
- export declare const DatepickerFilterChip: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1217
+ export declare const DatepickerFilterChip: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1211
1218
  drop: (value: DatepickerFilterValue) => any;
1212
1219
  apply: (value: DatepickerFilterValue) => any;
1213
- }, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{
1220
+ }, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{
1214
1221
  onDrop?: ((value: DatepickerFilterValue) => any) | undefined;
1215
1222
  onApply?: ((value: DatepickerFilterValue) => any) | undefined;
1216
1223
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
package/dist/index.es.js CHANGED
@@ -9052,15 +9052,24 @@ const u0 = /* @__PURE__ */ he({
9052
9052
  $style: h0
9053
9053
  }, O$ = /* @__PURE__ */ $e(u0, [["__cssModules", p0]]), v0 = /* @__PURE__ */ he({
9054
9054
  __name: "SkeletonWrapper",
9055
+ props: {
9056
+ isLoading: { type: Boolean, default: !0 }
9057
+ },
9055
9058
  setup(a) {
9056
9059
  return (e, t) => (v(), T("div", {
9057
- class: b(e.$style.root)
9060
+ class: b([
9061
+ e.$style.root,
9062
+ {
9063
+ [e.$style["is-loading"]]: e.isLoading
9064
+ }
9065
+ ])
9058
9066
  }, [
9059
9067
  ce(e.$slots, "default")
9060
9068
  ], 2));
9061
9069
  }
9062
9070
  }), m0 = "SkeletonWrapper__root_bd4da", g0 = "SkeletonWrapper__pulse_ab6d7", y0 = {
9063
9071
  root: m0,
9072
+ "is-loading": "SkeletonWrapper__is-loading_848cc",
9064
9073
  pulse: g0
9065
9074
  }, b0 = {
9066
9075
  $style: y0