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.
- package/dist/es/{button-CJ1kU7r2.mjs → button-SNw2ksf8.mjs} +1 -1
- package/dist/es/{icon-DOZyC-Pg.mjs → icon-CeMk3Ylp.mjs} +2 -2
- package/dist/es/index.mjs +5 -5
- package/dist/es/{table-BSFBnDtq.mjs → table-COZEu-I0.mjs} +30 -28
- package/dist/es/{utils-T1zvC3Cf.mjs → utils-Dd9X6z8S.mjs} +1 -1
- package/dist/es/{vendor-WGaPw_tu.mjs → vendor-KKVz0fCP.mjs} +2 -1
- package/dist/index.css +1 -1
- package/dist/types/components/table/index.d.ts +3 -8223
- package/dist/types/components/table/src/index.vue.d.ts +2 -2742
- package/dist/umd/index.css +1 -1
- package/dist/umd/index.umd.js +8 -8
- package/package.json +1 -1
|
@@ -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-
|
|
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-
|
|
3
|
-
import { w as $ } from "./utils-
|
|
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-
|
|
1
|
+
import { m as o } from "./utils-Dd9X6z8S.mjs";
|
|
2
2
|
import "vue";
|
|
3
|
-
import { H as r } from "./button-
|
|
4
|
-
import { H as t } from "./table-
|
|
5
|
-
import { H as m } from "./icon-
|
|
6
|
-
import { A as a } from "./vendor-
|
|
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-
|
|
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-
|
|
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)), $ =
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
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,
|
|
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
|
-
}, {
|
|
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-
|
|
2401
|
+
}), Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-bd1986cd"]]);
|
|
2400
2402
|
VxeUI.setConfig({
|
|
2401
2403
|
size: "small",
|
|
2402
2404
|
table: {
|
|
@@ -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:
|
|
20850
|
+
// disabled: btnTransfer ? !initialized : true
|
|
20851
|
+
disabled: !1
|
|
20851
20852
|
}, [
|
|
20852
20853
|
i("div", {
|
|
20853
20854
|
ref: x,
|