@1337exp/taoui 3.2.0 → 3.2.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.cjs +28 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +28 -23
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1074,7 +1074,7 @@
|
|
|
1074
1074
|
key: 1,
|
|
1075
1075
|
class: "tao-card__sub"
|
|
1076
1076
|
};
|
|
1077
|
-
const _hoisted_9$
|
|
1077
|
+
const _hoisted_9$6 = {
|
|
1078
1078
|
key: 3,
|
|
1079
1079
|
class: "tao-card__body"
|
|
1080
1080
|
};
|
|
@@ -1159,7 +1159,7 @@
|
|
|
1159
1159
|
vue.renderSlot(_ctx.$slots, "sub", {}, void 0, true)
|
|
1160
1160
|
])) : vue.createCommentVNode("", true)
|
|
1161
1161
|
])) : vue.createCommentVNode("", true),
|
|
1162
|
-
_ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$
|
|
1162
|
+
_ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$6, [
|
|
1163
1163
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
1164
1164
|
])) : vue.createCommentVNode("", true),
|
|
1165
1165
|
_ctx.$slots.footer ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10$4, [
|
|
@@ -4100,7 +4100,7 @@
|
|
|
4100
4100
|
const _hoisted_6$d = { class: "tao-file-drop__name" };
|
|
4101
4101
|
const _hoisted_7$b = { class: "tao-file-drop__meta" };
|
|
4102
4102
|
const _hoisted_8$a = ["aria-label", "onClick"];
|
|
4103
|
-
const _hoisted_9$
|
|
4103
|
+
const _hoisted_9$5 = { "aria-hidden": "true" };
|
|
4104
4104
|
const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
4105
4105
|
...{ name: "TaoFileDrop" },
|
|
4106
4106
|
__name: "TaoFileDrop",
|
|
@@ -4291,7 +4291,7 @@
|
|
|
4291
4291
|
"aria-label": vue.unref(l10n).removeLabel.replace("{name}", file.name),
|
|
4292
4292
|
onClick: ($event) => removeAt(index)
|
|
4293
4293
|
}, [
|
|
4294
|
-
vue.createElementVNode("span", _hoisted_9$
|
|
4294
|
+
vue.createElementVNode("span", _hoisted_9$5, [
|
|
4295
4295
|
vue.renderSlot(_ctx.$slots, "remove-icon", {}, () => [
|
|
4296
4296
|
_cache[2] || (_cache[2] = vue.createTextVNode("✕", -1))
|
|
4297
4297
|
], true)
|
|
@@ -5541,12 +5541,16 @@
|
|
|
5541
5541
|
const _hoisted_3$i = { class: "tao-color-picker__row" };
|
|
5542
5542
|
const _hoisted_4$g = { class: "tao-color-picker__preview" };
|
|
5543
5543
|
const _hoisted_5$e = {
|
|
5544
|
+
key: 0,
|
|
5545
|
+
class: "tao-color-picker__hex"
|
|
5546
|
+
};
|
|
5547
|
+
const _hoisted_6$b = {
|
|
5544
5548
|
key: 1,
|
|
5545
5549
|
class: "tao-color-picker__channels"
|
|
5546
5550
|
};
|
|
5547
|
-
const
|
|
5548
|
-
const
|
|
5549
|
-
const
|
|
5551
|
+
const _hoisted_7$9 = ["disabled", "aria-label", "title"];
|
|
5552
|
+
const _hoisted_8$9 = ["aria-label"];
|
|
5553
|
+
const _hoisted_9$4 = ["disabled", "aria-label", "title", "onClick"];
|
|
5550
5554
|
const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
5551
5555
|
...{ name: "TaoColorPicker" },
|
|
5552
5556
|
__name: "TaoColorPicker",
|
|
@@ -5810,18 +5814,19 @@
|
|
|
5810
5814
|
style: vue.normalizeStyle({ backgroundColor: hex.value })
|
|
5811
5815
|
}, null, 4)
|
|
5812
5816
|
]),
|
|
5813
|
-
activeMode.value === "hex" ? (vue.openBlock(), vue.
|
|
5814
|
-
|
|
5815
|
-
|
|
5816
|
-
|
|
5817
|
-
|
|
5818
|
-
|
|
5819
|
-
|
|
5820
|
-
|
|
5821
|
-
|
|
5822
|
-
|
|
5823
|
-
|
|
5824
|
-
|
|
5817
|
+
activeMode.value === "hex" ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_5$e, [
|
|
5818
|
+
_cache[6] || (_cache[6] = vue.createElementVNode("span", null, "HEX", -1)),
|
|
5819
|
+
vue.createVNode(TaoInput, {
|
|
5820
|
+
modelValue: hexText.value,
|
|
5821
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => hexText.value = $event),
|
|
5822
|
+
size: "small",
|
|
5823
|
+
error: hexInvalid.value,
|
|
5824
|
+
disabled: __props.disabled,
|
|
5825
|
+
"aria-label": vue.unref(l10n).hexLabel,
|
|
5826
|
+
onBlur: commitHex,
|
|
5827
|
+
onKeydown: vue.withKeys(commitHex, ["enter"])
|
|
5828
|
+
}, null, 8, ["modelValue", "error", "disabled", "aria-label"])
|
|
5829
|
+
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$b, [
|
|
5825
5830
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(channels.value, (c) => {
|
|
5826
5831
|
return vue.openBlock(), vue.createElementBlock("label", {
|
|
5827
5832
|
key: c.key,
|
|
@@ -5849,7 +5854,7 @@
|
|
|
5849
5854
|
"aria-label": vue.unref(l10n).eyedropperLabel,
|
|
5850
5855
|
title: vue.unref(l10n).eyedropperLabel,
|
|
5851
5856
|
onClick: eyedrop
|
|
5852
|
-
}, " ✎ ", 8,
|
|
5857
|
+
}, " ✎ ", 8, _hoisted_7$9)) : vue.createCommentVNode("", true)
|
|
5853
5858
|
]),
|
|
5854
5859
|
((_a = __props.swatches) == null ? void 0 : _a.length) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
5855
5860
|
key: 1,
|
|
@@ -5867,14 +5872,14 @@
|
|
|
5867
5872
|
"aria-label": s,
|
|
5868
5873
|
title: s,
|
|
5869
5874
|
onClick: ($event) => pick(s)
|
|
5870
|
-
}, null, 14,
|
|
5875
|
+
}, null, 14, _hoisted_9$4);
|
|
5871
5876
|
}), 128))
|
|
5872
|
-
], 8,
|
|
5877
|
+
], 8, _hoisted_8$9)) : vue.createCommentVNode("", true)
|
|
5873
5878
|
], 2);
|
|
5874
5879
|
};
|
|
5875
5880
|
}
|
|
5876
5881
|
});
|
|
5877
|
-
const TaoColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-
|
|
5882
|
+
const TaoColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-bebf52dc"]]);
|
|
5878
5883
|
const _hoisted_1$m = ["disabled", "aria-label", "aria-expanded"];
|
|
5879
5884
|
const _hoisted_2$k = { class: "tao-color-input__swatch" };
|
|
5880
5885
|
const _hoisted_3$h = { class: "tao-color-input__text" };
|