@wlydfe/pro-ui 0.2.17 → 0.2.18

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 (43) hide show
  1. package/es/components/page/index.d.ts +48 -3
  2. package/es/components/page/src/index.vue.d.ts +16 -1
  3. package/es/components/search/index.d.ts +19 -0
  4. package/es/components/search/src/index.vue.d.ts +3 -0
  5. package/es/components/search/src/index.vue2.mjs +3 -2
  6. package/es/components/search/src/type.d.ts +6 -0
  7. package/es/index.css +11 -11
  8. package/es/version.d.ts +1 -1
  9. package/es/version.mjs +1 -1
  10. package/index.js +5 -4
  11. package/index.min.js +2 -2
  12. package/index.min.mjs +2 -2
  13. package/index.mjs +5 -4
  14. package/lib/components/page/index.d.ts +48 -3
  15. package/lib/components/page/src/index.vue.d.ts +16 -1
  16. package/lib/components/search/index.d.ts +19 -0
  17. package/lib/components/search/src/index.vue.d.ts +3 -0
  18. package/lib/components/search/src/index.vue2.js +3 -2
  19. package/lib/components/search/src/type.d.ts +6 -0
  20. package/lib/{index.css → page.css} +14 -14
  21. package/lib/version.d.ts +1 -1
  22. package/lib/version.js +1 -1
  23. package/locale/en.js +1 -1
  24. package/locale/en.min.js +1 -1
  25. package/locale/en.min.mjs +1 -1
  26. package/locale/en.mjs +1 -1
  27. package/locale/ja.js +1 -1
  28. package/locale/ja.min.js +1 -1
  29. package/locale/ja.min.mjs +1 -1
  30. package/locale/ja.mjs +1 -1
  31. package/locale/ko.js +1 -1
  32. package/locale/ko.min.js +1 -1
  33. package/locale/ko.min.mjs +1 -1
  34. package/locale/ko.mjs +1 -1
  35. package/locale/zh-cn.js +1 -1
  36. package/locale/zh-cn.min.js +1 -1
  37. package/locale/zh-cn.min.mjs +1 -1
  38. package/locale/zh-cn.mjs +1 -1
  39. package/locale/zh-tw.js +1 -1
  40. package/locale/zh-tw.min.js +1 -1
  41. package/locale/zh-tw.min.mjs +1 -1
  42. package/locale/zh-tw.mjs +1 -1
  43. package/package.json +1 -1
@@ -117,6 +117,7 @@ export declare const PlusPage: {
117
117
  hasFooter: boolean;
118
118
  hasReset: boolean;
119
119
  resetText: string;
120
+ hasSearchIcon: boolean;
120
121
  hasUnfold: boolean;
121
122
  defaultUnfold: boolean;
122
123
  searchText: string;
@@ -135,6 +136,7 @@ export declare const PlusPage: {
135
136
  readonly hasFooter: boolean;
136
137
  readonly hasReset: boolean;
137
138
  readonly resetText: string;
139
+ readonly hasSearchIcon: boolean;
138
140
  readonly hasUnfold: boolean;
139
141
  readonly defaultUnfold: boolean;
140
142
  readonly searchText: string;
@@ -201,6 +203,10 @@ export declare const PlusPage: {
201
203
  type: PropType<string>;
202
204
  default: string;
203
205
  };
206
+ hasSearchIcon: {
207
+ type: PropType<boolean>;
208
+ default: boolean;
209
+ };
204
210
  hasUnfold: {
205
211
  type: PropType<boolean>;
206
212
  default: boolean;
@@ -235,7 +241,7 @@ export declare const PlusPage: {
235
241
  onReset?: ((values: FieldValues) => any) | undefined;
236
242
  onSearch?: ((values: FieldValues) => any) | undefined;
237
243
  onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
238
- }, "columns" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate">;
244
+ }, "columns" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "hasSearchIcon" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate">;
239
245
  $attrs: {
240
246
  [x: string]: unknown;
241
247
  };
@@ -302,6 +308,10 @@ export declare const PlusPage: {
302
308
  type: PropType<string>;
303
309
  default: string;
304
310
  };
311
+ hasSearchIcon: {
312
+ type: PropType<boolean>;
313
+ default: boolean;
314
+ };
305
315
  hasUnfold: {
306
316
  type: PropType<boolean>;
307
317
  default: boolean;
@@ -1523,6 +1533,7 @@ export declare const PlusPage: {
1523
1533
  hasFooter: boolean;
1524
1534
  hasReset: boolean;
1525
1535
  resetText: string;
1536
+ hasSearchIcon: boolean;
1526
1537
  hasUnfold: boolean;
1527
1538
  defaultUnfold: boolean;
1528
1539
  searchText: string;
@@ -1603,6 +1614,10 @@ export declare const PlusPage: {
1603
1614
  type: PropType<string>;
1604
1615
  default: string;
1605
1616
  };
1617
+ hasSearchIcon: {
1618
+ type: PropType<boolean>;
1619
+ default: boolean;
1620
+ };
1606
1621
  hasUnfold: {
1607
1622
  type: PropType<boolean>;
1608
1623
  default: boolean;
@@ -4884,6 +4899,7 @@ export declare const PlusPage: {
4884
4899
  hasFooter: boolean;
4885
4900
  hasReset: boolean;
4886
4901
  resetText: string;
4902
+ hasSearchIcon: boolean;
4887
4903
  hasUnfold: boolean;
4888
4904
  defaultUnfold: boolean;
4889
4905
  searchText: string;
@@ -4902,6 +4918,7 @@ export declare const PlusPage: {
4902
4918
  readonly hasFooter: boolean;
4903
4919
  readonly hasReset: boolean;
4904
4920
  readonly resetText: string;
4921
+ readonly hasSearchIcon: boolean;
4905
4922
  readonly hasUnfold: boolean;
4906
4923
  readonly defaultUnfold: boolean;
4907
4924
  readonly searchText: string;
@@ -4968,6 +4985,10 @@ export declare const PlusPage: {
4968
4985
  type: PropType<string>;
4969
4986
  default: string;
4970
4987
  };
4988
+ hasSearchIcon: {
4989
+ type: PropType<boolean>;
4990
+ default: boolean;
4991
+ };
4971
4992
  hasUnfold: {
4972
4993
  type: PropType<boolean>;
4973
4994
  default: boolean;
@@ -5002,7 +5023,7 @@ export declare const PlusPage: {
5002
5023
  onReset?: ((values: FieldValues) => any) | undefined;
5003
5024
  onSearch?: ((values: FieldValues) => any) | undefined;
5004
5025
  onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
5005
- }, "columns" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate">;
5026
+ }, "columns" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "hasSearchIcon" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate">;
5006
5027
  $attrs: {
5007
5028
  [x: string]: unknown;
5008
5029
  };
@@ -5069,6 +5090,10 @@ export declare const PlusPage: {
5069
5090
  type: PropType<string>;
5070
5091
  default: string;
5071
5092
  };
5093
+ hasSearchIcon: {
5094
+ type: PropType<boolean>;
5095
+ default: boolean;
5096
+ };
5072
5097
  hasUnfold: {
5073
5098
  type: PropType<boolean>;
5074
5099
  default: boolean;
@@ -6290,6 +6315,7 @@ export declare const PlusPage: {
6290
6315
  hasFooter: boolean;
6291
6316
  hasReset: boolean;
6292
6317
  resetText: string;
6318
+ hasSearchIcon: boolean;
6293
6319
  hasUnfold: boolean;
6294
6320
  defaultUnfold: boolean;
6295
6321
  searchText: string;
@@ -6370,6 +6396,10 @@ export declare const PlusPage: {
6370
6396
  type: PropType<string>;
6371
6397
  default: string;
6372
6398
  };
6399
+ hasSearchIcon: {
6400
+ type: PropType<boolean>;
6401
+ default: boolean;
6402
+ };
6373
6403
  hasUnfold: {
6374
6404
  type: PropType<boolean>;
6375
6405
  default: boolean;
@@ -9554,6 +9584,7 @@ export declare const PlusPage: {
9554
9584
  hasFooter: boolean;
9555
9585
  hasReset: boolean;
9556
9586
  resetText: string;
9587
+ hasSearchIcon: boolean;
9557
9588
  hasUnfold: boolean;
9558
9589
  defaultUnfold: boolean;
9559
9590
  searchText: string;
@@ -9572,6 +9603,7 @@ export declare const PlusPage: {
9572
9603
  readonly hasFooter: boolean;
9573
9604
  readonly hasReset: boolean;
9574
9605
  readonly resetText: string;
9606
+ readonly hasSearchIcon: boolean;
9575
9607
  readonly hasUnfold: boolean;
9576
9608
  readonly defaultUnfold: boolean;
9577
9609
  readonly searchText: string;
@@ -9638,6 +9670,10 @@ export declare const PlusPage: {
9638
9670
  type: PropType<string>;
9639
9671
  default: string;
9640
9672
  };
9673
+ hasSearchIcon: {
9674
+ type: PropType<boolean>;
9675
+ default: boolean;
9676
+ };
9641
9677
  hasUnfold: {
9642
9678
  type: PropType<boolean>;
9643
9679
  default: boolean;
@@ -9672,7 +9708,7 @@ export declare const PlusPage: {
9672
9708
  onReset?: ((values: FieldValues) => any) | undefined;
9673
9709
  onSearch?: ((values: FieldValues) => any) | undefined;
9674
9710
  onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
9675
- }, "columns" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate">;
9711
+ }, "columns" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "hasSearchIcon" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate">;
9676
9712
  $attrs: {
9677
9713
  [x: string]: unknown;
9678
9714
  };
@@ -9739,6 +9775,10 @@ export declare const PlusPage: {
9739
9775
  type: PropType<string>;
9740
9776
  default: string;
9741
9777
  };
9778
+ hasSearchIcon: {
9779
+ type: PropType<boolean>;
9780
+ default: boolean;
9781
+ };
9742
9782
  hasUnfold: {
9743
9783
  type: PropType<boolean>;
9744
9784
  default: boolean;
@@ -10960,6 +11000,7 @@ export declare const PlusPage: {
10960
11000
  hasFooter: boolean;
10961
11001
  hasReset: boolean;
10962
11002
  resetText: string;
11003
+ hasSearchIcon: boolean;
10963
11004
  hasUnfold: boolean;
10964
11005
  defaultUnfold: boolean;
10965
11006
  searchText: string;
@@ -11040,6 +11081,10 @@ export declare const PlusPage: {
11040
11081
  type: PropType<string>;
11041
11082
  default: string;
11042
11083
  };
11084
+ hasSearchIcon: {
11085
+ type: PropType<boolean>;
11086
+ default: boolean;
11087
+ };
11043
11088
  hasUnfold: {
11044
11089
  type: PropType<boolean>;
11045
11090
  default: boolean;
@@ -142,6 +142,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
142
142
  hasFooter: boolean;
143
143
  hasReset: boolean;
144
144
  resetText: string;
145
+ hasSearchIcon: boolean;
145
146
  hasUnfold: boolean;
146
147
  defaultUnfold: boolean;
147
148
  searchText: string;
@@ -160,6 +161,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
160
161
  readonly hasFooter: boolean;
161
162
  readonly hasReset: boolean;
162
163
  readonly resetText: string;
164
+ readonly hasSearchIcon: boolean;
163
165
  readonly hasUnfold: boolean;
164
166
  readonly defaultUnfold: boolean;
165
167
  readonly searchText: string;
@@ -226,6 +228,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
226
228
  type: PropType<string>;
227
229
  default: string;
228
230
  };
231
+ hasSearchIcon: {
232
+ type: PropType<boolean>;
233
+ default: boolean;
234
+ };
229
235
  hasUnfold: {
230
236
  type: PropType<boolean>;
231
237
  default: boolean;
@@ -260,7 +266,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
260
266
  onReset?: ((values: FieldValues) => any) | undefined;
261
267
  onSearch?: ((values: FieldValues) => any) | undefined;
262
268
  onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
263
- }, "columns" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate">;
269
+ }, "columns" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "hasSearchIcon" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate">;
264
270
  $attrs: {
265
271
  [x: string]: unknown;
266
272
  };
@@ -327,6 +333,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
327
333
  type: PropType<string>;
328
334
  default: string;
329
335
  };
336
+ hasSearchIcon: {
337
+ type: PropType<boolean>;
338
+ default: boolean;
339
+ };
330
340
  hasUnfold: {
331
341
  type: PropType<boolean>;
332
342
  default: boolean;
@@ -1564,6 +1574,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1564
1574
  hasFooter: boolean;
1565
1575
  hasReset: boolean;
1566
1576
  resetText: string;
1577
+ hasSearchIcon: boolean;
1567
1578
  hasUnfold: boolean;
1568
1579
  defaultUnfold: boolean;
1569
1580
  searchText: string;
@@ -1644,6 +1655,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1644
1655
  type: PropType<string>;
1645
1656
  default: string;
1646
1657
  };
1658
+ hasSearchIcon: {
1659
+ type: PropType<boolean>;
1660
+ default: boolean;
1661
+ };
1647
1662
  hasUnfold: {
1648
1663
  type: PropType<boolean>;
1649
1664
  default: boolean;
@@ -63,6 +63,10 @@ export declare const PlusSearch: {
63
63
  type: PropType<string>;
64
64
  default: string;
65
65
  };
66
+ hasSearchIcon: {
67
+ type: PropType<boolean>;
68
+ default: boolean;
69
+ };
66
70
  hasUnfold: {
67
71
  type: PropType<boolean>;
68
72
  default: boolean;
@@ -1325,6 +1329,10 @@ export declare const PlusSearch: {
1325
1329
  type: PropType<string>;
1326
1330
  default: string;
1327
1331
  };
1332
+ hasSearchIcon: {
1333
+ type: PropType<boolean>;
1334
+ default: boolean;
1335
+ };
1328
1336
  hasUnfold: {
1329
1337
  type: PropType<boolean>;
1330
1338
  default: boolean;
@@ -1371,6 +1379,7 @@ export declare const PlusSearch: {
1371
1379
  hasFooter: boolean;
1372
1380
  hasReset: boolean;
1373
1381
  resetText: string;
1382
+ hasSearchIcon: boolean;
1374
1383
  hasUnfold: boolean;
1375
1384
  defaultUnfold: boolean;
1376
1385
  searchText: string;
@@ -1438,6 +1447,10 @@ export declare const PlusSearch: {
1438
1447
  type: PropType<string>;
1439
1448
  default: string;
1440
1449
  };
1450
+ hasSearchIcon: {
1451
+ type: PropType<boolean>;
1452
+ default: boolean;
1453
+ };
1441
1454
  hasUnfold: {
1442
1455
  type: PropType<boolean>;
1443
1456
  default: boolean;
@@ -2653,6 +2666,7 @@ export declare const PlusSearch: {
2653
2666
  hasFooter: boolean;
2654
2667
  hasReset: boolean;
2655
2668
  resetText: string;
2669
+ hasSearchIcon: boolean;
2656
2670
  hasUnfold: boolean;
2657
2671
  defaultUnfold: boolean;
2658
2672
  searchText: string;
@@ -2717,6 +2731,10 @@ export declare const PlusSearch: {
2717
2731
  type: PropType<string>;
2718
2732
  default: string;
2719
2733
  };
2734
+ hasSearchIcon: {
2735
+ type: PropType<boolean>;
2736
+ default: boolean;
2737
+ };
2720
2738
  hasUnfold: {
2721
2739
  type: PropType<boolean>;
2722
2740
  default: boolean;
@@ -3938,6 +3956,7 @@ export declare const PlusSearch: {
3938
3956
  hasFooter: boolean;
3939
3957
  hasReset: boolean;
3940
3958
  resetText: string;
3959
+ hasSearchIcon: boolean;
3941
3960
  hasUnfold: boolean;
3942
3961
  defaultUnfold: boolean;
3943
3962
  searchText: string;
@@ -13,6 +13,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
13
13
  defaultValues: () => {};
14
14
  hasFooter: boolean;
15
15
  hasReset: boolean;
16
+ hasSearchIcon: boolean;
16
17
  hasUnfold: boolean;
17
18
  defaultUnfold: boolean;
18
19
  searchLoading: boolean;
@@ -1215,6 +1216,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1215
1216
  defaultValues: () => {};
1216
1217
  hasFooter: boolean;
1217
1218
  hasReset: boolean;
1219
+ hasSearchIcon: boolean;
1218
1220
  hasUnfold: boolean;
1219
1221
  defaultUnfold: boolean;
1220
1222
  searchLoading: boolean;
@@ -1255,6 +1257,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1255
1257
  hasFooter: boolean;
1256
1258
  hasReset: boolean;
1257
1259
  resetText: string;
1260
+ hasSearchIcon: boolean;
1258
1261
  hasUnfold: boolean;
1259
1262
  defaultUnfold: boolean;
1260
1263
  searchText: string;
@@ -17,6 +17,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
17
17
  defaultValues: { default: () => ({}) },
18
18
  columns: { default: () => [] },
19
19
  hasFooter: { type: Boolean, default: true },
20
+ hasSearchIcon: { type: Boolean, default: true },
20
21
  hasReset: { type: Boolean, default: true },
21
22
  hasUnfold: { type: Boolean, default: true },
22
23
  defaultUnfold: { type: Boolean, default: true },
@@ -142,7 +143,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
142
143
  }, () => [
143
144
  _ctx.hasReset ? (openBlock(), createBlock(unref(ElButton), {
144
145
  key: 0,
145
- icon: unref(RefreshRight),
146
+ icon: _ctx.hasSearchIcon ? unref(RefreshRight) : void 0,
146
147
  onClick: handleReset
147
148
  }, {
148
149
  default: withCtx(() => [
@@ -158,7 +159,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
158
159
  createVNode(unref(ElButton), {
159
160
  type: "primary",
160
161
  loading: _ctx.searchLoading,
161
- icon: unref(Search),
162
+ icon: _ctx.hasSearchIcon ? unref(Search) : void 0,
162
163
  onClick: handleSearch.value
163
164
  }, {
164
165
  default: withCtx(() => [
@@ -7,6 +7,12 @@ export type PlusSearchSelfProps = {
7
7
  defaultValues?: FieldValues;
8
8
  columns?: PlusColumn[];
9
9
  hasFooter?: boolean;
10
+ /**
11
+ * 搜索按钮是否显示icon
12
+ * @version 0.2.18
13
+ * @default true
14
+ */
15
+ hasSearchIcon?: boolean;
10
16
  hasReset?: boolean;
11
17
  hasUnfold?: boolean;
12
18
  /**
package/es/index.css CHANGED
@@ -1,22 +1,22 @@
1
- .plus-drawer-form .el-drawer__header{border-bottom:1px solid var(--el-border-color);margin-bottom:0;padding-bottom:calc(var(--el-drawer-padding-primary)/2);padding-top:calc(var(--el-drawer-padding-primary)/2)}.plus-drawer-form .el-drawer__footer{border-top:1px solid var(--el-border-color);padding-bottom:calc(var(--el-drawer-padding-primary)/2)}
1
+ .plus-description .plus-description__name{word-wrap:break-word;max-width:200px}.plus-description .plus-description__label{min-width:80px}.plus-description .plus-description__label.is-required:before{color:var(--el-color-danger);content:"*";margin-right:4px}.plus-description.no-border .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{border:0}.plus-description.no-border .el-descriptions__body .el-descriptions__label.el-descriptions__cell.is-bordered-label{background-color:var(--el-fill-color-blank)}
2
2
  .plus-breadcrumb{margin-bottom:8px}.plus-breadcrumb.no-data{margin-bottom:0}
3
3
  .plus-check-card-group{display:flex;flex-wrap:wrap}.plus-check-card-group .plus-check-card{margin-bottom:16px;margin-right:16px}
4
+
5
+ .plus-page .plus-page__table_wrapper{margin-top:20px}
6
+ .plus-drawer-form .el-drawer__header{border-bottom:1px solid var(--el-border-color);margin-bottom:0;padding-bottom:calc(var(--el-drawer-padding-primary)/2);padding-top:calc(var(--el-drawer-padding-primary)/2)}.plus-drawer-form .el-drawer__footer{border-top:1px solid var(--el-border-color);padding-bottom:calc(var(--el-drawer-padding-primary)/2)}
4
7
  .plus-dialog .plus-dialog-footer{align-items:center;display:flex}
8
+ :root{--plus-header-height:60px;--plus-sidebar-collapse-height:60px;--plus-sidebar-width:200px;--plus-sidebar-min-width:64px}.plus-header{align-items:center;border-bottom:1px solid var(--el-border-color);display:flex;justify-content:space-around}.plus-header.is-fixed{left:0;position:fixed;top:0;width:100%}.plus-header .plus-header__left{align-items:center;display:flex}.plus-header .plus-header__left .plus-header__logo{height:28px}.plus-header .plus-header__left .plus-header__title{color:var(--el-text-color-regular);font-size:18px;font-weight:600;margin:0 0 0 12px;padding:0}.plus-header .plus-header__placeholder{flex:1 1 0%}.plus-header .plus-header__right{align-items:center;display:flex}.plus-header .plus-header__right .plus-header__dropdown-area{align-items:center;cursor:pointer;display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none}.plus-header .plus-header__right .plus-header__avatar{border-radius:50%;height:24px;margin-right:4px;width:24px}.plus-header-placeholder{height:var(--plus-header-height);width:100%}
5
9
  .plus-check-card{border:1px solid var(--el-border-color);border-radius:var(--el-border-radius-base);box-sizing:border-box;color:var(--el-text-color-regular);cursor:pointer;display:flex;overflow:hidden;padding-block:16px;padding-inline:12px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.plus-check-card--large{width:440px}.plus-check-card--default{width:320px}.plus-check-card--small{width:200px}.plus-check-card--checked{background-color:rgba(var(--el-color-primary-rgb),.1);border-color:var(--el-color-primary);position:relative}.plus-check-card--checked:after{-webkit-border-after:10px solid transparent;-webkit-border-start:10px solid transparent;border:10px solid var(--el-color-primary);border-block-end:10px solid transparent;border-inline-start:10px solid transparent;border-start-end-radius:6px;content:"";height:0;inset-block-start:2px;inset-inline-end:2px;position:absolute;width:0}.plus-check-card--disabled{background-color:var(--el-color-info-light-9);border-color:var(--el-color-info-light-8);cursor:not-allowed}.plus-check-card--disabled:after{border-right-color:var(--el-color-info-light-5);border-top-color:var(--el-color-info-light-5)}.plus-check-card .plus-check-card__avatar-wrapper{-webkit-padding-end:8px;padding-inline-end:8px}.plus-check-card .plus-check-card__right-content{overflow:hidden;width:100%}.plus-check-card .plus-check-card__title{-webkit-margin-after:4px;align-items:center;color:var(--el-text-color-primary);display:flex;justify-content:space-between;margin-block-end:4px;width:100%}.plus-check-card .plus-check-card__title-left{align-items:center;display:flex}.plus-check-card .plus-check-card__title-right{align-items:center;display:flex;vertical-align:middle}.plus-check-card .plus-check-card__description{color:var(--el-text-color-regular);width:100%;word-break:break-all}
6
- .plus-description .plus-description__name{word-wrap:break-word;max-width:200px}.plus-description .plus-description__label{min-width:80px}.plus-description .plus-description__label.is-required:before{color:var(--el-color-danger);content:"*";margin-right:4px}.plus-description.no-border .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{border:0}.plus-description.no-border .el-descriptions__body .el-descriptions__label.el-descriptions__cell.is-bordered-label{background-color:var(--el-fill-color-blank)}
10
+ .plus-input-tag{align-items:center;background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:var(--el-border-radius-base);box-sizing:border-box;display:flex;flex-wrap:wrap;max-width:100%;padding:1px 2px;width:-moz-fit-content;width:fit-content}.plus-input-tag:hover{border-color:var(--el-border-color-hover)}.plus-input-tag.is-focus{border-color:var(--el-color-primary)}.plus-input-tag.is-disabled{background-color:var(--el-disabled-bg-color);cursor:not-allowed}.plus-input-tag.is-disabled:hover{border-color:var(--el-border-color)}.plus-input-tag.is-disabled .el-tag__close{cursor:not-allowed}.plus-input-tag.is-disabled .el-tag__close:hover{background-color:transparent;color:var(--el-tag-hover-color)}.plus-input-tag .plus-input-tag__tag{margin-bottom:1px;margin-right:4px;margin-top:1px}.plus-input-tag .plus-input-tag__input{box-sizing:border-box;flex:1;min-width:85px;padding:0}.plus-input-tag .plus-input-tag__input .el-input__wrapper{box-shadow:none;box-sizing:border-box;padding:0 4px}.plus-input-tag .plus-input-tag__input .el-input__inner{height:24px;line-height:24px}.plus-input-tag .el-input.is-disabled .el-input__wrapper{box-shadow:none}.el-form-item.is-error .plus-input-tag{border-color:var(--el-color-danger)}.el-form-item.is-error .plus-input-tag .el-input__wrapper{box-shadow:none}.el-form-item.is-error .plus-input-tag .el-input__wrapper.is-focus{box-shadow:none!important}.el-form-item.is-error .plus-input-tag .el-input__wrapper:hover{box-shadow:none}
7
11
  .plus-display-item__edit-icon{margin-left:8px}.plus-display-item__image{cursor:pointer;-o-object-fit:cover;object-fit:cover;overflow:hidden;width:30px}.plus-display-item__icon__copy{-webkit-margin-start:4px;color:var(--el-color-primary);cursor:pointer;margin-inline-start:4px;outline:none;text-decoration:none;transition:color .3s;vertical-align:sub}.plus-display-item__pre{background-color:var(--el-color-primary-light-9);border-radius:3px;font-size:85%;line-height:1.45;overflow:auto;padding:0;width:unset}.plus-display-item__badge.is-list .plus-display-item__badge__item+.plus-display-item__badge__item{padding-left:8px}.plus-display-item__badge .plus-display-item__badge__dot{border-radius:50%;display:inline-block;height:6px;position:relative;top:-1px;vertical-align:middle;width:6px}.plus-display-item__badge .plus-display-item__badge__dot--primary{background-color:var(--el-color-primary)}.plus-display-item__badge .plus-display-item__badge__dot--success{background-color:var(--el-color-success)}.plus-display-item__badge .plus-display-item__badge__dot--info{background-color:var(--el-color-info)}.plus-display-item__badge .plus-display-item__badge__dot--warning{background-color:var(--el-color-warning)}.plus-display-item__badge .plus-display-item__badge__dot--danger{background-color:var(--el-color-danger)}.plus-display-item__form .plus-form-item{margin-bottom:0}.plus-display-item__link{max-width:100%}.plus-display-item__link .el-link__inner{display:inline-block;width:100%}
8
-
9
- .plus-pagination{align-items:center;display:flex;justify-content:space-between;padding:16px 0}
10
- :root{--plus-header-height:60px;--plus-sidebar-collapse-height:60px;--plus-sidebar-width:200px;--plus-sidebar-min-width:64px}.plus-header{align-items:center;border-bottom:1px solid var(--el-border-color);display:flex;justify-content:space-around}.plus-header.is-fixed{left:0;position:fixed;top:0;width:100%}.plus-header .plus-header__left{align-items:center;display:flex}.plus-header .plus-header__left .plus-header__logo{height:28px}.plus-header .plus-header__left .plus-header__title{color:var(--el-text-color-regular);font-size:18px;font-weight:600;margin:0 0 0 12px;padding:0}.plus-header .plus-header__placeholder{flex:1 1 0%}.plus-header .plus-header__right{align-items:center;display:flex}.plus-header .plus-header__right .plus-header__dropdown-area{align-items:center;cursor:pointer;display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none}.plus-header .plus-header__right .plus-header__avatar{border-radius:50%;height:24px;margin-right:4px;width:24px}.plus-header-placeholder{height:var(--plus-header-height);width:100%}
11
- .plus-page .plus-page__table_wrapper{margin-top:20px}
12
+ :root{--plus-header-height:60px;--plus-sidebar-collapse-height:60px;--plus-sidebar-width:200px;--plus-sidebar-min-width:64px}.plus-layout{height:100vh;overflow:hidden}.plus-layout.el-container{flex-direction:column}.plus-layout .plus-sidebar{height:calc(100vh - var(--plus-header-height));min-width:var(--plus-sidebar-min-width)}.plus-layout .plus-layout-main{flex:1;height:calc(100vh - var(--plus-header-height));width:calc(100% - var(--plus-sidebar-width))}.plus-layout.collapse .plus-layout-main{width:calc(100% - var(--plus-sidebar-min-width))}.plus-layout .plus-layout-content{padding:0}
12
13
  .plus-date-picker{align-items:center;border:1px solid var(--el-border-color);border-radius:var(--el-border-radius-base);display:flex;flex-wrap:nowrap;max-width:100%;width:-moz-fit-content;width:fit-content}.plus-date-picker:hover{border-color:var(--el-border-color-hover)}.plus-date-picker.is-focus{border-color:var(--el-color-primary)}.plus-date-picker.is-disabled{background-color:var(--el-disabled-bg-color)}.plus-date-picker.is-disabled:hover{border-color:var(--el-border-color)}.plus-date-picker .plus-date-picker__middle{color:var(--el-text-color-placeholder)}.plus-date-picker .plus-date-picker__start{flex:1;font-size:14px}.plus-date-picker .plus-date-picker__start.is-disabled .el-input__wrapper{box-shadow:none}.plus-date-picker .plus-date-picker__start .el-input__wrapper{border:none;box-shadow:none}.plus-date-picker .el-input__wrapper{width:100%}.plus-date-picker .el-input__wrapper:hover{box-shadow:none}.plus-date-picker .el-input__wrapper.is-focus{box-shadow:none}.plus-date-picker .plus-date-picker__end{flex:1;font-size:14px}.plus-date-picker .plus-date-picker__end.is-disabled .el-input__wrapper{box-shadow:none}.plus-date-picker .plus-date-picker__end .el-input__wrapper{border:none;box-shadow:none}.el-form-item.is-error .plus-date-picker{border-color:var(--el-color-danger)}.el-form-item.is-error .plus-date-picker .el-input__wrapper{box-shadow:none}.el-form-item.is-error .plus-date-picker .el-input__wrapper.is-focus{box-shadow:none!important}.el-form-item.is-error .plus-date-picker .el-input__wrapper:hover{box-shadow:none}
13
-
14
- .plus-input-tag{align-items:center;background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:var(--el-border-radius-base);box-sizing:border-box;display:flex;flex-wrap:wrap;max-width:100%;padding:1px 2px;width:-moz-fit-content;width:fit-content}.plus-input-tag:hover{border-color:var(--el-border-color-hover)}.plus-input-tag.is-focus{border-color:var(--el-color-primary)}.plus-input-tag.is-disabled{background-color:var(--el-disabled-bg-color);cursor:not-allowed}.plus-input-tag.is-disabled:hover{border-color:var(--el-border-color)}.plus-input-tag.is-disabled .el-tag__close{cursor:not-allowed}.plus-input-tag.is-disabled .el-tag__close:hover{background-color:transparent;color:var(--el-tag-hover-color)}.plus-input-tag .plus-input-tag__tag{margin-bottom:1px;margin-right:4px;margin-top:1px}.plus-input-tag .plus-input-tag__input{box-sizing:border-box;flex:1;min-width:85px;padding:0}.plus-input-tag .plus-input-tag__input .el-input__wrapper{box-shadow:none;box-sizing:border-box;padding:0 4px}.plus-input-tag .plus-input-tag__input .el-input__inner{height:24px;line-height:24px}.plus-input-tag .el-input.is-disabled .el-input__wrapper{box-shadow:none}.el-form-item.is-error .plus-input-tag{border-color:var(--el-color-danger)}.el-form-item.is-error .plus-input-tag .el-input__wrapper{box-shadow:none}.el-form-item.is-error .plus-input-tag .el-input__wrapper.is-focus{box-shadow:none!important}.el-form-item.is-error .plus-input-tag .el-input__wrapper:hover{box-shadow:none}
14
+ .plus-pagination{align-items:center;display:flex;justify-content:space-between;padding:16px 0}
15
15
  .plus-form-item{width:100%}.plus-form-item .plus-form-item__label{align-items:center;display:inline-flex}.plus-form-item .plus-form-item__label .plus-table-column__label__icon{margin-left:2px}.plus-form-item .plus-form-item-field,.plus-form-item .plus-form-item-field.el-date-editor{width:100%}
16
16
  :root{--plus-header-height:60px;--plus-sidebar-collapse-height:60px;--plus-sidebar-width:200px;--plus-sidebar-min-width:64px}.plus-sidebar{height:100%}.plus-sidebar.is-vertical{min-height:400px}.plus-sidebar.is-vertical:not(.el-menu--collapse){flex-shrink:0;width:var(--plus-sidebar-width)}.plus-sidebar.is-vertical.el-menu--collapse .el-menu-item{width:calc(var(--plus-sidebar-min-width) - 2px)}.plus-sidebar.is-vertical .el-scrollbar__wrap{overflow-x:hidden}.plus-sidebar.is-vertical.el-menu--collapse .plus-sidebar__item-title{display:inline-block;height:0;overflow:hidden;visibility:hidden;width:0}.plus-sidebar.is-vertical.el-menu--collapse .el-sub-menu__icon-arrow{display:none}.plus-sidebar.is-vertical .el-scrollbar{height:calc(100% - var(--plus-sidebar-collapse-height))}.plus-sidebar.is-vertical .plus-sidebar__collapse{align-items:flex-start;background-color:var(--el-menu-bg-color);bottom:0;box-sizing:border-box;height:var(--plus-sidebar-collapse-height);left:0;position:absolute;width:calc(var(--plus-sidebar-width) - 2px)}.plus-sidebar.is-vertical .plus-sidebar__collapse.is-collapse{width:calc(var(--plus-sidebar-min-width) - 2px)}.plus-sidebar.is-vertical .plus-sidebar__collapse.is-active{background-color:var(--el-menu-bg-color)}.plus-sidebar.is-vertical .plus-sidebar__collapse [class*=-icon]{cursor:pointer;font-size:20px;margin-top:10px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.plus-sidebar.is-horizontal,.plus-sidebar.is-horizontal .el-scrollbar,.plus-sidebar.is-horizontal .el-scrollbar__wrap{width:100%}.plus-sidebar.is-horizontal .el-scrollbar__view{display:flex;flex-wrap:nowrap;height:100%;width:100%}.plus-sidebar .plus-sidebar__item-title{-webkit-user-select:none;-moz-user-select:none;user-select:none}
17
- :root{--plus-header-height:60px;--plus-sidebar-collapse-height:60px;--plus-sidebar-width:200px;--plus-sidebar-min-width:64px}.plus-layout{height:100vh;overflow:hidden}.plus-layout.el-container{flex-direction:column}.plus-layout .plus-sidebar{height:calc(100vh - var(--plus-header-height));min-width:var(--plus-sidebar-min-width)}.plus-layout .plus-layout-main{flex:1;height:calc(100vh - var(--plus-header-height));width:calc(100% - var(--plus-sidebar-width))}.plus-layout.collapse .plus-layout-main{width:calc(100% - var(--plus-sidebar-min-width))}.plus-layout .plus-layout-content{padding:0}
18
-
19
- .plus-search .plus-form__row{row-gap:18px;width:100%}.plus-search.el-form--inline .el-form-item{margin-bottom:0;margin-right:0}.plus-search.el-form--label-top .plus-search__button__wrapper .el-form-item__label{opacity:0;visibility:hidden}.plus-search.el-form--label-top .plus-search__button__wrapper .el-form-item__content{justify-content:flex-end}.plus-search .plus-search__unfold{margin-left:12px}.plus-search .plus-search__button__wrapper{align-items:flex-start;display:flex;flex:auto;justify-content:flex-end;margin-bottom:0;max-width:100%}.plus-search .plus-search__button__wrapper.el-form-item{margin-right:10px}.plus-search .plus-search__button__wrapper .el-form-item__content{flex:none;flex-wrap:nowrap}
20
17
  .plus-form.no-has-label+.el-form-item__label{padding:0;width:0}.plus-form .plus-form__footer{display:flex;justify-content:flex-end}.plus-form .plus-form__group__item{margin-bottom:20px}.plus-form .plus-form__group__item .plus-form__group__item__icon{align-items:center;display:flex}.plus-form .plus-form__group__item .plus-form__group__item__icon .el-icon{margin-right:5px}.plus-form .plus-form-item-extra{color:var(--el-text-color-placeholder);font-size:var(--el-font-size-base);margin-bottom:18px}
18
+
21
19
  .plus-steps-form .el-steps{margin-bottom:20px}.plus-steps-form-vertical{display:flex}.plus-steps-form-vertical .el-steps--vertical{margin-right:20px}.plus-steps-form-vertical .plus-form{flex:1}
20
+
21
+ .plus-search .plus-form__row{row-gap:18px;width:100%}.plus-search.el-form--inline .el-form-item{margin-bottom:0;margin-right:0}.plus-search.el-form--label-top .plus-search__button__wrapper .el-form-item__label{opacity:0;visibility:hidden}.plus-search.el-form--label-top .plus-search__button__wrapper .el-form-item__content{justify-content:flex-end}.plus-search .plus-search__unfold{margin-left:12px}.plus-search .plus-search__button__wrapper{align-items:flex-start;display:flex;flex:auto;justify-content:flex-end;margin-bottom:0;max-width:100%}.plus-search .plus-search__button__wrapper.el-form-item{margin-right:10px}.plus-search .plus-search__button__wrapper .el-form-item__content{flex:none;flex-wrap:nowrap}
22
22
  .plus-table .plus-table-column .plus-table-column__header .plus-table-column__header__icon{margin-left:2px;margin-top:-2px;vertical-align:middle}.plus-table .plus-table-action-bar.is-center .cell{justify-content:center}.plus-table .plus-table-action-bar.is-right .cell{justify-content:flex-end}.plus-table .plus-table-action-bar.el-table-fixed-column--right{background-color:var(--el-bg-color)}.plus-table .plus-table-action-bar .cell{align-items:center;display:flex}.plus-table .plus-table-action-bar .plus-table-action-bar__dropdown__link{cursor:pointer;display:inline-flex;-webkit-user-select:none;-moz-user-select:none;user-select:none}.plus-table .plus-table-action-bar .plus-table-action-bar__more-text{margin-right:2px}.plus-table .plus-table-action-bar .plus-table-action-bar__column__link{margin-right:10px}.plus-table .plus-table-action-bar .plus-table-action-bar__dropdown{cursor:pointer;margin-left:12px;vertical-align:baseline}.plus-table .plus-table-action-bar .el-link+.el-link{margin-left:12px}.plus-table .plus-table-action-bar .el-icon{cursor:pointer}.plus-table .plus-table-action-bar .el-icon+.el-icon{margin-left:12px}.plus-table .plus-table-column-drag-sort .plus-table-column-drag-icon{box-sizing:border-box;cursor:move;font-size:18px;padding:4px}.plus-table .plus-table-column-index .plus-table-index-column{align-items:center;display:inline-flex;height:20px;justify-content:center;white-space:nowrap;width:20px;word-break:keep-all}.plus-table .plus-table-column-index .cell .plus-table-column-index__content{align-items:center;display:flex;justify-content:center;overflow:hidden}.plus-table .plus-table-title-bar{align-items:center;display:flex;justify-content:space-between;margin-bottom:10px}.plus-table .plus-table-title-bar__toolbar{align-items:center;display:flex}.plus-table .el-popper{max-width:200px}.plus-table-title-bar__toolbar__density{align-items:center;display:flex;flex-direction:column}.plus-table-title-bar__toolbar__density .el-button{margin-top:10px;width:80px}.plus-table-title-bar__toolbar__density .el-button+.el-button{margin-left:0}.plus-table-title-bar__toolbar__icon{color:var(--el-text-color-regular);cursor:pointer;margin-left:10px;vertical-align:middle}.plus-table-title-bar__toolbar__checkbox__item{margin-left:6px}.plus-table-checkbox-item{align-items:center;display:flex;margin-left:20px}.plus-table-checkbox-handle{cursor:move;font-size:18px}.plus-table-ghost-class{background-color:#fff;border:1px dashed var(--el-color-primary);padding:0 5px}.plus-table-column__edit{cursor:pointer}.plus-table-checkbox-checkAll{display:flex;justify-content:space-between}
package/es/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "0.2.17";
1
+ export declare const version = "0.2.18";
package/es/version.mjs CHANGED
@@ -1,3 +1,3 @@
1
- const version = "0.2.17";
1
+ const version = "0.2.18";
2
2
 
3
3
  export { version };
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @wlydfe/pro-ui v0.2.17 */
1
+ /*! @wlydfe/pro-ui v0.2.18 */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue'), require('element-plus')) :
4
4
  typeof define === 'function' && define.amd ? define(['exports', 'vue', 'element-plus'], factory) :
@@ -12275,6 +12275,7 @@
12275
12275
  defaultValues: { default: () => ({}) },
12276
12276
  columns: { default: () => [] },
12277
12277
  hasFooter: { type: Boolean, default: true },
12278
+ hasSearchIcon: { type: Boolean, default: true },
12278
12279
  hasReset: { type: Boolean, default: true },
12279
12280
  hasUnfold: { type: Boolean, default: true },
12280
12281
  defaultUnfold: { type: Boolean, default: true },
@@ -12400,7 +12401,7 @@
12400
12401
  }, () => [
12401
12402
  _ctx.hasReset ? (vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElButton), {
12402
12403
  key: 0,
12403
- icon: vue.unref(refresh_right_default),
12404
+ icon: _ctx.hasSearchIcon ? vue.unref(refresh_right_default) : void 0,
12404
12405
  onClick: handleReset
12405
12406
  }, {
12406
12407
  default: vue.withCtx(() => [
@@ -12416,7 +12417,7 @@
12416
12417
  vue.createVNode(vue.unref(elementPlus.ElButton), {
12417
12418
  type: "primary",
12418
12419
  loading: _ctx.searchLoading,
12419
- icon: vue.unref(search_default),
12420
+ icon: _ctx.hasSearchIcon ? vue.unref(search_default) : void 0,
12420
12421
  onClick: handleSearch.value
12421
12422
  }, {
12422
12423
  default: vue.withCtx(() => [
@@ -14652,7 +14653,7 @@
14652
14653
  }
14653
14654
  };
14654
14655
 
14655
- const version = "0.2.17";
14656
+ const version = "0.2.18";
14656
14657
 
14657
14658
  const install = installer.install;
14658
14659