3h1-ui 1.2.2 → 1.2.3

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/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-icon-picker .ant-input-group-addon {
264
- padding: 0;
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-icon-picker-popover {
267
- width: 300px;
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-icon-picker-popover .ant-popover-inner-content {
270
- padding: 0;
241
+ .shy-strength-meter-bar[data-v-eda28c94]::before {
242
+ left: 20%;
271
243
  }
272
- .shy-icon-picker-popover .scrollbar {
273
- height: 220px;
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 */
@@ -718,6 +718,32 @@ span.iconify {
718
718
  /* stylelint-disable no-duplicate-selectors */
719
719
  /* stylelint-disable */
720
720
  /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
721
+ .wrapper[data-v-c8b3688d] {
722
+ display: flex;
723
+ }
724
+ .tree[data-v-c8b3688d] {
725
+ flex: none;
726
+ }
727
+ .table-wrapper[data-v-c8b3688d] {
728
+ flex: 1 1 0%;
729
+ overflow: hidden;
730
+ }
731
+ /* stylelint-disable no-duplicate-selectors */
732
+ /* stylelint-disable */
733
+ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
734
+ [data-v-dc00479e] .ant-input-group-addon {
735
+ padding: 0;
736
+ }
737
+ .btn-wrapper[data-v-dc00479e] {
738
+ padding: 0 5px;
739
+ display: flex;
740
+ align-items: center;
741
+ justify-content: center;
742
+ cursor: pointer;
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';
@@ -1,4 +1,5 @@
1
1
  import BasicButton from './src/BasicButton.vue';
2
2
  import PopConfirmButton from './src/PopConfirmButton.vue';
3
3
  import { buttonProps } from './src/props';
4
+ export { BasicButton as Button };
4
5
  export { BasicButton, PopConfirmButton, buttonProps };
@@ -56,8 +56,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
56
56
  };
57
57
  }>>, {
58
58
  width: number;
59
- customEvent: Event;
60
59
  showIcon: boolean;
60
+ customEvent: Event;
61
61
  axis: Axis;
62
62
  items: ContextMenuItem[];
63
63
  }>;
@@ -0,0 +1,11 @@
1
+ export type BasicForm = any
2
+ export type useForm = any
3
+ export type ApiSelect = any
4
+ export type RadioButtonGroup = any
5
+ export type ApiTreeSelect = any
6
+ export type ApiTree = any
7
+ export type ApiRadioGroup = any
8
+ export type ApiCascader = any
9
+ export type ApiTransfer = any
10
+ export type TableChildren = any
11
+ export type ApiModalSelect = any
@@ -1,8 +1,7 @@
1
1
  import type { ComputedRef, Slots } from 'vue';
2
2
  import type { BasicTableProps, FetchParams } from '../types/table';
3
- import type { FormProps } from '../../../Form';
4
3
  export declare function useTableForm(propsRef: ComputedRef<BasicTableProps>, slots: Slots, fetch: (opt?: FetchParams | undefined) => Promise<void>, getLoading: ComputedRef<boolean | undefined>): {
5
- getFormProps: ComputedRef<Partial<FormProps>>;
4
+ getFormProps: ComputedRef<FormProps>;
6
5
  replaceFormSlotKey: (key: string) => string;
7
6
  getFormSlotKeys: ComputedRef<string[]>;
8
7
  handleSearchInfoChange: (info: Recordable) => void;
@@ -70,19 +70,19 @@ declare const _sfc_main: import("vue").DefineComponent<{
70
70
  helpMessage: import("@shy-plugins/utils").BuildPropType<PropType<string | string[]>, unknown, unknown>;
71
71
  search: boolean;
72
72
  selectedKeys: KeyType[];
73
- renderIcon: (params: Recordable<any>) => string;
74
- toolbar: boolean;
73
+ fieldNames: undefined;
75
74
  searchValue: string;
75
+ treeData: import("ant-design-vue/es/vc-tree/interface").DataNode[];
76
76
  checkStrictly: boolean;
77
- clickRowToExpand: import("@shy-plugins/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
78
77
  checkable: boolean;
79
- defaultExpandLevel: import("@shy-plugins/utils").BuildPropType<PropType<string | number>, unknown, unknown>;
80
78
  defaultExpandAll: boolean;
81
- fieldNames: undefined;
82
- treeData: import("ant-design-vue/es/vc-tree/interface").DataNode[];
83
- actionList: import("./types/tree").TreeActionItem[];
84
79
  expandedKeys: KeyType[];
85
80
  checkedKeys: CheckKeys;
81
+ renderIcon: (params: Recordable<any>) => string;
82
+ toolbar: boolean;
83
+ clickRowToExpand: import("@shy-plugins/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
84
+ defaultExpandLevel: import("@shy-plugins/utils").BuildPropType<PropType<string | number>, unknown, unknown>;
85
+ actionList: import("./types/tree").TreeActionItem[];
86
86
  beforeRightClick: (...arg: any) => import("./types/tree").ContextMenuOptions | import("./types/tree").ContextMenuItem[];
87
87
  rightMenuList: import("./types/tree").ContextMenuItem[];
88
88
  filterFn: (searchValue: any, node: TreeItem, fieldNames: FieldNames) => boolean;