ninemoon-ui 0.1.7 → 0.1.9

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 (36) hide show
  1. package/dist/components/date/datepicker.vue.d.ts +3 -3
  2. package/dist/components/date/datepickerRange.vue.d.ts +2 -2
  3. package/dist/components/form/form.vue.d.ts +5 -0
  4. package/dist/components/form/formlabel.vue.d.ts +10 -0
  5. package/dist/components/input/input.vue.d.ts +10 -3
  6. package/dist/components/numberInput/numberinput.vue.d.ts +3 -3
  7. package/dist/components/select/select.vue.d.ts +3 -3
  8. package/dist/components/table/table.vue.d.ts +8 -1
  9. package/dist/components/table/tableItem.vue.d.ts +2 -0
  10. package/dist/directives/index.d.ts +1 -2
  11. package/dist/directives/looplead.d.ts +19 -0
  12. package/dist/directives/scrolllead.d.ts +3 -11
  13. package/dist/directives/watchwindow.d.ts +1 -1
  14. package/dist/hooks/teleportcontainer.d.ts +5 -0
  15. package/dist/index.d.ts +128 -30
  16. package/dist/index.es.js +26 -27
  17. package/dist/js/badge/badge.js +3 -3
  18. package/dist/js/carousel/carousel.js +1 -1
  19. package/dist/js/check/checkbox.js +4 -4
  20. package/dist/js/date/datepicker.js +4 -3
  21. package/dist/js/date/datepickerRange.js +22 -17
  22. package/dist/js/dialog/dialog.js +36 -37
  23. package/dist/js/form/form.js +3 -1
  24. package/dist/js/form/formlabel.js +39 -8
  25. package/dist/js/image/image.js +2 -2
  26. package/dist/js/index/index.js +130 -113
  27. package/dist/js/input/input.js +26 -6
  28. package/dist/js/numberInput/numberinput.js +2 -1
  29. package/dist/js/pagination/pagination.js +2 -1
  30. package/dist/js/popover/popover.js +11 -17
  31. package/dist/js/radio/radiobox.js +4 -4
  32. package/dist/js/select/select.js +4 -3
  33. package/dist/js/table/table.js +243 -188
  34. package/dist/js/table/tableItem.js +2 -1
  35. package/package.json +2 -1
  36. package/dist/directives/whitespaceclick.d.ts +0 -12
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import { App } from 'vue';
2
2
  import { MessageClass as LibMessage } from './components/message/message';
3
3
  import { default as LibAlert } from './components/alert/alert';
4
4
  import { default as LibLoad } from './components/loadding/loadding';
5
- import { createArrowKeysDirective, createDraggableDirective, createEscapeDirective, createBgClickDirective, createLoadingDirective, createScrollDirective, createWheelDirective, createBgClickeDirective } from './directives/index';
5
+ import { createArrowKeysDirective, createDraggableDirective, createEscapeDirective, createBgClickDirective, createLoadingDirective, createScrollDirective, createWheelDirective } from './directives/index';
6
6
 
7
7
  declare const LibDialog: {
8
8
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
@@ -155,12 +155,17 @@ declare const LibForm: {
155
155
  type: import('vue').PropType<boolean>;
156
156
  default: boolean;
157
157
  };
158
+ labelPosition: {
159
+ type: import('vue').PropType<"right" | "left" | "top">;
160
+ default: string;
161
+ };
158
162
  }>> & Readonly<{}>, {
159
163
  validate: (callBack: (isValid: boolean) => void) => Promise<boolean>;
160
164
  validateField: (propname: string, callBack: Function) => Promise<void>;
161
165
  resetField: () => void;
162
166
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
163
167
  inline: boolean;
168
+ labelPosition: "top" | "left" | "right";
164
169
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
165
170
  P: {};
166
171
  B: {};
@@ -180,12 +185,17 @@ declare const LibForm: {
180
185
  type: import('vue').PropType<boolean>;
181
186
  default: boolean;
182
187
  };
188
+ labelPosition: {
189
+ type: import('vue').PropType<"right" | "left" | "top">;
190
+ default: string;
191
+ };
183
192
  }>> & Readonly<{}>, {
184
193
  validate: (callBack: (isValid: boolean) => void) => Promise<boolean>;
185
194
  validateField: (propname: string, callBack: Function) => Promise<void>;
186
195
  resetField: () => void;
187
196
  }, {}, {}, {}, {
188
197
  inline: boolean;
198
+ labelPosition: "top" | "left" | "right";
189
199
  }>;
190
200
  __isFragment?: never;
191
201
  __isTeleport?: never;
@@ -202,12 +212,17 @@ declare const LibForm: {
202
212
  type: import('vue').PropType<boolean>;
203
213
  default: boolean;
204
214
  };
215
+ labelPosition: {
216
+ type: import('vue').PropType<"right" | "left" | "top">;
217
+ default: string;
218
+ };
205
219
  }>> & Readonly<{}>, {
206
220
  validate: (callBack: (isValid: boolean) => void) => Promise<boolean>;
207
221
  validateField: (propname: string, callBack: Function) => Promise<void>;
208
222
  resetField: () => void;
209
223
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
210
224
  inline: boolean;
225
+ labelPosition: "top" | "left" | "right";
211
226
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
212
227
  $slots: {
213
228
  default?(_: {}): any;
@@ -226,14 +241,24 @@ declare const LibFormLabel: {
226
241
  type: import('vue').PropType<boolean>;
227
242
  default: undefined;
228
243
  };
244
+ labelPosition: {
245
+ type: import('vue').PropType<"right" | "left" | "top">;
246
+ default: undefined;
247
+ };
229
248
  prop: {
230
249
  type: import('vue').PropType<string>;
231
250
  };
251
+ showRequire: {
252
+ type: import('vue').PropType<boolean>;
253
+ default: boolean;
254
+ };
232
255
  }>> & Readonly<{}>, {
233
256
  validateLabel: (callBack?: Function, eventName?: string) => Promise<void>;
234
257
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
235
258
  width: number;
236
259
  inline: boolean;
260
+ labelPosition: "top" | "left" | "right";
261
+ showRequire: boolean;
237
262
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
238
263
  P: {};
239
264
  B: {};
@@ -253,14 +278,24 @@ declare const LibFormLabel: {
253
278
  type: import('vue').PropType<boolean>;
254
279
  default: undefined;
255
280
  };
281
+ labelPosition: {
282
+ type: import('vue').PropType<"right" | "left" | "top">;
283
+ default: undefined;
284
+ };
256
285
  prop: {
257
286
  type: import('vue').PropType<string>;
258
287
  };
288
+ showRequire: {
289
+ type: import('vue').PropType<boolean>;
290
+ default: boolean;
291
+ };
259
292
  }>> & Readonly<{}>, {
260
293
  validateLabel: (callBack?: Function, eventName?: string) => Promise<void>;
261
294
  }, {}, {}, {}, {
262
295
  width: number;
263
296
  inline: boolean;
297
+ labelPosition: "top" | "left" | "right";
298
+ showRequire: boolean;
264
299
  }>;
265
300
  __isFragment?: never;
266
301
  __isTeleport?: never;
@@ -277,14 +312,24 @@ declare const LibFormLabel: {
277
312
  type: import('vue').PropType<boolean>;
278
313
  default: undefined;
279
314
  };
315
+ labelPosition: {
316
+ type: import('vue').PropType<"right" | "left" | "top">;
317
+ default: undefined;
318
+ };
280
319
  prop: {
281
320
  type: import('vue').PropType<string>;
282
321
  };
322
+ showRequire: {
323
+ type: import('vue').PropType<boolean>;
324
+ default: boolean;
325
+ };
283
326
  }>> & Readonly<{}>, {
284
327
  validateLabel: (callBack?: Function, eventName?: string) => Promise<void>;
285
328
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
286
329
  width: number;
287
330
  inline: boolean;
331
+ labelPosition: "top" | "left" | "right";
332
+ showRequire: boolean;
288
333
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
289
334
  $slots: {
290
335
  default?(_: {}): any;
@@ -297,7 +342,7 @@ declare const LibInput: {
297
342
  default: string;
298
343
  };
299
344
  size: {
300
- type: import('vue').PropType<"small" | "default" | "large">;
345
+ type: import('vue').PropType<"default" | "small" | "large" | "mini">;
301
346
  default: string;
302
347
  };
303
348
  modelValue: {
@@ -320,6 +365,13 @@ declare const LibInput: {
320
365
  type: import('vue').PropType<boolean>;
321
366
  default: boolean;
322
367
  };
368
+ rows: {
369
+ type: import('vue').PropType<number>;
370
+ };
371
+ autocomplete: {
372
+ type: import('vue').PropType<string>;
373
+ default: string;
374
+ };
323
375
  }>> & Readonly<{
324
376
  onBlur?: ((value: string | number | null) => any) | undefined;
325
377
  onChange?: ((value: string | number | null) => any) | undefined;
@@ -332,9 +384,10 @@ declare const LibInput: {
332
384
  change: (value: string | number | null) => void;
333
385
  }, import('vue').PublicProps, {
334
386
  type: string;
335
- size: "large" | "default" | "small";
387
+ size: "large" | "default" | "small" | "mini";
336
388
  modelValue: any;
337
389
  clearable: boolean;
390
+ autocomplete: string;
338
391
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
339
392
  P: {};
340
393
  B: {};
@@ -348,7 +401,7 @@ declare const LibInput: {
348
401
  default: string;
349
402
  };
350
403
  size: {
351
- type: import('vue').PropType<"small" | "default" | "large">;
404
+ type: import('vue').PropType<"default" | "small" | "large" | "mini">;
352
405
  default: string;
353
406
  };
354
407
  modelValue: {
@@ -371,6 +424,13 @@ declare const LibInput: {
371
424
  type: import('vue').PropType<boolean>;
372
425
  default: boolean;
373
426
  };
427
+ rows: {
428
+ type: import('vue').PropType<number>;
429
+ };
430
+ autocomplete: {
431
+ type: import('vue').PropType<string>;
432
+ default: string;
433
+ };
374
434
  }>> & Readonly<{
375
435
  onBlur?: ((value: string | number | null) => any) | undefined;
376
436
  onChange?: ((value: string | number | null) => any) | undefined;
@@ -378,9 +438,10 @@ declare const LibInput: {
378
438
  "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
379
439
  }>, {}, {}, {}, {}, {
380
440
  type: string;
381
- size: "large" | "default" | "small";
441
+ size: "large" | "default" | "small" | "mini";
382
442
  modelValue: any;
383
443
  clearable: boolean;
444
+ autocomplete: string;
384
445
  }>;
385
446
  __isFragment?: never;
386
447
  __isTeleport?: never;
@@ -391,7 +452,7 @@ declare const LibInput: {
391
452
  default: string;
392
453
  };
393
454
  size: {
394
- type: import('vue').PropType<"small" | "default" | "large">;
455
+ type: import('vue').PropType<"default" | "small" | "large" | "mini">;
395
456
  default: string;
396
457
  };
397
458
  modelValue: {
@@ -414,6 +475,13 @@ declare const LibInput: {
414
475
  type: import('vue').PropType<boolean>;
415
476
  default: boolean;
416
477
  };
478
+ rows: {
479
+ type: import('vue').PropType<number>;
480
+ };
481
+ autocomplete: {
482
+ type: import('vue').PropType<string>;
483
+ default: string;
484
+ };
417
485
  }>> & Readonly<{
418
486
  onBlur?: ((value: string | number | null) => any) | undefined;
419
487
  onChange?: ((value: string | number | null) => any) | undefined;
@@ -426,9 +494,10 @@ declare const LibInput: {
426
494
  change: (value: string | number | null) => void;
427
495
  }, string, {
428
496
  type: string;
429
- size: "large" | "default" | "small";
497
+ size: "large" | "default" | "small" | "mini";
430
498
  modelValue: any;
431
499
  clearable: boolean;
500
+ autocomplete: string;
432
501
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
433
502
  $slots: {
434
503
  prepend?(_: {}): any;
@@ -442,7 +511,7 @@ declare const LibSelect: {
442
511
  default: boolean;
443
512
  };
444
513
  size: {
445
- type: import('vue').PropType<"small" | "default" | "large">;
514
+ type: import('vue').PropType<"default" | "small" | "large" | "mini">;
446
515
  default: string;
447
516
  };
448
517
  modelValue: {
@@ -465,7 +534,7 @@ declare const LibSelect: {
465
534
  "update:modelValue": (...args: any[]) => void;
466
535
  }, import('vue').PublicProps, {
467
536
  filter: boolean;
468
- size: "large" | "default" | "small";
537
+ size: "large" | "default" | "small" | "mini";
469
538
  disabled: boolean;
470
539
  placeHolder: string;
471
540
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
@@ -481,7 +550,7 @@ declare const LibSelect: {
481
550
  default: boolean;
482
551
  };
483
552
  size: {
484
- type: import('vue').PropType<"small" | "default" | "large">;
553
+ type: import('vue').PropType<"default" | "small" | "large" | "mini">;
485
554
  default: string;
486
555
  };
487
556
  modelValue: {
@@ -501,7 +570,7 @@ declare const LibSelect: {
501
570
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
502
571
  }>, {}, {}, {}, {}, {
503
572
  filter: boolean;
504
- size: "large" | "default" | "small";
573
+ size: "large" | "default" | "small" | "mini";
505
574
  disabled: boolean;
506
575
  placeHolder: string;
507
576
  }>;
@@ -514,7 +583,7 @@ declare const LibSelect: {
514
583
  default: boolean;
515
584
  };
516
585
  size: {
517
- type: import('vue').PropType<"small" | "default" | "large">;
586
+ type: import('vue').PropType<"default" | "small" | "large" | "mini">;
518
587
  default: string;
519
588
  };
520
589
  modelValue: {
@@ -537,7 +606,7 @@ declare const LibSelect: {
537
606
  "update:modelValue": (...args: any[]) => void;
538
607
  }, string, {
539
608
  filter: boolean;
540
- size: "large" | "default" | "small";
609
+ size: "large" | "default" | "small" | "mini";
541
610
  disabled: boolean;
542
611
  placeHolder: string;
543
612
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
@@ -639,20 +708,27 @@ declare const LibTable: {
639
708
  idKey: {
640
709
  type: import('vue').PropType<string>;
641
710
  };
711
+ outSideCheck: {
712
+ type: import('vue').PropType<boolean>;
713
+ default: boolean;
714
+ };
642
715
  }>> & Readonly<{
643
716
  onRowClick?: ((...args: any[]) => any) | undefined;
644
717
  onSelectionChange?: ((...args: any[]) => any) | undefined;
718
+ onFinishRender?: ((...args: any[]) => any) | undefined;
645
719
  }>, {
646
720
  clearSelection: () => void;
647
721
  allSelection: () => void;
648
722
  toggleSelection: () => void;
649
- setSelection: (arr: Array<string>) => void;
723
+ setSelection: (arr: Array<string | number>) => void;
650
724
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
651
725
  rowClick: (...args: any[]) => void;
652
726
  selectionChange: (...args: any[]) => void;
727
+ finishRender: (...args: any[]) => void;
653
728
  }, import('vue').PublicProps, {
654
729
  whiteword: string;
655
730
  showHead: boolean;
731
+ outSideCheck: boolean;
656
732
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
657
733
  P: {};
658
734
  B: {};
@@ -685,17 +761,23 @@ declare const LibTable: {
685
761
  idKey: {
686
762
  type: import('vue').PropType<string>;
687
763
  };
764
+ outSideCheck: {
765
+ type: import('vue').PropType<boolean>;
766
+ default: boolean;
767
+ };
688
768
  }>> & Readonly<{
689
769
  onRowClick?: ((...args: any[]) => any) | undefined;
690
770
  onSelectionChange?: ((...args: any[]) => any) | undefined;
771
+ onFinishRender?: ((...args: any[]) => any) | undefined;
691
772
  }>, {
692
773
  clearSelection: () => void;
693
774
  allSelection: () => void;
694
775
  toggleSelection: () => void;
695
- setSelection: (arr: Array<string>) => void;
776
+ setSelection: (arr: Array<string | number>) => void;
696
777
  }, {}, {}, {}, {
697
778
  whiteword: string;
698
779
  showHead: boolean;
780
+ outSideCheck: boolean;
699
781
  }>;
700
782
  __isFragment?: never;
701
783
  __isTeleport?: never;
@@ -725,20 +807,27 @@ declare const LibTable: {
725
807
  idKey: {
726
808
  type: import('vue').PropType<string>;
727
809
  };
810
+ outSideCheck: {
811
+ type: import('vue').PropType<boolean>;
812
+ default: boolean;
813
+ };
728
814
  }>> & Readonly<{
729
815
  onRowClick?: ((...args: any[]) => any) | undefined;
730
816
  onSelectionChange?: ((...args: any[]) => any) | undefined;
817
+ onFinishRender?: ((...args: any[]) => any) | undefined;
731
818
  }>, {
732
819
  clearSelection: () => void;
733
820
  allSelection: () => void;
734
821
  toggleSelection: () => void;
735
- setSelection: (arr: Array<string>) => void;
822
+ setSelection: (arr: Array<string | number>) => void;
736
823
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
737
824
  rowClick: (...args: any[]) => void;
738
825
  selectionChange: (...args: any[]) => void;
826
+ finishRender: (...args: any[]) => void;
739
827
  }, string, {
740
828
  whiteword: string;
741
829
  showHead: boolean;
830
+ outSideCheck: boolean;
742
831
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
743
832
  $slots: Readonly<{
744
833
  default: () => import('./types/types').MyVNode[];
@@ -752,7 +841,7 @@ declare const LibTableItem: {
752
841
  type: import('vue').PropType<string | number>;
753
842
  };
754
843
  type: {
755
- type: import('vue').PropType<"default" | "index" | "append" | "prepend" | "selection">;
844
+ type: import('vue').PropType<"default" | "index" | "selection" | "append" | "prepend">;
756
845
  default: string;
757
846
  };
758
847
  fixed: {
@@ -767,6 +856,9 @@ declare const LibTableItem: {
767
856
  prop: {
768
857
  type: import('vue').PropType<string>;
769
858
  };
859
+ cellclass: {
860
+ type: import('vue').PropType<string>;
861
+ };
770
862
  sortable: {
771
863
  type: import('vue').PropType<boolean>;
772
864
  };
@@ -789,7 +881,7 @@ declare const LibTableItem: {
789
881
  type: import('vue').PropType<string | number>;
790
882
  };
791
883
  type: {
792
- type: import('vue').PropType<"default" | "index" | "append" | "prepend" | "selection">;
884
+ type: import('vue').PropType<"default" | "index" | "selection" | "append" | "prepend">;
793
885
  default: string;
794
886
  };
795
887
  fixed: {
@@ -804,6 +896,9 @@ declare const LibTableItem: {
804
896
  prop: {
805
897
  type: import('vue').PropType<string>;
806
898
  };
899
+ cellclass: {
900
+ type: import('vue').PropType<string>;
901
+ };
807
902
  sortable: {
808
903
  type: import('vue').PropType<boolean>;
809
904
  };
@@ -823,7 +918,7 @@ declare const LibTableItem: {
823
918
  type: import('vue').PropType<string | number>;
824
919
  };
825
920
  type: {
826
- type: import('vue').PropType<"default" | "index" | "append" | "prepend" | "selection">;
921
+ type: import('vue').PropType<"default" | "index" | "selection" | "append" | "prepend">;
827
922
  default: string;
828
923
  };
829
924
  fixed: {
@@ -838,6 +933,9 @@ declare const LibTableItem: {
838
933
  prop: {
839
934
  type: import('vue').PropType<string>;
840
935
  };
936
+ cellclass: {
937
+ type: import('vue').PropType<string>;
938
+ };
841
939
  sortable: {
842
940
  type: import('vue').PropType<boolean>;
843
941
  };
@@ -935,7 +1033,7 @@ declare const LibDatePicker: import('vue').DefineComponent<import('vue').Extract
935
1033
  type: import('vue').PropType<string>;
936
1034
  };
937
1035
  size: {
938
- type: import('vue').PropType<"small" | "default" | "large">;
1036
+ type: import('vue').PropType<"default" | "small" | "large" | "mini">;
939
1037
  default: string;
940
1038
  };
941
1039
  modelValue: {
@@ -961,7 +1059,7 @@ declare const LibDatePicker: import('vue').DefineComponent<import('vue').Extract
961
1059
  type: import('vue').PropType<string>;
962
1060
  };
963
1061
  size: {
964
- type: import('vue').PropType<"small" | "default" | "large">;
1062
+ type: import('vue').PropType<"default" | "small" | "large" | "mini">;
965
1063
  default: string;
966
1064
  };
967
1065
  modelValue: {
@@ -983,13 +1081,13 @@ declare const LibDatePicker: import('vue').DefineComponent<import('vue').Extract
983
1081
  onChange?: ((...args: any[]) => any) | undefined;
984
1082
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
985
1083
  }>, {
986
- size: "large" | "default" | "small";
1084
+ size: "large" | "default" | "small" | "mini";
987
1085
  disabled: boolean;
988
1086
  placeholder: string;
989
1087
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
990
1088
  declare const LibDatePickerRange: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
991
1089
  size: {
992
- type: import('vue').PropType<"small" | "default" | "large">;
1090
+ type: import('vue').PropType<"default" | "small" | "large" | "mini">;
993
1091
  default: string;
994
1092
  };
995
1093
  modelValue: {
@@ -1009,7 +1107,7 @@ declare const LibDatePickerRange: import('vue').DefineComponent<import('vue').Ex
1009
1107
  "update:modelValue": (...args: any[]) => void;
1010
1108
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
1011
1109
  size: {
1012
- type: import('vue').PropType<"small" | "default" | "large">;
1110
+ type: import('vue').PropType<"default" | "small" | "large" | "mini">;
1013
1111
  default: string;
1014
1112
  };
1015
1113
  modelValue: {
@@ -1028,7 +1126,7 @@ declare const LibDatePickerRange: import('vue').DefineComponent<import('vue').Ex
1028
1126
  }>> & Readonly<{
1029
1127
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1030
1128
  }>, {
1031
- size: "large" | "default" | "small";
1129
+ size: "large" | "default" | "small" | "mini";
1032
1130
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
1033
1131
  declare const LibMenu: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
1034
1132
  menulist: {
@@ -1341,7 +1439,7 @@ declare const LibNumberInput: import('vue').DefineComponent<import('vue').Extrac
1341
1439
  type: import('vue').PropType<number>;
1342
1440
  };
1343
1441
  size: {
1344
- type: import('vue').PropType<"small" | "default" | "large">;
1442
+ type: import('vue').PropType<"default" | "small" | "large" | "mini">;
1345
1443
  default: string;
1346
1444
  };
1347
1445
  modelValue: {
@@ -1371,7 +1469,7 @@ declare const LibNumberInput: import('vue').DefineComponent<import('vue').Extrac
1371
1469
  type: import('vue').PropType<number>;
1372
1470
  };
1373
1471
  size: {
1374
- type: import('vue').PropType<"small" | "default" | "large">;
1472
+ type: import('vue').PropType<"default" | "small" | "large" | "mini">;
1375
1473
  default: string;
1376
1474
  };
1377
1475
  modelValue: {
@@ -1397,7 +1495,7 @@ declare const LibNumberInput: import('vue').DefineComponent<import('vue').Extrac
1397
1495
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1398
1496
  onNumChange?: ((...args: any[]) => any) | undefined;
1399
1497
  }>, {
1400
- size: "large" | "default" | "small";
1498
+ size: "large" | "default" | "small" | "mini";
1401
1499
  strict: boolean;
1402
1500
  step: number;
1403
1501
  integer: boolean;
@@ -2075,12 +2173,13 @@ declare const _default: {
2075
2173
  install(app: App): void;
2076
2174
  };
2077
2175
  export default _default;
2078
- export { LibDialog, LibForm, LibFormLabel, LibInput, LibSelect, LibSelectOption, LibTable, LibTableItem, LibImage, LibDatePicker, LibDatePickerRange, LibMenu, LibPagination, LibBadge, LibPopover, LibNumberInput, LibRadioBox, LibRadioGroup, LibCheckGroup, LibCheckBox, LibUpload, LibTabs, LibTabsPane, LibScrollBar, LibMessage, LibAlert, LibLoad, LibCarousel, LibCarouselItem, LibSwitch, createArrowKeysDirective, createDraggableDirective, createEscapeDirective, createBgClickDirective, createLoadingDirective, createScrollDirective, createWheelDirective, createBgClickeDirective, };
2176
+ export { LibDialog, LibForm, LibFormLabel, LibInput, LibSelect, LibSelectOption, LibTable, LibTableItem, LibImage, LibDatePicker, LibDatePickerRange, LibMenu, LibPagination, LibBadge, LibPopover, LibNumberInput, LibRadioBox, LibRadioGroup, LibCheckGroup, LibCheckBox, LibUpload, LibTabs, LibTabsPane, LibScrollBar, LibMessage, LibAlert, LibLoad, LibCarousel, LibCarouselItem, LibSwitch, createArrowKeysDirective, createDraggableDirective, createEscapeDirective, createBgClickDirective, createLoadingDirective, createScrollDirective, createWheelDirective, };
2079
2177
  declare module '@vue/runtime-core' {
2080
2178
  interface ComponentCustomProperties {
2081
2179
  $alert: typeof LibAlert;
2082
2180
  $message: typeof LibMessage;
2083
2181
  LibLoad: typeof LibLoad;
2182
+ gloablScrollBar?: string;
2084
2183
  createLoadingDirective: typeof createLoadingDirective;
2085
2184
  createArrowKeysDirective: typeof createArrowKeysDirective;
2086
2185
  createDraggableDirective: typeof createDraggableDirective;
@@ -2088,7 +2187,6 @@ declare module '@vue/runtime-core' {
2088
2187
  createBgClickDirective: typeof createBgClickDirective;
2089
2188
  createScrollDirective: typeof createScrollDirective;
2090
2189
  createWheelDirective: typeof createWheelDirective;
2091
- createBgClickeDirective: typeof createBgClickeDirective;
2092
2190
  LibDialog: typeof LibDialog;
2093
2191
  LibForm: typeof LibForm;
2094
2192
  LibFormLabel: typeof LibFormLabel;
package/dist/index.es.js CHANGED
@@ -1,42 +1,41 @@
1
1
  import "vue";
2
- import { O, A, Q, R, H, G, w, x, L, m, n, v, p, P, y, N, D, z, B, E, F, M, q, r, S, s, t, J, K, I, a, i, U, b, c, T, h, d, l } from "./js/index/index.js";
2
+ import { P, B, R, S, I, H, x, y, L, m, n, w, p, Q, z, O, E, A, D, F, G, N, q, r, T, t, v, K, M, J, a, i, b, c, U, h, d, l } from "./js/index/index.js";
3
3
  export {
4
- O as LibAlert,
5
- A as LibBadge,
6
- Q as LibCarousel,
7
- R as LibCarouselItem,
8
- H as LibCheckBox,
9
- G as LibCheckGroup,
10
- w as LibDatePicker,
11
- x as LibDatePickerRange,
4
+ P as LibAlert,
5
+ B as LibBadge,
6
+ R as LibCarousel,
7
+ S as LibCarouselItem,
8
+ I as LibCheckBox,
9
+ H as LibCheckGroup,
10
+ x as LibDatePicker,
11
+ y as LibDatePickerRange,
12
12
  L as LibDialog,
13
13
  m as LibForm,
14
14
  n as LibFormLabel,
15
- v as LibImage,
15
+ w as LibImage,
16
16
  p as LibInput,
17
- P as LibLoad,
18
- y as LibMenu,
19
- N as LibMessage,
20
- D as LibNumberInput,
21
- z as LibPagination,
22
- B as LibPopover,
23
- E as LibRadioBox,
24
- F as LibRadioGroup,
25
- M as LibScrollBar,
17
+ Q as LibLoad,
18
+ z as LibMenu,
19
+ O as LibMessage,
20
+ E as LibNumberInput,
21
+ A as LibPagination,
22
+ D as LibPopover,
23
+ F as LibRadioBox,
24
+ G as LibRadioGroup,
25
+ N as LibScrollBar,
26
26
  q as LibSelect,
27
27
  r as LibSelectOption,
28
- S as LibSwitch,
29
- s as LibTable,
30
- t as LibTableItem,
31
- J as LibTabs,
32
- K as LibTabsPane,
33
- I as LibUpload,
28
+ T as LibSwitch,
29
+ t as LibTable,
30
+ v as LibTableItem,
31
+ K as LibTabs,
32
+ M as LibTabsPane,
33
+ J as LibUpload,
34
34
  a as createArrowKeysDirective,
35
35
  i as createBgClickDirective,
36
- U as createBgClickeDirective,
37
36
  b as createDraggableDirective,
38
37
  c as createEscapeDirective,
39
- T as createLoadingDirective,
38
+ U as createLoadingDirective,
40
39
  h as createScrollDirective,
41
40
  d as createWheelDirective,
42
41
  l as default
@@ -11,8 +11,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
11
11
  setup(__props) {
12
12
  const props = __props;
13
13
  const classSet = readonly({
14
- rightTop: "-top-1/2",
15
- right: "top-0"
14
+ rightTop: "-translate-y-1/3",
15
+ right: "translate-y-1/2"
16
16
  });
17
17
  const showMark = computed(() => Number(props.value) > 0);
18
18
  const mark = computed(() => {
@@ -26,7 +26,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
26
26
  return openBlock(), createElementBlock("span", _hoisted_1, [
27
27
  renderSlot(_ctx.$slots, "default"),
28
28
  withDirectives(createElementVNode("sup", {
29
- class: normalizeClass(["absolute inline-block -right-3 -translate-y-1/2 translate-x-full transform rounded-lg bg-red-500 px-1.5 py-px text-xs text-white", [unref(classSet)[_ctx.placement], _ctx.customClass]])
29
+ class: normalizeClass(["absolute inline-block -right-1 translate-x-full transform rounded-lg bg-red-500 px-1.5 py-px text-xs text-white", [unref(classSet)[_ctx.placement], _ctx.customClass]])
30
30
  }, toDisplayString(mark.value), 3), [
31
31
  [vShow, showMark.value]
32
32
  ])
@@ -16,7 +16,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
16
16
  return (_ctx, _cache) => {
17
17
  return openBlock(), createElementBlock("button", {
18
18
  type: "button",
19
- class: normalizeClass(["z-20 text-center group-hover:visible flex invisible items-center justify-center absolute top-1/2 -translate-y-1/2 w-8 h-8 rounded-full bg-slate-300 appearance-none transform outline-none", unref(classSet)[props.position]])
19
+ class: normalizeClass(["z-20 text-center group-hover:visible flex invisible items-center justify-center absolute top-1/2 -translate-y-1/2 w-8 h-8 rounded-full bg-slate-200 bg-opacity-40 appearance-none transform outline-none", unref(classSet)[props.position]])
20
20
  }, [
21
21
  createVNode(ArrowIcon, { class: "w-3 h-3 fill-white inline-block" })
22
22
  ], 2);
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, inject, computed, openBlock, createElementBlock, normalizeClass, withDirectives, createElementVNode, vModelCheckbox, toDisplayString } from "vue";
2
2
  const _hoisted_1 = ["value", "disabled"];
3
- const _hoisted_2 = { class: "pl-2 peer-disabled:text-word9" };
3
+ const _hoisted_2 = { class: "peer-disabled:text-word9 px-2 py-1 bg-white text-word6 peer-checked:bg-[#1890ff] peer-checked:text-white" };
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "checkbox",
6
6
  props: {
@@ -29,18 +29,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
29
29
  const emit = __emit;
30
30
  return (_ctx, _cache) => {
31
31
  return openBlock(), createElementBlock("label", {
32
- class: normalizeClass(["select-none inline-flex items-center", { "cursor-not-allowed": _ctx.disabled }])
32
+ class: normalizeClass(["select-none text-sm inline-flex items-center rounded-md mr-1 mb-1 cursor-pointer border overflow-hidden", { "cursor-not-allowed": _ctx.disabled }])
33
33
  }, [
34
34
  withDirectives(createElementVNode("input", {
35
35
  type: "checkbox",
36
36
  value: _ctx.value,
37
37
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => checkedState.value = $event),
38
38
  disabled: _ctx.disabled,
39
- class: "peer disabled:cursor-not-allowed form-tick appearance-none h-4 w-4 border border-gray-300 rounded checked:border-transparent checked:bg-blue-600 focus:outline-none"
39
+ class: "peer hidden disabled:cursor-not-allowed form-tick appearance-none h-4 w-4 border border-gray-300 rounded checked:border-transparent checked:bg-blue-600 focus:outline-none"
40
40
  }, null, 8, _hoisted_1), [
41
41
  [vModelCheckbox, checkedState.value]
42
42
  ]),
43
- createElementVNode("span", _hoisted_2, toDisplayString(_ctx.label), 1)
43
+ createElementVNode("div", _hoisted_2, toDisplayString(_ctx.label), 1)
44
44
  ], 2);
45
45
  };
46
46
  }