gzhr-ui 1.0.5 → 1.0.6

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.
@@ -1,5 +1,5 @@
1
1
  import { openBlock as t, createElementBlock as e, defineComponent as r, createVNode as _ } from "vue";
2
- import { _ as n, w as s } from "./utils-T1zvC3Cf.mjs";
2
+ import { _ as n, w as s } from "./utils-Dd9X6z8S.mjs";
3
3
  const a = {};
4
4
  function m(o, c) {
5
5
  return t(), e("div", null, "demo");
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as g, computed as s, unref as l, openBlock as t, createBlock as p, normalizeClass as i, withCtx as h, createElementBlock as c, normalizeStyle as k, createElementVNode as I, mergeProps as z } from "vue";
2
- import { E as C, I as _ } from "./vendor-WGaPw_tu.mjs";
3
- import { w as $ } from "./utils-T1zvC3Cf.mjs";
2
+ import { E as C, I as _ } from "./vendor-KKVz0fCP.mjs";
3
+ import { w as $ } from "./utils-Dd9X6z8S.mjs";
4
4
  const H = { key: 0 }, E = ["xlink:href"], S = /* @__PURE__ */ g({
5
5
  name: "HrIcon",
6
6
  __name: "icon",
package/dist/es/index.mjs CHANGED
@@ -1,9 +1,9 @@
1
- import { m as o } from "./utils-T1zvC3Cf.mjs";
1
+ import { m as o } from "./utils-Dd9X6z8S.mjs";
2
2
  import "vue";
3
- import { H as r } from "./button-CJ1kU7r2.mjs";
4
- import { H as t } from "./table-BSFBnDtq.mjs";
5
- import { H as m } from "./icon-DOZyC-Pg.mjs";
6
- import { A as a } from "./vendor-WGaPw_tu.mjs";
3
+ import { H as r } from "./button-SNw2ksf8.mjs";
4
+ import { H as t } from "./table-COZEu-I0.mjs";
5
+ import { H as m } from "./icon-CeMk3Ylp.mjs";
6
+ import { A as a } from "./vendor-KKVz0fCP.mjs";
7
7
  const s = [r, t, m, a], H = o(s);
8
8
  export {
9
9
  r as HrButton,
@@ -1,6 +1,6 @@
1
- import { a as ElInput, C as ClickOutside, b as ElPopover, V as VxeInput, c as ElButton, d as ElCheckboxGroup, e as ElCheckbox, f as ElTreeSelect, g as ElInputNumber, E as ElIcon, h as ElDropdown, i as ElDropdownMenu, j as ElDropdownItem, k as ElTag, l as isEmpty, m as ElColorPicker, n as dayjs, o as isoWeek, q as quarterOfYear, p as customParseFormat, r as ElImage, s as ElProgress, t as ElRadioGroup, u as ElRadio, v as ElSelect, w as ElOption, x as VxePager, y as VxeGrid, z as VxeUI } from "./vendor-WGaPw_tu.mjs";
1
+ import { a as ElInput, C as ClickOutside, b as ElPopover, V as VxeInput, c as ElButton, d as ElCheckboxGroup, e as ElCheckbox, f as ElTreeSelect, g as ElInputNumber, E as ElIcon, h as ElDropdown, i as ElDropdownMenu, j as ElDropdownItem, k as ElTag, l as isEmpty, m as ElColorPicker, n as dayjs, o as isoWeek, q as quarterOfYear, p as customParseFormat, r as ElImage, s as ElProgress, t as ElRadioGroup, u as ElRadio, v as ElSelect, w as ElOption, x as VxePager, y as VxeGrid, z as VxeUI } from "./vendor-KKVz0fCP.mjs";
2
2
  import { ref, computed, openBlock, createElementBlock, withDirectives, createVNode, unref, withCtx, createElementVNode, createTextVNode, withKeys, createBlock, Fragment, renderList, createCommentVNode, onMounted, defineComponent, resolveComponent, normalizeStyle, toDisplayString, watch, vShow, watchEffect, normalizeProps, mergeProps, resolveDirective, onBeforeUnmount, reactive } from "vue";
3
- import { b as buildTree, d as deepClone, u as useElementClientSize, _ as _export_sfc, i as isColor, g as getFileIconUrl, p as preVideo, a as preCAD, w as withInstall } from "./utils-T1zvC3Cf.mjs";
3
+ import { b as buildTree, d as deepClone, u as useElementClientSize, _ as _export_sfc, i as isColor, g as getFileIconUrl, p as preVideo, a as preCAD, w as withInstall } from "./utils-Dd9X6z8S.mjs";
4
4
  const _hoisted_1$h = ["title"], _hoisted_2$4 = { class: "flex flex-col gap3" }, _hoisted_3$3 = { class: "flex flex-col gap3" }, _hoisted_4$1 = { class: "flex justify-between" }, _sfc_main$x = {
5
5
  __name: "filter-date",
6
6
  props: {
@@ -2109,7 +2109,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2109
2109
  "RemoteMethod"
2110
2110
  ],
2111
2111
  setup(r, { expose: e, emit: t }) {
2112
- var R;
2113
2112
  const o = r, {
2114
2113
  CheckboxRender: n,
2115
2114
  ColorPickerRender: c,
@@ -2137,27 +2136,30 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2137
2136
  TreeMultipleSelectEditor: F,
2138
2137
  InputNumberEditor: P,
2139
2138
  SelectRemoteEditor: N
2140
- } = comps, b = ref(), D = computed(() => ((o.pagination.Page || 1) - 1) * (o.pagination.PageSize || 1e3)), $ = reactive({
2141
- keepSource: !0,
2142
- showOverflow: "title",
2143
- seqConfig: {
2144
- seqMethod: (h) => D.value + h.$rowIndex + 1
2145
- },
2146
- exportConfig: {},
2147
- importConfig: {},
2148
- printConfig: {},
2149
- columns: [],
2150
- ...o.config,
2151
- data: [...o.data],
2152
- editConfig: {
2153
- trigger: "click",
2154
- mode: "cell",
2155
- showStatus: !0,
2156
- // 只对 keep-source 开启有效,是否显示单元格新增与修改状态
2157
- showIcon: !1,
2158
- // 因为对过滤行进行了修改 该属性必须为false
2159
- ...(R = o.config) == null ? void 0 : R.editConfig
2160
- }
2139
+ } = comps, b = ref(), D = computed(() => ((o.pagination.Page || 1) - 1) * (o.pagination.PageSize || 1e3)), $ = computed(() => {
2140
+ var h;
2141
+ return {
2142
+ keepSource: !0,
2143
+ showOverflow: "title",
2144
+ seqConfig: {
2145
+ seqMethod: (R) => D.value + R.$rowIndex + 1
2146
+ },
2147
+ exportConfig: {},
2148
+ importConfig: {},
2149
+ printConfig: {},
2150
+ columns: [],
2151
+ ...o.config,
2152
+ data: [...o.data],
2153
+ editConfig: {
2154
+ trigger: "click",
2155
+ mode: "cell",
2156
+ showStatus: !0,
2157
+ // 只对 keep-source 开启有效,是否显示单元格新增与修改状态
2158
+ showIcon: !1,
2159
+ // 因为对过滤行进行了修改 该属性必须为false
2160
+ ...(h = o.config) == null ? void 0 : h.editConfig
2161
+ }
2162
+ };
2161
2163
  }), O = t;
2162
2164
  e({
2163
2165
  gridRef: b,
@@ -2190,12 +2192,12 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2190
2192
  function H(...h) {
2191
2193
  O("RemoteMethod", ...h);
2192
2194
  }
2193
- return (h, q) => (openBlock(), createElementBlock("div", _hoisted_1, [
2195
+ return (h, R) => (openBlock(), createElementBlock("div", _hoisted_1, [
2194
2196
  createVNode(unref(VxeGrid), mergeProps({
2195
2197
  class: "grid-table",
2196
2198
  ref_key: "gridRef",
2197
2199
  ref: b
2198
- }, { ...$, ...h.$attrs }), {
2200
+ }, { ...$.value, ...h.$attrs }), {
2199
2201
  FilterRows: withCtx(({ column: p }) => [
2200
2202
  createVNode(_sfc_main$r, {
2201
2203
  column: p,
@@ -2387,7 +2389,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2387
2389
  pager: withCtx(() => [
2388
2390
  createVNode(_sfc_main$1, {
2389
2391
  pagination: r.pagination,
2390
- gridOptions: $,
2392
+ gridOptions: $.value,
2391
2393
  onPageChange: M,
2392
2394
  onRefresh: I
2393
2395
  }, null, 8, ["pagination", "gridOptions"])
@@ -2396,7 +2398,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2396
2398
  }, 16)
2397
2399
  ]));
2398
2400
  }
2399
- }), Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-bdff8a1c"]]);
2401
+ }), Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-bd1986cd"]]);
2400
2402
  VxeUI.setConfig({
2401
2403
  size: "small",
2402
2404
  table: {
@@ -1,4 +1,4 @@
1
- import { l as c } from "./vendor-WGaPw_tu.mjs";
1
+ import { l as c } from "./vendor-KKVz0fCP.mjs";
2
2
  import { ref as i, onUnmounted as g } from "vue";
3
3
  function f(e) {
4
4
  return (t) => e.forEach((r) => {
@@ -20847,7 +20847,8 @@ const FO = ld, Ti = Re({
20847
20847
  class: "vxe-date-picker--panel-wrapper"
20848
20848
  }, Ns())), i(fs, {
20849
20849
  to: "body",
20850
- disabled: st ? !qe : !0
20850
+ // disabled: btnTransfer ? !initialized : true
20851
+ disabled: !1
20851
20852
  }, [
20852
20853
  i("div", {
20853
20854
  ref: x,