3h1-ui 1.2.2 → 1.2.4
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/es/index.js +4608 -4608
- package/es/style.css +182 -182
- package/es/ui/index.d.ts +1 -1
- package/es/ui/src/Button/index.d.ts +1 -0
- package/es/ui/src/ContextMenu/src/ContextMenu.vue.d.ts +1 -1
- package/es/ui/src/Form/index.d.ts +13 -0
- package/es/ui/src/Form/src/BasicForm.vue.d.ts +2 -0
- package/es/ui/src/Form/src/componentMap.d.ts +6 -0
- package/es/ui/src/Form/src/components/ApiCascader.vue.d.ts +2 -0
- package/es/ui/src/Form/src/components/ApiModalSelect/DeptTree.vue.d.ts +130 -0
- package/es/ui/src/Form/src/components/ApiModalSelect/Table.vue.d.ts +11 -0
- package/es/ui/src/Form/src/components/ApiRadioGroup.vue.d.ts +2 -0
- package/es/ui/src/Form/src/components/ApiSelect.vue.d.ts +2 -0
- package/es/ui/src/Form/src/components/ApiTransfer.vue.d.ts +2 -0
- package/es/ui/src/Form/src/components/ApiTree.vue.d.ts +2 -0
- package/es/ui/src/Form/src/components/ApiTreeSelect.vue.d.ts +2 -0
- package/es/ui/src/Form/src/components/FormAction.vue.d.ts +2 -0
- package/es/ui/src/Form/src/components/FormItem.vue.d.ts +72 -0
- package/es/ui/src/Form/src/components/RadioButtonGroup.vue.d.ts +35 -0
- package/es/ui/src/Form/src/helper.d.ts +14 -0
- package/es/ui/src/Form/src/hooks/useAutoFocus.d.ts +10 -0
- package/es/ui/src/Form/src/hooks/useComponentRegister.d.ts +3 -0
- package/es/ui/src/Form/src/hooks/useForm.d.ts +10 -0
- package/es/ui/src/Form/src/hooks/useFormContext.d.ts +8 -0
- package/es/ui/src/Form/src/hooks/useFormEvents.d.ts +28 -0
- package/es/ui/src/Form/src/hooks/useFormValues.d.ts +13 -0
- package/es/ui/src/Form/src/hooks/useLabelWidth.d.ts +318 -0
- package/es/ui/src/Form/src/props.d.ts +2 -0
- package/es/ui/src/Form/src/types/hooks.d.ts +6 -0
- package/es/ui/src/Table/index.d.ts +1 -1
- package/es/ui/src/Table/src/hooks/useTable.d.ts +1 -1
- package/es/ui/src/Table/src/hooks/useTableForm.d.ts +1 -2
- package/es/ui/src/Tree/src/BasicTree.vue.d.ts +7 -7
- package/lib/index.js +4604 -4604
- package/package.json +1 -1
package/es/style.css
CHANGED
|
@@ -1,60 +1,3 @@
|
|
|
1
|
-
.shy-strength-meter-bar[data-v-eda28c94] {
|
|
2
|
-
position: relative;
|
|
3
|
-
margin: 10px auto 6px;
|
|
4
|
-
height: 6px;
|
|
5
|
-
background-color: rgba(0, 0, 0, 0.25);
|
|
6
|
-
border-radius: 6px;
|
|
7
|
-
}
|
|
8
|
-
.shy-strength-meter-bar[data-v-eda28c94]::before,
|
|
9
|
-
.shy-strength-meter-bar[data-v-eda28c94]::after {
|
|
10
|
-
position: absolute;
|
|
11
|
-
z-index: 10;
|
|
12
|
-
display: block;
|
|
13
|
-
width: 20%;
|
|
14
|
-
height: inherit;
|
|
15
|
-
background-color: transparent;
|
|
16
|
-
border-style: solid;
|
|
17
|
-
border-width: 0 5px;
|
|
18
|
-
border-color: #fff;
|
|
19
|
-
content: '';
|
|
20
|
-
}
|
|
21
|
-
.shy-strength-meter-bar[data-v-eda28c94]::before {
|
|
22
|
-
left: 20%;
|
|
23
|
-
}
|
|
24
|
-
.shy-strength-meter-bar[data-v-eda28c94]::after {
|
|
25
|
-
right: 20%;
|
|
26
|
-
}
|
|
27
|
-
.shy-strength-meter-bar--fill[data-v-eda28c94] {
|
|
28
|
-
position: absolute;
|
|
29
|
-
width: 0;
|
|
30
|
-
height: inherit;
|
|
31
|
-
background-color: transparent;
|
|
32
|
-
border-radius: inherit;
|
|
33
|
-
transition: width 0.5s ease-in-out, background 0.25s;
|
|
34
|
-
}
|
|
35
|
-
.shy-strength-meter-bar--fill[data-score='0'][data-v-eda28c94] {
|
|
36
|
-
width: 20%;
|
|
37
|
-
background-color: #e74242;
|
|
38
|
-
}
|
|
39
|
-
.shy-strength-meter-bar--fill[data-score='1'][data-v-eda28c94] {
|
|
40
|
-
width: 40%;
|
|
41
|
-
background-color: #ED6F6F;
|
|
42
|
-
}
|
|
43
|
-
.shy-strength-meter-bar--fill[data-score='2'][data-v-eda28c94] {
|
|
44
|
-
width: 60%;
|
|
45
|
-
background-color: #EFBD47;
|
|
46
|
-
}
|
|
47
|
-
.shy-strength-meter-bar--fill[data-score='3'][data-v-eda28c94] {
|
|
48
|
-
width: 80%;
|
|
49
|
-
background-color: rgba(85, 209, 135, 0.5);
|
|
50
|
-
}
|
|
51
|
-
.shy-strength-meter-bar--fill[data-score='4'][data-v-eda28c94] {
|
|
52
|
-
width: 100%;
|
|
53
|
-
background-color: #55D187;
|
|
54
|
-
}
|
|
55
|
-
/* stylelint-disable no-duplicate-selectors */
|
|
56
|
-
/* stylelint-disable */
|
|
57
|
-
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
|
58
1
|
.shy-svg-icon[data-v-fa64fe87] {
|
|
59
2
|
display: inline-block;
|
|
60
3
|
overflow: hidden;
|
|
@@ -83,6 +26,21 @@ span.iconify {
|
|
|
83
26
|
/* stylelint-disable no-duplicate-selectors */
|
|
84
27
|
/* stylelint-disable */
|
|
85
28
|
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
|
29
|
+
.shy-icon-picker .ant-input-group-addon {
|
|
30
|
+
padding: 0;
|
|
31
|
+
}
|
|
32
|
+
.shy-icon-picker-popover {
|
|
33
|
+
width: 300px;
|
|
34
|
+
}
|
|
35
|
+
.shy-icon-picker-popover .ant-popover-inner-content {
|
|
36
|
+
padding: 0;
|
|
37
|
+
}
|
|
38
|
+
.shy-icon-picker-popover .scrollbar {
|
|
39
|
+
height: 220px;
|
|
40
|
+
}
|
|
41
|
+
/* stylelint-disable no-duplicate-selectors */
|
|
42
|
+
/* stylelint-disable */
|
|
43
|
+
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
|
86
44
|
.shy-basic-arrow[data-v-03d87956] {
|
|
87
45
|
display: inline-block;
|
|
88
46
|
cursor: pointer;
|
|
@@ -260,17 +218,59 @@ span.iconify {
|
|
|
260
218
|
/* stylelint-disable no-duplicate-selectors */
|
|
261
219
|
/* stylelint-disable */
|
|
262
220
|
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
|
263
|
-
.shy-
|
|
264
|
-
|
|
221
|
+
.shy-strength-meter-bar[data-v-eda28c94] {
|
|
222
|
+
position: relative;
|
|
223
|
+
margin: 10px auto 6px;
|
|
224
|
+
height: 6px;
|
|
225
|
+
background-color: rgba(0, 0, 0, 0.25);
|
|
226
|
+
border-radius: 6px;
|
|
265
227
|
}
|
|
266
|
-
.shy-
|
|
267
|
-
|
|
228
|
+
.shy-strength-meter-bar[data-v-eda28c94]::before,
|
|
229
|
+
.shy-strength-meter-bar[data-v-eda28c94]::after {
|
|
230
|
+
position: absolute;
|
|
231
|
+
z-index: 10;
|
|
232
|
+
display: block;
|
|
233
|
+
width: 20%;
|
|
234
|
+
height: inherit;
|
|
235
|
+
background-color: transparent;
|
|
236
|
+
border-style: solid;
|
|
237
|
+
border-width: 0 5px;
|
|
238
|
+
border-color: #fff;
|
|
239
|
+
content: '';
|
|
268
240
|
}
|
|
269
|
-
.shy-
|
|
270
|
-
|
|
241
|
+
.shy-strength-meter-bar[data-v-eda28c94]::before {
|
|
242
|
+
left: 20%;
|
|
271
243
|
}
|
|
272
|
-
.shy-
|
|
273
|
-
|
|
244
|
+
.shy-strength-meter-bar[data-v-eda28c94]::after {
|
|
245
|
+
right: 20%;
|
|
246
|
+
}
|
|
247
|
+
.shy-strength-meter-bar--fill[data-v-eda28c94] {
|
|
248
|
+
position: absolute;
|
|
249
|
+
width: 0;
|
|
250
|
+
height: inherit;
|
|
251
|
+
background-color: transparent;
|
|
252
|
+
border-radius: inherit;
|
|
253
|
+
transition: width 0.5s ease-in-out, background 0.25s;
|
|
254
|
+
}
|
|
255
|
+
.shy-strength-meter-bar--fill[data-score='0'][data-v-eda28c94] {
|
|
256
|
+
width: 20%;
|
|
257
|
+
background-color: #e74242;
|
|
258
|
+
}
|
|
259
|
+
.shy-strength-meter-bar--fill[data-score='1'][data-v-eda28c94] {
|
|
260
|
+
width: 40%;
|
|
261
|
+
background-color: #ED6F6F;
|
|
262
|
+
}
|
|
263
|
+
.shy-strength-meter-bar--fill[data-score='2'][data-v-eda28c94] {
|
|
264
|
+
width: 60%;
|
|
265
|
+
background-color: #EFBD47;
|
|
266
|
+
}
|
|
267
|
+
.shy-strength-meter-bar--fill[data-score='3'][data-v-eda28c94] {
|
|
268
|
+
width: 80%;
|
|
269
|
+
background-color: rgba(85, 209, 135, 0.5);
|
|
270
|
+
}
|
|
271
|
+
.shy-strength-meter-bar--fill[data-score='4'][data-v-eda28c94] {
|
|
272
|
+
width: 100%;
|
|
273
|
+
background-color: #55D187;
|
|
274
274
|
}
|
|
275
275
|
/* stylelint-disable no-duplicate-selectors */
|
|
276
276
|
/* stylelint-disable */
|
|
@@ -510,97 +510,6 @@ span.iconify {
|
|
|
510
510
|
/* stylelint-disable no-duplicate-selectors */
|
|
511
511
|
/* stylelint-disable */
|
|
512
512
|
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
|
513
|
-
.shy-basic-form {
|
|
514
|
-
display: flex;
|
|
515
|
-
justify-content: space-between;
|
|
516
|
-
}
|
|
517
|
-
.shy-basic-form-action {
|
|
518
|
-
width: 200px !important;
|
|
519
|
-
}
|
|
520
|
-
.shy-basic-form-input {
|
|
521
|
-
flex: 1;
|
|
522
|
-
}
|
|
523
|
-
.shy-basic-form-toggle {
|
|
524
|
-
position: relative;
|
|
525
|
-
display: flex;
|
|
526
|
-
justify-content: center;
|
|
527
|
-
}
|
|
528
|
-
.shy-basic-form-toggle-left__line {
|
|
529
|
-
position: absolute;
|
|
530
|
-
top: 50%;
|
|
531
|
-
left: 0;
|
|
532
|
-
display: block;
|
|
533
|
-
margin-top: -0.5px;
|
|
534
|
-
width: calc(50% - 16px);
|
|
535
|
-
height: 1px;
|
|
536
|
-
background: #f0f0f0;
|
|
537
|
-
content: '';
|
|
538
|
-
}
|
|
539
|
-
.shy-basic-form-toggle-right__line {
|
|
540
|
-
position: absolute;
|
|
541
|
-
top: 50%;
|
|
542
|
-
right: 0;
|
|
543
|
-
display: block;
|
|
544
|
-
margin-top: -0.5px;
|
|
545
|
-
width: calc(50% - 16px);
|
|
546
|
-
height: 1px;
|
|
547
|
-
background: #f0f0f0;
|
|
548
|
-
content: '';
|
|
549
|
-
}
|
|
550
|
-
.shy-basic-form-toggle-icon {
|
|
551
|
-
display: flex;
|
|
552
|
-
justify-content: center;
|
|
553
|
-
align-items: center;
|
|
554
|
-
width: 32px;
|
|
555
|
-
height: 12px;
|
|
556
|
-
border: 1px solid #f0f0f0;
|
|
557
|
-
border-radius: 6px;
|
|
558
|
-
transition: all 0.2s;
|
|
559
|
-
cursor: pointer;
|
|
560
|
-
}
|
|
561
|
-
.shy-basic-form-toggle-icon.expend {
|
|
562
|
-
transform: rotate(180deg);
|
|
563
|
-
}
|
|
564
|
-
.shy-basic-form .ant-form-item-label label::after {
|
|
565
|
-
margin: 0 6px 0 2px;
|
|
566
|
-
}
|
|
567
|
-
.shy-basic-form .ant-form-item-with-help {
|
|
568
|
-
margin-bottom: 0;
|
|
569
|
-
}
|
|
570
|
-
.shy-basic-form .ant-form-item:not(.ant-form-item-with-help) {
|
|
571
|
-
margin-bottom: 20px;
|
|
572
|
-
}
|
|
573
|
-
.shy-basic-form .ant-form-item.suffix-item .ant-form-item-children {
|
|
574
|
-
display: flex;
|
|
575
|
-
}
|
|
576
|
-
.shy-basic-form .ant-form-item.suffix-item .ant-form-item-control {
|
|
577
|
-
margin-top: 4px;
|
|
578
|
-
}
|
|
579
|
-
.shy-basic-form .ant-form-item.suffix-item .suffix {
|
|
580
|
-
display: inline-flex;
|
|
581
|
-
align-items: center;
|
|
582
|
-
padding-left: 6px;
|
|
583
|
-
margin-top: 1px;
|
|
584
|
-
line-height: 1;
|
|
585
|
-
}
|
|
586
|
-
.shy-basic-form .ant-form-explain {
|
|
587
|
-
font-size: 14px;
|
|
588
|
-
}
|
|
589
|
-
.shy-basic-form--compact .ant-form-item {
|
|
590
|
-
margin-bottom: 8px !important;
|
|
591
|
-
}
|
|
592
|
-
.shy-form-action .ant-form-item-control-input-content {
|
|
593
|
-
display: flex;
|
|
594
|
-
justify-content: flex-end;
|
|
595
|
-
width: 100%;
|
|
596
|
-
flex: 1;
|
|
597
|
-
}
|
|
598
|
-
.shy-form-action .ant-form-item-control-input-content button {
|
|
599
|
-
margin: 0 5px;
|
|
600
|
-
}
|
|
601
|
-
/* stylelint-disable no-duplicate-selectors */
|
|
602
|
-
/* stylelint-disable */
|
|
603
|
-
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
|
604
513
|
.shy-search[data-v-a0f20f9d] {
|
|
605
514
|
position: relative;
|
|
606
515
|
display: flex;
|
|
@@ -718,6 +627,123 @@ span.iconify {
|
|
|
718
627
|
/* stylelint-disable no-duplicate-selectors */
|
|
719
628
|
/* stylelint-disable */
|
|
720
629
|
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
|
630
|
+
.wrapper[data-v-c8b3688d] {
|
|
631
|
+
display: flex;
|
|
632
|
+
}
|
|
633
|
+
.tree[data-v-c8b3688d] {
|
|
634
|
+
flex: none;
|
|
635
|
+
}
|
|
636
|
+
.table-wrapper[data-v-c8b3688d] {
|
|
637
|
+
flex: 1 1 0%;
|
|
638
|
+
overflow: hidden;
|
|
639
|
+
}
|
|
640
|
+
/* stylelint-disable no-duplicate-selectors */
|
|
641
|
+
/* stylelint-disable */
|
|
642
|
+
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
|
643
|
+
[data-v-dc00479e] .ant-input-group-addon {
|
|
644
|
+
padding: 0;
|
|
645
|
+
}
|
|
646
|
+
.btn-wrapper[data-v-dc00479e] {
|
|
647
|
+
padding: 0 5px;
|
|
648
|
+
display: flex;
|
|
649
|
+
align-items: center;
|
|
650
|
+
justify-content: center;
|
|
651
|
+
cursor: pointer;
|
|
652
|
+
}
|
|
653
|
+
/* stylelint-disable no-duplicate-selectors */
|
|
654
|
+
/* stylelint-disable */
|
|
655
|
+
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
|
656
|
+
.shy-basic-form {
|
|
657
|
+
display: flex;
|
|
658
|
+
justify-content: space-between;
|
|
659
|
+
}
|
|
660
|
+
.shy-basic-form-action {
|
|
661
|
+
width: 200px !important;
|
|
662
|
+
}
|
|
663
|
+
.shy-basic-form-input {
|
|
664
|
+
flex: 1;
|
|
665
|
+
}
|
|
666
|
+
.shy-basic-form-toggle {
|
|
667
|
+
position: relative;
|
|
668
|
+
display: flex;
|
|
669
|
+
justify-content: center;
|
|
670
|
+
}
|
|
671
|
+
.shy-basic-form-toggle-left__line {
|
|
672
|
+
position: absolute;
|
|
673
|
+
top: 50%;
|
|
674
|
+
left: 0;
|
|
675
|
+
display: block;
|
|
676
|
+
margin-top: -0.5px;
|
|
677
|
+
width: calc(50% - 16px);
|
|
678
|
+
height: 1px;
|
|
679
|
+
background: #f0f0f0;
|
|
680
|
+
content: '';
|
|
681
|
+
}
|
|
682
|
+
.shy-basic-form-toggle-right__line {
|
|
683
|
+
position: absolute;
|
|
684
|
+
top: 50%;
|
|
685
|
+
right: 0;
|
|
686
|
+
display: block;
|
|
687
|
+
margin-top: -0.5px;
|
|
688
|
+
width: calc(50% - 16px);
|
|
689
|
+
height: 1px;
|
|
690
|
+
background: #f0f0f0;
|
|
691
|
+
content: '';
|
|
692
|
+
}
|
|
693
|
+
.shy-basic-form-toggle-icon {
|
|
694
|
+
display: flex;
|
|
695
|
+
justify-content: center;
|
|
696
|
+
align-items: center;
|
|
697
|
+
width: 32px;
|
|
698
|
+
height: 12px;
|
|
699
|
+
border: 1px solid #f0f0f0;
|
|
700
|
+
border-radius: 6px;
|
|
701
|
+
transition: all 0.2s;
|
|
702
|
+
cursor: pointer;
|
|
703
|
+
}
|
|
704
|
+
.shy-basic-form-toggle-icon.expend {
|
|
705
|
+
transform: rotate(180deg);
|
|
706
|
+
}
|
|
707
|
+
.shy-basic-form .ant-form-item-label label::after {
|
|
708
|
+
margin: 0 6px 0 2px;
|
|
709
|
+
}
|
|
710
|
+
.shy-basic-form .ant-form-item-with-help {
|
|
711
|
+
margin-bottom: 0;
|
|
712
|
+
}
|
|
713
|
+
.shy-basic-form .ant-form-item:not(.ant-form-item-with-help) {
|
|
714
|
+
margin-bottom: 20px;
|
|
715
|
+
}
|
|
716
|
+
.shy-basic-form .ant-form-item.suffix-item .ant-form-item-children {
|
|
717
|
+
display: flex;
|
|
718
|
+
}
|
|
719
|
+
.shy-basic-form .ant-form-item.suffix-item .ant-form-item-control {
|
|
720
|
+
margin-top: 4px;
|
|
721
|
+
}
|
|
722
|
+
.shy-basic-form .ant-form-item.suffix-item .suffix {
|
|
723
|
+
display: inline-flex;
|
|
724
|
+
align-items: center;
|
|
725
|
+
padding-left: 6px;
|
|
726
|
+
margin-top: 1px;
|
|
727
|
+
line-height: 1;
|
|
728
|
+
}
|
|
729
|
+
.shy-basic-form .ant-form-explain {
|
|
730
|
+
font-size: 14px;
|
|
731
|
+
}
|
|
732
|
+
.shy-basic-form--compact .ant-form-item {
|
|
733
|
+
margin-bottom: 8px !important;
|
|
734
|
+
}
|
|
735
|
+
.shy-form-action .ant-form-item-control-input-content {
|
|
736
|
+
display: flex;
|
|
737
|
+
justify-content: flex-end;
|
|
738
|
+
width: 100%;
|
|
739
|
+
flex: 1;
|
|
740
|
+
}
|
|
741
|
+
.shy-form-action .ant-form-item-control-input-content button {
|
|
742
|
+
margin: 0 5px;
|
|
743
|
+
}
|
|
744
|
+
/* stylelint-disable no-duplicate-selectors */
|
|
745
|
+
/* stylelint-disable */
|
|
746
|
+
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
|
721
747
|
.shy-page-footer[data-v-b4695833] {
|
|
722
748
|
position: fixed;
|
|
723
749
|
right: 0;
|
|
@@ -1047,32 +1073,6 @@ span.iconify {
|
|
|
1047
1073
|
/* stylelint-disable no-duplicate-selectors */
|
|
1048
1074
|
/* stylelint-disable */
|
|
1049
1075
|
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
|
1050
|
-
.wrapper[data-v-c8b3688d] {
|
|
1051
|
-
display: flex;
|
|
1052
|
-
}
|
|
1053
|
-
.tree[data-v-c8b3688d] {
|
|
1054
|
-
flex: none;
|
|
1055
|
-
}
|
|
1056
|
-
.table-wrapper[data-v-c8b3688d] {
|
|
1057
|
-
flex: 1 1 0%;
|
|
1058
|
-
overflow: hidden;
|
|
1059
|
-
}
|
|
1060
|
-
/* stylelint-disable no-duplicate-selectors */
|
|
1061
|
-
/* stylelint-disable */
|
|
1062
|
-
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
|
1063
|
-
[data-v-ae47630a] .ant-input-group-addon {
|
|
1064
|
-
padding: 0;
|
|
1065
|
-
}
|
|
1066
|
-
.btn-wrapper[data-v-ae47630a] {
|
|
1067
|
-
padding: 0 5px;
|
|
1068
|
-
display: flex;
|
|
1069
|
-
align-items: center;
|
|
1070
|
-
justify-content: center;
|
|
1071
|
-
cursor: pointer;
|
|
1072
|
-
}
|
|
1073
|
-
/* stylelint-disable no-duplicate-selectors */
|
|
1074
|
-
/* stylelint-disable */
|
|
1075
|
-
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
|
1076
1076
|
.shy-basic-drawer-footer {
|
|
1077
1077
|
position: absolute;
|
|
1078
1078
|
bottom: 0;
|
package/es/ui/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export * from './src/Form';
|
|
2
1
|
export * from './src/Container';
|
|
3
2
|
export * from './src/Table';
|
|
4
3
|
export * from './src/Modal';
|
|
@@ -18,3 +17,4 @@ export * from './src/Tree';
|
|
|
18
17
|
export * from './src/Icon';
|
|
19
18
|
export * from './src/Loading';
|
|
20
19
|
export * from './src/StrengthMeter';
|
|
20
|
+
export * from './src/Form';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import BasicForm from './src/BasicForm.vue';
|
|
2
|
+
import { useForm } from './src/hooks/useForm';
|
|
3
|
+
import ApiSelect from './src/components/ApiSelect.vue';
|
|
4
|
+
import RadioButtonGroup from './src/components/RadioButtonGroup.vue';
|
|
5
|
+
import ApiTreeSelect from './src/components/ApiTreeSelect.vue';
|
|
6
|
+
import ApiTree from './src/components/ApiTree.vue';
|
|
7
|
+
import ApiRadioGroup from './src/components/ApiRadioGroup.vue';
|
|
8
|
+
import ApiCascader from './src/components/ApiCascader.vue';
|
|
9
|
+
import ApiTransfer from './src/components/ApiTransfer.vue';
|
|
10
|
+
import TableChildren from './src/components/Table.vue';
|
|
11
|
+
import ApiModalSelect from './src/components/ApiModalSelect/ApiModalSelect.vue';
|
|
12
|
+
export { useComponentRegister } from './src/hooks/useComponentRegister';
|
|
13
|
+
export { BasicForm, useForm, ApiSelect, RadioButtonGroup, ApiTreeSelect, ApiTree, ApiRadioGroup, ApiCascader, ApiTransfer, TableChildren, ApiModalSelect };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
|
|
2
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Component } from 'vue';
|
|
2
|
+
import type { ComponentType } from './types/index';
|
|
3
|
+
declare const componentMap: Map<ComponentType, Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>;
|
|
4
|
+
export declare function add(compName: ComponentType, component: Component): void;
|
|
5
|
+
export declare function del(compName: ComponentType): void;
|
|
6
|
+
export { componentMap };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
|
|
2
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { TreeItem } from '../../../../Tree';
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
+
api: {
|
|
4
|
+
default: () => () => Promise<unknown>;
|
|
5
|
+
};
|
|
6
|
+
fieldNames: {
|
|
7
|
+
default: () => {
|
|
8
|
+
label: string;
|
|
9
|
+
value: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
}, {
|
|
13
|
+
treeData: any;
|
|
14
|
+
searchToolbar: import("vue").Ref<boolean>;
|
|
15
|
+
emit: (event: "select", ...args: any[]) => void;
|
|
16
|
+
props: any;
|
|
17
|
+
fetch: () => Promise<void>;
|
|
18
|
+
handleSelect: (keys: string) => void;
|
|
19
|
+
readonly BasicTree: import("vue").DefineComponent<{
|
|
20
|
+
value: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").KeyType[] | import("../../../../Tree").CheckKeys>, (() => import("../../../../Tree").KeyType[]) | (() => import("../../../../Tree").KeyType[]) | (() => {
|
|
21
|
+
checked: string[] | number[];
|
|
22
|
+
halfChecked: string[] | number[];
|
|
23
|
+
}), unknown, unknown, unknown>;
|
|
24
|
+
renderIcon: import("@shy-plugins/utils").BuildPropReturn<PropType<(params: Recordable<any>) => string>, ((params: Recordable<any>) => string) | (() => (params: Recordable<any>) => string), unknown, unknown, unknown>;
|
|
25
|
+
helpMessage: import("@shy-plugins/utils").BuildPropReturn<PropType<string | string[]>, string | (() => string), unknown, unknown, unknown>;
|
|
26
|
+
title: import("@shy-plugins/utils").BuildPropReturn<StringConstructor, string | (() => string), unknown, unknown, unknown>;
|
|
27
|
+
toolbar: BooleanConstructor;
|
|
28
|
+
search: BooleanConstructor;
|
|
29
|
+
searchValue: import("@shy-plugins/utils").BuildPropReturn<StringConstructor, string | (() => string), unknown, unknown, unknown>;
|
|
30
|
+
checkStrictly: BooleanConstructor;
|
|
31
|
+
clickRowToExpand: import("@shy-plugins/utils").BuildPropReturn<BooleanConstructor, boolean | (() => false) | (() => true), unknown, unknown, unknown>;
|
|
32
|
+
checkable: BooleanConstructor;
|
|
33
|
+
defaultExpandLevel: import("@shy-plugins/utils").BuildPropReturn<PropType<string | number>, string | (() => string), unknown, unknown, unknown>;
|
|
34
|
+
defaultExpandAll: BooleanConstructor;
|
|
35
|
+
fieldNames: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").FieldNames>, unknown, unknown, unknown, unknown>;
|
|
36
|
+
treeData: import("@shy-plugins/utils").BuildPropReturn<PropType<import("ant-design-vue/es/vc-tree/interface").DataNode[]>, () => import("ant-design-vue/es/vc-tree/interface").DataNode[], unknown, unknown, unknown>;
|
|
37
|
+
actionList: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").TreeActionItem[]>, () => any[], unknown, unknown, unknown>;
|
|
38
|
+
expandedKeys: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").KeyType[]>, () => any[], unknown, unknown, unknown>;
|
|
39
|
+
selectedKeys: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").KeyType[]>, () => any[], unknown, unknown, unknown>;
|
|
40
|
+
checkedKeys: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").CheckKeys>, () => any[], unknown, unknown, unknown>;
|
|
41
|
+
beforeRightClick: import("@shy-plugins/utils").BuildPropReturn<PropType<(...arg: any) => import("../../../../Tree").ContextMenuOptions | import("../../../../Tree/src/types/tree").ContextMenuItem[]>, any, unknown, unknown, unknown>;
|
|
42
|
+
rightMenuList: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree/src/types/tree").ContextMenuItem[]>, () => import("../../../../Tree/src/types/tree").ContextMenuItem[], unknown, unknown, unknown>;
|
|
43
|
+
filterFn: import("@shy-plugins/utils").BuildPropReturn<PropType<(searchValue: any, node: TreeItem, fieldNames: import("../../../../Tree").FieldNames) => boolean>, any, unknown, unknown, unknown>;
|
|
44
|
+
highlight: import("@shy-plugins/utils").BuildPropReturn<PropType<String | Boolean>, boolean | (() => false) | (() => true), unknown, unknown, unknown>;
|
|
45
|
+
expandOnSearch: BooleanConstructor;
|
|
46
|
+
checkOnSearch: BooleanConstructor;
|
|
47
|
+
selectedOnSearch: BooleanConstructor;
|
|
48
|
+
loading: import("@shy-plugins/utils").BuildPropReturn<BooleanConstructor, boolean | (() => false) | (() => true), unknown, unknown, unknown>;
|
|
49
|
+
treeWrapperClassName: StringConstructor;
|
|
50
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
51
|
+
value: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").KeyType[] | import("../../../../Tree").CheckKeys>, (() => import("../../../../Tree").KeyType[]) | (() => import("../../../../Tree").KeyType[]) | (() => {
|
|
52
|
+
checked: string[] | number[];
|
|
53
|
+
halfChecked: string[] | number[];
|
|
54
|
+
}), unknown, unknown, unknown>;
|
|
55
|
+
renderIcon: import("@shy-plugins/utils").BuildPropReturn<PropType<(params: Recordable<any>) => string>, ((params: Recordable<any>) => string) | (() => (params: Recordable<any>) => string), unknown, unknown, unknown>;
|
|
56
|
+
helpMessage: import("@shy-plugins/utils").BuildPropReturn<PropType<string | string[]>, string | (() => string), unknown, unknown, unknown>;
|
|
57
|
+
title: import("@shy-plugins/utils").BuildPropReturn<StringConstructor, string | (() => string), unknown, unknown, unknown>;
|
|
58
|
+
toolbar: BooleanConstructor;
|
|
59
|
+
search: BooleanConstructor;
|
|
60
|
+
searchValue: import("@shy-plugins/utils").BuildPropReturn<StringConstructor, string | (() => string), unknown, unknown, unknown>;
|
|
61
|
+
checkStrictly: BooleanConstructor;
|
|
62
|
+
clickRowToExpand: import("@shy-plugins/utils").BuildPropReturn<BooleanConstructor, boolean | (() => false) | (() => true), unknown, unknown, unknown>;
|
|
63
|
+
checkable: BooleanConstructor;
|
|
64
|
+
defaultExpandLevel: import("@shy-plugins/utils").BuildPropReturn<PropType<string | number>, string | (() => string), unknown, unknown, unknown>;
|
|
65
|
+
defaultExpandAll: BooleanConstructor;
|
|
66
|
+
fieldNames: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").FieldNames>, unknown, unknown, unknown, unknown>;
|
|
67
|
+
treeData: import("@shy-plugins/utils").BuildPropReturn<PropType<import("ant-design-vue/es/vc-tree/interface").DataNode[]>, () => import("ant-design-vue/es/vc-tree/interface").DataNode[], unknown, unknown, unknown>;
|
|
68
|
+
actionList: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").TreeActionItem[]>, () => any[], unknown, unknown, unknown>;
|
|
69
|
+
expandedKeys: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").KeyType[]>, () => any[], unknown, unknown, unknown>;
|
|
70
|
+
selectedKeys: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").KeyType[]>, () => any[], unknown, unknown, unknown>;
|
|
71
|
+
checkedKeys: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").CheckKeys>, () => any[], unknown, unknown, unknown>;
|
|
72
|
+
beforeRightClick: import("@shy-plugins/utils").BuildPropReturn<PropType<(...arg: any) => import("../../../../Tree").ContextMenuOptions | import("../../../../Tree/src/types/tree").ContextMenuItem[]>, any, unknown, unknown, unknown>;
|
|
73
|
+
rightMenuList: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree/src/types/tree").ContextMenuItem[]>, () => import("../../../../Tree/src/types/tree").ContextMenuItem[], unknown, unknown, unknown>;
|
|
74
|
+
filterFn: import("@shy-plugins/utils").BuildPropReturn<PropType<(searchValue: any, node: TreeItem, fieldNames: import("../../../../Tree").FieldNames) => boolean>, any, unknown, unknown, unknown>;
|
|
75
|
+
highlight: import("@shy-plugins/utils").BuildPropReturn<PropType<String | Boolean>, boolean | (() => false) | (() => true), unknown, unknown, unknown>;
|
|
76
|
+
expandOnSearch: BooleanConstructor;
|
|
77
|
+
checkOnSearch: BooleanConstructor;
|
|
78
|
+
selectedOnSearch: BooleanConstructor;
|
|
79
|
+
loading: import("@shy-plugins/utils").BuildPropReturn<BooleanConstructor, boolean | (() => false) | (() => true), unknown, unknown, unknown>;
|
|
80
|
+
treeWrapperClassName: StringConstructor;
|
|
81
|
+
}>> & {
|
|
82
|
+
[x: `on${Capitalize<string>}`]: (...args: any[]) => any;
|
|
83
|
+
}, {
|
|
84
|
+
title: string;
|
|
85
|
+
loading: import("@shy-plugins/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
|
|
86
|
+
value: import("@shy-plugins/utils").BuildPropType<PropType<import("../../../../Tree").KeyType[] | import("../../../../Tree").CheckKeys>, unknown, unknown>;
|
|
87
|
+
helpMessage: import("@shy-plugins/utils").BuildPropType<PropType<string | string[]>, unknown, unknown>;
|
|
88
|
+
search: boolean;
|
|
89
|
+
selectedKeys: import("../../../../Tree").KeyType[];
|
|
90
|
+
fieldNames: undefined;
|
|
91
|
+
searchValue: string;
|
|
92
|
+
treeData: import("ant-design-vue/es/vc-tree/interface").DataNode[];
|
|
93
|
+
checkStrictly: boolean;
|
|
94
|
+
checkable: boolean;
|
|
95
|
+
defaultExpandAll: boolean;
|
|
96
|
+
expandedKeys: import("../../../../Tree").KeyType[];
|
|
97
|
+
checkedKeys: import("../../../../Tree").CheckKeys;
|
|
98
|
+
renderIcon: (params: Recordable<any>) => string;
|
|
99
|
+
toolbar: boolean;
|
|
100
|
+
clickRowToExpand: import("@shy-plugins/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
|
|
101
|
+
defaultExpandLevel: import("@shy-plugins/utils").BuildPropType<PropType<string | number>, unknown, unknown>;
|
|
102
|
+
actionList: import("../../../../Tree").TreeActionItem[];
|
|
103
|
+
beforeRightClick: (...arg: any) => import("../../../../Tree").ContextMenuOptions | import("../../../../Tree/src/types/tree").ContextMenuItem[];
|
|
104
|
+
rightMenuList: import("../../../../Tree/src/types/tree").ContextMenuItem[];
|
|
105
|
+
filterFn: (searchValue: any, node: TreeItem, fieldNames: import("../../../../Tree").FieldNames) => boolean;
|
|
106
|
+
highlight: import("@shy-plugins/utils").BuildPropType<PropType<String | Boolean>, unknown, unknown>;
|
|
107
|
+
expandOnSearch: boolean;
|
|
108
|
+
checkOnSearch: boolean;
|
|
109
|
+
selectedOnSearch: boolean;
|
|
110
|
+
}>;
|
|
111
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "select"[], "select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
112
|
+
api: {
|
|
113
|
+
default: () => () => Promise<unknown>;
|
|
114
|
+
};
|
|
115
|
+
fieldNames: {
|
|
116
|
+
default: () => {
|
|
117
|
+
label: string;
|
|
118
|
+
value: string;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
}>> & {
|
|
122
|
+
onSelect?: (...args: any[]) => any;
|
|
123
|
+
}, {
|
|
124
|
+
fieldNames: {
|
|
125
|
+
label: string;
|
|
126
|
+
value: string;
|
|
127
|
+
};
|
|
128
|
+
api: () => Promise<unknown>;
|
|
129
|
+
}>;
|
|
130
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
2
|
+
getTableProps: any;
|
|
3
|
+
registerTable: (instance: import("../../../../Table").TableActionType, formInstance: import("../../../../Table").TableActionType & {
|
|
4
|
+
getForm: () => import("../../../../form/src/types/form").FormActionType;
|
|
5
|
+
}) => void;
|
|
6
|
+
tableAction: import("../../../../Table").TableActionType & {
|
|
7
|
+
getForm: () => import("../../../../form/src/types/form").FormActionType;
|
|
8
|
+
};
|
|
9
|
+
readonly BasicTable: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
|
|
10
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
11
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
|
|
2
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
|
|
2
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
|
|
2
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
|
|
2
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
|
|
2
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
|
|
2
|
+
export default _sfc_main;
|