paas-component-library 1.0.89 → 1.0.91
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/paas-ui.js +117 -49
- package/dist/paas-ui.umd.cjs +134 -134
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/MentionInput/index.vue +6 -1
- package/src/components/OrgPathSelector/index.vue +6 -2
- package/src/components/PaasCheckbox/index.vue +4 -1
- package/src/components/PaasCodeEditor/index.vue +10 -2
- package/src/components/PaasDate/index.vue +4 -1
- package/src/components/PaasInput/index.vue +6 -1
- package/src/components/PaasMdEditor/index.vue +8 -2
- package/src/components/PaasMenu/index.vue +12 -4
- package/src/components/PaasNumber/index.vue +6 -1
- package/src/components/PaasPageSelect/index.vue +22 -7
- package/src/components/PaasRadio/index.vue +6 -1
- package/src/components/PaasSelect/index.vue +6 -1
- package/src/components/PaasSwitch/index.vue +6 -1
- package/src/components/PaasTextarea/index.vue +6 -1
- package/src/components/PaasTreePanel/index.vue +6 -1
- package/src/components/form/FormPageSelect/index.vue +1 -2
package/dist/paas-ui.js
CHANGED
|
@@ -394,6 +394,9 @@ const r9e = {
|
|
|
394
394
|
inheritAttrs: !1,
|
|
395
395
|
// 禁用自动继承,手动控制透传
|
|
396
396
|
computed: {
|
|
397
|
+
see() {
|
|
398
|
+
return this.$store?.forms?.see || !1;
|
|
399
|
+
},
|
|
397
400
|
formattedValue() {
|
|
398
401
|
return this.modelValue ? Array.isArray(this.modelValue) ? this.modelValue.map((r) => r ? On(r) : null) : On.isDayjs(this.modelValue) ? this.modelValue : On(this.modelValue) : null;
|
|
399
402
|
}
|
|
@@ -448,7 +451,7 @@ function n9e(r, e, t, n, i, o) {
|
|
|
448
451
|
return Pt(), Vt(s, Mr({
|
|
449
452
|
"show-time": t.showTime,
|
|
450
453
|
readonly: t.readonly,
|
|
451
|
-
disabled: t.disabled,
|
|
454
|
+
disabled: o.see || t.disabled,
|
|
452
455
|
value: o.formattedValue,
|
|
453
456
|
format: t.format,
|
|
454
457
|
picker: t.type,
|
|
@@ -607,7 +610,8 @@ const i9e = /* @__PURE__ */ hr(r9e, [["render", n9e]]), a9e = {
|
|
|
607
610
|
this.selectAndOpenMenu(r), this.$router.push(r.key);
|
|
608
611
|
},
|
|
609
612
|
onOpenChange(r) {
|
|
610
|
-
this
|
|
613
|
+
const e = r.find((t) => !this.openKeys.includes(t));
|
|
614
|
+
e ? this.$store.setOpenKeys([e]) : this.$store.setOpenKeys([]);
|
|
611
615
|
},
|
|
612
616
|
selectMenuClick() {
|
|
613
617
|
if (!this.selectValue) {
|
|
@@ -683,7 +687,7 @@ function h9e(r, e, t, n, i, o) {
|
|
|
683
687
|
])
|
|
684
688
|
]);
|
|
685
689
|
}
|
|
686
|
-
const d9e = /* @__PURE__ */ hr(a9e, [["render", h9e], ["__scopeId", "data-v-
|
|
690
|
+
const d9e = /* @__PURE__ */ hr(a9e, [["render", h9e], ["__scopeId", "data-v-7d7c930f"]]);
|
|
687
691
|
var p9e = typeof global == "object" && global && global.Object === Object && global, v9e = typeof self == "object" && self && self.Object === Object && self, tne = p9e || v9e || Function("return this")(), Q0 = tne.Symbol, rne = Object.prototype, m9e = rne.hasOwnProperty, g9e = rne.toString, P1 = Q0 ? Q0.toStringTag : void 0;
|
|
688
692
|
function O9e(r) {
|
|
689
693
|
var e = m9e.call(r, P1), t = r[P1];
|
|
@@ -792,6 +796,11 @@ function I9e(r, e, t) {
|
|
|
792
796
|
}
|
|
793
797
|
const B9e = {
|
|
794
798
|
name: "MentionInput",
|
|
799
|
+
computed: {
|
|
800
|
+
see() {
|
|
801
|
+
return this.$store?.forms?.see || !1;
|
|
802
|
+
}
|
|
803
|
+
},
|
|
795
804
|
props: {
|
|
796
805
|
modelValue: {
|
|
797
806
|
type: String,
|
|
@@ -1254,11 +1263,11 @@ function F9e(r, e, t, n, i, o) {
|
|
|
1254
1263
|
ref: "inputRef",
|
|
1255
1264
|
class: "mention-input",
|
|
1256
1265
|
style: pn({ height: typeof t.height == "number" ? t.height + "px" : t.height || "120px", ...typeof t.width == "number" ? { width: t.width + "px" } : t.width ? { width: t.width } : {}, ...typeof t.style == "object" ? t.style : {} }),
|
|
1257
|
-
contenteditable: t.mode !== "select",
|
|
1266
|
+
contenteditable: !o.see && t.mode !== "select",
|
|
1258
1267
|
onInput: e[0] || (e[0] = (...h) => o.onInput && o.onInput(...h)),
|
|
1259
1268
|
onKeydown: e[1] || (e[1] = (...h) => o.onKeydown && o.onKeydown(...h)),
|
|
1260
1269
|
onClick: e[2] || (e[2] = (...h) => o.onInputClick && o.onInputClick(...h)),
|
|
1261
|
-
tabindex: "0",
|
|
1270
|
+
tabindex: "see ? -1 : 0",
|
|
1262
1271
|
placeholder: t.placeholder || "请输入内容..."
|
|
1263
1272
|
}, null, 44, V9e),
|
|
1264
1273
|
v0(Rr("div", {
|
|
@@ -1287,7 +1296,7 @@ function F9e(r, e, t, n, i, o) {
|
|
|
1287
1296
|
])
|
|
1288
1297
|
], 512);
|
|
1289
1298
|
}
|
|
1290
|
-
const Q9e = /* @__PURE__ */ hr(B9e, [["render", F9e], ["__scopeId", "data-v-
|
|
1299
|
+
const Q9e = /* @__PURE__ */ hr(B9e, [["render", F9e], ["__scopeId", "data-v-9635e099"]]);
|
|
1291
1300
|
var W9e = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zM648.3 426.8l-87.7 161.1h45.7c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4v29.7h63.4c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4V752c0 5.5-4.5 10-10 10h-41.3c-5.5 0-10-4.5-10-10v-51.8h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h63.1v-29.7h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h45.2l-88-161.1c-2.6-4.8-.9-10.9 4-13.6 1.5-.8 3.1-1.2 4.8-1.2h46c3.8 0 7.2 2.1 8.9 5.5l72.9 144.3 73.2-144.3a10 10 0 018.9-5.5h45c5.5 0 10 4.5 10 10 .1 1.7-.3 3.3-1.1 4.8z" } }] }, name: "account-book", theme: "filled" };
|
|
1292
1301
|
function Qa(r, e) {
|
|
1293
1302
|
U9e(r) && (r = "100%");
|
|
@@ -21997,6 +22006,11 @@ function uGe(r, e, t, n, i, o) {
|
|
|
21997
22006
|
const fGe = /* @__PURE__ */ hr(sGe, [["render", uGe], ["__scopeId", "data-v-04a6b0ef"]]), hGe = {
|
|
21998
22007
|
name: "PaasSelect",
|
|
21999
22008
|
inheritAttrs: !1,
|
|
22009
|
+
computed: {
|
|
22010
|
+
see() {
|
|
22011
|
+
return this.$store?.forms?.see || !1;
|
|
22012
|
+
}
|
|
22013
|
+
},
|
|
22000
22014
|
props: {
|
|
22001
22015
|
placeholder: { type: String, default: "" },
|
|
22002
22016
|
multiple: { type: Boolean, default: !1 },
|
|
@@ -22069,7 +22083,7 @@ function dGe(r, e, t, n, i, o) {
|
|
|
22069
22083
|
mode: t.multiple ? "multiple" : void 0,
|
|
22070
22084
|
value: i.stringValue,
|
|
22071
22085
|
"onUpdate:value": o.handleValueChange,
|
|
22072
|
-
disabled: t.disabled,
|
|
22086
|
+
disabled: o.see || t.disabled,
|
|
22073
22087
|
allowClear: !0,
|
|
22074
22088
|
style: t.style,
|
|
22075
22089
|
placeholder: t.placeholder
|
|
@@ -22084,7 +22098,17 @@ const pGe = /* @__PURE__ */ hr(hGe, [["render", dGe]]), vGe = Rh({
|
|
|
22084
22098
|
name: "PaasPageSelect",
|
|
22085
22099
|
components: { VNodes: vGe, LeftOutlined: X2, RightOutlined: Y2 },
|
|
22086
22100
|
inheritAttrs: !1,
|
|
22087
|
-
|
|
22101
|
+
computed: {
|
|
22102
|
+
see() {
|
|
22103
|
+
return this.$store?.forms?.see || !1;
|
|
22104
|
+
},
|
|
22105
|
+
filteredAttrs() {
|
|
22106
|
+
const r = { ...this.$attrs };
|
|
22107
|
+
return Object.keys(r).forEach((e) => {
|
|
22108
|
+
(e.startsWith("on") || e.startsWith("@") || e.startsWith("on-")) && delete r[e];
|
|
22109
|
+
}), delete r.onChange, r;
|
|
22110
|
+
}
|
|
22111
|
+
},
|
|
22088
22112
|
props: {
|
|
22089
22113
|
placeholder: String,
|
|
22090
22114
|
multiple: { type: Boolean, default: !1 },
|
|
@@ -22194,14 +22218,14 @@ function OGe(r, e, t, n, i, o) {
|
|
|
22194
22218
|
const s = ht("a-input-search"), h = ht("v-nodes"), f = ht("a-divider"), p = ht("LeftOutlined"), v = ht("a-button"), m = ht("RightOutlined"), O = ht("a-select");
|
|
22195
22219
|
return Pt(), Vt(O, Mr({
|
|
22196
22220
|
mode: t.multiple ? "multiple" : void 0,
|
|
22197
|
-
disabled: t.disabled,
|
|
22221
|
+
disabled: o.see || t.disabled,
|
|
22198
22222
|
value: i.value,
|
|
22199
22223
|
options: o.mergedData,
|
|
22200
22224
|
loading: i.loading,
|
|
22201
22225
|
allowClear: !0,
|
|
22202
22226
|
placeholder: t.placeholder,
|
|
22203
22227
|
style: t.style
|
|
22204
|
-
},
|
|
22228
|
+
}, o.filteredAttrs, { onChange: o.change }), {
|
|
22205
22229
|
dropdownRender: ut(({ menuNode: b }) => [
|
|
22206
22230
|
N(s, {
|
|
22207
22231
|
value: i.filter,
|
|
@@ -22217,7 +22241,6 @@ function OGe(r, e, t, n, i, o) {
|
|
|
22217
22241
|
disabled: i.page.current <= 1,
|
|
22218
22242
|
onClick: o.up,
|
|
22219
22243
|
type: "link",
|
|
22220
|
-
ghost: "",
|
|
22221
22244
|
size: "small"
|
|
22222
22245
|
}, {
|
|
22223
22246
|
default: ut(() => [
|
|
@@ -22230,7 +22253,6 @@ function OGe(r, e, t, n, i, o) {
|
|
|
22230
22253
|
disabled: !o.hasNextPage,
|
|
22231
22254
|
onClick: o.down,
|
|
22232
22255
|
type: "link",
|
|
22233
|
-
ghost: "",
|
|
22234
22256
|
size: "small"
|
|
22235
22257
|
}, {
|
|
22236
22258
|
default: ut(() => [
|
|
@@ -22751,7 +22773,7 @@ const RGe = /* @__PURE__ */ hr(jGe, [["render", zGe]]), $Ge = {
|
|
|
22751
22773
|
filteredAttrs() {
|
|
22752
22774
|
const r = { ...this.$attrs };
|
|
22753
22775
|
return Object.keys(r).forEach((e) => {
|
|
22754
|
-
(e.startsWith("on") || e.startsWith("@")) && delete r[e];
|
|
22776
|
+
(e.startsWith("on") || e.startsWith("@") || e.startsWith("on-")) && delete r[e];
|
|
22755
22777
|
}), r;
|
|
22756
22778
|
}
|
|
22757
22779
|
},
|
|
@@ -95324,6 +95346,11 @@ function kQt() {
|
|
|
95324
95346
|
var jQt = kQt();
|
|
95325
95347
|
const zQt = /* @__PURE__ */ hl(jQt), RQt = {
|
|
95326
95348
|
name: "PaasMdEditor",
|
|
95349
|
+
computed: {
|
|
95350
|
+
see() {
|
|
95351
|
+
return this.$store?.forms?.see || !1;
|
|
95352
|
+
}
|
|
95353
|
+
},
|
|
95327
95354
|
props: {
|
|
95328
95355
|
height: {
|
|
95329
95356
|
type: String,
|
|
@@ -95352,8 +95379,9 @@ const zQt = /* @__PURE__ */ hl(jQt), RQt = {
|
|
|
95352
95379
|
initialValue: e,
|
|
95353
95380
|
language: "zh-CN",
|
|
95354
95381
|
usageStatistics: !1,
|
|
95355
|
-
|
|
95356
|
-
|
|
95382
|
+
readOnly: this.see,
|
|
95383
|
+
plugins: this.see ? [] : [wQt, CQt, bQt, EQt, zQt],
|
|
95384
|
+
hooks: this.see ? {} : {
|
|
95357
95385
|
addImageBlobHook: async (t, n) => {
|
|
95358
95386
|
let i;
|
|
95359
95387
|
const o = "/system/open/minio/image/uploadFile", s = new FormData();
|
|
@@ -95525,6 +95553,11 @@ function VQt(r, e, t, n, i, o) {
|
|
|
95525
95553
|
const FQt = /* @__PURE__ */ hr(NQt, [["render", VQt], ["__scopeId", "data-v-6ca5199e"]]), QQt = {
|
|
95526
95554
|
name: "PaasTreePanel",
|
|
95527
95555
|
components: { MenuItemNode: FQt },
|
|
95556
|
+
computed: {
|
|
95557
|
+
see() {
|
|
95558
|
+
return this.$store?.forms?.see || !1;
|
|
95559
|
+
}
|
|
95560
|
+
},
|
|
95528
95561
|
props: {
|
|
95529
95562
|
placeholder: String,
|
|
95530
95563
|
multiple: Boolean,
|
|
@@ -95709,6 +95742,7 @@ function WQt(r, e, t, n, i, o) {
|
|
|
95709
95742
|
selectedKeys: i.selectedKeys,
|
|
95710
95743
|
openKeys: i.openKeys,
|
|
95711
95744
|
multiple: t.multiple,
|
|
95745
|
+
disabled: o.see,
|
|
95712
95746
|
onOpenChange: o.handleOpenChange,
|
|
95713
95747
|
style: pn({ overflowY: "auto", height: `${t.height}` })
|
|
95714
95748
|
}, {
|
|
@@ -95723,7 +95757,7 @@ function WQt(r, e, t, n, i, o) {
|
|
|
95723
95757
|
}, null, 8, ["node", "onSelect", "onEdit", "onDelete", "onAddChild"]))), 128))
|
|
95724
95758
|
]),
|
|
95725
95759
|
_: 1
|
|
95726
|
-
}, 8, ["selectedKeys", "openKeys", "multiple", "onOpenChange", "style"]),
|
|
95760
|
+
}, 8, ["selectedKeys", "openKeys", "multiple", "disabled", "onOpenChange", "style"]),
|
|
95727
95761
|
N(f, {
|
|
95728
95762
|
type: "dashed",
|
|
95729
95763
|
block: "",
|
|
@@ -95789,7 +95823,7 @@ function WQt(r, e, t, n, i, o) {
|
|
|
95789
95823
|
}, 8, ["open", "title"])
|
|
95790
95824
|
]);
|
|
95791
95825
|
}
|
|
95792
|
-
const UQt = /* @__PURE__ */ hr(QQt, [["render", WQt], ["__scopeId", "data-v-
|
|
95826
|
+
const UQt = /* @__PURE__ */ hr(QQt, [["render", WQt], ["__scopeId", "data-v-e8dee1ef"]]), XQt = Rh({
|
|
95793
95827
|
name: "PaasIcon",
|
|
95794
95828
|
props: {
|
|
95795
95829
|
icon: {
|
|
@@ -112404,74 +112438,75 @@ const rJt = "#e5c07b", Zre = "#e06c75", nJt = "#56b6c2", iJt = "#ffffff", H0 = "
|
|
|
112404
112438
|
height: { default: "300px" },
|
|
112405
112439
|
minHeight: { default: "100px" },
|
|
112406
112440
|
maxHeight: { default: "none" },
|
|
112407
|
-
placeholder: { default: "" }
|
|
112441
|
+
placeholder: { default: "" },
|
|
112442
|
+
disabled: { type: Boolean, default: !1 }
|
|
112408
112443
|
},
|
|
112409
112444
|
emits: ["update:modelValue"],
|
|
112410
112445
|
setup(r, { emit: e }) {
|
|
112411
112446
|
const t = r, n = e, i = Mc(null);
|
|
112412
112447
|
let o = null;
|
|
112413
|
-
const s = () => [
|
|
112448
|
+
const s = () => window.store?.forms?.see || !1, h = () => [
|
|
112414
112449
|
// 基础编辑功能
|
|
112415
112450
|
Ht.lineWrapping,
|
|
112416
112451
|
// 历史记录
|
|
112417
112452
|
uZt(),
|
|
112418
112453
|
// 键盘映射
|
|
112419
112454
|
jk.of([...pqt, ...bZt])
|
|
112420
|
-
],
|
|
112455
|
+
], f = {
|
|
112421
112456
|
javascript: [Pce()],
|
|
112422
112457
|
html: [YGt()],
|
|
112423
112458
|
css: [ece()],
|
|
112424
112459
|
json: [tJt()],
|
|
112425
112460
|
plaintext: []
|
|
112426
|
-
},
|
|
112461
|
+
}, p = () => f[t.language] || f.json, v = () => {
|
|
112427
112462
|
if (!i.value) return;
|
|
112428
|
-
const
|
|
112429
|
-
...
|
|
112430
|
-
...
|
|
112431
|
-
Ht.updateListener.of((
|
|
112432
|
-
if (
|
|
112433
|
-
const
|
|
112434
|
-
n("update:modelValue",
|
|
112463
|
+
const O = [
|
|
112464
|
+
...h(),
|
|
112465
|
+
...p(),
|
|
112466
|
+
Ht.updateListener.of((S) => {
|
|
112467
|
+
if (S.docChanged) {
|
|
112468
|
+
const w = S.state.doc.toString();
|
|
112469
|
+
n("update:modelValue", w);
|
|
112435
112470
|
}
|
|
112436
112471
|
}),
|
|
112437
|
-
Ht.editable.of(!t.readonly),
|
|
112472
|
+
Ht.editable.of(!s() && !t.readonly && !t.disabled),
|
|
112438
112473
|
t.placeholder ? uXt(t.placeholder) : [],
|
|
112439
112474
|
t.theme === "dark" ? hJt : []
|
|
112440
|
-
],
|
|
112475
|
+
], b = xr.create({
|
|
112441
112476
|
doc: t.modelValue,
|
|
112442
|
-
extensions:
|
|
112477
|
+
extensions: O
|
|
112443
112478
|
});
|
|
112444
112479
|
o = new Ht({
|
|
112445
|
-
state:
|
|
112480
|
+
state: b,
|
|
112446
112481
|
parent: i.value
|
|
112447
112482
|
});
|
|
112448
|
-
},
|
|
112483
|
+
}, m = () => {
|
|
112449
112484
|
o && (o.destroy(), o = null);
|
|
112450
112485
|
};
|
|
112451
112486
|
return lf(
|
|
112452
112487
|
() => t.modelValue,
|
|
112453
|
-
(
|
|
112454
|
-
o && o.state.doc.toString() !==
|
|
112455
|
-
changes: { from: 0, to: o.state.doc.length, insert:
|
|
112488
|
+
(O) => {
|
|
112489
|
+
o && o.state.doc.toString() !== O && o.dispatch({
|
|
112490
|
+
changes: { from: 0, to: o.state.doc.length, insert: O }
|
|
112456
112491
|
});
|
|
112457
112492
|
}
|
|
112458
112493
|
), lf(
|
|
112459
112494
|
() => [t.language, t.theme, t.readonly],
|
|
112460
112495
|
() => {
|
|
112461
|
-
|
|
112496
|
+
m(), F0(() => v());
|
|
112462
112497
|
}
|
|
112463
112498
|
), ene(() => {
|
|
112464
|
-
p();
|
|
112465
|
-
}), Wye(() => {
|
|
112466
112499
|
v();
|
|
112467
|
-
}), (
|
|
112500
|
+
}), Wye(() => {
|
|
112501
|
+
m();
|
|
112502
|
+
}), (O, b) => (Pt(), Pr("div", {
|
|
112468
112503
|
ref_key: "editorContainer",
|
|
112469
112504
|
ref: i,
|
|
112470
112505
|
class: "code-editor",
|
|
112471
112506
|
style: pn({ height: r.height, minHeight: r.minHeight, maxHeight: r.maxHeight })
|
|
112472
112507
|
}, null, 4));
|
|
112473
112508
|
}
|
|
112474
|
-
}), pJt = /* @__PURE__ */ hr(dJt, [["__scopeId", "data-v-
|
|
112509
|
+
}), pJt = /* @__PURE__ */ hr(dJt, [["__scopeId", "data-v-7f94554b"]]), vJt = {
|
|
112475
112510
|
components: {
|
|
112476
112511
|
SearchOutlined: G2,
|
|
112477
112512
|
DeleteOutlined: $h
|
|
@@ -112756,6 +112791,11 @@ const gJt = /* @__PURE__ */ hr(vJt, [["render", mJt]]), OJt = {
|
|
|
112756
112791
|
name: "OrgPathSelector",
|
|
112757
112792
|
inheritAttrs: !1,
|
|
112758
112793
|
components: { [R6.name]: R6 },
|
|
112794
|
+
computed: {
|
|
112795
|
+
see() {
|
|
112796
|
+
return this.$store?.forms?.see || !1;
|
|
112797
|
+
}
|
|
112798
|
+
},
|
|
112759
112799
|
props: {
|
|
112760
112800
|
modelValue: [String, Number, Array],
|
|
112761
112801
|
selectionType: {
|
|
@@ -112931,7 +112971,7 @@ function bJt(r, e, t, n, i, o) {
|
|
|
112931
112971
|
"load-data": o.loadData,
|
|
112932
112972
|
placeholder: t.placeholder || "请选择",
|
|
112933
112973
|
"show-search": t.showSearch,
|
|
112934
|
-
disabled: t.disabled,
|
|
112974
|
+
disabled: o.see || t.disabled,
|
|
112935
112975
|
size: t.size,
|
|
112936
112976
|
multiple: t.multiple,
|
|
112937
112977
|
"change-on-select": !1,
|
|
@@ -112942,7 +112982,7 @@ function bJt(r, e, t, n, i, o) {
|
|
|
112942
112982
|
style: t.style
|
|
112943
112983
|
}), null, 16, ["value", "options", "load-data", "placeholder", "show-search", "disabled", "size", "multiple", "onChange", "show-checked-strategy", "onDropdownVisibleChange", "style"]);
|
|
112944
112984
|
}
|
|
112945
|
-
const yJt = /* @__PURE__ */ hr(OJt, [["render", bJt], ["__scopeId", "data-v-
|
|
112985
|
+
const yJt = /* @__PURE__ */ hr(OJt, [["render", bJt], ["__scopeId", "data-v-9778246f"]]), SJt = {
|
|
112946
112986
|
name: "PaasImageViewer",
|
|
112947
112987
|
inheritAttrs: !1,
|
|
112948
112988
|
props: {
|
|
@@ -113194,6 +113234,11 @@ const xJt = /* @__PURE__ */ hr(SJt, [["render", wJt], ["__scopeId", "data-v-ea1b
|
|
|
113194
113234
|
name: "PaasInput",
|
|
113195
113235
|
inheritAttrs: !1,
|
|
113196
113236
|
// 禁用自动继承,手动控制透传
|
|
113237
|
+
computed: {
|
|
113238
|
+
see() {
|
|
113239
|
+
return this.$store?.forms?.see || !1;
|
|
113240
|
+
}
|
|
113241
|
+
},
|
|
113197
113242
|
props: {
|
|
113198
113243
|
placeholder: {
|
|
113199
113244
|
type: String,
|
|
@@ -113230,7 +113275,7 @@ function TJt(r, e, t, n, i, o) {
|
|
|
113230
113275
|
type: t.type,
|
|
113231
113276
|
value: t.modelValue,
|
|
113232
113277
|
onInput: o.updateValue,
|
|
113233
|
-
disabled: t.disabled || t.readonly,
|
|
113278
|
+
disabled: o.see || t.disabled || t.readonly,
|
|
113234
113279
|
placeholder: t.placeholder,
|
|
113235
113280
|
style: t.style
|
|
113236
113281
|
}, r.$attrs), null, 16, ["type", "value", "onInput", "disabled", "placeholder", "style"]);
|
|
@@ -113238,6 +113283,11 @@ function TJt(r, e, t, n, i, o) {
|
|
|
113238
113283
|
const CJt = /* @__PURE__ */ hr(PJt, [["render", TJt]]), AJt = {
|
|
113239
113284
|
name: "PaasNumber",
|
|
113240
113285
|
inheritAttrs: !1,
|
|
113286
|
+
computed: {
|
|
113287
|
+
see() {
|
|
113288
|
+
return this.$store?.forms?.see || !1;
|
|
113289
|
+
}
|
|
113290
|
+
},
|
|
113241
113291
|
props: {
|
|
113242
113292
|
placeholder: String,
|
|
113243
113293
|
modelValue: [String, Number],
|
|
@@ -113266,7 +113316,7 @@ function _Jt(r, e, t, n, i, o) {
|
|
|
113266
113316
|
return Pt(), Vt(s, Mr({
|
|
113267
113317
|
value: o.innerValue,
|
|
113268
113318
|
"onUpdate:value": e[0] || (e[0] = (h) => o.innerValue = h),
|
|
113269
|
-
disabled: t.disabled || t.readonly,
|
|
113319
|
+
disabled: o.see || t.disabled || t.readonly,
|
|
113270
113320
|
min: t.min,
|
|
113271
113321
|
max: t.max,
|
|
113272
113322
|
placeholder: t.placeholder,
|
|
@@ -113277,6 +113327,11 @@ const MJt = /* @__PURE__ */ hr(AJt, [["render", _Jt]]), EJt = {
|
|
|
113277
113327
|
name: "PaasTextarea",
|
|
113278
113328
|
inheritAttrs: !1,
|
|
113279
113329
|
// 禁用自动继承,手动控制透传
|
|
113330
|
+
computed: {
|
|
113331
|
+
see() {
|
|
113332
|
+
return this.$store?.forms?.see || !1;
|
|
113333
|
+
}
|
|
113334
|
+
},
|
|
113280
113335
|
props: {
|
|
113281
113336
|
placeholder: {
|
|
113282
113337
|
type: String,
|
|
@@ -113317,7 +113372,7 @@ function kJt(r, e, t, n, i, o) {
|
|
|
113317
113372
|
type: t.type,
|
|
113318
113373
|
value: t.modelValue,
|
|
113319
113374
|
onInput: o.updateValue,
|
|
113320
|
-
disabled: t.disabled || t.readonly,
|
|
113375
|
+
disabled: o.see || t.disabled || t.readonly,
|
|
113321
113376
|
rows: t.rows,
|
|
113322
113377
|
style: t.style,
|
|
113323
113378
|
placeholder: t.placeholder
|
|
@@ -113327,6 +113382,11 @@ const jJt = /* @__PURE__ */ hr(EJt, [["render", kJt]]), zJt = {
|
|
|
113327
113382
|
name: "PaasSwitch",
|
|
113328
113383
|
inheritAttrs: !1,
|
|
113329
113384
|
// 禁用自动继承,手动控制透传
|
|
113385
|
+
computed: {
|
|
113386
|
+
see() {
|
|
113387
|
+
return this.$store?.forms?.see || !1;
|
|
113388
|
+
}
|
|
113389
|
+
},
|
|
113330
113390
|
props: {
|
|
113331
113391
|
modelValue: {
|
|
113332
113392
|
type: [Number, Boolean],
|
|
@@ -113357,7 +113417,7 @@ function RJt(r, e, t, n, i, o) {
|
|
|
113357
113417
|
checked: t.modelValue,
|
|
113358
113418
|
"checked-children": t.checkedText,
|
|
113359
113419
|
"un-checked-children": t.unCheckedText,
|
|
113360
|
-
disabled: t.disabled,
|
|
113420
|
+
disabled: o.see || t.disabled,
|
|
113361
113421
|
onChange: o.handleChange
|
|
113362
113422
|
}, r.$attrs), null, 16, ["checked", "checked-children", "un-checked-children", "disabled", "onChange"]);
|
|
113363
113423
|
}
|
|
@@ -113450,6 +113510,11 @@ function LJt(r, e, t, n, i, o) {
|
|
|
113450
113510
|
const NJt = /* @__PURE__ */ hr(DJt, [["render", LJt]]), IJt = {
|
|
113451
113511
|
name: "PaasRadio",
|
|
113452
113512
|
inheritAttrs: !1,
|
|
113513
|
+
computed: {
|
|
113514
|
+
see() {
|
|
113515
|
+
return this.$store?.forms?.see || !1;
|
|
113516
|
+
}
|
|
113517
|
+
},
|
|
113453
113518
|
props: {
|
|
113454
113519
|
modelValue: {
|
|
113455
113520
|
type: [String, Number, Boolean],
|
|
@@ -113492,7 +113557,7 @@ function BJt(r, e, t, n, i, o) {
|
|
|
113492
113557
|
value: o.innerValue,
|
|
113493
113558
|
"onUpdate:value": e[0] || (e[0] = (h) => o.innerValue = h),
|
|
113494
113559
|
options: o.processedOptions,
|
|
113495
|
-
disabled: t.disabled,
|
|
113560
|
+
disabled: o.see || t.disabled,
|
|
113496
113561
|
style: t.style
|
|
113497
113562
|
}, r.$attrs), null, 16, ["value", "options", "disabled", "style"]);
|
|
113498
113563
|
}
|
|
@@ -113518,6 +113583,9 @@ const HJt = /* @__PURE__ */ hr(IJt, [["render", BJt]]), VJt = {
|
|
|
113518
113583
|
}
|
|
113519
113584
|
},
|
|
113520
113585
|
computed: {
|
|
113586
|
+
see() {
|
|
113587
|
+
return this.$store?.forms?.see || !1;
|
|
113588
|
+
},
|
|
113521
113589
|
processedOptions() {
|
|
113522
113590
|
return (this.options.length > 0 ? this.options : this.data).map((e) => ({
|
|
113523
113591
|
label: e.label,
|
|
@@ -113540,7 +113608,7 @@ function FJt(r, e, t, n, i, o) {
|
|
|
113540
113608
|
value: o.innerValue,
|
|
113541
113609
|
"onUpdate:value": e[0] || (e[0] = (h) => o.innerValue = h),
|
|
113542
113610
|
options: o.processedOptions,
|
|
113543
|
-
disabled: t.disabled
|
|
113611
|
+
disabled: o.see || t.disabled
|
|
113544
113612
|
}, r.$attrs), null, 16, ["value", "options", "disabled"]);
|
|
113545
113613
|
}
|
|
113546
113614
|
const QJt = /* @__PURE__ */ hr(VJt, [["render", FJt]]), jce = [
|