@hlw-uni/mp-vue 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +30 -29
- package/dist/index.mjs +30 -29
- package/dist/style.css +155 -154
- package/package.json +1 -1
- package/src/components/hlw-avatar/index.vue +15 -0
- package/src/components/hlw-button/index.vue +25 -0
- package/src/components/hlw-cell/index.vue +30 -0
- package/src/components/hlw-divider/index.vue +20 -0
- package/src/components/hlw-empty/index.vue +3 -2
- package/src/components/hlw-header/index.vue +28 -0
- package/src/components/hlw-loading/index.vue +13 -0
- package/src/components/hlw-modal/index.vue +30 -0
- package/src/components/hlw-notice-bar/index.vue +5 -5
- package/src/components/hlw-page/index.vue +24 -0
- package/src/components/hlw-popup/index.vue +3 -3
- package/src/components/hlw-search/index.vue +6 -6
- package/src/components/hlw-skeleton/index.vue +23 -0
- package/src/components/hlw-tabs/index.vue +22 -0
- package/src/components/hlw-tag/index.vue +2 -2
package/dist/index.js
CHANGED
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
}
|
|
79
79
|
return target;
|
|
80
80
|
};
|
|
81
|
-
const index$g = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-
|
|
81
|
+
const index$g = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-19006b2d"]]);
|
|
82
82
|
const _hoisted_1$e = ["disabled", "open-type"];
|
|
83
83
|
const _hoisted_2$c = {
|
|
84
84
|
key: 0,
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
};
|
|
119
119
|
}
|
|
120
120
|
});
|
|
121
|
-
const index$f = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-
|
|
121
|
+
const index$f = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-19a9c118"]]);
|
|
122
122
|
const _hoisted_1$d = {
|
|
123
123
|
key: 0,
|
|
124
124
|
class: "hlw-card-header"
|
|
@@ -325,7 +325,7 @@
|
|
|
325
325
|
};
|
|
326
326
|
}
|
|
327
327
|
});
|
|
328
|
-
const index$d = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-
|
|
328
|
+
const index$d = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-996053be"]]);
|
|
329
329
|
const _hoisted_1$b = {
|
|
330
330
|
key: 0,
|
|
331
331
|
class: "hlw-divider-text"
|
|
@@ -353,12 +353,12 @@
|
|
|
353
353
|
};
|
|
354
354
|
}
|
|
355
355
|
});
|
|
356
|
-
const index$c = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-
|
|
356
|
+
const index$c = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-beaa0298"]]);
|
|
357
357
|
const _hoisted_1$a = { class: "hlw-empty" };
|
|
358
358
|
const _hoisted_2$9 = ["src"];
|
|
359
359
|
const _hoisted_3$5 = {
|
|
360
360
|
key: 1,
|
|
361
|
-
class: "hlw-empty__icon"
|
|
361
|
+
class: "hlw-empty__icon i-fa6-solid-box-open"
|
|
362
362
|
};
|
|
363
363
|
const _hoisted_4$2 = { class: "hlw-empty__text" };
|
|
364
364
|
const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -375,14 +375,14 @@
|
|
|
375
375
|
class: "hlw-empty__image",
|
|
376
376
|
src: __props.image,
|
|
377
377
|
mode: "aspectFit"
|
|
378
|
-
}, null, 8, _hoisted_2$9)) : (vue.openBlock(), vue.createElementBlock("
|
|
378
|
+
}, null, 8, _hoisted_2$9)) : (vue.openBlock(), vue.createElementBlock("view", _hoisted_3$5)),
|
|
379
379
|
vue.createElementVNode("text", _hoisted_4$2, vue.toDisplayString(__props.text || "暂无数据"), 1),
|
|
380
380
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
381
381
|
]);
|
|
382
382
|
};
|
|
383
383
|
}
|
|
384
384
|
});
|
|
385
|
-
const index$b = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-
|
|
385
|
+
const index$b = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-94fefc47"]]);
|
|
386
386
|
const _hoisted_1$9 = {
|
|
387
387
|
key: 0,
|
|
388
388
|
class: "header-placeholder"
|
|
@@ -492,7 +492,7 @@
|
|
|
492
492
|
};
|
|
493
493
|
}
|
|
494
494
|
});
|
|
495
|
-
const index$a = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-
|
|
495
|
+
const index$a = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-b85e90ac"]]);
|
|
496
496
|
const _hoisted_1$8 = { class: "hlw-loading" };
|
|
497
497
|
const _hoisted_2$7 = {
|
|
498
498
|
key: 0,
|
|
@@ -512,7 +512,7 @@
|
|
|
512
512
|
};
|
|
513
513
|
}
|
|
514
514
|
});
|
|
515
|
-
const index$9 = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
515
|
+
const index$9 = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-fd9272d5"]]);
|
|
516
516
|
const _hoisted_1$7 = {
|
|
517
517
|
key: 0,
|
|
518
518
|
class: "hlw-menu-title"
|
|
@@ -755,10 +755,10 @@
|
|
|
755
755
|
};
|
|
756
756
|
}
|
|
757
757
|
});
|
|
758
|
-
const index$7 = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-
|
|
758
|
+
const index$7 = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-397b9549"]]);
|
|
759
759
|
const _hoisted_1$5 = {
|
|
760
760
|
key: 1,
|
|
761
|
-
class: "hlw-notice-left-icon"
|
|
761
|
+
class: "hlw-notice-left-icon i-fa6-solid-bullhorn"
|
|
762
762
|
};
|
|
763
763
|
const _hoisted_2$4 = { class: "hlw-notice-text" };
|
|
764
764
|
const _hoisted_3$2 = {
|
|
@@ -794,7 +794,7 @@
|
|
|
794
794
|
__props.leftIcon ? (vue.openBlock(), vue.createElementBlock("view", {
|
|
795
795
|
key: 0,
|
|
796
796
|
class: vue.normalizeClass([__props.leftIcon, "hlw-notice-left-icon"])
|
|
797
|
-
}, null, 2)) : (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$5
|
|
797
|
+
}, null, 2)) : (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$5)),
|
|
798
798
|
vue.createElementVNode("view", {
|
|
799
799
|
class: "hlw-notice-wrap",
|
|
800
800
|
onTap: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("click"))
|
|
@@ -809,14 +809,14 @@
|
|
|
809
809
|
], 32),
|
|
810
810
|
__props.closable ? (vue.openBlock(), vue.createElementBlock("view", {
|
|
811
811
|
key: 2,
|
|
812
|
-
class: "hlw-notice-close",
|
|
812
|
+
class: "hlw-notice-close i-fa6-solid-xmark",
|
|
813
813
|
onTap: onClose
|
|
814
|
-
},
|
|
814
|
+
}, null, 32)) : vue.createCommentVNode("", true)
|
|
815
815
|
], 4)) : vue.createCommentVNode("", true);
|
|
816
816
|
};
|
|
817
817
|
}
|
|
818
818
|
});
|
|
819
|
-
const index$6 = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
819
|
+
const index$6 = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-7a758299"]]);
|
|
820
820
|
const _hoisted_1$4 = { class: "hlw-page" };
|
|
821
821
|
const _hoisted_2$3 = { class: "hlw-page-header" };
|
|
822
822
|
const _hoisted_3$1 = { class: "hlw-page-footer" };
|
|
@@ -862,7 +862,7 @@
|
|
|
862
862
|
};
|
|
863
863
|
}
|
|
864
864
|
});
|
|
865
|
-
const index$5 = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-
|
|
865
|
+
const index$5 = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-0cf37585"]]);
|
|
866
866
|
const _hoisted_1$3 = {
|
|
867
867
|
key: 0,
|
|
868
868
|
class: "hlw-popup-header"
|
|
@@ -898,9 +898,9 @@
|
|
|
898
898
|
vue.createElementVNode("text", _hoisted_2$2, vue.toDisplayString(__props.title), 1),
|
|
899
899
|
__props.closable ? (vue.openBlock(), vue.createElementBlock("view", {
|
|
900
900
|
key: 0,
|
|
901
|
-
class: "hlw-popup-close",
|
|
901
|
+
class: "hlw-popup-close i-fa6-solid-xmark",
|
|
902
902
|
onTap: onClose
|
|
903
|
-
},
|
|
903
|
+
}, null, 32)) : vue.createCommentVNode("", true)
|
|
904
904
|
])) : vue.createCommentVNode("", true),
|
|
905
905
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
906
906
|
], 2)
|
|
@@ -908,7 +908,7 @@
|
|
|
908
908
|
};
|
|
909
909
|
}
|
|
910
910
|
});
|
|
911
|
-
const index$4 = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
911
|
+
const index$4 = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-2d71ef9b"]]);
|
|
912
912
|
const _hoisted_1$2 = ["value", "placeholder", "disabled"];
|
|
913
913
|
const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
|
|
914
914
|
__name: "index",
|
|
@@ -924,7 +924,8 @@
|
|
|
924
924
|
setup(__props, { emit: __emit }) {
|
|
925
925
|
const emit = __emit;
|
|
926
926
|
function onInput(e) {
|
|
927
|
-
|
|
927
|
+
var _a;
|
|
928
|
+
emit("update:modelValue", ((_a = e == null ? void 0 : e.detail) == null ? void 0 : _a.value) ?? "");
|
|
928
929
|
}
|
|
929
930
|
function onClear() {
|
|
930
931
|
emit("update:modelValue", "");
|
|
@@ -938,7 +939,7 @@
|
|
|
938
939
|
vue.createElementVNode("view", {
|
|
939
940
|
class: vue.normalizeClass(["hlw-search-box", { "hlw-search-box--round": __props.shape === "round" }])
|
|
940
941
|
}, [
|
|
941
|
-
_cache[3] || (_cache[3] = vue.createElementVNode("view", { class: "hlw-search-icon" },
|
|
942
|
+
_cache[3] || (_cache[3] = vue.createElementVNode("view", { class: "hlw-search-icon i-fa6-solid-magnifying-glass" }, null, -1)),
|
|
942
943
|
vue.createElementVNode("input", {
|
|
943
944
|
class: "hlw-search-input",
|
|
944
945
|
type: "text",
|
|
@@ -953,15 +954,15 @@
|
|
|
953
954
|
}, null, 40, _hoisted_1$2),
|
|
954
955
|
__props.clearable && __props.modelValue ? (vue.openBlock(), vue.createElementBlock("view", {
|
|
955
956
|
key: 0,
|
|
956
|
-
class: "hlw-search-clear",
|
|
957
|
+
class: "hlw-search-clear i-fa6-solid-xmark",
|
|
957
958
|
onTap: onClear
|
|
958
|
-
},
|
|
959
|
+
}, null, 32)) : vue.createCommentVNode("", true)
|
|
959
960
|
], 2)
|
|
960
961
|
], 4);
|
|
961
962
|
};
|
|
962
963
|
}
|
|
963
964
|
});
|
|
964
|
-
const index$3 = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-
|
|
965
|
+
const index$3 = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-4fe1bfab"]]);
|
|
965
966
|
const _hoisted_1$1 = { class: "hlw-skeleton-content" };
|
|
966
967
|
const _hoisted_2$1 = {
|
|
967
968
|
key: 0,
|
|
@@ -1001,7 +1002,7 @@
|
|
|
1001
1002
|
};
|
|
1002
1003
|
}
|
|
1003
1004
|
});
|
|
1004
|
-
const index$2 = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
1005
|
+
const index$2 = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-bc3155a2"]]);
|
|
1005
1006
|
const _hoisted_1 = { class: "hlw-tabs-wrap" };
|
|
1006
1007
|
const _hoisted_2 = ["onTap"];
|
|
1007
1008
|
const _hoisted_3 = { class: "hlw-tab-text" };
|
|
@@ -1056,7 +1057,7 @@
|
|
|
1056
1057
|
};
|
|
1057
1058
|
}
|
|
1058
1059
|
});
|
|
1059
|
-
const index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
1060
|
+
const index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-5a47c034"]]);
|
|
1060
1061
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
1061
1062
|
__name: "index",
|
|
1062
1063
|
props: {
|
|
@@ -1084,14 +1085,14 @@
|
|
|
1084
1085
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
1085
1086
|
__props.closable ? (vue.openBlock(), vue.createElementBlock("view", {
|
|
1086
1087
|
key: 0,
|
|
1087
|
-
class: "hlw-tag-close",
|
|
1088
|
+
class: "hlw-tag-close i-fa6-solid-xmark",
|
|
1088
1089
|
onTap: _cache[0] || (_cache[0] = vue.withModifiers(($event) => _ctx.$emit("close"), ["stop"]))
|
|
1089
|
-
},
|
|
1090
|
+
}, null, 32)) : vue.createCommentVNode("", true)
|
|
1090
1091
|
], 38);
|
|
1091
1092
|
};
|
|
1092
1093
|
}
|
|
1093
1094
|
});
|
|
1094
|
-
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
1095
|
+
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-fd774288"]]);
|
|
1095
1096
|
const FONT_SCALE_KEY = "hlw_font_scale";
|
|
1096
1097
|
const FONT_PRESETS = {
|
|
1097
1098
|
small: {
|
package/dist/index.mjs
CHANGED
|
@@ -77,7 +77,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
77
77
|
}
|
|
78
78
|
return target;
|
|
79
79
|
};
|
|
80
|
-
const index$g = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-
|
|
80
|
+
const index$g = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-19006b2d"]]);
|
|
81
81
|
const _hoisted_1$e = ["disabled", "open-type"];
|
|
82
82
|
const _hoisted_2$c = {
|
|
83
83
|
key: 0,
|
|
@@ -117,7 +117,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
});
|
|
120
|
-
const index$f = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-
|
|
120
|
+
const index$f = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-19a9c118"]]);
|
|
121
121
|
const _hoisted_1$d = {
|
|
122
122
|
key: 0,
|
|
123
123
|
class: "hlw-card-header"
|
|
@@ -324,7 +324,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
324
324
|
};
|
|
325
325
|
}
|
|
326
326
|
});
|
|
327
|
-
const index$d = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-
|
|
327
|
+
const index$d = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-996053be"]]);
|
|
328
328
|
const _hoisted_1$b = {
|
|
329
329
|
key: 0,
|
|
330
330
|
class: "hlw-divider-text"
|
|
@@ -352,12 +352,12 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
352
352
|
};
|
|
353
353
|
}
|
|
354
354
|
});
|
|
355
|
-
const index$c = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-
|
|
355
|
+
const index$c = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-beaa0298"]]);
|
|
356
356
|
const _hoisted_1$a = { class: "hlw-empty" };
|
|
357
357
|
const _hoisted_2$9 = ["src"];
|
|
358
358
|
const _hoisted_3$5 = {
|
|
359
359
|
key: 1,
|
|
360
|
-
class: "hlw-empty__icon"
|
|
360
|
+
class: "hlw-empty__icon i-fa6-solid-box-open"
|
|
361
361
|
};
|
|
362
362
|
const _hoisted_4$2 = { class: "hlw-empty__text" };
|
|
363
363
|
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
@@ -374,14 +374,14 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
374
374
|
class: "hlw-empty__image",
|
|
375
375
|
src: __props.image,
|
|
376
376
|
mode: "aspectFit"
|
|
377
|
-
}, null, 8, _hoisted_2$9)) : (openBlock(), createElementBlock("
|
|
377
|
+
}, null, 8, _hoisted_2$9)) : (openBlock(), createElementBlock("view", _hoisted_3$5)),
|
|
378
378
|
createElementVNode("text", _hoisted_4$2, toDisplayString(__props.text || "暂无数据"), 1),
|
|
379
379
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
380
380
|
]);
|
|
381
381
|
};
|
|
382
382
|
}
|
|
383
383
|
});
|
|
384
|
-
const index$b = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-
|
|
384
|
+
const index$b = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-94fefc47"]]);
|
|
385
385
|
const _hoisted_1$9 = {
|
|
386
386
|
key: 0,
|
|
387
387
|
class: "header-placeholder"
|
|
@@ -491,7 +491,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
491
491
|
};
|
|
492
492
|
}
|
|
493
493
|
});
|
|
494
|
-
const index$a = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-
|
|
494
|
+
const index$a = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-b85e90ac"]]);
|
|
495
495
|
const _hoisted_1$8 = { class: "hlw-loading" };
|
|
496
496
|
const _hoisted_2$7 = {
|
|
497
497
|
key: 0,
|
|
@@ -511,7 +511,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
511
511
|
};
|
|
512
512
|
}
|
|
513
513
|
});
|
|
514
|
-
const index$9 = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
514
|
+
const index$9 = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-fd9272d5"]]);
|
|
515
515
|
const _hoisted_1$7 = {
|
|
516
516
|
key: 0,
|
|
517
517
|
class: "hlw-menu-title"
|
|
@@ -754,10 +754,10 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
754
754
|
};
|
|
755
755
|
}
|
|
756
756
|
});
|
|
757
|
-
const index$7 = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-
|
|
757
|
+
const index$7 = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-397b9549"]]);
|
|
758
758
|
const _hoisted_1$5 = {
|
|
759
759
|
key: 1,
|
|
760
|
-
class: "hlw-notice-left-icon"
|
|
760
|
+
class: "hlw-notice-left-icon i-fa6-solid-bullhorn"
|
|
761
761
|
};
|
|
762
762
|
const _hoisted_2$4 = { class: "hlw-notice-text" };
|
|
763
763
|
const _hoisted_3$2 = {
|
|
@@ -793,7 +793,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
793
793
|
__props.leftIcon ? (openBlock(), createElementBlock("view", {
|
|
794
794
|
key: 0,
|
|
795
795
|
class: normalizeClass([__props.leftIcon, "hlw-notice-left-icon"])
|
|
796
|
-
}, null, 2)) : (openBlock(), createElementBlock("view", _hoisted_1$5
|
|
796
|
+
}, null, 2)) : (openBlock(), createElementBlock("view", _hoisted_1$5)),
|
|
797
797
|
createElementVNode("view", {
|
|
798
798
|
class: "hlw-notice-wrap",
|
|
799
799
|
onTap: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("click"))
|
|
@@ -808,14 +808,14 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
808
808
|
], 32),
|
|
809
809
|
__props.closable ? (openBlock(), createElementBlock("view", {
|
|
810
810
|
key: 2,
|
|
811
|
-
class: "hlw-notice-close",
|
|
811
|
+
class: "hlw-notice-close i-fa6-solid-xmark",
|
|
812
812
|
onTap: onClose
|
|
813
|
-
},
|
|
813
|
+
}, null, 32)) : createCommentVNode("", true)
|
|
814
814
|
], 4)) : createCommentVNode("", true);
|
|
815
815
|
};
|
|
816
816
|
}
|
|
817
817
|
});
|
|
818
|
-
const index$6 = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
818
|
+
const index$6 = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-7a758299"]]);
|
|
819
819
|
const _hoisted_1$4 = { class: "hlw-page" };
|
|
820
820
|
const _hoisted_2$3 = { class: "hlw-page-header" };
|
|
821
821
|
const _hoisted_3$1 = { class: "hlw-page-footer" };
|
|
@@ -861,7 +861,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
861
861
|
};
|
|
862
862
|
}
|
|
863
863
|
});
|
|
864
|
-
const index$5 = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-
|
|
864
|
+
const index$5 = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-0cf37585"]]);
|
|
865
865
|
const _hoisted_1$3 = {
|
|
866
866
|
key: 0,
|
|
867
867
|
class: "hlw-popup-header"
|
|
@@ -897,9 +897,9 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
897
897
|
createElementVNode("text", _hoisted_2$2, toDisplayString(__props.title), 1),
|
|
898
898
|
__props.closable ? (openBlock(), createElementBlock("view", {
|
|
899
899
|
key: 0,
|
|
900
|
-
class: "hlw-popup-close",
|
|
900
|
+
class: "hlw-popup-close i-fa6-solid-xmark",
|
|
901
901
|
onTap: onClose
|
|
902
|
-
},
|
|
902
|
+
}, null, 32)) : createCommentVNode("", true)
|
|
903
903
|
])) : createCommentVNode("", true),
|
|
904
904
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
905
905
|
], 2)
|
|
@@ -907,7 +907,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
907
907
|
};
|
|
908
908
|
}
|
|
909
909
|
});
|
|
910
|
-
const index$4 = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
910
|
+
const index$4 = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-2d71ef9b"]]);
|
|
911
911
|
const _hoisted_1$2 = ["value", "placeholder", "disabled"];
|
|
912
912
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
913
913
|
__name: "index",
|
|
@@ -923,7 +923,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
923
923
|
setup(__props, { emit: __emit }) {
|
|
924
924
|
const emit = __emit;
|
|
925
925
|
function onInput(e) {
|
|
926
|
-
|
|
926
|
+
var _a;
|
|
927
|
+
emit("update:modelValue", ((_a = e == null ? void 0 : e.detail) == null ? void 0 : _a.value) ?? "");
|
|
927
928
|
}
|
|
928
929
|
function onClear() {
|
|
929
930
|
emit("update:modelValue", "");
|
|
@@ -937,7 +938,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
937
938
|
createElementVNode("view", {
|
|
938
939
|
class: normalizeClass(["hlw-search-box", { "hlw-search-box--round": __props.shape === "round" }])
|
|
939
940
|
}, [
|
|
940
|
-
_cache[3] || (_cache[3] = createElementVNode("view", { class: "hlw-search-icon" },
|
|
941
|
+
_cache[3] || (_cache[3] = createElementVNode("view", { class: "hlw-search-icon i-fa6-solid-magnifying-glass" }, null, -1)),
|
|
941
942
|
createElementVNode("input", {
|
|
942
943
|
class: "hlw-search-input",
|
|
943
944
|
type: "text",
|
|
@@ -952,15 +953,15 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
952
953
|
}, null, 40, _hoisted_1$2),
|
|
953
954
|
__props.clearable && __props.modelValue ? (openBlock(), createElementBlock("view", {
|
|
954
955
|
key: 0,
|
|
955
|
-
class: "hlw-search-clear",
|
|
956
|
+
class: "hlw-search-clear i-fa6-solid-xmark",
|
|
956
957
|
onTap: onClear
|
|
957
|
-
},
|
|
958
|
+
}, null, 32)) : createCommentVNode("", true)
|
|
958
959
|
], 2)
|
|
959
960
|
], 4);
|
|
960
961
|
};
|
|
961
962
|
}
|
|
962
963
|
});
|
|
963
|
-
const index$3 = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-
|
|
964
|
+
const index$3 = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-4fe1bfab"]]);
|
|
964
965
|
const _hoisted_1$1 = { class: "hlw-skeleton-content" };
|
|
965
966
|
const _hoisted_2$1 = {
|
|
966
967
|
key: 0,
|
|
@@ -1000,7 +1001,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
1000
1001
|
};
|
|
1001
1002
|
}
|
|
1002
1003
|
});
|
|
1003
|
-
const index$2 = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
1004
|
+
const index$2 = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-bc3155a2"]]);
|
|
1004
1005
|
const _hoisted_1 = { class: "hlw-tabs-wrap" };
|
|
1005
1006
|
const _hoisted_2 = ["onTap"];
|
|
1006
1007
|
const _hoisted_3 = { class: "hlw-tab-text" };
|
|
@@ -1055,7 +1056,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1055
1056
|
};
|
|
1056
1057
|
}
|
|
1057
1058
|
});
|
|
1058
|
-
const index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
1059
|
+
const index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-5a47c034"]]);
|
|
1059
1060
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
1060
1061
|
__name: "index",
|
|
1061
1062
|
props: {
|
|
@@ -1083,14 +1084,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1083
1084
|
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
1084
1085
|
__props.closable ? (openBlock(), createElementBlock("view", {
|
|
1085
1086
|
key: 0,
|
|
1086
|
-
class: "hlw-tag-close",
|
|
1087
|
+
class: "hlw-tag-close i-fa6-solid-xmark",
|
|
1087
1088
|
onTap: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.$emit("close"), ["stop"]))
|
|
1088
|
-
},
|
|
1089
|
+
}, null, 32)) : createCommentVNode("", true)
|
|
1089
1090
|
], 38);
|
|
1090
1091
|
};
|
|
1091
1092
|
}
|
|
1092
1093
|
});
|
|
1093
|
-
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
1094
|
+
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-fd774288"]]);
|
|
1094
1095
|
const FONT_SCALE_KEY = "hlw_font_scale";
|
|
1095
1096
|
const FONT_PRESETS = {
|
|
1096
1097
|
small: {
|