@maxax/ui 1.1.1 → 1.1.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.
|
@@ -12,7 +12,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Ba
|
|
|
12
12
|
showConfirmBtn: boolean;
|
|
13
13
|
showFooter: boolean;
|
|
14
14
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, Partial<Record<string, (_: any) => any>> & {
|
|
15
|
-
header?(_: {}): any;
|
|
16
15
|
'before-footer'?(_: {}): any;
|
|
17
16
|
'after-footer'?(_: {}): any;
|
|
18
17
|
footer?(_: {}): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BasicModal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/basic-modal/BasicModal.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BasicModal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/basic-modal/BasicModal.vue"],"names":[],"mappings":"AA8GA,OAAO,KAAK,EAAmB,eAAe,EAAE,MAAM,aAAa,CAAA;;;;;;;;;;;;;;;;;;AAwQnE,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -15462,7 +15462,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
15462
15462
|
emit("update:show", newVal);
|
|
15463
15463
|
}
|
|
15464
15464
|
);
|
|
15465
|
-
const slotNames = ["default", "cover", "header-extra"];
|
|
15465
|
+
const slotNames = ["default", "cover", "header-extra", "header"];
|
|
15466
15466
|
return (_ctx, _cache) => {
|
|
15467
15467
|
const _component_XBasicTitle = vue.resolveComponent("XBasicTitle");
|
|
15468
15468
|
return vue.openBlock(), vue.createBlock(vue.unref(naiveUi.NModal), vue.mergeProps(getBindValues.value, {
|
|
@@ -15483,24 +15483,18 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
15483
15483
|
])
|
|
15484
15484
|
};
|
|
15485
15485
|
}),
|
|
15486
|
-
!_ctx.$slots.header ? {
|
|
15486
|
+
!_ctx.$slots.header && __props.title ? {
|
|
15487
15487
|
name: "header",
|
|
15488
15488
|
fn: vue.withCtx(() => [
|
|
15489
15489
|
vue.createVNode(_component_XBasicTitle, null, {
|
|
15490
15490
|
default: vue.withCtx(() => [
|
|
15491
|
-
vue.createTextVNode(vue.toDisplayString(__props.title
|
|
15491
|
+
vue.createTextVNode(vue.toDisplayString(__props.title), 1)
|
|
15492
15492
|
]),
|
|
15493
15493
|
_: 1
|
|
15494
15494
|
})
|
|
15495
15495
|
]),
|
|
15496
15496
|
key: "0"
|
|
15497
|
-
} :
|
|
15498
|
-
name: "header",
|
|
15499
|
-
fn: vue.withCtx(() => [
|
|
15500
|
-
vue.renderSlot(_ctx.$slots, "header")
|
|
15501
|
-
]),
|
|
15502
|
-
key: "1"
|
|
15503
|
-
},
|
|
15497
|
+
} : void 0,
|
|
15504
15498
|
!_ctx.$slots.footer ? {
|
|
15505
15499
|
name: "footer",
|
|
15506
15500
|
fn: vue.withCtx(() => [
|
|
@@ -15531,13 +15525,13 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
15531
15525
|
vue.renderSlot(_ctx.$slots, "after-footer")
|
|
15532
15526
|
], 2)) : vue.createCommentVNode("", true)
|
|
15533
15527
|
]),
|
|
15534
|
-
key: "
|
|
15528
|
+
key: "1"
|
|
15535
15529
|
} : {
|
|
15536
15530
|
name: "footer",
|
|
15537
15531
|
fn: vue.withCtx(() => [
|
|
15538
15532
|
vue.renderSlot(_ctx.$slots, "footer")
|
|
15539
15533
|
]),
|
|
15540
|
-
key: "
|
|
15534
|
+
key: "2"
|
|
15541
15535
|
}
|
|
15542
15536
|
]), 1040, ["class", "style"])
|
|
15543
15537
|
]),
|