@newview/ui 1.1.70 → 1.1.72

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/README.md CHANGED
@@ -1,3 +1,6 @@
1
+ ### 1.1.72
2
+ 弹窗组件增加事件监听
3
+
1
4
  ### 1.1.70
2
5
  1、桩号组件
3
6
  2、表单项增加【桩号】类别 Mile
@@ -32828,6 +32828,12 @@ let GridColumnInstance$1 = class GridColumnInstance2 extends BaseInstance {
32828
32828
  }
32829
32829
  return column.inputNumber.min;
32830
32830
  });
32831
+ __publicField2(this, "getInputNumberReadonly", (column) => {
32832
+ if (this.utilities.isNull(column.inputNumber) || this.utilities.isNull(column.inputNumber.readonly)) {
32833
+ return false;
32834
+ }
32835
+ return column.inputNumber.readonly;
32836
+ });
32831
32837
  __publicField2(this, "getInputNumberStep", (column) => {
32832
32838
  if (this.utilities.isNull(column.inputNumber) || this.utilities.isNull(column.inputNumber.step)) {
32833
32839
  return 1;
@@ -33208,7 +33214,7 @@ let GridColumnInstance$1 = class GridColumnInstance2 extends BaseInstance {
33208
33214
  }
33209
33215
  };
33210
33216
  const GridColumn_vue_vue_type_style_index_0_lang$1 = "";
33211
- const GridColumn_vue_vue_type_style_index_1_scoped_5b5c0e8d_lang = "";
33217
+ const GridColumn_vue_vue_type_style_index_1_scoped_f60410ba_lang = "";
33212
33218
  const _hoisted_1$h = { class: "gridColumn" };
33213
33219
  const _hoisted_2$e = {
33214
33220
  key: 3,
@@ -33392,8 +33398,9 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
33392
33398
  min: _ctx.getInputNumberMin(column),
33393
33399
  step: _ctx.getInputNumberStep(column),
33394
33400
  onOnChange: ($event) => _ctx.doChange(column, scope.row),
33395
- onOnBlur: ($event) => _ctx.doBlur(column, scope.row)
33396
- }, null, 8, ["modelValue", "onUpdate:modelValue", "max", "min", "step", "onOnChange", "onOnBlur"])) : column.colType == "select" ? (openBlock(), createBlock(_component_Select, {
33401
+ onOnBlur: ($event) => _ctx.doBlur(column, scope.row),
33402
+ readonly: _ctx.getInputNumberReadonly(column)
33403
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "max", "min", "step", "onOnChange", "onOnBlur", "readonly"])) : column.colType == "select" ? (openBlock(), createBlock(_component_Select, {
33397
33404
  key: 6,
33398
33405
  modelValue: scope.row[_ctx.getField(column)],
33399
33406
  "onUpdate:modelValue": ($event) => scope.row[_ctx.getField(column)] = $event,
@@ -33497,7 +33504,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
33497
33504
  field: column.field,
33498
33505
  "min-width": column.minWidth,
33499
33506
  width: column.width,
33500
- align: "left",
33507
+ align: _ctx.getAlign(column),
33501
33508
  fixed: "right"
33502
33509
  }, {
33503
33510
  header: withCtx(() => [
@@ -33525,7 +33532,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
33525
33532
  }, 1024)
33526
33533
  ]),
33527
33534
  _: 2
33528
- }, 1032, ["field", "min-width", "width"])) : (openBlock(), createBlock(_component_vxe_column, {
33535
+ }, 1032, ["field", "min-width", "width", "align"])) : (openBlock(), createBlock(_component_vxe_column, {
33529
33536
  key: 6,
33530
33537
  field: column.field,
33531
33538
  "min-width": column.minWidth,
@@ -33567,7 +33574,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
33567
33574
  }), 256))
33568
33575
  ]);
33569
33576
  }
33570
- const GridColumn$1 = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-5b5c0e8d"]]);
33577
+ const GridColumn$1 = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-f60410ba"]]);
33571
33578
  const _sfc_main$l = defineComponent({
33572
33579
  name: "FilterDaterange",
33573
33580
  props: {
@@ -218763,6 +218770,15 @@ class ModalInstance extends BaseInstance {
218763
218770
  // 响应式方法 | xxx = () => {}
218764
218771
  __publicField2(this, "visibleChange", (flag) => {
218765
218772
  var _a;
218773
+ if (window.parent != window) {
218774
+ nextTick(() => {
218775
+ window.parent.postMessage({
218776
+ command: "modalVisibleChange",
218777
+ // data:$(".ivu-modal-mask:visible").length>0
218778
+ data: flag
218779
+ }, "*");
218780
+ });
218781
+ }
218766
218782
  if (flag) {
218767
218783
  this.getWidth();
218768
218784
  const layoutContent = (_a = document.getElementsByClassName("ivu-layout-content")[0]) == null ? void 0 : _a.getBoundingClientRect();