@ahoo-wang/fetcher-viewer 3.10.10 → 3.11.0
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/filter/panel/AvailableFilterSelect.d.ts.map +1 -1
- package/dist/index.es.js +8 -8
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/viewer/Viewer.d.ts.map +1 -1
- package/dist/viewer/hooks/useViewerState.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AvailableFilterSelect.d.ts","sourceRoot":"","sources":["../../../src/filter/panel/AvailableFilterSelect.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAI3C,OAAO,EACL,aAAa,EAKd,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,WAAW,CAAC;IACnB,SAAS,EAAE,UAAU,CAAC;IACtB,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,QAAQ,CAAC,EAAE,mBAAmB,CAAC;CAChC;AAED,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,eAAe,EAAE,CAAC;CAC5B;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,IAAI,eAAe,EAAE,CAAC;CAC/B;AAED,MAAM,WAAW,0BACf,SAAQ,YAAY,EAAE,aAAa,CAAC,wBAAwB,CAAC;IAC7D,OAAO,EAAE,oBAAoB,EAAE,CAAC;IAChC,aAAa,CAAC,EAAE,YAAY,EAAE,CAAC;CAChC;AAID,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,0BAA0B,
|
|
1
|
+
{"version":3,"file":"AvailableFilterSelect.d.ts","sourceRoot":"","sources":["../../../src/filter/panel/AvailableFilterSelect.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAI3C,OAAO,EACL,aAAa,EAKd,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,WAAW,CAAC;IACnB,SAAS,EAAE,UAAU,CAAC;IACtB,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,QAAQ,CAAC,EAAE,mBAAmB,CAAC;CAChC;AAED,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,eAAe,EAAE,CAAC;CAC5B;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,IAAI,eAAe,EAAE,CAAC;CAC/B;AAED,MAAM,WAAW,0BACf,SAAQ,YAAY,EAAE,aAAa,CAAC,wBAAwB,CAAC;IAC7D,OAAO,EAAE,oBAAoB,EAAE,CAAC;IAChC,aAAa,CAAC,EAAE,YAAY,EAAE,CAAC;CAChC;AAID,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,0BAA0B,2CA+DtE"}
|
package/dist/index.es.js
CHANGED
|
@@ -578,7 +578,7 @@ function kl(t) {
|
|
|
578
578
|
/* @__PURE__ */ c("span", { className: Pt.filterGroupLabel, children: V.label }),
|
|
579
579
|
/* @__PURE__ */ c(_t, { wrap: !0, gutter: [16, 16], children: V.filters.map(($) => /* @__PURE__ */ c(St, { span: 6, children: /* @__PURE__ */ c(jt, { checked: u.includes($.field.name), onChange: /* @__PURE__ */ r((D) => {
|
|
580
580
|
h($, D.target.checked);
|
|
581
|
-
}, "onChange"), disabled: a.some((D) => D.field.name === $.field.name), children: $.field.label }, $.field.name) }
|
|
581
|
+
}, "onChange"), disabled: a.some((D) => D.field.name === $.field.name), children: $.field.label }) }, $.field.name)) }, L),
|
|
582
582
|
L < l.length - 1 && /* @__PURE__ */ c(He, { size: "middle" })
|
|
583
583
|
] }, V.label), "t72"), e[16] = a, e[17] = l.length, e[18] = h, e[19] = u, e[20] = R) : R = e[20], v = l.map(R), e[11] = a, e[12] = l, e[13] = h, e[14] = u, e[15] = v;
|
|
584
584
|
} else
|
|
@@ -3449,7 +3449,7 @@ const {
|
|
|
3449
3449
|
Content: fr
|
|
3450
3450
|
} = vt;
|
|
3451
3451
|
function dr(t) {
|
|
3452
|
-
const e = W(
|
|
3452
|
+
const e = W(69), {
|
|
3453
3453
|
...l
|
|
3454
3454
|
} = t, {
|
|
3455
3455
|
defaultViews: n,
|
|
@@ -3537,17 +3537,17 @@ function dr(t) {
|
|
|
3537
3537
|
e[18] !== T || e[19] !== a.name || e[20] !== x || e[21] !== X || e[22] !== ee || e[23] !== G || e[24] !== h.batchActions || e[25] !== h.primaryAction || e[26] !== h.secondaryActions || e[27] !== v || e[28] !== R || e[29] !== k || e[30] !== E || e[31] !== O || e[32] !== I || e[33] !== V || e[34] !== S ? (oe = /* @__PURE__ */ c(cr, { className: Be.topBar, children: /* @__PURE__ */ c(Ma, { tableSelectedItems: I, title: a.name, activeView: T, views: S, defaultTableSize: T.tableSize, primaryAction: h.primaryAction, secondaryActions: h.secondaryActions, batchActions: h.batchActions, viewChanged: V, onReset: ee, showViewPanel: O, showFilter: E, onShowFilterChange: v, onShowViewPanelChange: R, onTableSizeChange: k, onCreateView: x, onUpdateView: G, onDeleteView: X }) }), e[18] = T, e[19] = a.name, e[20] = x, e[21] = X, e[22] = ee, e[23] = G, e[24] = h.batchActions, e[25] = h.primaryAction, e[26] = h.secondaryActions, e[27] = v, e[28] = R, e[29] = k, e[30] = E, e[31] = O, e[32] = I, e[33] = V, e[34] = S, e[35] = oe) : oe = e[35];
|
|
3538
3538
|
const ce = h.enableRowSelection ?? !0;
|
|
3539
3539
|
let re;
|
|
3540
|
-
e[36] !== D || e[37] !==
|
|
3540
|
+
e[36] !== D || e[37] !== T.id || e[38] !== L || e[39] !== B || e[40] !== a.availableFilters || e[41] !== a.fields || e[42] !== s || e[43] !== h.actionColumn || e[44] !== h.dataSource || e[45] !== h.onClickPrimaryKey || e[46] !== h.pagination || e[47] !== h.viewTableSetting || e[48] !== H || e[49] !== z || e[50] !== w || e[51] !== $ || e[52] !== y || e[53] !== U || e[54] !== P || e[55] !== C || e[56] !== Y || e[57] !== k || e[58] !== E || e[59] !== _ || e[60] !== ce || e[61] !== A ? (re = /* @__PURE__ */ c(ga, { ref: b, fields: a.fields, availableFilters: a.availableFilters, dataSource: h.dataSource, enableRowSelection: ce, filterMode: "editable", pagination: h.pagination, showFilter: E, viewTableSetting: h.viewTableSetting, actionColumn: h.actionColumn, onClickPrimaryKey: h.onClickPrimaryKey, onSelectedDataChange: Y, defaultActiveFilters: D, externalActiveFilters: D, externalUpdateActiveFilters: w, defaultColumns: L, externalColumns: L, externalUpdateColumns: $, defaultPage: H, externalPage: H, externalUpdatePage: U, defaultPageSize: z, externalPageSize: z, externalUpdatePageSize: P, defaultTableSize: A, externalTableSize: A, externalUpdateTableSize: k, defaultCondition: B, externalCondition: B, externalUpdateCondition: y, defaultSorter: _, externalSorter: _, externalUpdateSorter: C, onChange: s }, T.id), e[36] = D, e[37] = T.id, e[38] = L, e[39] = B, e[40] = a.availableFilters, e[41] = a.fields, e[42] = s, e[43] = h.actionColumn, e[44] = h.dataSource, e[45] = h.onClickPrimaryKey, e[46] = h.pagination, e[47] = h.viewTableSetting, e[48] = H, e[49] = z, e[50] = w, e[51] = $, e[52] = y, e[53] = U, e[54] = P, e[55] = C, e[56] = Y, e[57] = k, e[58] = E, e[59] = _, e[60] = ce, e[61] = A, e[62] = re) : re = e[62];
|
|
3541
3541
|
let J;
|
|
3542
|
-
e[
|
|
3542
|
+
e[63] !== oe || e[64] !== re ? (J = /* @__PURE__ */ c(vt, { className: Be.container, children: /* @__PURE__ */ c(fr, { children: /* @__PURE__ */ Q(_e, { orientation: "vertical", style: se, size: "small", children: [
|
|
3543
3543
|
oe,
|
|
3544
3544
|
re
|
|
3545
|
-
] }) }) }), e[
|
|
3545
|
+
] }) }) }), e[63] = oe, e[64] = re, e[65] = J) : J = e[65];
|
|
3546
3546
|
let j;
|
|
3547
|
-
return e[
|
|
3547
|
+
return e[66] !== ae || e[67] !== J ? (j = /* @__PURE__ */ Q(vt, { children: [
|
|
3548
3548
|
ae,
|
|
3549
3549
|
J
|
|
3550
|
-
] }), e[
|
|
3550
|
+
] }), e[66] = ae, e[67] = J, e[68] = j) : j = e[68], j;
|
|
3551
3551
|
}
|
|
3552
3552
|
r(dr, "Viewer");
|
|
3553
3553
|
function mr({
|
|
@@ -3579,7 +3579,7 @@ function mr({
|
|
|
3579
3579
|
defaultSorter: s.sorter
|
|
3580
3580
|
}), [P, A] = K(!1);
|
|
3581
3581
|
return Ce(() => {
|
|
3582
|
-
A(!pt(s, n.current))
|
|
3582
|
+
A(!pt(s, n.current));
|
|
3583
3583
|
}, [s]), {
|
|
3584
3584
|
activeView: s,
|
|
3585
3585
|
showFilter: u,
|