@ganwei-web/gw-base-components-plus 1.0.15 → 1.0.17

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.
@@ -457,575 +457,34 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
457
457
  }
458
458
  });
459
459
  const index_vue_vue_type_style_index_0_lang$h = "";
460
- /*! Element Plus Icons Vue v2.3.2 */
461
- var _sfc_main187 = /* @__PURE__ */ vue.defineComponent({
462
- name: "Operation",
463
- __name: "operation",
464
- setup(__props) {
465
- return (_ctx, _cache) => (vue.openBlock(), vue.createElementBlock("svg", {
466
- xmlns: "http://www.w3.org/2000/svg",
467
- viewBox: "0 0 1024 1024"
468
- }, [
469
- vue.createElementVNode("path", {
470
- fill: "currentColor",
471
- d: "M389.44 768a96.064 96.064 0 0 1 181.12 0H896v64H570.56a96.064 96.064 0 0 1-181.12 0H128v-64zm192-288a96.064 96.064 0 0 1 181.12 0H896v64H762.56a96.064 96.064 0 0 1-181.12 0H128v-64zm-320-288a96.064 96.064 0 0 1 181.12 0H896v64H442.56a96.064 96.064 0 0 1-181.12 0H128v-64z"
472
- })
473
- ]));
474
- }
475
- }), operation_default = _sfc_main187;
476
- var _sfc_main197 = /* @__PURE__ */ vue.defineComponent({
477
- name: "Picture",
478
- __name: "picture",
479
- setup(__props) {
480
- return (_ctx, _cache) => (vue.openBlock(), vue.createElementBlock("svg", {
481
- xmlns: "http://www.w3.org/2000/svg",
482
- viewBox: "0 0 1024 1024"
483
- }, [
484
- vue.createElementVNode("path", {
485
- fill: "currentColor",
486
- d: "M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"
487
- }),
488
- vue.createElementVNode("path", {
489
- fill: "currentColor",
490
- d: "M384 288q64 0 64 64t-64 64-64-64 64-64M185.408 876.992l-50.816-38.912L350.72 556.032a96 96 0 0 1 134.592-17.856l1.856 1.472 122.88 99.136a32 32 0 0 0 44.992-4.864l216-269.888 49.92 39.936-215.808 269.824-.256.32a96 96 0 0 1-135.04 14.464l-122.88-99.072-.64-.512a32 32 0 0 0-44.8 5.952z"
491
- })
492
- ]));
493
- }
494
- }), picture_default = _sfc_main197;
495
- function useResizeTable(props) {
496
- const instance = vue.getCurrentInstance();
497
- const height = vue.ref(props.height);
498
- if (props.autoHeight) {
499
- vue.onMounted(() => {
500
- resizeTable();
501
- window.addEventListener("resize", resizeTable);
502
- });
503
- vue.onBeforeUnmount(() => {
504
- window.removeEventListener("resize", resizeTable);
505
- });
506
- }
507
- function getPxNumber(value) {
508
- if (value.endsWith("px")) {
509
- return Number(value.slice(0, -2));
510
- }
511
- return 0;
512
- }
513
- function getElementHeight(el) {
514
- const stylesheet = getComputedStyle(el);
515
- return el.clientHeight || getPxNumber(stylesheet.height);
516
- }
517
- function resizeTable() {
518
- var _a, _b;
519
- let el = (_b = (_a = instance == null ? void 0 : instance.proxy) == null ? void 0 : _a.$el) == null ? void 0 : _b.parentElement;
520
- if (el) {
521
- const stylesheet = getComputedStyle(el);
522
- height.value = getElementHeight(el) - getPxNumber(stylesheet.paddingTop) - getPxNumber(stylesheet.paddingBottom);
523
- }
524
- }
525
- return height;
526
- }
527
- const _hoisted_1$1 = { class: "gw-table-container" };
528
- const _hoisted_2 = { class: "column-filter-content" };
529
- const _hoisted_3 = { class: "filter-input-container" };
530
- const _hoisted_4 = { class: "equipList-table-group-checkbox" };
531
- const _hoisted_5 = { class: "equipList-table-group-botton" };
532
460
  const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
533
461
  __name: "index",
534
- props: {
535
- height: {
536
- type: Number,
537
- default: null
538
- },
539
- autoHeight: {
540
- type: Boolean,
541
- default: true
542
- },
543
- showColumnFilter: {
544
- type: Boolean,
545
- default: false
546
- },
547
- tableName: {
548
- type: String,
549
- default: "default-table"
550
- },
551
- columns: {
552
- type: Array,
553
- default: () => []
554
- },
555
- onFetchColumns: {
556
- type: Function,
557
- default: null
558
- },
559
- onSaveColumns: {
560
- type: Function,
561
- default: null
562
- },
563
- onColumnChange: {
564
- type: Function,
565
- default: null
566
- }
567
- },
568
462
  setup(__props, { expose: __expose }) {
569
463
  const proxyElement = vue.ref();
570
- const attrs = vue.useAttrs();
571
- const tableAttrs = vue.computed(() => {
572
- const { height, autoHeight, showColumnFilter, tableName, columns, onFetchColumns, onSaveColumns, onColumnChange, ...restAttrs } = attrs;
573
- return restAttrs;
574
- });
575
464
  const expose = useExpose(proxyElement);
576
465
  __expose(expose);
577
- const props = __props;
578
- const popoverVisible = vue.ref(false);
579
- const filterKeyword = vue.ref("");
580
- const checkedColumns = vue.ref([]);
581
- const allColumns = vue.ref([]);
582
- const contentLoading = vue.ref(false);
583
- const resetLoading = vue.ref(false);
584
- const loading = vue.ref(false);
585
- const filteredColumnsList = vue.computed(() => {
586
- if (!filterKeyword.value) {
587
- return allColumns.value;
588
- }
589
- return allColumns.value.filter(
590
- (column) => column.label.toLowerCase().includes(filterKeyword.value.toLowerCase())
591
- );
592
- });
593
- const toggleFilterPopover = () => {
594
- popoverVisible.value = !popoverVisible.value;
595
- if (popoverVisible.value && allColumns.value.length === 0) {
596
- initColumns();
597
- }
598
- };
599
- const initColumns = () => {
600
- if (props.columns && props.columns.length > 0) {
601
- allColumns.value = [...props.columns];
602
- checkedColumns.value = allColumns.value.map((col) => col.prop || col.label);
603
- return;
604
- }
605
- vue.nextTick(() => {
606
- if (proxyElement.value) {
607
- const tableHeader = proxyElement.value.$el.querySelector(".el-table__header-wrapper");
608
- if (tableHeader) {
609
- const thElements = tableHeader.querySelectorAll("th");
610
- const columns = [];
611
- thElements.forEach((th, index2) => {
612
- if (index2 > 0) {
613
- const cell = th.querySelector(".cell");
614
- if (cell) {
615
- const label = cell.textContent.trim();
616
- if (label) {
617
- columns.push({
618
- prop: `col_${index2}`,
619
- label
620
- });
621
- }
622
- }
623
- }
624
- });
625
- if (columns.length > 0) {
626
- allColumns.value = columns;
627
- checkedColumns.value = columns.map((col) => col.prop);
628
- }
629
- }
630
- }
631
- });
632
- };
633
- const fetchPageColumns = async () => {
634
- if (!props.tableName || !props.onFetchColumns)
635
- return;
636
- contentLoading.value = true;
637
- try {
638
- const data = await props.onFetchColumns(props.tableName);
639
- if (data && Array.isArray(data)) {
640
- const selectedProps = data;
641
- checkedColumns.value = allColumns.value.filter((col) => selectedProps.includes(col.label || col.prop)).map((col) => col.prop);
642
- if (checkedColumns.value.length === 0 && allColumns.value.length > 0) {
643
- checkedColumns.value = [allColumns.value[0].prop];
644
- }
645
- applyColumnFilter();
646
- }
647
- } catch (error) {
648
- console.error("获取列配置失败:", error);
649
- checkedColumns.value = allColumns.value.map((col) => col.prop);
650
- applyColumnFilter();
651
- } finally {
652
- contentLoading.value = false;
653
- }
654
- };
655
- const savePageColumns = async () => {
656
- if (!props.tableName || !props.onSaveColumns) {
657
- popoverVisible.value = false;
658
- return;
659
- }
660
- loading.value = true;
661
- try {
662
- const selectedLabels = checkedColumns.value.map((prop) => {
663
- const column = allColumns.value.find((col) => col.prop === prop);
664
- return column ? column.label : prop;
665
- });
666
- await props.onSaveColumns(props.tableName, selectedLabels);
667
- popoverVisible.value = false;
668
- } catch (error) {
669
- console.error("保存列配置失败:", error);
670
- } finally {
671
- loading.value = false;
672
- }
673
- };
674
- const resetColumns = () => {
675
- resetLoading.value = true;
676
- checkedColumns.value = allColumns.value.map((col) => col.prop);
677
- applyColumnFilter();
678
- setTimeout(() => {
679
- savePageColumns();
680
- }, 300);
681
- };
682
- const saveColumns = () => {
683
- applyColumnFilter();
684
- savePageColumns();
685
- };
686
- const handleColumnChange = (value) => {
687
- if (value.length === 0) {
688
- checkedColumns.value = [allColumns.value[0].prop];
689
- return;
690
- }
691
- applyColumnFilter();
692
- };
693
- const applyColumnFilter = () => {
694
- if (!proxyElement.value)
695
- return;
696
- const tableHeader = proxyElement.value.$el.querySelector(".el-table__header-wrapper");
697
- const tableBody = proxyElement.value.$el.querySelector(".el-table__body-wrapper");
698
- if (!tableHeader || !tableBody)
699
- return;
700
- const thElements = tableHeader.querySelectorAll("th");
701
- const trElements = tableBody.querySelectorAll("tr");
702
- const propToTableIndex = {};
703
- thElements.forEach((th, index2) => {
704
- if (index2 > 0) {
705
- const cell = th.querySelector(".cell");
706
- if (cell) {
707
- const label = cell.textContent.trim();
708
- const column = allColumns.value.find((col) => col.label === label);
709
- if (column) {
710
- propToTableIndex[column.prop] = index2;
711
- } else {
712
- propToTableIndex[`col_${index2}`] = index2;
713
- }
714
- }
715
- }
716
- });
717
- thElements.forEach((th, index2) => {
718
- if (index2 > 0) {
719
- const cell = th.querySelector(".cell");
720
- if (cell) {
721
- const label = cell.textContent.trim();
722
- const column = allColumns.value.find((col) => col.label === label);
723
- const prop = column ? column.prop : `col_${index2}`;
724
- th.style.display = checkedColumns.value.includes(prop) ? "" : "none";
725
- }
726
- }
727
- });
728
- trElements.forEach((row) => {
729
- const tdElements = row.querySelectorAll("td");
730
- tdElements.forEach((td, index2) => {
731
- if (index2 > 0) {
732
- const prop = `col_${index2}`;
733
- td.style.display = checkedColumns.value.includes(prop) ? "" : "none";
734
- }
735
- });
736
- });
737
- const data = {
738
- tableName: props.tableName,
739
- checkedColumns: [...checkedColumns.value]
740
- };
741
- if (props.onColumnChange) {
742
- props.onColumnChange(data);
743
- }
744
- vue.nextTick(() => {
745
- adjustTableWidth();
746
- });
747
- };
748
- const adjustTableWidth = () => {
749
- if (!proxyElement.value)
750
- return;
751
- const tableContainer = proxyElement.value.$el.querySelector(".el-table");
752
- if (!tableContainer)
753
- return;
754
- tableContainer.classList.add("el-table--auto-width");
755
- const tableWidth = tableContainer.offsetWidth;
756
- const allThElements = proxyElement.value.$el.querySelectorAll(".el-table__header-wrapper th");
757
- const visibleColumns = [];
758
- allThElements.forEach((th, index2) => {
759
- if (index2 > 0 && th.style.display !== "none") {
760
- const cell = th.querySelector(".cell");
761
- if (cell) {
762
- const label = cell.textContent.trim();
763
- const column = allColumns.value.find((col) => col.label === label);
764
- if (column) {
765
- visibleColumns.push({
766
- index: index2,
767
- prop: column.prop,
768
- label,
769
- minWidth: 80
770
- // 最小宽度
771
- });
772
- }
773
- }
774
- }
775
- });
776
- if (visibleColumns.length === 0)
777
- return;
778
- const firstColumnWidth = allThElements[0] ? allThElements[0].offsetWidth : 50;
779
- const availableWidth = tableWidth - firstColumnWidth - 20;
780
- const minTotalWidth = visibleColumns.reduce((sum, col) => sum + col.minWidth, 0);
781
- const table = proxyElement.value.$el.querySelector(".el-table__body-wrapper table");
782
- if (table) {
783
- table.style.tableLayout = "fixed";
784
- }
785
- const tableBody = proxyElement.value.$el.querySelector(".el-table__body");
786
- const tableHeader = proxyElement.value.$el.querySelector(".el-table__header");
787
- if (tableBody) {
788
- tableBody.style.width = "100%";
789
- }
790
- if (tableHeader) {
791
- tableHeader.style.width = "100%";
792
- }
793
- allThElements.forEach((th, index2) => {
794
- if (index2 > 0) {
795
- th.style.width = "auto";
796
- th.style.minWidth = "80px";
797
- th.style.maxWidth = "none";
798
- const tdElements = proxyElement.value.$el.querySelectorAll(`.el-table__body-wrapper tr td:nth-child(${index2 + 1})`);
799
- tdElements.forEach((td) => {
800
- td.style.width = "auto";
801
- td.style.minWidth = "80px";
802
- td.style.maxWidth = "none";
803
- });
804
- }
805
- });
806
- vue.nextTick(() => {
807
- var _a;
808
- if (availableWidth <= minTotalWidth) {
809
- visibleColumns.forEach((col) => {
810
- const th = allThElements[col.index];
811
- if (th) {
812
- th.style.width = `${col.minWidth}px`;
813
- th.style.minWidth = `${col.minWidth}px`;
814
- th.style.maxWidth = "none";
815
- const tdElements = proxyElement.value.$el.querySelectorAll(`.el-table__body-wrapper tr td:nth-child(${col.index + 1})`);
816
- tdElements.forEach((td) => {
817
- td.style.width = `${col.minWidth}px`;
818
- td.style.minWidth = `${col.minWidth}px`;
819
- td.style.maxWidth = "none";
820
- });
821
- }
822
- });
823
- } else {
824
- let totalWeight = 0;
825
- visibleColumns.forEach((col) => {
826
- const contentLength = Math.max(col.label.length, 5);
827
- col.weight = Math.max(contentLength * 10, col.minWidth);
828
- totalWeight += col.weight;
829
- });
830
- let allocatedWidth = 0;
831
- visibleColumns.forEach((col, i) => {
832
- const th = allThElements[col.index];
833
- if (th) {
834
- let newWidth;
835
- if (i === visibleColumns.length - 1) {
836
- newWidth = availableWidth - allocatedWidth;
837
- } else {
838
- const weightedWidth = col.weight / totalWeight * availableWidth;
839
- newWidth = Math.max(weightedWidth, col.minWidth);
840
- allocatedWidth += newWidth;
841
- }
842
- newWidth = Math.max(newWidth, col.minWidth);
843
- th.style.width = `${newWidth}px`;
844
- th.style.minWidth = `${col.minWidth}px`;
845
- th.style.maxWidth = "none";
846
- const tdElements = proxyElement.value.$el.querySelectorAll(`.el-table__body-wrapper tr td:nth-child(${col.index + 1})`);
847
- tdElements.forEach((td) => {
848
- td.style.width = `${newWidth}px`;
849
- td.style.minWidth = `${col.minWidth}px`;
850
- td.style.maxWidth = "none";
851
- });
852
- }
853
- });
854
- }
855
- if (table) {
856
- table.style.width = "100%";
857
- const tableInstance = (_a = tableContainer.__vueParentComponent) == null ? void 0 : _a.ctx;
858
- if (tableInstance && tableInstance.doLayout) {
859
- tableInstance.doLayout();
860
- }
861
- }
862
- });
863
- };
864
- vue.watch(() => props.columns, (newVal) => {
865
- if (newVal && newVal.length > 0) {
866
- allColumns.value = [...newVal];
867
- checkedColumns.value = allColumns.value.map((col) => col.prop || col.label);
868
- if (props.showColumnFilter) {
869
- fetchPageColumns();
870
- }
871
- }
872
- }, { immediate: true, deep: true });
873
- vue.watch(() => props.showColumnFilter, (newVal) => {
874
- if (newVal && allColumns.value.length > 0) {
875
- fetchPageColumns();
876
- }
877
- }, { immediate: true });
878
- useResizeTable(props);
879
- vue.onMounted(() => {
880
- if (props.showColumnFilter) {
881
- const observer = new MutationObserver((_mutations, obs) => {
882
- var _a;
883
- const tableHeader = (_a = proxyElement.value.$el) == null ? void 0 : _a.querySelector(".el-table__header-wrapper");
884
- if (tableHeader) {
885
- obs.disconnect();
886
- requestAnimationFrame(() => {
887
- setTimeout(() => {
888
- initColumns();
889
- fetchPageColumns();
890
- }, 300);
891
- });
892
- }
893
- });
894
- observer.observe(proxyElement.value.$el, {
895
- childList: true,
896
- subtree: true
897
- });
898
- setTimeout(() => {
899
- var _a;
900
- if (!((_a = proxyElement.value.$el) == null ? void 0 : _a.querySelector(".el-table__header-wrapper"))) {
901
- observer.disconnect();
902
- requestAnimationFrame(() => {
903
- initColumns();
904
- fetchPageColumns();
905
- });
906
- }
907
- }, 1e3);
908
- }
909
- });
910
466
  useDataTestId();
911
467
  return (_ctx, _cache) => {
912
- const _directive_loading = vue.resolveDirective("loading");
913
- return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
914
- vue.createElementVNode("div", _hoisted_1$1, [
915
- vue.createVNode(vue.unref(elementPlus.ElTable), vue.mergeProps(tableAttrs.value, {
916
- ref_key: "proxyElement",
917
- ref: proxyElement
918
- }), vue.createSlots({
919
- empty: vue.withCtx(() => [
920
- vue.renderSlot(_ctx.$slots, "empty", {}, () => [
921
- _cache[3] || (_cache[3] = vue.createElementVNode("div", { class: "noDataTips" }, null, -1))
922
- ])
923
- ]),
924
- _: 2
925
- }, [
926
- vue.renderList(_ctx.$slots, (_, key) => {
927
- return {
928
- name: key,
929
- fn: vue.withCtx((slotProps) => [
930
- vue.renderSlot(_ctx.$slots, key, vue.normalizeProps(vue.guardReactiveProps(slotProps)))
931
- ])
932
- };
933
- })
934
- ]), 1040),
935
- __props.showColumnFilter ? (vue.openBlock(), vue.createElementBlock("div", {
936
- key: 0,
937
- class: "filter-icon",
938
- onClick: toggleFilterPopover
939
- }, [
940
- vue.createVNode(vue.unref(elementPlus.ElIcon), null, {
941
- default: vue.withCtx(() => [
942
- vue.createVNode(vue.unref(operation_default))
943
- ]),
944
- _: 1
945
- })
946
- ])) : vue.createCommentVNode("", true)
468
+ return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElTable), vue.mergeProps(_ctx.$attrs, {
469
+ ref_key: "proxyElement",
470
+ ref: proxyElement
471
+ }), vue.createSlots({
472
+ empty: vue.withCtx(() => [
473
+ vue.renderSlot(_ctx.$slots, "empty", {}, () => [
474
+ _cache[0] || (_cache[0] = vue.createElementVNode("div", { class: "noDataTips" }, null, -1))
475
+ ])
947
476
  ]),
948
- vue.createVNode(vue.unref(elementPlus.ElPopover), {
949
- visible: popoverVisible.value,
950
- "onUpdate:visible": _cache[2] || (_cache[2] = ($event) => popoverVisible.value = $event),
951
- placement: "bottom-end",
952
- width: 220,
953
- trigger: "click",
954
- "popper-class": "equipList-table-popover",
955
- teleported: true
956
- }, {
957
- reference: vue.withCtx(() => [..._cache[4] || (_cache[4] = [
958
- vue.createElementVNode("div", { style: { "display": "none" } }, null, -1)
959
- ])]),
960
- default: vue.withCtx(() => [
961
- vue.createElementVNode("div", _hoisted_2, [
962
- _cache[7] || (_cache[7] = vue.createElementVNode("p", { class: "filter-title" }, "展示列表", -1)),
963
- vue.createElementVNode("div", _hoisted_3, [
964
- vue.createVNode(vue.unref(elementPlus.ElInput), {
965
- modelValue: filterKeyword.value,
966
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => filterKeyword.value = $event),
967
- placeholder: "搜索列名...",
968
- clearable: "",
969
- size: "small"
970
- }, null, 8, ["modelValue"])
971
- ]),
972
- vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", _hoisted_4, [
973
- vue.createVNode(vue.unref(elementPlus.ElCheckboxGroup), {
974
- modelValue: checkedColumns.value,
975
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => checkedColumns.value = $event),
976
- onChange: handleColumnChange
977
- }, {
978
- default: vue.withCtx(() => [
979
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(filteredColumnsList.value, (column) => {
980
- return vue.openBlock(), vue.createElementBlock("div", {
981
- key: column.prop,
982
- class: "checkbox-item"
983
- }, [
984
- vue.createVNode(vue.unref(elementPlus.ElCheckbox), {
985
- label: column.prop
986
- }, {
987
- default: vue.withCtx(() => [
988
- vue.createTextVNode(vue.toDisplayString(column.label), 1)
989
- ]),
990
- _: 2
991
- }, 1032, ["label"])
992
- ]);
993
- }), 128))
994
- ]),
995
- _: 1
996
- }, 8, ["modelValue"])
997
- ])), [
998
- [_directive_loading, contentLoading.value]
999
- ]),
1000
- vue.createElementVNode("div", _hoisted_5, [
1001
- vue.createVNode(vue.unref(elementPlus.ElButton), {
1002
- type: "primary",
1003
- size: "small",
1004
- onClick: resetColumns,
1005
- loading: resetLoading.value
1006
- }, {
1007
- default: vue.withCtx(() => [..._cache[5] || (_cache[5] = [
1008
- vue.createTextVNode("重置", -1)
1009
- ])]),
1010
- _: 1
1011
- }, 8, ["loading"]),
1012
- vue.createVNode(vue.unref(elementPlus.ElButton), {
1013
- type: "primary",
1014
- size: "small",
1015
- onClick: saveColumns,
1016
- loading: loading.value
1017
- }, {
1018
- default: vue.withCtx(() => [..._cache[6] || (_cache[6] = [
1019
- vue.createTextVNode("确认", -1)
1020
- ])]),
1021
- _: 1
1022
- }, 8, ["loading"])
1023
- ])
477
+ _: 2
478
+ }, [
479
+ vue.renderList(_ctx.$slots, (_, key) => {
480
+ return {
481
+ name: key,
482
+ fn: vue.withCtx((slotProps) => [
483
+ vue.renderSlot(_ctx.$slots, key, vue.normalizeProps(vue.guardReactiveProps(slotProps)))
1024
484
  ])
1025
- ]),
1026
- _: 1
1027
- }, 8, ["visible"])
1028
- ], 64);
485
+ };
486
+ })
487
+ ]), 1040);
1029
488
  };
1030
489
  }
1031
490
  });
@@ -1123,6 +582,26 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
1123
582
  }
1124
583
  });
1125
584
  const index_vue_vue_type_style_index_0_lang$e = "";
585
+ /*! Element Plus Icons Vue v2.3.2 */
586
+ var _sfc_main197 = /* @__PURE__ */ vue.defineComponent({
587
+ name: "Picture",
588
+ __name: "picture",
589
+ setup(__props) {
590
+ return (_ctx, _cache) => (vue.openBlock(), vue.createElementBlock("svg", {
591
+ xmlns: "http://www.w3.org/2000/svg",
592
+ viewBox: "0 0 1024 1024"
593
+ }, [
594
+ vue.createElementVNode("path", {
595
+ fill: "currentColor",
596
+ d: "M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"
597
+ }),
598
+ vue.createElementVNode("path", {
599
+ fill: "currentColor",
600
+ d: "M384 288q64 0 64 64t-64 64-64-64 64-64M185.408 876.992l-50.816-38.912L350.72 556.032a96 96 0 0 1 134.592-17.856l1.856 1.472 122.88 99.136a32 32 0 0 0 44.992-4.864l216-269.888 49.92 39.936-215.808 269.824-.256.32a96 96 0 0 1-135.04 14.464l-122.88-99.072-.64-.512a32 32 0 0 0-44.8 5.952z"
601
+ })
602
+ ]));
603
+ }
604
+ }), picture_default = _sfc_main197;
1126
605
  const _hoisted_1 = { class: "error-slot" };
1127
606
  const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
1128
607
  ...{ inheritAttrs: false },