@newview/ui 1.1.21 → 1.1.22

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.
@@ -17803,7 +17803,7 @@ const _export_sfc = (sfc, props) => {
17803
17803
  }
17804
17804
  return target;
17805
17805
  };
17806
- const _sfc_main$i = {
17806
+ const _sfc_main$j = {
17807
17807
  name: "BAceEditor",
17808
17808
  props: {
17809
17809
  modelValue: String,
@@ -17942,13 +17942,13 @@ const _sfc_main$i = {
17942
17942
  }
17943
17943
  }
17944
17944
  };
17945
- function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
17945
+ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
17946
17946
  return openBlock(), createElementBlock("div", {
17947
17947
  class: "bin-editor-next",
17948
17948
  style: normalizeStyle($options.wrapStyles)
17949
17949
  }, null, 4);
17950
17950
  }
17951
- const BinEditor = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i]]);
17951
+ const BinEditor = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j]]);
17952
17952
  var ace$1 = { exports: {} };
17953
17953
  (function(module, exports) {
17954
17954
  (function() {
@@ -29994,7 +29994,7 @@ var json$1 = { exports: {} };
29994
29994
  });
29995
29995
  })();
29996
29996
  })(json$1);
29997
- const propDefine$p = {
29997
+ const propDefine$q = {
29998
29998
  lang: {
29999
29999
  // 代码编辑器语言 json/javascript/java/sql/elixir/html/css
30000
30000
  type: String,
@@ -30031,12 +30031,12 @@ const propDefine$p = {
30031
30031
  default: {}
30032
30032
  }
30033
30033
  };
30034
- const _sfc_main$h = defineComponent({
30034
+ const _sfc_main$i = defineComponent({
30035
30035
  name: "NvEditor",
30036
30036
  components: { BinEditor },
30037
30037
  emits: [""],
30038
30038
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
30039
- props: propDefine$p,
30039
+ props: propDefine$q,
30040
30040
  setup(props, ctx) {
30041
30041
  return new EditorInstance$1(props, ctx);
30042
30042
  }
@@ -30078,10 +30078,10 @@ let EditorInstance$1 = class EditorInstance2 extends BaseInstance {
30078
30078
  //#endregion BinEditor 编辑器 END
30079
30079
  };
30080
30080
  const Editor_vue_vue_type_style_index_0_scoped_cf6872cf_lang = "";
30081
- const _hoisted_1$c = { class: "monacoEditor" };
30082
- function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
30081
+ const _hoisted_1$d = { class: "monacoEditor" };
30082
+ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
30083
30083
  const _component_BinEditor = resolveComponent("BinEditor");
30084
- return openBlock(), createElementBlock("div", _hoisted_1$c, [
30084
+ return openBlock(), createElementBlock("div", _hoisted_1$d, [
30085
30085
  createVNode(_component_BinEditor, {
30086
30086
  modelValue: _ctx.editorValue,
30087
30087
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.editorValue = $event),
@@ -30097,8 +30097,8 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
30097
30097
  }, null, 8, ["modelValue", "lang", "readonly", "font-size", "wrap", "snippets", "options", "styles"])
30098
30098
  ]);
30099
30099
  }
30100
- const Editor = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-cf6872cf"]]);
30101
- const propDefine$o = {
30100
+ const Editor = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i], ["__scopeId", "data-v-cf6872cf"]]);
30101
+ const propDefine$p = {
30102
30102
  placeholder: {
30103
30103
  // 占位文本
30104
30104
  type: String,
@@ -30125,12 +30125,12 @@ const propDefine$o = {
30125
30125
  default: false
30126
30126
  }
30127
30127
  };
30128
- const _sfc_main$g = defineComponent({
30128
+ const _sfc_main$h = defineComponent({
30129
30129
  name: "NvIconSelect",
30130
30130
  components: {},
30131
30131
  emits: ["update:modelValue", "change"],
30132
30132
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
30133
- props: propDefine$o,
30133
+ props: propDefine$p,
30134
30134
  setup(props, ctx) {
30135
30135
  return new IconSelectInstance(props, ctx);
30136
30136
  }
@@ -31050,15 +31050,15 @@ class IconSelectInstance extends BaseInstance {
31050
31050
  //#endregion Icon 选择 END
31051
31051
  }
31052
31052
  const IconSelect_vue_vue_type_style_index_0_lang = "";
31053
- const _hoisted_1$b = { class: "icon-select" };
31053
+ const _hoisted_1$c = { class: "icon-select" };
31054
31054
  const _hoisted_2$9 = { class: "icon-select-search" };
31055
31055
  const _hoisted_3$6 = { class: "icon-select-list" };
31056
31056
  const _hoisted_4$4 = ["onClick", "title"];
31057
- function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
31057
+ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
31058
31058
  const _component_Icon = resolveComponent("Icon");
31059
31059
  const _component_Input = resolveComponent("Input");
31060
31060
  const _component_Poptip = resolveComponent("Poptip");
31061
- return openBlock(), createElementBlock("div", _hoisted_1$b, [
31061
+ return openBlock(), createElementBlock("div", _hoisted_1$c, [
31062
31062
  _ctx.readonly ? (openBlock(), createBlock(_component_Icon, {
31063
31063
  key: 0,
31064
31064
  type: "iconValue"
@@ -31119,8 +31119,8 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
31119
31119
  }, 8, ["modelValue"]))
31120
31120
  ]);
31121
31121
  }
31122
- const NvIconSelect = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g]]);
31123
- const propDefine$n = {
31122
+ const NvIconSelect = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h]]);
31123
+ const propDefine$o = {
31124
31124
  onlyView: {
31125
31125
  // 是否只读
31126
31126
  type: Boolean,
@@ -31138,11 +31138,11 @@ const propDefine$n = {
31138
31138
  }
31139
31139
  }
31140
31140
  };
31141
- const _sfc_main$f = defineComponent({
31141
+ const _sfc_main$g = defineComponent({
31142
31142
  name: "NvComForm",
31143
31143
  components: { NvIconSelect },
31144
31144
  emits: [""],
31145
- props: propDefine$n,
31145
+ props: propDefine$o,
31146
31146
  setup(props, ctx) {
31147
31147
  return new ComFormInstance$1(props, ctx);
31148
31148
  }
@@ -31277,9 +31277,9 @@ let ComFormInstance$1 = class ComFormInstance2 extends BaseInstance {
31277
31277
  //#endregion 公开Api End
31278
31278
  };
31279
31279
  const ComForm_vue_vue_type_style_index_0_scoped_5fbb5cd3_lang = "";
31280
- const _hoisted_1$a = { class: "comForm" };
31280
+ const _hoisted_1$b = { class: "comForm" };
31281
31281
  const _hoisted_2$8 = { key: 1 };
31282
- function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
31282
+ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
31283
31283
  const _component_com_form = resolveComponent("com-form", true);
31284
31284
  const _component_Card = resolveComponent("Card");
31285
31285
  const _component_Switch = resolveComponent("Switch");
@@ -31307,7 +31307,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
31307
31307
  const _component_FormItem = resolveComponent("FormItem");
31308
31308
  const _component_Col = resolveComponent("Col");
31309
31309
  const _component_Row = resolveComponent("Row");
31310
- return openBlock(), createElementBlock("div", _hoisted_1$a, [
31310
+ return openBlock(), createElementBlock("div", _hoisted_1$b, [
31311
31311
  createElementVNode("div", {
31312
31312
  class: normalizeClass({ onlyViewForm: _ctx.onlyView })
31313
31313
  }, [
@@ -31801,9 +31801,9 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
31801
31801
  ], 2)
31802
31802
  ]);
31803
31803
  }
31804
- const ComForm = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-5fbb5cd3"]]);
31804
+ const ComForm = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__scopeId", "data-v-5fbb5cd3"]]);
31805
31805
  const style = "";
31806
- const propDefine$m = {
31806
+ const propDefine$n = {
31807
31807
  options: {
31808
31808
  // SearchCom 配置项
31809
31809
  type: Array,
@@ -31820,11 +31820,11 @@ const propDefine$m = {
31820
31820
  default: () => 80
31821
31821
  }
31822
31822
  };
31823
- const _sfc_main$e = defineComponent({
31823
+ const _sfc_main$f = defineComponent({
31824
31824
  name: "NvSearchCom",
31825
31825
  components: {},
31826
31826
  emits: ["search"],
31827
- props: propDefine$m,
31827
+ props: propDefine$n,
31828
31828
  setup(props, ctx) {
31829
31829
  return new SearchComInstance$1(props, ctx);
31830
31830
  }
@@ -31940,7 +31940,7 @@ let SearchComInstance$1 = class SearchComInstance2 extends BaseInstance {
31940
31940
  //#endregion AutoComplete END
31941
31941
  };
31942
31942
  const SearchCom_vue_vue_type_style_index_0_scoped_cda08489_lang = "";
31943
- function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
31943
+ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
31944
31944
  const _component_Input = resolveComponent("Input");
31945
31945
  const _component_Radio = resolveComponent("Radio");
31946
31946
  const _component_RadioGroup = resolveComponent("RadioGroup");
@@ -32127,8 +32127,8 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
32127
32127
  _: 1
32128
32128
  }, 8, ["model", "label-width"]);
32129
32129
  }
32130
- const SearchCom = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e], ["__scopeId", "data-v-cda08489"]]);
32131
- const propDefine$l = {
32130
+ const SearchCom = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-cda08489"]]);
32131
+ const propDefine$m = {
32132
32132
  options: {
32133
32133
  // 配置项
32134
32134
  type: Array,
@@ -32150,11 +32150,11 @@ const propDefine$l = {
32150
32150
  default: 3
32151
32151
  }
32152
32152
  };
32153
- const _sfc_main$d = defineComponent({
32153
+ const _sfc_main$e = defineComponent({
32154
32154
  name: "NvToolbar",
32155
32155
  components: {},
32156
32156
  emits: [""],
32157
- props: propDefine$l,
32157
+ props: propDefine$m,
32158
32158
  setup(props, ctx) {
32159
32159
  return new ToolbarInstance$1(props, ctx);
32160
32160
  }
@@ -32285,10 +32285,10 @@ let ToolbarInstance$1 = class ToolbarInstance2 extends BaseInstance {
32285
32285
  //#endregion 业务逻辑 END
32286
32286
  };
32287
32287
  const Toolbar_vue_vue_type_style_index_0_scoped_69337cbe_lang = "";
32288
- const _hoisted_1$9 = { class: "toolbar" };
32288
+ const _hoisted_1$a = { class: "toolbar" };
32289
32289
  const _hoisted_2$7 = { style: { "display": "none" } };
32290
32290
  const _hoisted_3$5 = { key: 0 };
32291
- function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
32291
+ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
32292
32292
  const _component_Button = resolveComponent("Button");
32293
32293
  const _component_ButtonGroup = resolveComponent("ButtonGroup");
32294
32294
  const _component_Divider = resolveComponent("Divider");
@@ -32297,7 +32297,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
32297
32297
  const _component_DropdownMenu = resolveComponent("DropdownMenu");
32298
32298
  const _component_Dropdown = resolveComponent("Dropdown");
32299
32299
  const _component_Space = resolveComponent("Space");
32300
- return openBlock(), createElementBlock("div", _hoisted_1$9, [
32300
+ return openBlock(), createElementBlock("div", _hoisted_1$a, [
32301
32301
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.mainOptions, (item2, index2) => {
32302
32302
  return openBlock(), createElementBlock("div", _hoisted_2$7, [
32303
32303
  _ctx.getIsShow(item2) ? (openBlock(), createElementBlock("span", _hoisted_3$5)) : createCommentVNode("", true)
@@ -32408,7 +32408,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
32408
32408
  }))
32409
32409
  ]);
32410
32410
  }
32411
- const Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-69337cbe"]]);
32411
+ const Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e], ["__scopeId", "data-v-69337cbe"]]);
32412
32412
  const GridCellContent = defineComponent({
32413
32413
  name: "GridCellContent",
32414
32414
  props: {
@@ -32451,7 +32451,7 @@ const GridTitleContent = defineComponent({
32451
32451
  return this.$props.column.titleFormat(h, this.$props.column);
32452
32452
  }
32453
32453
  });
32454
- const propDefine$k = {
32454
+ const propDefine$l = {
32455
32455
  columns: {
32456
32456
  // 列配置项
32457
32457
  type: Array,
@@ -32463,11 +32463,11 @@ const propDefine$k = {
32463
32463
  }
32464
32464
  }
32465
32465
  };
32466
- const _sfc_main$c = defineComponent({
32466
+ const _sfc_main$d = defineComponent({
32467
32467
  name: "GridColumn",
32468
32468
  components: { VxeColumn, VxeColgroup, GridCellContent, GridTitleContent },
32469
32469
  emits: ["clearRadioRow", "change", "delete", "addchild"],
32470
- props: propDefine$k,
32470
+ props: propDefine$l,
32471
32471
  setup(props, ctx) {
32472
32472
  return new GridColumnInstance(props, ctx);
32473
32473
  }
@@ -32907,9 +32907,9 @@ class GridColumnInstance extends BaseInstance {
32907
32907
  //#endregion
32908
32908
  }
32909
32909
  const GridColumn_vue_vue_type_style_index_0_lang = "";
32910
- const GridColumn_vue_vue_type_style_index_1_scoped_3e96f3e4_lang = "";
32911
- const _hoisted_1$8 = { class: "gridColumn" };
32912
- function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
32910
+ const GridColumn_vue_vue_type_style_index_1_scoped_4b006467_lang = "";
32911
+ const _hoisted_1$9 = { class: "gridColumn" };
32912
+ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
32913
32913
  const _component_GridTitleContent = resolveComponent("GridTitleContent");
32914
32914
  const _component_grid_column = resolveComponent("grid-column", true);
32915
32915
  const _component_vxe_colgroup = resolveComponent("vxe-colgroup");
@@ -32926,9 +32926,10 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
32926
32926
  const _component_TreeSelect = resolveComponent("TreeSelect");
32927
32927
  const _component_Checkbox = resolveComponent("Checkbox");
32928
32928
  const _component_Switch = resolveComponent("Switch");
32929
+ const _component_ColorPicker = resolveComponent("ColorPicker");
32929
32930
  const _component_Button = resolveComponent("Button");
32930
32931
  const _component_Space = resolveComponent("Space");
32931
- return openBlock(), createElementBlock("div", _hoisted_1$8, [
32932
+ return openBlock(), createElementBlock("div", _hoisted_1$9, [
32932
32933
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.columns, (column) => {
32933
32934
  return openBlock(), createElementBlock(Fragment, null, [
32934
32935
  _ctx.getHasColgroup(column) && _ctx.getVisible(column) ? (openBlock(), createBlock(_component_vxe_colgroup, {
@@ -33010,7 +33011,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
33010
33011
  }, null, 8, ["column", "row"])
33011
33012
  ]),
33012
33013
  _: 2
33013
- }, 1032, ["field", "min-width", "width", "resizable", "visible", "fixed", "align", "header-align", "footer-align", "show-overflow", "show-header-overflow", "show-footer-overflow", "class-name", "header-class-name", "footer-class-name", "formatter", "sortable", "sort-by", "sort-type", "tree-node"])) : column.colType == "ed" || column.colType == "password" || column.colType == "auto" || column.colType == "date" || column.colType == "time" || column.colType == "num" || column.colType == "select" || column.colType == "treeSelect" || column.colType == "ch" || column.colType == "switch" ? (openBlock(), createBlock(_component_vxe_column, {
33014
+ }, 1032, ["field", "min-width", "width", "resizable", "visible", "fixed", "align", "header-align", "footer-align", "show-overflow", "show-header-overflow", "show-footer-overflow", "class-name", "header-class-name", "footer-class-name", "formatter", "sortable", "sort-by", "sort-type", "tree-node"])) : column.colType == "ed" || column.colType == "password" || column.colType == "auto" || column.colType == "date" || column.colType == "time" || column.colType == "num" || column.colType == "select" || column.colType == "treeSelect" || column.colType == "ch" || column.colType == "switch" || column.colType == "color" ? (openBlock(), createBlock(_component_vxe_column, {
33014
33015
  key: 4,
33015
33016
  field: column.field,
33016
33017
  "min-width": column.minWidth,
@@ -33129,7 +33130,15 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
33129
33130
  }, column.switchConfig, {
33130
33131
  onOnChange: ($event) => _ctx.doChange(column, scope.row),
33131
33132
  disabled: _ctx.getIsEnableSw(column)
33132
- }), null, 16, ["modelValue", "onUpdate:modelValue", "onOnChange", "disabled"])) : createCommentVNode("", true)
33133
+ }), null, 16, ["modelValue", "onUpdate:modelValue", "onOnChange", "disabled"])) : column.colType == "color" ? (openBlock(), createBlock(_component_ColorPicker, {
33134
+ key: 10,
33135
+ class: "nvgridcell-color",
33136
+ modelValue: scope.row[_ctx.getField(column)],
33137
+ "onUpdate:modelValue": ($event) => scope.row[_ctx.getField(column)] = $event,
33138
+ transfer: "",
33139
+ "transfer-class-name": "nvgridcell-color-transfer",
33140
+ onOnChange: ($event) => _ctx.doChange(column, scope.row)
33141
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "onOnChange"])) : createCommentVNode("", true)
33133
33142
  ]),
33134
33143
  default: withCtx(({ row }) => [
33135
33144
  column.colType == "ch" ? (openBlock(), createBlock(_component_Checkbox, {
@@ -33147,8 +33156,14 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
33147
33156
  }, column.switchConfig, {
33148
33157
  onOnChange: ($event) => _ctx.doChange(column, row),
33149
33158
  disabled: _ctx.getIsEnableSw(column)
33150
- }), null, 16, ["modelValue", "onUpdate:modelValue", "onOnChange", "disabled"])) : (openBlock(), createBlock(_component_GridCellContent, {
33159
+ }), null, 16, ["modelValue", "onUpdate:modelValue", "onOnChange", "disabled"])) : column.colType == "color" ? (openBlock(), createBlock(_component_ColorPicker, {
33151
33160
  key: 2,
33161
+ class: "nvgridcell-color",
33162
+ modelValue: row[_ctx.getField(column)],
33163
+ "onUpdate:modelValue": ($event) => row[_ctx.getField(column)] = $event,
33164
+ disabled: true
33165
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (openBlock(), createBlock(_component_GridCellContent, {
33166
+ key: 3,
33152
33167
  column,
33153
33168
  row
33154
33169
  }, null, 8, ["column", "row"]))
@@ -33232,8 +33247,8 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
33232
33247
  }), 256))
33233
33248
  ]);
33234
33249
  }
33235
- const GridColumn = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$c], ["__scopeId", "data-v-3e96f3e4"]]);
33236
- const _sfc_main$b = defineComponent({
33250
+ const GridColumn = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-4b006467"]]);
33251
+ const _sfc_main$c = defineComponent({
33237
33252
  name: "FilterDaterange",
33238
33253
  props: {
33239
33254
  params: Object
@@ -33272,15 +33287,15 @@ const _sfc_main$b = defineComponent({
33272
33287
  };
33273
33288
  }
33274
33289
  });
33275
- const _hoisted_1$7 = { class: "nv-flex" };
33290
+ const _hoisted_1$8 = { class: "nv-flex" };
33276
33291
  const _hoisted_2$6 = {
33277
33292
  key: 0,
33278
33293
  style: { "font-size": "12px", "color": "#f00", "text-align": "center" }
33279
33294
  };
33280
- function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
33295
+ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
33281
33296
  const _component_DatePicker = resolveComponent("DatePicker");
33282
33297
  return openBlock(), createElementBlock("div", null, [
33283
- createElementVNode("div", _hoisted_1$7, [
33298
+ createElementVNode("div", _hoisted_1$8, [
33284
33299
  _ctx.filterDateRangeVal.option.data && _ctx.filterDateRangeVal.option.data.length > 0 ? (openBlock(), createBlock(_component_DatePicker, {
33285
33300
  key: 0,
33286
33301
  modelValue: _ctx.filterDateRangeVal.option.data,
@@ -33295,8 +33310,8 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
33295
33310
  _ctx.warningMsg.isShow ? (openBlock(), createElementBlock("div", _hoisted_2$6, "起始时间不能大于结束时间")) : createCommentVNode("", true)
33296
33311
  ]);
33297
33312
  }
33298
- const FilterDaterange = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b]]);
33299
- const _sfc_main$a = defineComponent({
33313
+ const FilterDaterange = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$c]]);
33314
+ const _sfc_main$b = defineComponent({
33300
33315
  name: "FilterDaterange",
33301
33316
  props: {
33302
33317
  params: Object
@@ -33338,16 +33353,16 @@ const _sfc_main$a = defineComponent({
33338
33353
  };
33339
33354
  }
33340
33355
  });
33341
- const _hoisted_1$6 = { class: "nv-flex" };
33356
+ const _hoisted_1$7 = { class: "nv-flex" };
33342
33357
  const _hoisted_2$5 = /* @__PURE__ */ createElementVNode("span", null, " ~ ", -1);
33343
33358
  const _hoisted_3$4 = {
33344
33359
  key: 0,
33345
33360
  style: { "font-size": "12px", "color": "#f00", "text-align": "center" }
33346
33361
  };
33347
- function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
33362
+ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
33348
33363
  const _component_vxe_input = resolveComponent("vxe-input");
33349
33364
  return openBlock(), createElementBlock("div", null, [
33350
- createElementVNode("div", _hoisted_1$6, [
33365
+ createElementVNode("div", _hoisted_1$7, [
33351
33366
  _ctx.filterDateRangeVal.option.data && _ctx.filterDateRangeVal.option.data.length > 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
33352
33367
  createVNode(_component_vxe_input, {
33353
33368
  modelValue: _ctx.filterDateRangeVal.option.data[0],
@@ -33371,7 +33386,7 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
33371
33386
  _ctx.warningMsg.isShow ? (openBlock(), createElementBlock("div", _hoisted_3$4, "起始值不能大于结束值")) : createCommentVNode("", true)
33372
33387
  ]);
33373
33388
  }
33374
- const FilterNumberrange = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a]]);
33389
+ const FilterNumberrange = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b]]);
33375
33390
  const CreatGridRenderer = () => {
33376
33391
  if (!VXETable.renderer.get("filterDaterange")) {
33377
33392
  VXETable.renderer.add("filterDaterange", {
@@ -33412,7 +33427,7 @@ const CreatGridRenderer = () => {
33412
33427
  });
33413
33428
  }
33414
33429
  };
33415
- const propDefine$j = {
33430
+ const propDefine$k = {
33416
33431
  option: {
33417
33432
  // Gird 配置项
33418
33433
  type: Object,
@@ -33463,7 +33478,7 @@ const propDefine$j = {
33463
33478
  }
33464
33479
  }
33465
33480
  };
33466
- const _sfc_main$9 = defineComponent({
33481
+ const _sfc_main$a = defineComponent({
33467
33482
  name: "NvGrid",
33468
33483
  components: {
33469
33484
  VxeGrid,
@@ -33474,7 +33489,7 @@ const _sfc_main$9 = defineComponent({
33474
33489
  GridColumn
33475
33490
  },
33476
33491
  emits: [""],
33477
- props: propDefine$j,
33492
+ props: propDefine$k,
33478
33493
  setup(props, ctx) {
33479
33494
  return new GridInstance$1(props, ctx);
33480
33495
  }
@@ -34367,9 +34382,12 @@ let GridInstance$1 = class GridInstance2 extends BaseInstance {
34367
34382
  * @param row
34368
34383
  */
34369
34384
  __publicField(this, "doDelete", (row) => {
34385
+ var _a;
34386
+ let doDelMsgKeyCol = (_a = this.props.option.columns) == null ? void 0 : _a.find((e) => e["isDelKey"]);
34387
+ let doDelMsgKey = doDelMsgKeyCol ? doDelMsgKeyCol.field : "";
34370
34388
  this.modal.confirm({
34371
34389
  title: "提示",
34372
- content: "数据删除后不可恢复, 确定要删除数据吗?",
34390
+ content: `数据删除后不可恢复, 确定要删除${doDelMsgKey ? `【` + row[doDelMsgKey] + `】` : "该数据"}吗?`,
34373
34391
  onOk: async () => {
34374
34392
  if (this.utilities.isNull(row.Id)) {
34375
34393
  return;
@@ -34729,7 +34747,7 @@ let GridInstance$1 = class GridInstance2 extends BaseInstance {
34729
34747
  };
34730
34748
  const Grid_vue_vue_type_style_index_0_scoped_00d87d37_lang = "";
34731
34749
  const _withScopeId = (n) => (pushScopeId("data-v-00d87d37"), n = n(), popScopeId(), n);
34732
- const _hoisted_1$5 = { class: "nv-crud nv-pos-r" };
34750
+ const _hoisted_1$6 = { class: "nv-crud nv-pos-r" };
34733
34751
  const _hoisted_2$4 = { class: "grid-msg" };
34734
34752
  const _hoisted_3$3 = { class: "nv-crud-body" };
34735
34753
  const _hoisted_4$3 = { class: "nv-crud-body-search" };
@@ -34750,7 +34768,7 @@ const _hoisted_9$1 = {
34750
34768
  key: 0,
34751
34769
  class: "nv-crud-footer"
34752
34770
  };
34753
- function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
34771
+ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
34754
34772
  var _a;
34755
34773
  const _component_Icon = resolveComponent("Icon");
34756
34774
  const _component_Spin = resolveComponent("Spin");
@@ -34764,7 +34782,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
34764
34782
  const _component_grid_column = resolveComponent("grid-column");
34765
34783
  const _component_vxe_table = resolveComponent("vxe-table");
34766
34784
  const _component_Page = resolveComponent("Page");
34767
- return openBlock(), createElementBlock("div", _hoisted_1$5, [
34785
+ return openBlock(), createElementBlock("div", _hoisted_1$6, [
34768
34786
  createVNode(_component_Spin, {
34769
34787
  fix: "",
34770
34788
  show: _ctx.doMethodLoading.show,
@@ -34949,8 +34967,8 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
34949
34967
  ])) : createCommentVNode("", true)
34950
34968
  ]);
34951
34969
  }
34952
- const Grid = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-00d87d37"]]);
34953
- const propDefine$i = {
34970
+ const Grid = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a], ["__scopeId", "data-v-00d87d37"]]);
34971
+ const propDefine$j = {
34954
34972
  width: {
34955
34973
  // Box 宽度
34956
34974
  type: String,
@@ -34985,11 +35003,11 @@ const propDefine$i = {
34985
35003
  default: false
34986
35004
  }
34987
35005
  };
34988
- const _sfc_main$8 = defineComponent({
35006
+ const _sfc_main$9 = defineComponent({
34989
35007
  name: "NvBox",
34990
35008
  components: {},
34991
35009
  emits: ["change", "on-back"],
34992
- props: propDefine$i,
35010
+ props: propDefine$j,
34993
35011
  setup(props, ctx) {
34994
35012
  return new BoxInstance$1(props, ctx);
34995
35013
  }
@@ -35071,7 +35089,7 @@ let BoxInstance$1 = class BoxInstance2 extends BaseInstance {
35071
35089
  //#endregion Box END
35072
35090
  };
35073
35091
  const Box_vue_vue_type_style_index_0_scoped_1277c62b_lang = "";
35074
- const _hoisted_1$4 = ["title"];
35092
+ const _hoisted_1$5 = ["title"];
35075
35093
  const _hoisted_2$3 = {
35076
35094
  key: 0,
35077
35095
  class: "nv-box-head"
@@ -35085,7 +35103,7 @@ const _hoisted_5$1 = {
35085
35103
  key: 3,
35086
35104
  class: "nv-box-footer"
35087
35105
  };
35088
- function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
35106
+ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
35089
35107
  const _component_Icon = resolveComponent("Icon");
35090
35108
  const _component_Divider = resolveComponent("Divider");
35091
35109
  const _component_Col = resolveComponent("Col");
@@ -35150,24 +35168,24 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
35150
35168
  ], 512)), [
35151
35169
  [vShow, _ctx.isExpand]
35152
35170
  ]) : createCommentVNode("", true)
35153
- ], 10, _hoisted_1$4)
35171
+ ], 10, _hoisted_1$5)
35154
35172
  ]),
35155
35173
  _: 3
35156
35174
  }, 8, ["style"]);
35157
35175
  }
35158
- const Box = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$8], ["__scopeId", "data-v-1277c62b"]]);
35159
- const propDefine$h = {
35176
+ const Box = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-1277c62b"]]);
35177
+ const propDefine$i = {
35160
35178
  gutter: {
35161
35179
  // 栅格间的间距
35162
35180
  type: Number,
35163
35181
  default: 0
35164
35182
  }
35165
35183
  };
35166
- const _sfc_main$7 = defineComponent({
35184
+ const _sfc_main$8 = defineComponent({
35167
35185
  name: "NvPage",
35168
35186
  components: {},
35169
35187
  emits: [""],
35170
- props: propDefine$h,
35188
+ props: propDefine$i,
35171
35189
  setup(props, ctx) {
35172
35190
  return new PageInstance$1(props, ctx);
35173
35191
  }
@@ -35184,7 +35202,7 @@ let PageInstance$1 = class PageInstance2 extends BaseInstance {
35184
35202
  }
35185
35203
  };
35186
35204
  const Page_vue_vue_type_style_index_0_scoped_22d5952e_lang = "";
35187
- function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
35205
+ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
35188
35206
  const _component_Row = resolveComponent("Row");
35189
35207
  return openBlock(), createBlock(_component_Row, {
35190
35208
  class: "page",
@@ -35196,8 +35214,8 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
35196
35214
  _: 3
35197
35215
  }, 8, ["gutter"]);
35198
35216
  }
35199
- const Page = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-22d5952e"]]);
35200
- const propDefine$g = {
35217
+ const Page = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$8], ["__scopeId", "data-v-22d5952e"]]);
35218
+ const propDefine$h = {
35201
35219
  splitValue: {
35202
35220
  // 分割值大小
35203
35221
  type: Number,
@@ -35214,12 +35232,12 @@ const propDefine$g = {
35214
35232
  default: "200px"
35215
35233
  }
35216
35234
  };
35217
- const _sfc_main$6 = defineComponent({
35235
+ const _sfc_main$7 = defineComponent({
35218
35236
  name: "NvPage2L",
35219
35237
  components: {},
35220
35238
  emits: [""],
35221
35239
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
35222
- props: propDefine$g,
35240
+ props: propDefine$h,
35223
35241
  setup(props, ctx) {
35224
35242
  return new Page2LInstance$1(props, ctx);
35225
35243
  }
@@ -35251,12 +35269,12 @@ let Page2LInstance$1 = class Page2LInstance2 extends BaseInstance {
35251
35269
  //#endregion 面板 END
35252
35270
  };
35253
35271
  const Page2L_vue_vue_type_style_index_0_scoped_92af6688_lang = "";
35254
- const _hoisted_1$3 = { class: "page2L" };
35272
+ const _hoisted_1$4 = { class: "page2L" };
35255
35273
  const _hoisted_2$2 = { class: "md-content" };
35256
- function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
35274
+ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
35257
35275
  const _component_Split = resolveComponent("Split");
35258
35276
  const _component_NvPage = resolveComponent("NvPage");
35259
- return openBlock(), createElementBlock("div", _hoisted_1$3, [
35277
+ return openBlock(), createElementBlock("div", _hoisted_1$4, [
35260
35278
  createElementVNode("div", _hoisted_2$2, [
35261
35279
  createVNode(_component_NvPage, null, {
35262
35280
  default: withCtx(() => [
@@ -35280,7 +35298,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
35280
35298
  ])
35281
35299
  ]);
35282
35300
  }
35283
- const Page2L = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-92af6688"]]);
35301
+ const Page2L = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-92af6688"]]);
35284
35302
  const ListContent = defineComponent({
35285
35303
  name: "ListContent",
35286
35304
  props: {
@@ -35308,19 +35326,19 @@ const ListContent = defineComponent({
35308
35326
  return "";
35309
35327
  }
35310
35328
  });
35311
- const propDefine$f = {
35329
+ const propDefine$g = {
35312
35330
  option: {
35313
35331
  // List 配置项
35314
35332
  type: Object,
35315
35333
  default: () => ({})
35316
35334
  }
35317
35335
  };
35318
- const _sfc_main$5 = defineComponent({
35336
+ const _sfc_main$6 = defineComponent({
35319
35337
  name: "NvList",
35320
35338
  components: { ListContent },
35321
35339
  emits: ["select"],
35322
35340
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
35323
- props: propDefine$f,
35341
+ props: propDefine$g,
35324
35342
  setup(props, ctx) {
35325
35343
  return new ListInstance$1(props, ctx);
35326
35344
  }
@@ -35474,13 +35492,13 @@ let ListInstance$1 = class ListInstance2 extends BaseInstance {
35474
35492
  //#endregion Cell 操作 END
35475
35493
  };
35476
35494
  const List_vue_vue_type_style_index_0_scoped_9d6c9980_lang = "";
35477
- const _hoisted_1$2 = { class: "list" };
35478
- function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
35495
+ const _hoisted_1$3 = { class: "list" };
35496
+ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
35479
35497
  const _component_Spin = resolveComponent("Spin");
35480
35498
  const _component_ListContent = resolveComponent("ListContent");
35481
35499
  const _component_Cell = resolveComponent("Cell");
35482
35500
  const _component_CellGroup = resolveComponent("CellGroup");
35483
- return openBlock(), createElementBlock("div", _hoisted_1$2, [
35501
+ return openBlock(), createElementBlock("div", _hoisted_1$3, [
35484
35502
  _ctx.loadDataing ? (openBlock(), createBlock(_component_Spin, {
35485
35503
  key: 0,
35486
35504
  fix: ""
@@ -35526,7 +35544,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
35526
35544
  }, 8, ["onOnClick"])
35527
35545
  ]);
35528
35546
  }
35529
- const List = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-9d6c9980"]]);
35547
+ const List = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-9d6c9980"]]);
35530
35548
  /*! @preserve
35531
35549
  * luckysheet
35532
35550
  * version: 2.1.13
@@ -189528,7 +189546,7 @@ class ReportApi extends BaseInstance {
189528
189546
  }
189529
189547
  class LuckySheet extends ReportApi {
189530
189548
  }
189531
- const propDefine$e = {
189549
+ const propDefine$f = {
189532
189550
  width: {
189533
189551
  // 宽度
189534
189552
  type: String,
@@ -189550,12 +189568,12 @@ const propDefine$e = {
189550
189568
  default: ""
189551
189569
  }
189552
189570
  };
189553
- const _sfc_main$4 = defineComponent({
189571
+ const _sfc_main$5 = defineComponent({
189554
189572
  name: "NvControlGroup",
189555
189573
  components: {},
189556
189574
  emits: ["click"],
189557
189575
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
189558
- props: propDefine$e,
189576
+ props: propDefine$f,
189559
189577
  setup(props, ctx) {
189560
189578
  return new ControlGroupInstance(props, ctx);
189561
189579
  }
@@ -189593,7 +189611,7 @@ class ControlGroupInstance extends BaseInstance {
189593
189611
  //#endregion 控件组 END
189594
189612
  }
189595
189613
  const ControlGroup_vue_vue_type_style_index_0_scoped_fd687636_lang = "";
189596
- function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
189614
+ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
189597
189615
  const _component_Button = resolveComponent("Button");
189598
189616
  return openBlock(), createElementBlock("div", {
189599
189617
  class: "controlGroup",
@@ -189617,8 +189635,8 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
189617
189635
  }, null, 8, ["icon", "onClick"])) : createCommentVNode("", true)
189618
189636
  ], 4);
189619
189637
  }
189620
- const ControlGroup = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-fd687636"]]);
189621
- const propDefine$d = {
189638
+ const ControlGroup = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-fd687636"]]);
189639
+ const propDefine$e = {
189622
189640
  linkParam: {
189623
189641
  // 带入的参数
189624
189642
  type: String,
@@ -189630,12 +189648,12 @@ const propDefine$d = {
189630
189648
  default: "-"
189631
189649
  }
189632
189650
  };
189633
- const _sfc_main$3 = defineComponent({
189651
+ const _sfc_main$4 = defineComponent({
189634
189652
  name: "LogPanel",
189635
189653
  components: {},
189636
189654
  emits: [""],
189637
189655
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
189638
- props: propDefine$d,
189656
+ props: propDefine$e,
189639
189657
  setup(props, ctx) {
189640
189658
  return new LogPanelInstance(props, ctx);
189641
189659
  }
@@ -189728,7 +189746,7 @@ class LogPanelInstance extends BaseInstance {
189728
189746
  //#endregion 日志信息 END
189729
189747
  }
189730
189748
  const LogPanel_vue_vue_type_style_index_0_scoped_0df58132_lang = "";
189731
- const _hoisted_1$1 = { class: "log-container" };
189749
+ const _hoisted_1$2 = { class: "log-container" };
189732
189750
  const _hoisted_2$1 = { class: "log-header" };
189733
189751
  const _hoisted_3$1 = { class: "log-content" };
189734
189752
  const _hoisted_4$1 = { key: 0 };
@@ -189739,8 +189757,8 @@ const _hoisted_8 = { key: 2 };
189739
189757
  const _hoisted_9 = ["innerHTML"];
189740
189758
  const _hoisted_10 = { key: 3 };
189741
189759
  const _hoisted_11 = ["innerHTML"];
189742
- function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
189743
- return openBlock(), createElementBlock("div", _hoisted_1$1, [
189760
+ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
189761
+ return openBlock(), createElementBlock("div", _hoisted_1$2, [
189744
189762
  createElementVNode("div", _hoisted_2$1, [
189745
189763
  createElementVNode("div", {
189746
189764
  class: normalizeClass("log-header-item" + (_ctx.currentLabel == "all" ? " active" : "")),
@@ -189808,8 +189826,8 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
189808
189826
  ])
189809
189827
  ]);
189810
189828
  }
189811
- const LogPanel = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-0df58132"]]);
189812
- const propDefine$c = {
189829
+ const LogPanel = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-0df58132"]]);
189830
+ const propDefine$d = {
189813
189831
  isSheetGroup: {
189814
189832
  // 是否按sheet页分组返回导入数据
189815
189833
  // 传入true时则不提供选择sheet页下拉列表,会将所有sheet页数据全部返回
@@ -189832,12 +189850,12 @@ const propDefine$c = {
189832
189850
  default: false
189833
189851
  }
189834
189852
  };
189835
- const _sfc_main$2 = defineComponent({
189853
+ const _sfc_main$3 = defineComponent({
189836
189854
  name: "NvExcelImport",
189837
189855
  components: { LogPanel },
189838
189856
  emits: ["import"],
189839
189857
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
189840
- props: propDefine$c,
189858
+ props: propDefine$d,
189841
189859
  setup(props, ctx) {
189842
189860
  return new ExcelImportInstance$1(props, ctx);
189843
189861
  }
@@ -189986,17 +190004,17 @@ let ExcelImportInstance$1 = class ExcelImportInstance2 extends BaseInstance {
189986
190004
  //#endregion 导入Excel END
189987
190005
  };
189988
190006
  const ExcelImport_vue_vue_type_style_index_0_scoped_8f25f8b7_lang = "";
189989
- const _hoisted_1 = { class: "excelImport" };
190007
+ const _hoisted_1$1 = { class: "excelImport" };
189990
190008
  const _hoisted_2 = { class: "excel-header" };
189991
190009
  const _hoisted_3 = ["id", "accept"];
189992
190010
  const _hoisted_4 = { class: "excel-log" };
189993
- function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
190011
+ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
189994
190012
  const _component_Button = resolveComponent("Button");
189995
190013
  const _component_Option = resolveComponent("Option");
189996
190014
  const _component_Select = resolveComponent("Select");
189997
190015
  const _component_Space = resolveComponent("Space");
189998
190016
  const _component_LogPanel = resolveComponent("LogPanel");
189999
- return openBlock(), createElementBlock("div", _hoisted_1, [
190017
+ return openBlock(), createElementBlock("div", _hoisted_1$1, [
190000
190018
  createElementVNode("div", _hoisted_2, [
190001
190019
  createVNode(_component_Space, null, {
190002
190020
  default: withCtx(() => [
@@ -190083,7 +190101,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
190083
190101
  ])
190084
190102
  ]);
190085
190103
  }
190086
- const ExcelImport = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-8f25f8b7"]]);
190104
+ const ExcelImport = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-8f25f8b7"]]);
190087
190105
  class HtmlBase {
190088
190106
  constructor() {
190089
190107
  __publicField(this, "textAlign", {
@@ -191241,7 +191259,7 @@ class HtmlJson {
191241
191259
  };
191242
191260
  }
191243
191261
  }
191244
- const propDefine$b = {
191262
+ const propDefine$c = {
191245
191263
  type: {
191246
191264
  // 按钮类型,可选值为 default、primary、dashed、text、info、success、warning、error
191247
191265
  type: String,
@@ -191283,12 +191301,12 @@ const propDefine$b = {
191283
191301
  default: 300
191284
191302
  }
191285
191303
  };
191286
- const _sfc_main$1 = defineComponent({
191304
+ const _sfc_main$2 = defineComponent({
191287
191305
  name: "NvButton",
191288
191306
  components: {},
191289
191307
  emits: ["click"],
191290
191308
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
191291
- props: propDefine$b,
191309
+ props: propDefine$c,
191292
191310
  setup(props, ctx) {
191293
191311
  return new ButtonInstance(props, ctx);
191294
191312
  }
@@ -191319,7 +191337,7 @@ class ButtonInstance extends BaseInstance {
191319
191337
  }
191320
191338
  //#endregion BinEditor 编辑器 END
191321
191339
  }
191322
- function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
191340
+ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
191323
191341
  const _component_Button = resolveComponent("Button");
191324
191342
  return openBlock(), createBlock(_component_Button, {
191325
191343
  type: _ctx.type,
@@ -191337,7 +191355,64 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
191337
191355
  _: 3
191338
191356
  }, 8, ["type", "ghost", "size", "shape", "disabled", "loading", "icon", "onClick"]);
191339
191357
  }
191340
- const NvButton = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1]]);
191358
+ const NvButton = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2]]);
191359
+ const propDefine$b = {
191360
+ content: {
191361
+ // 加载中文本
191362
+ type: String,
191363
+ default: "加载中..."
191364
+ },
191365
+ fix: {
191366
+ // 是否固定
191367
+ type: Boolean,
191368
+ default: false
191369
+ }
191370
+ };
191371
+ const _sfc_main$1 = defineComponent({
191372
+ name: "NvLoading",
191373
+ components: {},
191374
+ emits: [""],
191375
+ props: propDefine$b,
191376
+ setup(props, ctx) {
191377
+ return new LoadingInstance(props, ctx);
191378
+ }
191379
+ });
191380
+ class LoadingInstance extends BaseInstance {
191381
+ // API实例化
191382
+ // 全局属性
191383
+ constructor(props, ctx) {
191384
+ super();
191385
+ __publicField(this, "props");
191386
+ __publicField(this, "ctx");
191387
+ this.props = props;
191388
+ this.ctx = ctx;
191389
+ }
191390
+ }
191391
+ const Loading_vue_vue_type_style_index_0_scoped_509b33c4_lang = "";
191392
+ const _hoisted_1 = {
191393
+ class: "nv-loading-text",
191394
+ style: {}
191395
+ };
191396
+ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
191397
+ const _component_Icon = resolveComponent("Icon");
191398
+ const _component_Spin = resolveComponent("Spin");
191399
+ return openBlock(), createElementBlock("div", {
191400
+ class: normalizeClass(["nv-full", { "nv-pos-a": _ctx.fix, "nv-pos-r": _ctx.fix }]),
191401
+ style: { "top": "0", "left": "0" }
191402
+ }, [
191403
+ createVNode(_component_Spin, { fix: "" }, {
191404
+ default: withCtx(() => [
191405
+ createVNode(_component_Icon, {
191406
+ type: "ios-loading",
191407
+ class: "nv-spin-icon-load"
191408
+ }),
191409
+ createElementVNode("div", _hoisted_1, toDisplayString(_ctx.content), 1)
191410
+ ]),
191411
+ _: 1
191412
+ })
191413
+ ], 2);
191414
+ }
191415
+ const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-509b33c4"]]);
191341
191416
  const propDefine$a = {
191342
191417
  width: {
191343
191418
  type: Number,
@@ -191477,6 +191552,7 @@ const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
191477
191552
  NvGrid: Grid,
191478
191553
  NvIconSelect,
191479
191554
  NvList: List,
191555
+ NvLoading: Loading,
191480
191556
  NvModal,
191481
191557
  NvPage: Page,
191482
191558
  NvPage2L: Page2L,
@@ -192711,9 +192787,12 @@ class GridInstance extends BaseInstance {
192711
192787
  * @param row
192712
192788
  */
192713
192789
  __publicField(this, "doDelete", (row) => {
192790
+ var _a;
192791
+ let doDelMsgKeyCol = (_a = this.props.option.columns) == null ? void 0 : _a.find((e) => e["isDelKey"]);
192792
+ let doDelMsgKey = doDelMsgKeyCol ? doDelMsgKeyCol.field : "";
192714
192793
  this.modal.confirm({
192715
192794
  title: "提示",
192716
- content: "数据删除后不可恢复, 确定要删除数据吗?",
192795
+ content: `数据删除后不可恢复, 确定要删除${doDelMsgKey ? `【` + row[doDelMsgKey] + `】` : "该数据"}吗?`,
192717
192796
  onOk: async () => {
192718
192797
  if (this.utilities.isNull(row.Id)) {
192719
192798
  return;
@@ -193962,6 +194041,7 @@ export {
193962
194041
  Grid as NvGrid,
193963
194042
  NvIconSelect,
193964
194043
  List as NvList,
194044
+ Loading as NvLoading,
193965
194045
  NvModal,
193966
194046
  Page as NvPage,
193967
194047
  Page2L as NvPage2L,