@fangzhongya/fang-ui 0.0.67 → 0.0.68

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.
@@ -1,14 +1,11 @@
1
- import { defineComponent, ref, watch, createElementBlock, openBlock, normalizeClass, unref, createVNode, withCtx, createTextVNode, createElementVNode, createBlock, Fragment, renderList, mergeProps, toDisplayString, withModifiers } from "vue";
1
+ import { defineComponent, ref, watch, createElementBlock, openBlock, normalizeClass, unref, createVNode, withCtx, createTextVNode, toDisplayString, createElementVNode, createBlock, Fragment, renderList, mergeProps, withModifiers } from "vue";
2
2
  import Draggable from "vuedraggable";
3
3
  import { Dialogs } from "../../dialogs/index.js";
4
4
  import { NoData } from "../../no-data/index.js";
5
+ import { Checkbox } from "../../checkbox/index.js";
6
+ import { Button } from "../../button/index.js";
5
7
  import { useCssName } from "../../../hooks/cssname/index.js";
6
- import { ElCheckbox } from "element-plus/es/components/checkbox/index";
7
- import { ElButton } from "element-plus/es/components/button/index";
8
- const _hoisted_1 = {
9
- key: 1,
10
- class: "no-data"
11
- };
8
+ import { useLocale } from "../../../hooks/locale/index.js";
12
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
13
10
  __name: "set-column",
14
11
  props: {
@@ -19,15 +16,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
19
16
  }
20
17
  },
21
18
  list: {
22
- type: Array
19
+ type: Array,
20
+ default() {
21
+ return [];
22
+ }
23
23
  }
24
24
  },
25
25
  emits: ["update:modelValue"],
26
26
  setup(__props, { emit: __emit }) {
27
+ const { getLocale } = useLocale();
27
28
  const props = __props;
28
29
  const emit = __emit;
29
30
  const cs = useCssName("set-column");
30
31
  const dialogVisible = ref(false);
32
+ const isall = ref(false);
31
33
  const value = ref([...props.modelValue]);
32
34
  watch(
33
35
  () => props.modelValue,
@@ -36,8 +38,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
36
38
  }
37
39
  );
38
40
  const onOpen = () => {
41
+ var _a;
39
42
  value.value = [...props.modelValue];
40
43
  dialogVisible.value = true;
44
+ if (value.value.length == ((_a = props.list) == null ? void 0 : _a.length)) {
45
+ isall.value = true;
46
+ }
41
47
  };
42
48
  const isChecked = (item) => {
43
49
  return value.value.map((o) => o.prop).includes(item.prop);
@@ -54,31 +60,45 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
54
60
  };
55
61
  const drag = ref(false);
56
62
  const onChange = (item, is) => {
63
+ var _a;
57
64
  if (is) {
58
65
  value.value.push(item);
66
+ if (value.value.length == ((_a = props.list) == null ? void 0 : _a.length)) {
67
+ isall.value = true;
68
+ }
59
69
  } else {
60
70
  const v = value.value.map((o) => o.prop);
61
71
  value.value.splice(v.indexOf(item.prop), 1);
72
+ isall.value = false;
62
73
  }
63
74
  };
64
75
  const onDelete = (item, index) => {
65
76
  value.value.splice(index, 1);
77
+ isall.value = false;
78
+ };
79
+ const onAllChange = (is) => {
80
+ if (is) {
81
+ value.value = [...props.list];
82
+ } else {
83
+ value.value = [];
84
+ }
66
85
  };
67
86
  return (_ctx, _cache) => {
68
87
  return openBlock(), createElementBlock("div", {
69
88
  class: normalizeClass(unref(cs).z())
70
89
  }, [
71
- createVNode(unref(ElButton), { onClick: onOpen }, {
72
- default: withCtx(() => [..._cache[4] || (_cache[4] = [
73
- createTextVNode("列设置", -1)
74
- ])]),
90
+ createVNode(unref(Button), { onClick: onOpen }, {
91
+ default: withCtx(() => [
92
+ createTextVNode(toDisplayString(unref(getLocale)("setColumn.name")), 1)
93
+ ]),
75
94
  _: 1
76
95
  }),
77
96
  createVNode(unref(Dialogs), {
78
97
  class: normalizeClass(unref(cs).z("dialog")),
79
98
  modelValue: dialogVisible.value,
80
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => dialogVisible.value = $event),
81
- title: "设置显示字段",
99
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => dialogVisible.value = $event),
100
+ width: 900,
101
+ title: unref(getLocale)("setColumn.title"),
82
102
  onConfirm: onSubmit
83
103
  }, {
84
104
  default: withCtx(() => [
@@ -90,13 +110,29 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
90
110
  }, [
91
111
  createElementVNode("div", {
92
112
  class: normalizeClass(unref(cs).z("title"))
93
- }, "可选字段", 2),
113
+ }, [
114
+ createElementVNode("span", null, toDisplayString(unref(getLocale)("setColumn.optional")), 1),
115
+ createElementVNode("span", {
116
+ class: normalizeClass(unref(cs).z("title-all"))
117
+ }, [
118
+ createVNode(unref(Checkbox), {
119
+ modelValue: isall.value,
120
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isall.value = $event),
121
+ onChange: onAllChange
122
+ }, {
123
+ default: withCtx(() => [
124
+ createTextVNode(toDisplayString(unref(getLocale)("setColumn.all")), 1)
125
+ ]),
126
+ _: 1
127
+ }, 8, ["modelValue"])
128
+ ], 2)
129
+ ], 2),
94
130
  (openBlock(), createElementBlock("div", {
95
131
  class: normalizeClass(unref(cs).z("check-list")),
96
132
  key: value.value.length
97
133
  }, [
98
- props.list && props.list.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(props.list, (item, index) => {
99
- return openBlock(), createBlock(unref(ElCheckbox), {
134
+ props.list.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(props.list, (item, index) => {
135
+ return openBlock(), createBlock(unref(Checkbox), {
100
136
  class: normalizeClass(unref(cs).z("check-list-li")),
101
137
  key: index,
102
138
  label: item.label,
@@ -112,46 +148,50 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
112
148
  }, [
113
149
  createElementVNode("div", {
114
150
  class: normalizeClass(unref(cs).z("title"))
115
- }, "已选字段", 2),
151
+ }, toDisplayString(unref(getLocale)("setColumn.selected")), 3),
116
152
  createElementVNode("div", {
117
153
  class: normalizeClass(unref(cs).z("already-list"))
118
154
  }, [
119
155
  value.value && value.value.length > 0 ? (openBlock(), createBlock(unref(Draggable), mergeProps({ key: 0 }, dragOptions, {
120
- onStart: _cache[0] || (_cache[0] = ($event) => drag.value = true),
121
- onEnd: _cache[1] || (_cache[1] = ($event) => drag.value = false),
156
+ onStart: _cache[1] || (_cache[1] = ($event) => drag.value = true),
157
+ onEnd: _cache[2] || (_cache[2] = ($event) => drag.value = false),
122
158
  modelValue: value.value,
123
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => value.value = $event),
159
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => value.value = $event),
124
160
  "item-key": (value2) => value2,
125
161
  handle: ".handle"
126
162
  }), {
127
163
  item: withCtx(({ element, index }) => [
128
164
  createElementVNode("div", {
129
- class: normalizeClass(unref(cs).z("already-li"))
165
+ class: normalizeClass(["handle", unref(cs).z("already-li")])
130
166
  }, [
131
167
  createElementVNode("div", {
132
- class: normalizeClass(["handle", unref(cs).z("already-li-v")])
168
+ class: normalizeClass(unref(cs).z("already-li-v"))
133
169
  }, [
134
170
  createElementVNode("div", null, toDisplayString(element.label), 1)
135
171
  ], 2),
136
- createVNode(unref(ElButton), {
172
+ createVNode(unref(Button), {
137
173
  text: "",
174
+ type: "danger",
138
175
  onClick: withModifiers(($event) => onDelete(element, index), ["stop"])
139
176
  }, {
140
- default: withCtx(() => [..._cache[5] || (_cache[5] = [
141
- createTextVNode(" 删除 ", -1)
142
- ])]),
177
+ default: withCtx(() => [
178
+ createTextVNode(toDisplayString(unref(getLocale)("setColumn.delete")), 1)
179
+ ]),
143
180
  _: 1
144
181
  }, 8, ["onClick"])
145
182
  ], 2)
146
183
  ]),
147
184
  _: 1
148
- }, 16, ["modelValue", "item-key"])) : (openBlock(), createElementBlock("div", _hoisted_1, "未选字段"))
185
+ }, 16, ["modelValue", "item-key"])) : (openBlock(), createBlock(unref(NoData), {
186
+ key: 1,
187
+ text: unref(getLocale)("setColumn.nodata")
188
+ }, null, 8, ["text"]))
149
189
  ], 2)
150
190
  ], 2)
151
191
  ], 2)
152
192
  ]),
153
193
  _: 1
154
- }, 8, ["class", "modelValue"])
194
+ }, 8, ["class", "modelValue", "title"])
155
195
  ], 2);
156
196
  };
157
197
  }
@@ -12,7 +12,7 @@ const dataProps = {
12
12
  }
13
13
  };
14
14
  const dataHandle = list.comHandle;
15
- const dataEmits = [...list.emits];
15
+ const dataEmits = [...list.emits, "click-multiple"];
16
16
  exports.dataEmits = dataEmits;
17
17
  exports.dataHandle = dataHandle;
18
18
  exports.dataProps = dataProps;
@@ -10,7 +10,7 @@ const dataProps = {
10
10
  }
11
11
  };
12
12
  const dataHandle = comHandle;
13
- const dataEmits = [...emits];
13
+ const dataEmits = [...emits, "click-multiple"];
14
14
  export {
15
15
  dataEmits,
16
16
  dataHandle,
@@ -668,17 +668,80 @@
668
668
  display: flex;
669
669
  margin-right: 20px;
670
670
  }
671
- .page-operations > .el-button {
671
+ .page-operations .el-button {
672
672
  margin-left: 2px;
673
673
  margin-right: 2px;
674
674
  padding-left: 5px;
675
675
  padding-right: 5px;
676
676
  }
677
+ .page-operations .el-button:first-child {
678
+ margin-left: 0;
679
+ }
680
+ .page-operations .el-button:last-child {
681
+ margin-right: 0;
682
+ }
677
683
  .page-footer {
678
684
  padding: 10px;
679
685
  text-align: right;
680
686
  background-color: #f5f5f5;
681
687
  }
688
+ .page .set-column {
689
+ margin-left: 10px;
690
+ }
691
+ .page .set-column .set-column-dialog-main {
692
+ font-size: 16px;
693
+ display: flex;
694
+ }
695
+ .page .set-column .set-column-dialog-main .set-column-title {
696
+ height: 40px;
697
+ width: 100%;
698
+ display: flex;
699
+ align-items: center;
700
+ justify-content: space-between;
701
+ }
702
+ .page .set-column .set-column-dialog-main .set-column-title .set-column-title-all {
703
+ margin-right: 20px;
704
+ }
705
+ .page .set-column .set-column-dialog-main .set-column-check {
706
+ flex: 1;
707
+ }
708
+ .page .set-column .set-column-dialog-main .set-column-check .set-column-check-list {
709
+ padding: 10px;
710
+ box-sizing: border-box;
711
+ display: flex;
712
+ flex-direction: row;
713
+ flex-wrap: wrap;
714
+ overflow-y: auto;
715
+ }
716
+ .page .set-column .set-column-dialog-main .set-column-check .set-column-check-list .set-column-check-list-li {
717
+ margin-right: 0;
718
+ width: 33%;
719
+ height: 40px;
720
+ }
721
+ .page .set-column .set-column-dialog-main .set-column-already {
722
+ border-left: 1px solid #999;
723
+ padding-left: 20px;
724
+ width: 240px;
725
+ }
726
+ .page .set-column .set-column-dialog-main .set-column-already .set-column-already-list {
727
+ padding: 10px 10px 10px 0;
728
+ }
729
+ .page .set-column .set-column-dialog-main .set-column-already .set-column-already-list .set-column-already-li {
730
+ height: 40px;
731
+ line-height: 40px;
732
+ display: flex;
733
+ align-items: center;
734
+ justify-content: space-between;
735
+ border-bottom: 1px solid #ccc;
736
+ }
737
+ .page .set-column .set-column-dialog-main .set-column-already .set-column-already-list .set-column-already-li:first-child {
738
+ border-top: 1px solid #ccc;
739
+ }
740
+ .page .set-column .set-column-dialog-main .set-column-already .set-column-already-list .set-column-already-li .set-column-already-li-v {
741
+ display: flex;
742
+ flex: 1;
743
+ align-items: center;
744
+ }
682
745
 
683
746
  .retract {
684
747
  position: relative;
@@ -1162,6 +1225,10 @@
1162
1225
  height: 100%;
1163
1226
  }
1164
1227
 
1228
+ .switchs-switch {
1229
+ height: 100%;
1230
+ }
1231
+
1165
1232
  .lists {
1166
1233
  width: 100%;
1167
1234
  min-height: 100px;
@@ -1328,26 +1395,4 @@
1328
1395
  left: 0;
1329
1396
  z-index: 1;
1330
1397
  opacity: 0;
1331
- }
1332
-
1333
- .tablesvp {
1334
- width: 100%;
1335
- height: var(--tablesvp-height);
1336
- display: flex;
1337
- flex-direction: column;
1338
- }
1339
- .tablesvp-main {
1340
- display: flex;
1341
- flex-direction: column;
1342
- flex: 1;
1343
- width: 100%;
1344
- }
1345
- .tablesvp-main.is-radio .el-table__header .el-table-column--selection .el-checkbox {
1346
- display: none;
1347
- }
1348
- .tablesvp-paginat {
1349
- overflow: hidden;
1350
- }
1351
- .tablesvp-paginat .el-pagination {
1352
- justify-content: flex-end;
1353
1398
  }
package/dist/css/page.css CHANGED
@@ -290,14 +290,77 @@
290
290
  display: flex;
291
291
  margin-right: 20px;
292
292
  }
293
- .page-operations > .el-button {
293
+ .page-operations .el-button {
294
294
  margin-left: 2px;
295
295
  margin-right: 2px;
296
296
  padding-left: 5px;
297
297
  padding-right: 5px;
298
298
  }
299
+ .page-operations .el-button:first-child {
300
+ margin-left: 0;
301
+ }
302
+ .page-operations .el-button:last-child {
303
+ margin-right: 0;
304
+ }
299
305
  .page-footer {
300
306
  padding: 10px;
301
307
  text-align: right;
302
308
  background-color: #f5f5f5;
309
+ }
310
+ .page .set-column {
311
+ margin-left: 10px;
312
+ }
313
+ .page .set-column .set-column-dialog-main {
314
+ font-size: 16px;
315
+ display: flex;
316
+ }
317
+ .page .set-column .set-column-dialog-main .set-column-title {
318
+ height: 40px;
319
+ width: 100%;
320
+ display: flex;
321
+ align-items: center;
322
+ justify-content: space-between;
323
+ }
324
+ .page .set-column .set-column-dialog-main .set-column-title .set-column-title-all {
325
+ margin-right: 20px;
326
+ }
327
+ .page .set-column .set-column-dialog-main .set-column-check {
328
+ flex: 1;
329
+ }
330
+ .page .set-column .set-column-dialog-main .set-column-check .set-column-check-list {
331
+ padding: 10px;
332
+ box-sizing: border-box;
333
+ display: flex;
334
+ flex-direction: row;
335
+ flex-wrap: wrap;
336
+ overflow-y: auto;
337
+ }
338
+ .page .set-column .set-column-dialog-main .set-column-check .set-column-check-list .set-column-check-list-li {
339
+ margin-right: 0;
340
+ width: 33%;
341
+ height: 40px;
342
+ }
343
+ .page .set-column .set-column-dialog-main .set-column-already {
344
+ border-left: 1px solid #999;
345
+ padding-left: 20px;
346
+ width: 240px;
347
+ }
348
+ .page .set-column .set-column-dialog-main .set-column-already .set-column-already-list {
349
+ padding: 10px 10px 10px 0;
350
+ }
351
+ .page .set-column .set-column-dialog-main .set-column-already .set-column-already-list .set-column-already-li {
352
+ height: 40px;
353
+ line-height: 40px;
354
+ display: flex;
355
+ align-items: center;
356
+ justify-content: space-between;
357
+ border-bottom: 1px solid #ccc;
358
+ }
359
+ .page .set-column .set-column-dialog-main .set-column-already .set-column-already-list .set-column-already-li:first-child {
360
+ border-top: 1px solid #ccc;
361
+ }
362
+ .page .set-column .set-column-dialog-main .set-column-already .set-column-already-list .set-column-already-li .set-column-already-li-v {
363
+ display: flex;
364
+ flex: 1;
365
+ align-items: center;
303
366
  }
@@ -1,34 +1,34 @@
1
1
  :root {
2
- --icon-svg-below: url("data:image/svg+xml;utf8,%3Csvg id='icon-below' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' data-v-ea893728='' %3E %3Cpath fill='currentColor' d='M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z' %3E%3C/path%3E %3C/svg%3E");
3
2
  --icon-svg-bar: url("data:image/svg+xml;utf8,%3Csvg id='icon-bar' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' %3E %3Cpath fill='currentColor' d='M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z' %3E%3C/path%3E %3C/svg%3E");
3
+ --icon-svg-below: url("data:image/svg+xml;utf8,%3Csvg id='icon-below' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' data-v-ea893728='' %3E %3Cpath fill='currentColor' d='M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z' %3E%3C/path%3E %3C/svg%3E");
4
4
  --icon-svg-bicycle: url("data:image/svg+xml;utf8,%3Csvg id='icon-bicycle' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M256 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256zm0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384z'/%3E%3Cpath fill='currentColor' d='M288 672h320q32 0 32 32t-32 32H288q-32 0-32-32t32-32z'/%3E%3Cpath fill='currentColor' d='M768 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256zm0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384z'/%3E%3Cpath fill='currentColor' d='M480 192a32 32 0 0 1 0-64h160a32 32 0 0 1 31.04 24.256l96 384a32 32 0 0 1-62.08 15.488L615.04 192H480zM96 384a32 32 0 0 1 0-64h128a32 32 0 0 1 30.336 21.888l64 192a32 32 0 1 1-60.672 20.224L200.96 384H96z'/%3E%3Cpath fill='currentColor' d='m373.376 599.808-42.752-47.616 320-288 42.752 47.616z'/%3E%3C/svg%3E");
5
+ --icon-svg-bottom-left: url("data:image/svg+xml;utf8,%3Csvg id='icon-bottom-left' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M256 768h416a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V352a32 32 0 0 1 64 0v416z'/%3E%3Cpath fill='currentColor' d='M246.656 822.656a32 32 0 0 1-45.312-45.312l544-544a32 32 0 0 1 45.312 45.312l-544 544z'/%3E%3C/svg%3E");
6
+ --icon-svg-clear: url("data:image/svg+xml;utf8,%3Csvg id='icon-clear' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' data-v-ea893728='' %3E %3Cpath fill='currentColor' d='m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248L466.752 512z' %3E%3C/path%3E %3Cpath fill='currentColor' d='M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z' %3E%3C/path%3E %3C/svg%3E");
7
+ --icon-svg-bottom-right: url("data:image/svg+xml;utf8,%3Csvg id='icon-bottom-right' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M352 768a32 32 0 1 0 0 64h448a32 32 0 0 0 32-32V352a32 32 0 0 0-64 0v416H352z'/%3E%3Cpath fill='currentColor' d='M777.344 822.656a32 32 0 0 0 45.312-45.312l-544-544a32 32 0 0 0-45.312 45.312l544 544z'/%3E%3C/svg%3E");
5
8
  --icon-svg-bottom: url("data:image/svg+xml;utf8,%3Csvg id='icon-bottom' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M544 805.888V168a32 32 0 1 0-64 0v637.888L246.656 557.952a30.72 30.72 0 0 0-45.312 0 35.52 35.52 0 0 0 0 48.064l288 306.048a30.72 30.72 0 0 0 45.312 0l288-306.048a35.52 35.52 0 0 0 0-48 30.72 30.72 0 0 0-45.312 0L544 805.824z'/%3E%3C/svg%3E");
6
9
  --icon-svg-close: url("data:image/svg+xml;utf8,%3Csvg id='icon-close' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill='currentColor' d='M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z' %3E%3C/path%3E %3C/svg%3E");
7
- --icon-svg-bottom-left: url("data:image/svg+xml;utf8,%3Csvg id='icon-bottom-left' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M256 768h416a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V352a32 32 0 0 1 64 0v416z'/%3E%3Cpath fill='currentColor' d='M246.656 822.656a32 32 0 0 1-45.312-45.312l544-544a32 32 0 0 1 45.312 45.312l-544 544z'/%3E%3C/svg%3E");
8
- --icon-svg-edit: url("data:image/svg+xml;utf8,%3Csvg id='icon-edit' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill='currentColor' d='M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640V512z' %3E%3C/path%3E %3Cpath fill='currentColor' d='m469.952 554.24 52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z' %3E%3C/path%3E %3C/svg%3E");
9
10
  --icon-svg-frame: url("data:image/svg+xml;utf8,%3Csvg id='icon-frame'viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath d='M782 912.00000031h-540C170 912.00000031 111.99999969 854 111.99999969 782v-540C111.99999969 170 170 111.99999969 242 111.99999969h538.00000031c72 0 130.00000031 58.00000031 129.99999938 130.00000031v538.00000031c1.99999969 73.99999969-55.99999969 132-127.99999969 132z m-540-740.00000062C204.00000031 171.99999969 171.99999969 204.00000031 171.99999969 242v538.00000031c0 37.99999969 31.99999969 70.00000031 70.00000031 69.99999938h538.00000031c37.99999969 0 70.00000031-31.99999969 69.99999938-69.99999938V242C852.00000031 204.00000031 819.99999969 171.99999969 782 171.99999969h-540z'%3E%3C/path%3E %3C/svg%3E");
11
+ --icon-svg-edit: url("data:image/svg+xml;utf8,%3Csvg id='icon-edit' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill='currentColor' d='M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640V512z' %3E%3C/path%3E %3Cpath fill='currentColor' d='m469.952 554.24 52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z' %3E%3C/path%3E %3C/svg%3E");
10
12
  --icon-svg-left: url("data:image/svg+xml;utf8,%3Csvg id='icon-left' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' data-v-ea893728='' %3E %3Cpath fill='currentColor' d='M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z' %3E%3C/path%3E %3C/svg%3E");
11
13
  --icon-svg-right: url("data:image/svg+xml;utf8,%3Csvg id='icon-right' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' %3E %3Cpath fill='currentColor' d='M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z' %3E%3C/path%3E %3C/svg%3E");
12
- --icon-svg-clear: url("data:image/svg+xml;utf8,%3Csvg id='icon-clear' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' data-v-ea893728='' %3E %3Cpath fill='currentColor' d='m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248L466.752 512z' %3E%3C/path%3E %3Cpath fill='currentColor' d='M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z' %3E%3C/path%3E %3C/svg%3E");
13
14
  --icon-svg-star: url("data:image/svg+xml;utf8,%3Csvg id='icon-star'viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M213.875 956.375c-78.75 0-146.25-61.875-146.25-146.25V450.125c0-78.75 61.875-146.25 146.25-146.25h365.62500001c78.75 0 146.25 61.875 146.24999999 146.25v365.625c0 78.75-61.875 146.25-146.25000001 146.25l-365.62499999-5.625z m0-579.375c-45 0-78.75 33.75-78.75 78.75v365.625c0 45 33.75 78.75 78.75 78.75h365.62500001c45 0 78.75-33.75 78.74999999-78.75V450.125c0-45-33.75-78.75-78.74999999-78.75H213.875z' p-id='1087'%3E%3C/path%3E%3Cpath d='M810.125 78.875H444.49999999C360.125 78.875 298.25 146.375 298.25 225.125v22.5h61.875v-22.5c0-45 33.75-78.75 78.75-78.75h360c45 0 78.75 33.75 78.75 78.75v360c0 45-33.75 78.75-78.75 78.75h-33.75V737h45c84.375 0 146.25-67.50000001 146.25-146.25V225.125c0-84.375-67.50000001-146.25-146.25-146.25z' p-id='1088'%3E%3C/path%3E %3C/svg%3E");
14
- --icon-svg-bottom-right: url("data:image/svg+xml;utf8,%3Csvg id='icon-bottom-right' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M352 768a32 32 0 1 0 0 64h448a32 32 0 0 0 32-32V352a32 32 0 0 0-64 0v416H352z'/%3E%3Cpath fill='currentColor' d='M777.344 822.656a32 32 0 0 0 45.312-45.312l-544-544a32 32 0 0 0-45.312 45.312l544 544z'/%3E%3C/svg%3E");
15
15
  }
16
- .icon-below {
16
+ .icon-bar {
17
17
  height: 1em;
18
18
  width: 1em;
19
19
  background-color: currentColor;
20
- -webkit-mask: var(--icon-svg-below) no-repeat;
21
- mask: var(--icon-svg-below) no-repeat;
20
+ -webkit-mask: var(--icon-svg-bar) no-repeat;
21
+ mask: var(--icon-svg-bar) no-repeat;
22
22
  -webkit-mask-size: 100% 100%;
23
23
  mask-size: 100% 100%;
24
24
  color: inherit;
25
25
  }
26
- .icon-bar {
26
+ .icon-below {
27
27
  height: 1em;
28
28
  width: 1em;
29
29
  background-color: currentColor;
30
- -webkit-mask: var(--icon-svg-bar) no-repeat;
31
- mask: var(--icon-svg-bar) no-repeat;
30
+ -webkit-mask: var(--icon-svg-below) no-repeat;
31
+ mask: var(--icon-svg-below) no-repeat;
32
32
  -webkit-mask-size: 100% 100%;
33
33
  mask-size: 100% 100%;
34
34
  color: inherit;
@@ -43,42 +43,52 @@
43
43
  mask-size: 100% 100%;
44
44
  color: inherit;
45
45
  }
46
- .icon-bottom {
46
+ .icon-bottom-left {
47
47
  height: 1em;
48
48
  width: 1em;
49
49
  background-color: currentColor;
50
- -webkit-mask: var(--icon-svg-bottom) no-repeat;
51
- mask: var(--icon-svg-bottom) no-repeat;
50
+ -webkit-mask: var(--icon-svg-bottom-left) no-repeat;
51
+ mask: var(--icon-svg-bottom-left) no-repeat;
52
52
  -webkit-mask-size: 100% 100%;
53
53
  mask-size: 100% 100%;
54
54
  color: inherit;
55
55
  }
56
- .icon-close {
56
+ .icon-clear {
57
57
  height: 1em;
58
58
  width: 1em;
59
59
  background-color: currentColor;
60
- -webkit-mask: var(--icon-svg-close) no-repeat;
61
- mask: var(--icon-svg-close) no-repeat;
60
+ -webkit-mask: var(--icon-svg-clear) no-repeat;
61
+ mask: var(--icon-svg-clear) no-repeat;
62
62
  -webkit-mask-size: 100% 100%;
63
63
  mask-size: 100% 100%;
64
64
  color: inherit;
65
65
  }
66
- .icon-bottom-left {
66
+ .icon-bottom-right {
67
67
  height: 1em;
68
68
  width: 1em;
69
69
  background-color: currentColor;
70
- -webkit-mask: var(--icon-svg-bottom-left) no-repeat;
71
- mask: var(--icon-svg-bottom-left) no-repeat;
70
+ -webkit-mask: var(--icon-svg-bottom-right) no-repeat;
71
+ mask: var(--icon-svg-bottom-right) no-repeat;
72
72
  -webkit-mask-size: 100% 100%;
73
73
  mask-size: 100% 100%;
74
74
  color: inherit;
75
75
  }
76
- .icon-edit {
76
+ .icon-bottom {
77
77
  height: 1em;
78
78
  width: 1em;
79
79
  background-color: currentColor;
80
- -webkit-mask: var(--icon-svg-edit) no-repeat;
81
- mask: var(--icon-svg-edit) no-repeat;
80
+ -webkit-mask: var(--icon-svg-bottom) no-repeat;
81
+ mask: var(--icon-svg-bottom) no-repeat;
82
+ -webkit-mask-size: 100% 100%;
83
+ mask-size: 100% 100%;
84
+ color: inherit;
85
+ }
86
+ .icon-close {
87
+ height: 1em;
88
+ width: 1em;
89
+ background-color: currentColor;
90
+ -webkit-mask: var(--icon-svg-close) no-repeat;
91
+ mask: var(--icon-svg-close) no-repeat;
82
92
  -webkit-mask-size: 100% 100%;
83
93
  mask-size: 100% 100%;
84
94
  color: inherit;
@@ -90,32 +100,32 @@
90
100
  background-size: 100% 100%;
91
101
  background-color: transparent;
92
102
  }
93
- .icon-left {
103
+ .icon-edit {
94
104
  height: 1em;
95
105
  width: 1em;
96
106
  background-color: currentColor;
97
- -webkit-mask: var(--icon-svg-left) no-repeat;
98
- mask: var(--icon-svg-left) no-repeat;
107
+ -webkit-mask: var(--icon-svg-edit) no-repeat;
108
+ mask: var(--icon-svg-edit) no-repeat;
99
109
  -webkit-mask-size: 100% 100%;
100
110
  mask-size: 100% 100%;
101
111
  color: inherit;
102
112
  }
103
- .icon-right {
113
+ .icon-left {
104
114
  height: 1em;
105
115
  width: 1em;
106
116
  background-color: currentColor;
107
- -webkit-mask: var(--icon-svg-right) no-repeat;
108
- mask: var(--icon-svg-right) no-repeat;
117
+ -webkit-mask: var(--icon-svg-left) no-repeat;
118
+ mask: var(--icon-svg-left) no-repeat;
109
119
  -webkit-mask-size: 100% 100%;
110
120
  mask-size: 100% 100%;
111
121
  color: inherit;
112
122
  }
113
- .icon-clear {
123
+ .icon-right {
114
124
  height: 1em;
115
125
  width: 1em;
116
126
  background-color: currentColor;
117
- -webkit-mask: var(--icon-svg-clear) no-repeat;
118
- mask: var(--icon-svg-clear) no-repeat;
127
+ -webkit-mask: var(--icon-svg-right) no-repeat;
128
+ mask: var(--icon-svg-right) no-repeat;
119
129
  -webkit-mask-size: 100% 100%;
120
130
  mask-size: 100% 100%;
121
131
  color: inherit;
@@ -126,14 +136,4 @@
126
136
  background: var(--icon-svg-star) no-repeat;
127
137
  background-size: 100% 100%;
128
138
  background-color: transparent;
129
- }
130
- .icon-bottom-right {
131
- height: 1em;
132
- width: 1em;
133
- background-color: currentColor;
134
- -webkit-mask: var(--icon-svg-bottom-right) no-repeat;
135
- mask: var(--icon-svg-bottom-right) no-repeat;
136
- -webkit-mask-size: 100% 100%;
137
- mask-size: 100% 100%;
138
- color: inherit;
139
139
  }
@@ -1,28 +1,28 @@
1
1
  {
2
2
  "prefix": "fang-ui",
3
3
  "info": {},
4
- "lastModified": 1760679536913,
4
+ "lastModified": 1760689150710,
5
5
  "icons": {
6
- "below": {
7
- "body": " <path fill=\"currentColor\" d=\"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z\" ></path> "
6
+ "bar": {
7
+ "body": " <path fill=\"currentColor\" d=\"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z\" ></path> "
8
8
  },
9
9
  "bicycle": {
10
10
  "body": "<path fill=\"currentColor\" d=\"M256 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256zm0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384z\"/><path fill=\"currentColor\" d=\"M288 672h320q32 0 32 32t-32 32H288q-32 0-32-32t32-32z\"/><path fill=\"currentColor\" d=\"M768 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256zm0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384z\"/><path fill=\"currentColor\" d=\"M480 192a32 32 0 0 1 0-64h160a32 32 0 0 1 31.04 24.256l96 384a32 32 0 0 1-62.08 15.488L615.04 192H480zM96 384a32 32 0 0 1 0-64h128a32 32 0 0 1 30.336 21.888l64 192a32 32 0 1 1-60.672 20.224L200.96 384H96z\"/><path fill=\"currentColor\" d=\"m373.376 599.808-42.752-47.616 320-288 42.752 47.616z\"/>"
11
11
  },
12
- "close": {
13
- "body": " <path fill=\"currentColor\" d=\"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z\" ></path> "
12
+ "clear": {
13
+ "body": " <path fill=\"currentColor\" d=\"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248L466.752 512z\" ></path> <path fill=\"currentColor\" d=\"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z\" ></path> "
14
+ },
15
+ "bottom": {
16
+ "body": "<path fill=\"currentColor\" d=\"M544 805.888V168a32 32 0 1 0-64 0v637.888L246.656 557.952a30.72 30.72 0 0 0-45.312 0 35.52 35.52 0 0 0 0 48.064l288 306.048a30.72 30.72 0 0 0 45.312 0l288-306.048a35.52 35.52 0 0 0 0-48 30.72 30.72 0 0 0-45.312 0L544 805.824z\"/>"
14
17
  },
15
- "edit": {
16
- "body": " <path fill=\"currentColor\" d=\"M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640V512z\" ></path> <path fill=\"currentColor\" d=\"m469.952 554.24 52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z\" ></path> "
18
+ "frame": {
19
+ "body": "<path d=\"M782 912.00000031h-540C170 912.00000031 111.99999969 854 111.99999969 782v-540C111.99999969 170 170 111.99999969 242 111.99999969h538.00000031c72 0 130.00000031 58.00000031 129.99999938 130.00000031v538.00000031c1.99999969 73.99999969-55.99999969 132-127.99999969 132z m-540-740.00000062C204.00000031 171.99999969 171.99999969 204.00000031 171.99999969 242v538.00000031c0 37.99999969 31.99999969 70.00000031 70.00000031 69.99999938h538.00000031c37.99999969 0 70.00000031-31.99999969 69.99999938-69.99999938V242C852.00000031 204.00000031 819.99999969 171.99999969 782 171.99999969h-540z\"></path> "
17
20
  },
18
21
  "left": {
19
22
  "body": " <path fill=\"currentColor\" d=\"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z\" ></path> "
20
23
  },
21
- "clear": {
22
- "body": " <path fill=\"currentColor\" d=\"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248L466.752 512z\" ></path> <path fill=\"currentColor\" d=\"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z\" ></path> "
23
- },
24
- "bottom-right": {
25
- "body": "<path fill=\"currentColor\" d=\"M352 768a32 32 0 1 0 0 64h448a32 32 0 0 0 32-32V352a32 32 0 0 0-64 0v416H352z\"/><path fill=\"currentColor\" d=\"M777.344 822.656a32 32 0 0 0 45.312-45.312l-544-544a32 32 0 0 0-45.312 45.312l544 544z\"/>"
24
+ "star": {
25
+ "body": "<path d=\"M213.875 956.375c-78.75 0-146.25-61.875-146.25-146.25V450.125c0-78.75 61.875-146.25 146.25-146.25h365.62500001c78.75 0 146.25 61.875 146.24999999 146.25v365.625c0 78.75-61.875 146.25-146.25000001 146.25l-365.62499999-5.625z m0-579.375c-45 0-78.75 33.75-78.75 78.75v365.625c0 45 33.75 78.75 78.75 78.75h365.62500001c45 0 78.75-33.75 78.74999999-78.75V450.125c0-45-33.75-78.75-78.74999999-78.75H213.875z\" p-id=\"1087\"></path><path d=\"M810.125 78.875H444.49999999C360.125 78.875 298.25 146.375 298.25 225.125v22.5h61.875v-22.5c0-45 33.75-78.75 78.75-78.75h360c45 0 78.75 33.75 78.75 78.75v360c0 45-33.75 78.75-78.75 78.75h-33.75V737h45c84.375 0 146.25-67.50000001 146.25-146.25V225.125c0-84.375-67.50000001-146.25-146.25-146.25z\" p-id=\"1088\"></path> "
26
26
  }
27
27
  },
28
28
  "aliases": {},