@maxax/ui 1.0.17 → 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/components/basic-button-action/BasicButtonImport.vue.d.ts.map +1 -1
- package/dist/components/basic-message-box/BasicMessageBox.vue.d.ts +2 -2
- package/dist/components/basic-modal/BasicModal.vue.d.ts +1 -0
- package/dist/components/basic-modal/BasicModal.vue.d.ts.map +1 -1
- package/dist/components/basic-modal/interface.d.ts +1 -0
- package/dist/components/basic-modal/interface.d.ts.map +1 -1
- package/dist/components/basic-overlay/BasicOverlay.d.ts +2 -2
- package/dist/index.cjs +39 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +40 -15
- package/dist/index.mjs.map +1 -1
- package/dist/theme-chalk/dark.css +1 -0
- package/dist/theme-chalk/index.css +1 -0
- package/dist/theme-chalk/light.css +1 -0
- package/package.json +25 -6
- package/dist/ui.css +0 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BasicButtonImport.vue.d.ts","sourceRoot":"","sources":["../../../src/components/basic-button-action/BasicButtonImport.vue"],"names":[],"mappings":"AAyGA,OAAO,KAAK,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAE/E,MAAM,WAAW,KAAK;IACpB,CAAC,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE;QAAE,IAAI,EAAE,IAAI,CAAC;QAAC,KAAK,EAAE;YAAE,MAAM,EAAE,IAAI,CAAA;SAAE,EAAE,CAAC;QAAC,KAAK,EAAE,QAAQ,CAAA;KAAE,GAAG,IAAI,CAAA;CACxF;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"BasicButtonImport.vue.d.ts","sourceRoot":"","sources":["../../../src/components/basic-button-action/BasicButtonImport.vue"],"names":[],"mappings":"AAyGA,OAAO,KAAK,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAE/E,MAAM,WAAW,KAAK;IACpB,CAAC,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE;QAAE,IAAI,EAAE,IAAI,CAAC;QAAC,KAAK,EAAE;YAAE,MAAM,EAAE,IAAI,CAAA;SAAE,EAAE,CAAC;QAAC,KAAK,EAAE,QAAQ,CAAA;KAAE,GAAG,IAAI,CAAA;CACxF;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4LD,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -2580,7 +2580,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2580
2580
|
type: import('vue').PropType<string | string[] | Record<string, boolean>>;
|
|
2581
2581
|
};
|
|
2582
2582
|
zIndex: {
|
|
2583
|
-
type: import('vue').PropType<(string & {}) |
|
|
2583
|
+
type: import('vue').PropType<(string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | (number & {}) | "auto">;
|
|
2584
2584
|
};
|
|
2585
2585
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
2586
2586
|
mask: {
|
|
@@ -2592,7 +2592,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2592
2592
|
type: import('vue').PropType<string | string[] | Record<string, boolean>>;
|
|
2593
2593
|
};
|
|
2594
2594
|
zIndex: {
|
|
2595
|
-
type: import('vue').PropType<(string & {}) |
|
|
2595
|
+
type: import('vue').PropType<(string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | (number & {}) | "auto">;
|
|
2596
2596
|
};
|
|
2597
2597
|
}>> & Readonly<{
|
|
2598
2598
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
@@ -12,6 +12,7 @@ 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;
|
|
15
16
|
'before-footer'?(_: {}): any;
|
|
16
17
|
'after-footer'?(_: {}): any;
|
|
17
18
|
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":"AAmHA,OAAO,KAAK,EAAmB,eAAe,EAAE,MAAM,aAAa,CAAA;;;;;;;;;;;;;;;;;;;AAiRnE,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../../src/components/basic-modal/interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAEzC,eAAO,MAAM,eAAe,IAAc,CAAA;AAE1C,MAAM,WAAW,eAAe;
|
|
1
|
+
{"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../../src/components/basic-modal/interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAEzC,eAAO,MAAM,eAAe,IAAc,CAAA;AAE1C,MAAM,WAAW,eAAe;IAE9B,KAAK,CAAC,EA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E,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;IAGjC,IAAI,CAAC,EAAE,SAAS,CAAA;IAEhB,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB,YAAY,CAAC,EAAE,MAAM,CAAA;IAGrB,UAAU,CAAC,EAAE,OAAO,CAAA;IAGpB,aAAa,CAAC,EAAE,OAAO,CAAA;IAGvB,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB;AAED,MAAM,WAAW,eAAe;IAC9B,CAAC,EAAE,EAAE,eAAe,GAAG,IAAI,CAAA;IAC3B,CAAC,EAAE,EAAE,eAAe,GAAG,IAAI,CAAA;IAC3B,CAAC,EAAE,EAAE,aAAa,EAAE,MAAM,EAAE,OAAO,GAAG,IAAI,CAAA;CAC3C;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAA;CACb"}
|
|
@@ -8,7 +8,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
8
8
|
type: import('vue').PropType<string | string[] | Record<string, boolean>>;
|
|
9
9
|
};
|
|
10
10
|
zIndex: {
|
|
11
|
-
type: import('vue').PropType<(string & {}) |
|
|
11
|
+
type: import('vue').PropType<(string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | (number & {}) | "auto">;
|
|
12
12
|
};
|
|
13
13
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
14
14
|
mask: {
|
|
@@ -20,7 +20,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
20
20
|
type: import('vue').PropType<string | string[] | Record<string, boolean>>;
|
|
21
21
|
};
|
|
22
22
|
zIndex: {
|
|
23
|
-
type: import('vue').PropType<(string & {}) |
|
|
23
|
+
type: import('vue').PropType<(string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | (number & {}) | "auto">;
|
|
24
24
|
};
|
|
25
25
|
}>> & Readonly<{
|
|
26
26
|
onClick?: ((...args: any[]) => any) | undefined;
|
package/dist/index.cjs
CHANGED
|
@@ -3390,6 +3390,11 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
3390
3390
|
uploadFiles(acceptedFiles);
|
|
3391
3391
|
reset();
|
|
3392
3392
|
}
|
|
3393
|
+
const buttonStyle = vue.computed(() => {
|
|
3394
|
+
return {
|
|
3395
|
+
display: "none"
|
|
3396
|
+
};
|
|
3397
|
+
});
|
|
3393
3398
|
return (_ctx, _cache) => {
|
|
3394
3399
|
return vue.openBlock(), vue.createBlock(vue.unref(XBasicButton), vue.mergeProps({
|
|
3395
3400
|
icon: "ri:import-line",
|
|
@@ -3405,25 +3410,18 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
3405
3410
|
multiple: __props.multiple,
|
|
3406
3411
|
name: __props.name,
|
|
3407
3412
|
accept: __props.accept,
|
|
3413
|
+
style: vue.normalizeStyle(buttonStyle.value),
|
|
3408
3414
|
onChange: onFileChange
|
|
3409
|
-
}, null,
|
|
3415
|
+
}, null, 44, _hoisted_1$b)),
|
|
3410
3416
|
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
3411
3417
|
vue.createTextVNode(vue.toDisplayString(vue.unref(t)("max.basic.import")), 1)
|
|
3412
|
-
]
|
|
3418
|
+
])
|
|
3413
3419
|
]),
|
|
3414
3420
|
_: 3
|
|
3415
3421
|
}, 16);
|
|
3416
3422
|
};
|
|
3417
3423
|
}
|
|
3418
3424
|
});
|
|
3419
|
-
const _export_sfc = (sfc, props) => {
|
|
3420
|
-
const target = sfc.__vccOpts || sfc;
|
|
3421
|
-
for (const [key2, val] of props) {
|
|
3422
|
-
target[key2] = val;
|
|
3423
|
-
}
|
|
3424
|
-
return target;
|
|
3425
|
-
};
|
|
3426
|
-
const BasicButtonImport = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-826acb65"]]);
|
|
3427
3425
|
const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
3428
3426
|
__name: "BasicButtonPrint",
|
|
3429
3427
|
emits: ["click"],
|
|
@@ -3453,7 +3451,7 @@ const XBasicButtonCreate = utils.withInstall(_sfc_main$L);
|
|
|
3453
3451
|
const XBasicButtonEdit = utils.withInstall(_sfc_main$J);
|
|
3454
3452
|
const XBasicButtonDelete = utils.withInstall(_sfc_main$K);
|
|
3455
3453
|
const XBasicButtonExport = utils.withInstall(_sfc_main$I);
|
|
3456
|
-
const XBasicButtonImport = utils.withInstall(
|
|
3454
|
+
const XBasicButtonImport = utils.withInstall(_sfc_main$H);
|
|
3457
3455
|
const XBasicButtonPrint = utils.withInstall(_sfc_main$G);
|
|
3458
3456
|
!!(process.env.NODE_ENV !== "production") ? Object.freeze({}) : {};
|
|
3459
3457
|
!!(process.env.NODE_ENV !== "production") ? Object.freeze([]) : [];
|
|
@@ -3908,6 +3906,13 @@ const _sfc_main$F = vue.defineComponent({
|
|
|
3908
3906
|
};
|
|
3909
3907
|
}
|
|
3910
3908
|
});
|
|
3909
|
+
const _export_sfc = (sfc, props) => {
|
|
3910
|
+
const target = sfc.__vccOpts || sfc;
|
|
3911
|
+
for (const [key2, val] of props) {
|
|
3912
|
+
target[key2] = val;
|
|
3913
|
+
}
|
|
3914
|
+
return target;
|
|
3915
|
+
};
|
|
3911
3916
|
const _hoisted_1$a = ["aria-label", "aria-describedby"];
|
|
3912
3917
|
const _hoisted_2$4 = ["id"];
|
|
3913
3918
|
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -15373,6 +15378,7 @@ const XBasicLoading = {
|
|
|
15373
15378
|
const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
15374
15379
|
__name: "BasicModal",
|
|
15375
15380
|
props: {
|
|
15381
|
+
title: {},
|
|
15376
15382
|
width: {},
|
|
15377
15383
|
autoFocus: { type: Boolean },
|
|
15378
15384
|
blockScroll: { type: Boolean },
|
|
@@ -15456,8 +15462,9 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
15456
15462
|
emit("update:show", newVal);
|
|
15457
15463
|
}
|
|
15458
15464
|
);
|
|
15459
|
-
const slotNames = ["default", "cover", "header
|
|
15465
|
+
const slotNames = ["default", "cover", "header-extra"];
|
|
15460
15466
|
return (_ctx, _cache) => {
|
|
15467
|
+
const _component_XBasicTitle = vue.resolveComponent("XBasicTitle");
|
|
15461
15468
|
return vue.openBlock(), vue.createBlock(vue.unref(naiveUi.NModal), vue.mergeProps(getBindValues.value, {
|
|
15462
15469
|
show: visibleRef.value,
|
|
15463
15470
|
"onUpdate:show": _cache[0] || (_cache[0] = ($event) => visibleRef.value = $event),
|
|
@@ -15476,6 +15483,24 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
15476
15483
|
])
|
|
15477
15484
|
};
|
|
15478
15485
|
}),
|
|
15486
|
+
!_ctx.$slots.header ? {
|
|
15487
|
+
name: "header",
|
|
15488
|
+
fn: vue.withCtx(() => [
|
|
15489
|
+
vue.createVNode(_component_XBasicTitle, null, {
|
|
15490
|
+
default: vue.withCtx(() => [
|
|
15491
|
+
vue.createTextVNode(vue.toDisplayString(__props.title ? __props.title : ""), 1)
|
|
15492
|
+
]),
|
|
15493
|
+
_: 1
|
|
15494
|
+
})
|
|
15495
|
+
]),
|
|
15496
|
+
key: "0"
|
|
15497
|
+
} : {
|
|
15498
|
+
name: "header",
|
|
15499
|
+
fn: vue.withCtx(() => [
|
|
15500
|
+
vue.renderSlot(_ctx.$slots, "header")
|
|
15501
|
+
]),
|
|
15502
|
+
key: "1"
|
|
15503
|
+
},
|
|
15479
15504
|
!_ctx.$slots.footer ? {
|
|
15480
15505
|
name: "footer",
|
|
15481
15506
|
fn: vue.withCtx(() => [
|
|
@@ -15506,13 +15531,13 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
15506
15531
|
vue.renderSlot(_ctx.$slots, "after-footer")
|
|
15507
15532
|
], 2)) : vue.createCommentVNode("", true)
|
|
15508
15533
|
]),
|
|
15509
|
-
key: "
|
|
15534
|
+
key: "2"
|
|
15510
15535
|
} : {
|
|
15511
15536
|
name: "footer",
|
|
15512
15537
|
fn: vue.withCtx(() => [
|
|
15513
15538
|
vue.renderSlot(_ctx.$slots, "footer")
|
|
15514
15539
|
]),
|
|
15515
|
-
key: "
|
|
15540
|
+
key: "3"
|
|
15516
15541
|
}
|
|
15517
15542
|
]), 1040, ["class", "style"])
|
|
15518
15543
|
]),
|