@deskhero/dh_ui 1.28.0 → 1.28.2
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 +22 -5
- package/dist/dh_ui.umd.js +1 -1
- package/dist/src/components/Modal.vue.d.ts +36 -0
- package/package.json +1 -1
package/dist/dh_ui.es.js
CHANGED
|
@@ -11116,6 +11116,22 @@ const _sfc_main$c = defineComponent({
|
|
|
11116
11116
|
type: Boolean,
|
|
11117
11117
|
default: true
|
|
11118
11118
|
},
|
|
11119
|
+
hasSideBarButtonBottom: {
|
|
11120
|
+
type: Boolean,
|
|
11121
|
+
default: true
|
|
11122
|
+
},
|
|
11123
|
+
hasHeader: {
|
|
11124
|
+
type: Boolean,
|
|
11125
|
+
default: true
|
|
11126
|
+
},
|
|
11127
|
+
hasFooter: {
|
|
11128
|
+
type: Boolean,
|
|
11129
|
+
default: true
|
|
11130
|
+
},
|
|
11131
|
+
hasFooterButtonRight: {
|
|
11132
|
+
type: Boolean,
|
|
11133
|
+
default: true
|
|
11134
|
+
},
|
|
11119
11135
|
sideBarPosition: {
|
|
11120
11136
|
type: String,
|
|
11121
11137
|
default: "left"
|
|
@@ -11137,6 +11153,7 @@ const _sfc_main$c = defineComponent({
|
|
|
11137
11153
|
}
|
|
11138
11154
|
});
|
|
11139
11155
|
const _hoisted_1$b = {
|
|
11156
|
+
key: 0,
|
|
11140
11157
|
id: "modalTitle",
|
|
11141
11158
|
class: "modal-header"
|
|
11142
11159
|
};
|
|
@@ -11178,16 +11195,16 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11178
11195
|
}, {
|
|
11179
11196
|
default: withCtx(() => [
|
|
11180
11197
|
renderSlot(_ctx.$slots, "sidebar"),
|
|
11181
|
-
renderSlot(_ctx.$slots, "sidebar-button-bottom")
|
|
11198
|
+
_ctx.hasSideBarButtonBottom ? renderSlot(_ctx.$slots, "sidebar-button-bottom", { key: 0 }) : createCommentVNode("", true)
|
|
11182
11199
|
]),
|
|
11183
11200
|
_: 3
|
|
11184
11201
|
})) : createCommentVNode("", true),
|
|
11185
11202
|
createElementVNode("section", {
|
|
11186
11203
|
class: normalizeClass(`right-section ${_ctx.hasSideBar ? "" : "full"}`)
|
|
11187
11204
|
}, [
|
|
11188
|
-
|
|
11205
|
+
_ctx.hasHeader ? (openBlock(), createElementBlock("header", _hoisted_1$b, [
|
|
11189
11206
|
renderSlot(_ctx.$slots, "header")
|
|
11190
|
-
]),
|
|
11207
|
+
])) : createCommentVNode("", true),
|
|
11191
11208
|
createElementVNode("section", {
|
|
11192
11209
|
id: "modalDescription",
|
|
11193
11210
|
class: normalizeClass(["modal-body", _ctx.bodyClass])
|
|
@@ -11195,8 +11212,8 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11195
11212
|
renderSlot(_ctx.$slots, "body")
|
|
11196
11213
|
], 2),
|
|
11197
11214
|
createElementVNode("footer", _hoisted_2$a, [
|
|
11198
|
-
renderSlot(_ctx.$slots, "footer"),
|
|
11199
|
-
renderSlot(_ctx.$slots, "footer-button-right")
|
|
11215
|
+
_ctx.hasFooter ? renderSlot(_ctx.$slots, "footer", { key: 0 }) : createCommentVNode("", true),
|
|
11216
|
+
_ctx.hasFooterButtonRight ? renderSlot(_ctx.$slots, "footer-button-right", { key: 1 }) : createCommentVNode("", true)
|
|
11200
11217
|
])
|
|
11201
11218
|
], 2)
|
|
11202
11219
|
], 2)
|