@deskhero/dh_ui 1.41.4 → 1.41.5
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/dh_ui.es.js +19 -4
- package/dist/dh_ui.umd.js +6 -6
- package/dist/src/components/Notification.vue.d.ts +10 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/dh_ui.es.js
CHANGED
|
@@ -27183,7 +27183,8 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27183
27183
|
});
|
|
27184
27184
|
}
|
|
27185
27185
|
var Modal = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$1]]);
|
|
27186
|
-
|
|
27186
|
+
var Notification_vue_vue_type_style_index_0_lang = "";
|
|
27187
|
+
const __default__ = defineComponent({
|
|
27187
27188
|
components: {
|
|
27188
27189
|
DhIcon
|
|
27189
27190
|
},
|
|
@@ -27193,7 +27194,7 @@ const _sfc_main$6 = defineComponent({
|
|
|
27193
27194
|
required: true,
|
|
27194
27195
|
default: "toast",
|
|
27195
27196
|
validator: (value) => {
|
|
27196
|
-
return ["toast", "bottom-message", "actionable"].includes(value);
|
|
27197
|
+
return ["toast", "bottom-message", "actionable", "modal"].includes(value);
|
|
27197
27198
|
}
|
|
27198
27199
|
},
|
|
27199
27200
|
icon: {
|
|
@@ -27223,6 +27224,10 @@ const _sfc_main$6 = defineComponent({
|
|
|
27223
27224
|
buttonDismiss: {
|
|
27224
27225
|
type: String,
|
|
27225
27226
|
default: "Dismiss"
|
|
27227
|
+
},
|
|
27228
|
+
zIndex: {
|
|
27229
|
+
type: Number,
|
|
27230
|
+
default: 2
|
|
27226
27231
|
}
|
|
27227
27232
|
},
|
|
27228
27233
|
data() {
|
|
@@ -27237,11 +27242,10 @@ const _sfc_main$6 = defineComponent({
|
|
|
27237
27242
|
}, 3e3);
|
|
27238
27243
|
}
|
|
27239
27244
|
},
|
|
27240
|
-
emits: ["
|
|
27245
|
+
emits: ["action"],
|
|
27241
27246
|
methods: {
|
|
27242
27247
|
close(confirmation = false) {
|
|
27243
27248
|
this.show = false;
|
|
27244
|
-
this.$emit("close");
|
|
27245
27249
|
this.$emit("action", confirmation);
|
|
27246
27250
|
},
|
|
27247
27251
|
limitTitle(_title, _type) {
|
|
@@ -27256,6 +27260,17 @@ const _sfc_main$6 = defineComponent({
|
|
|
27256
27260
|
}
|
|
27257
27261
|
}
|
|
27258
27262
|
});
|
|
27263
|
+
const __injectCSSVars__ = () => {
|
|
27264
|
+
useCssVars((_ctx) => ({
|
|
27265
|
+
"4969c23e": _ctx.zIndex
|
|
27266
|
+
}));
|
|
27267
|
+
};
|
|
27268
|
+
const __setup__ = __default__.setup;
|
|
27269
|
+
__default__.setup = __setup__ ? (props, ctx) => {
|
|
27270
|
+
__injectCSSVars__();
|
|
27271
|
+
return __setup__(props, ctx);
|
|
27272
|
+
} : __injectCSSVars__;
|
|
27273
|
+
const _sfc_main$6 = __default__;
|
|
27259
27274
|
const _hoisted_1$5 = /* @__PURE__ */ createElementVNode("img", {
|
|
27260
27275
|
alt: "icon",
|
|
27261
27276
|
class: "close-icon",
|