paas-component-library 0.9.67 → 0.9.69

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 CHANGED
@@ -8552,6 +8552,10 @@ const It = (r, e) => {
8552
8552
  name: "PaasCodeEditor",
8553
8553
  components: { Codemirror: jH },
8554
8554
  props: {
8555
+ placeholder: {
8556
+ type: String,
8557
+ default: ""
8558
+ },
8555
8559
  modelValue: {
8556
8560
  type: String,
8557
8561
  default: ""
@@ -8618,12 +8622,17 @@ function TH(r, e, t, n, a, f) {
8618
8622
  height: t.height,
8619
8623
  width: t.width,
8620
8624
  onChange: n.onChange,
8621
- onInput: n.onInput
8622
- }, null, 8, ["value", "options", "height", "width", "onChange", "onInput"]);
8625
+ onInput: n.onInput,
8626
+ placeholder: t.placeholder
8627
+ }, null, 8, ["value", "options", "height", "width", "onChange", "onInput", "placeholder"]);
8623
8628
  }
8624
8629
  const xH = /* @__PURE__ */ It(MH, [["render", TH]]), CH = {
8625
8630
  name: "PaasDate",
8626
8631
  props: {
8632
+ placeholder: {
8633
+ type: String,
8634
+ default: ""
8635
+ },
8627
8636
  type: {
8628
8637
  type: String,
8629
8638
  default: "date"
@@ -8667,8 +8676,9 @@ function AH(r, e, t, n, a, f) {
8667
8676
  value: t.modelValue,
8668
8677
  format: t.format,
8669
8678
  picker: t.type,
8670
- onChange: f.handleChange
8671
- }, null, 8, ["show-time", "readonly", "disabled", "value", "format", "picker", "onChange"]);
8679
+ onChange: f.handleChange,
8680
+ placeholder: t.placeholder
8681
+ }, null, 8, ["show-time", "readonly", "disabled", "value", "format", "picker", "onChange", "placeholder"]);
8672
8682
  }
8673
8683
  const HH = /* @__PURE__ */ It(CH, [["render", AH]]), $H = {
8674
8684
  name: "PaasMenu",
@@ -9005,7 +9015,7 @@ function NH(r, e, t, n, a, f) {
9005
9015
  const h = Be("a-divider"), b = Be("paas-icon"), g = Be("a-button"), y = Be("a-space"), p = Be("a-table");
9006
9016
  return at(), Dr("div", VH, [
9007
9017
  xx(r.$slots, "default"),
9008
- O(h, { style: { "margin-top": "0px", "margin-bottom": "8px" } }),
9018
+ O(h, { style: { "margin-top": "8px", "margin-bottom": "8px" } }),
9009
9019
  O(y, null, {
9010
9020
  default: Re(() => [
9011
9021
  (at(!0), Dr(j1, null, Ha(f.buttons.filter((v) => v.state == 1), (v, s) => (at(), Pt(g, {
@@ -9058,6 +9068,10 @@ function NH(r, e, t, n, a, f) {
9058
9068
  const BH = /* @__PURE__ */ It(FH, [["render", NH]]), IH = {
9059
9069
  name: "PaasSelect",
9060
9070
  props: {
9071
+ placeholder: {
9072
+ type: String,
9073
+ default: ""
9074
+ },
9061
9075
  multiple: {
9062
9076
  type: Boolean,
9063
9077
  default: !1
@@ -9118,12 +9132,17 @@ function RH(r, e, t, n, a, f) {
9118
9132
  "onUpdate:value": e[0] || (e[0] = (b) => a.value = b),
9119
9133
  disabled: t.disabled,
9120
9134
  allowClear: !0,
9121
- style: { "min-width": "200px" }
9122
- }, null, 8, ["options", "mode", "value", "disabled"]);
9135
+ style: { "min-width": "200px" },
9136
+ placeholder: t.placeholder
9137
+ }, null, 8, ["options", "mode", "value", "disabled", "placeholder"]);
9123
9138
  }
9124
9139
  const qH = /* @__PURE__ */ It(IH, [["render", RH]]), UH = {
9125
9140
  name: "PaasTree",
9126
9141
  props: {
9142
+ placeholder: {
9143
+ type: String,
9144
+ default: ""
9145
+ },
9127
9146
  multiple: {
9128
9147
  default: !1
9129
9148
  },
@@ -9196,12 +9215,17 @@ function WH(r, e, t, n, a, f) {
9196
9215
  treeLine: !0,
9197
9216
  fieldNames: t.fieldNames,
9198
9217
  class: "paas-select",
9199
- "tree-default-expand-all": t.open
9200
- }, null, 8, ["tree-data", "value", "mode", "disabled", "fieldNames", "tree-default-expand-all"]);
9218
+ "tree-default-expand-all": t.open,
9219
+ placeholder: t.placeholder
9220
+ }, null, 8, ["tree-data", "value", "mode", "disabled", "fieldNames", "tree-default-expand-all", "placeholder"]);
9201
9221
  }
9202
9222
  const kH = /* @__PURE__ */ It(UH, [["render", WH]]), GH = {
9203
9223
  name: "PaasUploadModal",
9204
9224
  props: {
9225
+ placeholder: {
9226
+ type: String,
9227
+ default: ""
9228
+ },
9205
9229
  open: { type: Boolean, required: !0 },
9206
9230
  url: { type: String, required: !0 },
9207
9231
  params: { type: Object, default: () => ({}) },
@@ -9294,7 +9318,8 @@ function ZH(r, e, t, n, a, f) {
9294
9318
  fileList: a.selectList,
9295
9319
  "onUpdate:fileList": e[0] || (e[0] = (y) => a.selectList = y),
9296
9320
  "before-upload": f.beforeUpload,
9297
- name: t.multiple ? "files" : "file"
9321
+ name: t.multiple ? "files" : "file",
9322
+ placeholder: t.placeholder
9298
9323
  }, {
9299
9324
  default: Re(() => e[2] || (e[2] = [
9300
9325
  vr("p", { class: "ant-upload-drag-icon" }, [
@@ -9303,12 +9328,12 @@ function ZH(r, e, t, n, a, f) {
9303
9328
  vr("p", { class: "ant-upload-text" }, "点击或拖拽文件到此区域上传", -1)
9304
9329
  ])),
9305
9330
  _: 1
9306
- }, 8, ["fileList", "before-upload", "name"])
9331
+ }, 8, ["fileList", "before-upload", "name", "placeholder"])
9307
9332
  ]),
9308
9333
  _: 1
9309
9334
  }, 8, ["open", "title"]);
9310
9335
  }
9311
- const YH = /* @__PURE__ */ It(GH, [["render", ZH], ["__scopeId", "data-v-8ffa6e80"]]), QH = {
9336
+ const YH = /* @__PURE__ */ It(GH, [["render", ZH], ["__scopeId", "data-v-40e503f1"]]), QH = {
9312
9337
  name: "FormDate",
9313
9338
  inject: {
9314
9339
  labelWidth: {
@@ -9317,6 +9342,10 @@ const YH = /* @__PURE__ */ It(GH, [["render", ZH], ["__scopeId", "data-v-8ffa6e8
9317
9342
  }
9318
9343
  },
9319
9344
  props: {
9345
+ placeholder: {
9346
+ type: String,
9347
+ default: ""
9348
+ },
9320
9349
  label: String,
9321
9350
  name: String,
9322
9351
  size: {
@@ -9374,8 +9403,9 @@ function XH(r, e, t, n, a, f) {
9374
9403
  value: t.modelValue,
9375
9404
  format: t.format,
9376
9405
  picker: t.type,
9377
- onChange: f.handleChange
9378
- }, null, 8, ["show-time", "readonly", "disabled", "value", "format", "picker", "onChange"])
9406
+ onChange: f.handleChange,
9407
+ placeholder: t.placeholder
9408
+ }, null, 8, ["show-time", "readonly", "disabled", "value", "format", "picker", "onChange", "placeholder"])
9379
9409
  ]),
9380
9410
  _: 1
9381
9411
  }, 8, ["label", "name", "label-col"])
@@ -9392,6 +9422,10 @@ const JH = /* @__PURE__ */ It(QH, [["render", XH]]), KH = {
9392
9422
  }
9393
9423
  },
9394
9424
  props: {
9425
+ placeholder: {
9426
+ type: String,
9427
+ default: ""
9428
+ },
9395
9429
  label: {
9396
9430
  type: String,
9397
9431
  default: ""
@@ -9451,8 +9485,9 @@ function e$(r, e, t, n, a, f) {
9451
9485
  type: t.type,
9452
9486
  value: t.modelValue,
9453
9487
  onInput: f.updateValue,
9454
- disabled: f.see || t.readonly
9455
- }, null, 8, ["type", "value", "onInput", "disabled"])
9488
+ disabled: f.see || t.readonly,
9489
+ placeholder: t.placeholder
9490
+ }, null, 8, ["type", "value", "onInput", "disabled", "placeholder"])
9456
9491
  ]),
9457
9492
  _: 1
9458
9493
  }, 8, ["label", "name", "icon", "label-col"])
@@ -9469,6 +9504,10 @@ const t$ = /* @__PURE__ */ It(KH, [["render", e$]]), r$ = {
9469
9504
  }
9470
9505
  },
9471
9506
  props: {
9507
+ placeholder: {
9508
+ type: String,
9509
+ default: ""
9510
+ },
9472
9511
  label: {
9473
9512
  type: String,
9474
9513
  default: ""
@@ -9528,8 +9567,9 @@ function n$(r, e, t, n, a, f) {
9528
9567
  O(h, {
9529
9568
  value: t.modelValue,
9530
9569
  onInput: f.updateValue,
9531
- disabled: f.see || t.readonly
9532
- }, null, 8, ["value", "onInput", "disabled"])
9570
+ disabled: f.see || t.readonly,
9571
+ placeholder: t.placeholder
9572
+ }, null, 8, ["value", "onInput", "disabled", "placeholder"])
9533
9573
  ]),
9534
9574
  _: 1
9535
9575
  }, 8, ["label", "name", "icon", "label-col"])
@@ -29761,6 +29801,10 @@ const Ul = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29761
29801
  }
29762
29802
  },
29763
29803
  props: {
29804
+ placeholder: {
29805
+ type: String,
29806
+ default: ""
29807
+ },
29764
29808
  label: {
29765
29809
  type: String,
29766
29810
  default: ""
@@ -29927,7 +29971,8 @@ const Ul = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29927
29971
  options: t.data,
29928
29972
  onChange: t.change,
29929
29973
  style: { "min-width": "200px" },
29930
- allowClear: !0
29974
+ allowClear: !0,
29975
+ placeholder: r.placeholder
29931
29976
  }, {
29932
29977
  dropdownRender: Re(({ menuNode: p }) => [
29933
29978
  O(a, {
@@ -29964,7 +30009,7 @@ const Ul = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29964
30009
  ])
29965
30010
  ]),
29966
30011
  _: 1
29967
- }, 8, ["mode", "disabled", "value", "options", "onChange"])
30012
+ }, 8, ["mode", "disabled", "value", "options", "onChange", "placeholder"])
29968
30013
  ]),
29969
30014
  _: 1
29970
30015
  }, 8, ["label", "name", "label-col"])
@@ -29973,7 +30018,7 @@ const Ul = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29973
30018
  }, 8, ["span"]);
29974
30019
  };
29975
30020
  }
29976
- }), _ce = /* @__PURE__ */ It(jce, [["__scopeId", "data-v-d775a669"]]), Mce = {
30021
+ }), _ce = /* @__PURE__ */ It(jce, [["__scopeId", "data-v-217f9943"]]), Mce = {
29977
30022
  name: "FormSelect",
29978
30023
  inject: {
29979
30024
  labelWidth: {
@@ -29982,6 +30027,10 @@ const Ul = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29982
30027
  }
29983
30028
  },
29984
30029
  props: {
30030
+ placeholder: {
30031
+ type: String,
30032
+ default: ""
30033
+ },
29985
30034
  size: {
29986
30035
  type: Number,
29987
30036
  default: 2
@@ -30069,8 +30118,9 @@ function Tce(r, e, t, n, a, f) {
30069
30118
  disabled: f.see || t.disabled,
30070
30119
  mode: t.multiple ? "multiple" : void 0,
30071
30120
  onChange: f.handleChange,
30072
- params: t.params
30073
- }, null, 8, ["data", "value", "disabled", "mode", "onChange", "params"])
30121
+ params: t.params,
30122
+ placeholder: t.placeholder
30123
+ }, null, 8, ["data", "value", "disabled", "mode", "onChange", "params", "placeholder"])
30074
30124
  ]),
30075
30125
  _: 1
30076
30126
  }, 8, ["label", "name", "label-col"])
@@ -30087,6 +30137,10 @@ const xce = /* @__PURE__ */ It(Mce, [["render", Tce]]), Cce = {
30087
30137
  }
30088
30138
  },
30089
30139
  props: {
30140
+ placeholder: {
30141
+ type: String,
30142
+ default: ""
30143
+ },
30090
30144
  label: String,
30091
30145
  name: String,
30092
30146
  size: {
@@ -30135,8 +30189,9 @@ function Ace(r, e, t, n, a, f) {
30135
30189
  "checked-children": t.checkedText,
30136
30190
  "un-checked-children": t.unCheckedText,
30137
30191
  disabled: f.see || t.disabled,
30138
- onChange: f.change
30139
- }, null, 8, ["checked", "checked-children", "un-checked-children", "disabled", "onChange"])
30192
+ onChange: f.change,
30193
+ placeholder: t.placeholder
30194
+ }, null, 8, ["checked", "checked-children", "un-checked-children", "disabled", "onChange", "placeholder"])
30140
30195
  ]),
30141
30196
  _: 1
30142
30197
  }, 8, ["label", "name", "label-col"])
@@ -30153,6 +30208,10 @@ const Hce = /* @__PURE__ */ It(Cce, [["render", Ace]]), $ce = {
30153
30208
  }
30154
30209
  },
30155
30210
  props: {
30211
+ placeholder: {
30212
+ type: String,
30213
+ default: ""
30214
+ },
30156
30215
  label: String,
30157
30216
  name: String,
30158
30217
  size: {
@@ -30214,8 +30273,9 @@ function Lce(r, e, t, n, a, f) {
30214
30273
  value: t.modelValue,
30215
30274
  format: t.format,
30216
30275
  picker: t.type,
30217
- onChange: f.handleChange
30218
- }, null, 8, ["show-time", "readonly", "disabled", "value", "format", "picker", "onChange"])
30276
+ onChange: f.handleChange,
30277
+ placeholder: t.placeholder
30278
+ }, null, 8, ["show-time", "readonly", "disabled", "value", "format", "picker", "onChange", "placeholder"])
30219
30279
  ]),
30220
30280
  _: 1
30221
30281
  }, 8, ["label", "name"])
@@ -30232,6 +30292,10 @@ const Ece = /* @__PURE__ */ It($ce, [["render", Lce]]), Fce = {
30232
30292
  }
30233
30293
  },
30234
30294
  props: {
30295
+ placeholder: {
30296
+ type: String,
30297
+ default: ""
30298
+ },
30235
30299
  size: {
30236
30300
  type: Number,
30237
30301
  default: 2
@@ -30295,8 +30359,9 @@ function Vce(r, e, t, n, a, f) {
30295
30359
  onChange: f.handleTreeChange,
30296
30360
  url: t.url,
30297
30361
  fieldNames: t.fieldNames,
30298
- open: t.open
30299
- }, null, 8, ["params", "disabled", "multiple", "modelValue", "onChange", "url", "fieldNames", "open"])
30362
+ open: t.open,
30363
+ placeholder: t.placeholder
30364
+ }, null, 8, ["params", "disabled", "multiple", "modelValue", "onChange", "url", "fieldNames", "open", "placeholder"])
30300
30365
  ]),
30301
30366
  _: 1
30302
30367
  }, 8, ["label", "name", "label-col"])
@@ -30313,6 +30378,10 @@ const Dce = /* @__PURE__ */ It(Fce, [["render", Vce]]), Nce = {
30313
30378
  }
30314
30379
  },
30315
30380
  props: {
30381
+ placeholder: {
30382
+ type: String,
30383
+ default: ""
30384
+ },
30316
30385
  modelValue: {
30317
30386
  type: [String, Object, Array],
30318
30387
  default: ""
@@ -30563,7 +30632,7 @@ function Uce(r, e, t, n, a, f) {
30563
30632
  _: 1
30564
30633
  }, 8, ["span"]);
30565
30634
  }
30566
- const Wce = /* @__PURE__ */ It(Nce, [["render", Uce], ["__scopeId", "data-v-fce21187"]]), kce = {
30635
+ const Wce = /* @__PURE__ */ It(Nce, [["render", Uce], ["__scopeId", "data-v-0ea12d73"]]), kce = {
30567
30636
  name: "FormTextarea",
30568
30637
  inject: {
30569
30638
  labelWidth: {
@@ -30572,6 +30641,10 @@ const Wce = /* @__PURE__ */ It(Nce, [["render", Uce], ["__scopeId", "data-v-fce2
30572
30641
  }
30573
30642
  },
30574
30643
  props: {
30644
+ placeholder: {
30645
+ type: String,
30646
+ default: ""
30647
+ },
30575
30648
  label: {
30576
30649
  type: String,
30577
30650
  default: ""
@@ -30637,8 +30710,9 @@ function Gce(r, e, t, n, a, f) {
30637
30710
  onInput: f.updateValue,
30638
30711
  disabled: f.see || t.readonly,
30639
30712
  rows: t.rows,
30640
- style: { width: "100%" }
30641
- }, null, 8, ["type", "value", "onInput", "disabled", "rows"])
30713
+ style: { width: "100%" },
30714
+ placeholder: t.placeholder
30715
+ }, null, 8, ["type", "value", "onInput", "disabled", "rows", "placeholder"])
30642
30716
  ]),
30643
30717
  _: 1
30644
30718
  }, 8, ["label", "name", "icon", "label-col"])
@@ -39688,6 +39762,10 @@ const vx = {
39688
39762
  QuillEditor: f2e
39689
39763
  },
39690
39764
  props: {
39765
+ placeholder: {
39766
+ type: String,
39767
+ default: ""
39768
+ },
39691
39769
  modelValue: String,
39692
39770
  height: {
39693
39771
  default: 350
@@ -39763,12 +39841,17 @@ function h2e(r, e, t, n, a, f) {
39763
39841
  options: a.editorOption,
39764
39842
  contentType: "html",
39765
39843
  style: _x("height: " + this.height + "px;"),
39766
- readOnly: f.see || t.readonly
39767
- }, null, 8, ["content", "options", "style", "readOnly"]);
39844
+ readOnly: f.see || t.readonly,
39845
+ placeholder: t.placeholder
39846
+ }, null, 8, ["content", "options", "style", "readOnly", "placeholder"]);
39768
39847
  }
39769
- const d2e = /* @__PURE__ */ It(s2e, [["render", h2e], ["__scopeId", "data-v-31e00fde"]]), p2e = {
39848
+ const d2e = /* @__PURE__ */ It(s2e, [["render", h2e], ["__scopeId", "data-v-02c77393"]]), p2e = {
39770
39849
  name: "PaasTreePanel",
39771
39850
  props: {
39851
+ placeholder: {
39852
+ type: String,
39853
+ default: ""
39854
+ },
39772
39855
  multiple: {
39773
39856
  default: !1
39774
39857
  },
@@ -39843,8 +39926,9 @@ function v2e(r, e, t, n, a, f) {
39843
39926
  showLine: "",
39844
39927
  height: t.height,
39845
39928
  disabled: f.see || t.disabled,
39846
- "tree-default-expand-all": t.open
39847
- }, null, 8, ["tree-data", "selectedKeys", "fieldNames", "checkable", "height", "disabled", "tree-default-expand-all"]);
39929
+ "tree-default-expand-all": t.open,
39930
+ placeholder: t.placeholder
39931
+ }, null, 8, ["tree-data", "selectedKeys", "fieldNames", "checkable", "height", "disabled", "tree-default-expand-all", "placeholder"]);
39848
39932
  }
39849
39933
  const g2e = /* @__PURE__ */ It(p2e, [["render", v2e]]), m2e = {
39850
39934
  name: "PaasQueryBar",