@rocketui/vue 0.2.65 → 0.2.66
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/rocket-ui-vue.d.ts +12 -0
- package/dist/rocket-ui-vue.js +19 -15
- package/dist/rocket-ui-vue.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/rocket-ui-vue.d.ts
CHANGED
|
@@ -1416,6 +1416,14 @@ declare interface ModalProps {
|
|
|
1416
1416
|
* <Modal :modelValue="true" :outsideClick="true" />
|
|
1417
1417
|
*/
|
|
1418
1418
|
outsideClick?: boolean;
|
|
1419
|
+
/**
|
|
1420
|
+
* Remove padding and gap from the modal
|
|
1421
|
+
* @type boolean
|
|
1422
|
+
* @default false
|
|
1423
|
+
* @example
|
|
1424
|
+
* <Modal :modelValue="true" :clearContent="true" />
|
|
1425
|
+
*/
|
|
1426
|
+
clearContent?: boolean;
|
|
1419
1427
|
/**
|
|
1420
1428
|
* Class of the Modal
|
|
1421
1429
|
* @type string
|
|
@@ -2547,6 +2555,7 @@ export declare const RModal: __VLS_WithTemplateSlots_8<DefineComponent<__VLS_Wit
|
|
|
2547
2555
|
width: string;
|
|
2548
2556
|
height: string;
|
|
2549
2557
|
outsideClick: boolean;
|
|
2558
|
+
clearContent: boolean;
|
|
2550
2559
|
class: string;
|
|
2551
2560
|
overlayClass: string;
|
|
2552
2561
|
style: string;
|
|
@@ -2562,6 +2571,7 @@ export declare const RModal: __VLS_WithTemplateSlots_8<DefineComponent<__VLS_Wit
|
|
|
2562
2571
|
width: string;
|
|
2563
2572
|
height: string;
|
|
2564
2573
|
outsideClick: boolean;
|
|
2574
|
+
clearContent: boolean;
|
|
2565
2575
|
class: string;
|
|
2566
2576
|
overlayClass: string;
|
|
2567
2577
|
style: string;
|
|
@@ -2579,9 +2589,11 @@ export declare const RModal: __VLS_WithTemplateSlots_8<DefineComponent<__VLS_Wit
|
|
|
2579
2589
|
height: string;
|
|
2580
2590
|
description: string;
|
|
2581
2591
|
icon: string;
|
|
2592
|
+
clearContent: boolean;
|
|
2582
2593
|
overlayClass: string | string[];
|
|
2583
2594
|
allowBodyScroll: boolean;
|
|
2584
2595
|
}, {}>, {
|
|
2596
|
+
wrapper?(_: {}): any;
|
|
2585
2597
|
header?(_: {}): any;
|
|
2586
2598
|
default?(_: {}): any;
|
|
2587
2599
|
actions?(_: {}): any;
|
package/dist/rocket-ui-vue.js
CHANGED
|
@@ -9273,6 +9273,7 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
|
|
|
9273
9273
|
width: { default: "" },
|
|
9274
9274
|
height: { default: "" },
|
|
9275
9275
|
outsideClick: { type: Boolean, default: !1 },
|
|
9276
|
+
clearContent: { type: Boolean, default: !1 },
|
|
9276
9277
|
class: { default: "" },
|
|
9277
9278
|
overlayClass: { default: "" },
|
|
9278
9279
|
style: { default: "" },
|
|
@@ -9283,6 +9284,7 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
|
|
|
9283
9284
|
const C = H, M = V, i = g(() => ({
|
|
9284
9285
|
"r-dialog": !0,
|
|
9285
9286
|
"r-dialog--block": C.block,
|
|
9287
|
+
"p-0 gap-0": C.clearContent,
|
|
9286
9288
|
[`${C.class}`]: !0
|
|
9287
9289
|
})), L = g(() => ({
|
|
9288
9290
|
width: C.width,
|
|
@@ -9306,21 +9308,23 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
|
|
|
9306
9308
|
role: "dialog",
|
|
9307
9309
|
style: I1(L.value)
|
|
9308
9310
|
}, [
|
|
9309
|
-
|
|
9310
|
-
|
|
9311
|
-
|
|
9312
|
-
|
|
9313
|
-
|
|
9314
|
-
|
|
9315
|
-
|
|
9316
|
-
|
|
9317
|
-
|
|
9318
|
-
|
|
9319
|
-
|
|
9320
|
-
|
|
9321
|
-
|
|
9322
|
-
|
|
9323
|
-
|
|
9311
|
+
f(e.$slots, "wrapper", {}, () => [
|
|
9312
|
+
u("div", m3, [
|
|
9313
|
+
f(e.$slots, "header"),
|
|
9314
|
+
C.icon ? (m(), r("div", l3, [
|
|
9315
|
+
q(D, {
|
|
9316
|
+
name: C.icon
|
|
9317
|
+
}, null, 8, ["name"])
|
|
9318
|
+
])) : O("", !0),
|
|
9319
|
+
C.title ? (m(), r("div", o3, w(C.title), 1)) : O("", !0),
|
|
9320
|
+
C.description ? (m(), r("div", n3, w(C.description), 1)) : O("", !0)
|
|
9321
|
+
]),
|
|
9322
|
+
u("div", r3, [
|
|
9323
|
+
f(e.$slots, "default")
|
|
9324
|
+
]),
|
|
9325
|
+
u("div", a3, [
|
|
9326
|
+
f(e.$slots, "actions")
|
|
9327
|
+
])
|
|
9324
9328
|
])
|
|
9325
9329
|
], 14, t3)
|
|
9326
9330
|
], 10, d3)), [
|