@realtek/core-theme 0.0.204 → 0.0.205

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-lib/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { C as e, E as t, S as n, T as r, _ as i, a, b as o, c as s, d as c, f as l, g as u, h as d, i as f, l as p, m, n as h, o as g, p as _, r as v, s as y, t as b, u as x, v as S, w as C, x as w, y as T } from "./authApi-CVxnHdIU.js";
2
- import { $ as E, $t as D, A as O, An as k, At as A, B as ee, Bn as j, Bt as M, C as te, Cn as N, Ct as ne, D as re, Dn as ie, Dt as ae, E as oe, En as P, Et as F, F as se, Fn as ce, Ft as le, G as ue, Gn as de, Gt as fe, H as pe, Hn as me, Ht as he, I as ge, In as _e, It as ve, J as ye, Jt as be, K as xe, Kn as Se, Kt as Ce, L as we, Ln as Te, Lt as Ee, M as De, Mn as Oe, Mt as ke, N as Ae, Nn as je, Nt as Me, O as Ne, On as Pe, Ot as Fe, P as Ie, Pn as Le, Pt as Re, Q as ze, Qt as Be, R as Ve, Rn as He, Rt as Ue, S as We, Sn as Ge, St as Ke, T as qe, Tn as Je, Tt as Ye, U as Xe, Un as Ze, Ut as Qe, V as $e, Vn as et, Vt as tt, W as nt, Wn as rt, Wt as it, X as at, Xt as ot, Y as st, Yt as ct, Z as lt, Zt as ut, _ as dt, _n as ft, _t as pt, a as mt, an as ht, at as gt, b as _t, bn as vt, bt as yt, c as bt, cn as xt, ct as St, d as Ct, dn as wt, dt as Tt, en as Et, et as Dt, f as Ot, fn as kt, ft as At, g as jt, gn as Mt, gt as Nt, h as Pt, hn as Ft, ht as It, i as Lt, in as Rt, it as zt, j as Bt, jn as Vt, jt as Ht, k as Ut, kn as Wt, kt as Gt, l as Kt, ln as qt, lt as Jt, m as Yt, mn as Xt, mt as Zt, n as Qt, nn as $t, nt as en, o as tn, on as nn, ot as rn, p as an, pn as on, pt as sn, q as cn, qt as ln, r as un, rn as dn, rt as fn, s as pn, sn as mn, st as hn, t as gn, tn as _n, tt as vn, u as yn, un as bn, ut as xn, v as Sn, vn as Cn, vt as wn, w as Tn, wn as En, wt as Dn, x as On, xn as kn, xt as An, y as jn, yn as Mn, yt as Nn, z as Pn, zn as Fn, zt as In } from "./Breadcrumb-BfBZgTax.js";
2
+ import { $ as E, $t as D, A as O, An as k, At as A, B as ee, Bn as j, Bt as M, C as te, Cn as N, Ct as ne, D as re, Dn as ie, Dt as ae, E as oe, En as P, Et as F, F as se, Fn as ce, Ft as le, G as ue, Gn as de, Gt as fe, H as pe, Hn as me, Ht as he, I as ge, In as _e, It as ve, J as ye, Jt as be, K as xe, Kn as Se, Kt as Ce, L as we, Ln as Te, Lt as Ee, M as De, Mn as Oe, Mt as ke, N as Ae, Nn as je, Nt as Me, O as Ne, On as Pe, Ot as Fe, P as Ie, Pn as Le, Pt as Re, Q as ze, Qt as Be, R as Ve, Rn as He, Rt as Ue, S as We, Sn as Ge, St as Ke, T as qe, Tn as Je, Tt as Ye, U as Xe, Un as Ze, Ut as Qe, V as $e, Vn as et, Vt as tt, W as nt, Wn as rt, Wt as it, X as at, Xt as ot, Y as st, Yt as ct, Z as lt, Zt as ut, _ as dt, _n as ft, _t as pt, a as mt, an as ht, at as gt, b as _t, bn as vt, bt as yt, c as bt, cn as xt, ct as St, d as Ct, dn as wt, dt as Tt, en as Et, et as Dt, f as Ot, fn as kt, ft as At, g as jt, gn as Mt, gt as Nt, h as Pt, hn as Ft, ht as It, i as Lt, in as Rt, it as zt, j as Bt, jn as Vt, jt as Ht, k as Ut, kn as Wt, kt as Gt, l as Kt, ln as qt, lt as Jt, m as Yt, mn as Xt, mt as Zt, n as Qt, nn as $t, nt as en, o as tn, on as nn, ot as rn, p as an, pn as on, pt as sn, q as cn, qt as ln, r as un, rn as dn, rt as fn, s as pn, sn as mn, st as hn, t as gn, tn as _n, tt as vn, u as yn, un as bn, ut as xn, v as Sn, vn as Cn, vt as wn, w as Tn, wn as En, wt as Dn, x as On, xn as kn, xt as An, y as jn, yn as Mn, yt as Nn, z as Pn, zn as Fn, zt as In } from "./Breadcrumb-DGvOSzlR.js";
3
3
  import { i as Ln } from "./diceCandidateMapper-BKRGwz7g.js";
4
4
  import Rn, { Fragment as zn, createContext as Bn, useCallback as Vn, useContext as Hn, useEffect as I, useMemo as L, useRef as Un, useState as R } from "react";
5
5
  import { Alert as Wn, AutoComplete as Gn, Avatar as Kn, Badge as qn, Breadcrumb as Jn, Button as z, Card as Yn, Checkbox as Xn, Col as B, Collapse as Zn, DatePicker as Qn, Divider as $n, Drawer as er, Dropdown as tr, Empty as nr, Flex as rr, Form as V, Input as H, InputNumber as ir, Layout as ar, Mentions as or, Menu as sr, Modal as cr, Pagination as lr, Popconfirm as ur, Popover as dr, Progress as fr, Radio as pr, Result as mr, Row as hr, Select as U, Space as W, Spin as gr, Statistic as _r, Steps as vr, Switch as G, Table as yr, Tabs as br, Tag as K, TimePicker as xr, Tooltip as q, Tree as Sr, Typography as Cr, Upload as wr, message as J } from "antd";
@@ -10669,6 +10669,12 @@ function og(e) {
10669
10669
  recordPayment: ng("primary"),
10670
10670
  markPaid: ng("default")
10671
10671
  };
10672
+ case "Partially Received": return {
10673
+ generateInvoice: rg("Invoice already generated"),
10674
+ recordPayment: ng("primary"),
10675
+ markPaid: ng("default")
10676
+ };
10677
+ case "Received":
10672
10678
  case "Paid": return {
10673
10679
  generateInvoice: rg("Payment already received"),
10674
10680
  recordPayment: rg("Payment already received"),
@@ -21530,7 +21536,7 @@ function xC(e = []) {
21530
21536
  return t;
21531
21537
  }));
21532
21538
  }
21533
- e.placeholder && (r.placeholder = e.placeholder), e.hidePlaceholder && (r.hidePlaceholder = !0), e.combineKey && (r.combineKey = e.combineKey), e.combineLabel && (r.combineLabel = e.combineLabel), e.combineRole && (r.combineRole = e.combineRole), e.combineToggleLabel && (r.combineToggleLabel = e.combineToggleLabel), e.combineToggleTarget && (r.combineToggleTarget = e.combineToggleTarget), e.combineWidth !== void 0 && e.combineWidth !== "" && Number(e.combineWidth) > 0 && (r.combineWidth = Number(e.combineWidth)), e.combineWrap && (r.combineWrap = !0), e.combineSpan !== void 0 && e.combineSpan !== "" && [12, 24].includes(Number(e.combineSpan)) && (r.combineSpan = Number(e.combineSpan)), e.defaultOnEdit && (r.defaultOnEdit = !0), e.emptyValues !== void 0 && e.emptyValues !== "" && (r.emptyValues = String(e.emptyValues).split(",").map((e) => e.trim()).filter((e) => e !== "")), e.valuePaths !== void 0 && e.valuePaths !== "" && (r.valuePaths = String(e.valuePaths).split(",").map((e) => e.trim()).filter((e) => e !== "")), e.clientScope && (r.clientScope = !0, e.clientGateMessage && (r.clientGateMessage = e.clientGateMessage), e.clientGateResetOnChange && (r.clientGateResetOnChange = !0)), e.visiblePermission && (r.visiblePermission = String(e.visiblePermission).trim()), e.editablePermission && (r.editablePermission = String(e.editablePermission).trim()), e.infoEnabled && e.infoText && (r.infoEnabled = !0, r.infoText = e.infoText), e.helpText && (r.helpText = e.helpText), bC(r, e), e.type === "file" && (r.multiple = e.multiple ?? !1, r.maxCount = r.multiple ? Number(e.maxCount ?? 5) : 1, e.fileKey && (r.fileKey = e.fileKey), e.fileNameKey && (r.fileNameKey = e.fileNameKey), e.fileUrlKey && (r.fileUrlKey = e.fileUrlKey), e.accept && e.accept !== "any" && (r.accept = e.accept));
21539
+ e.placeholder && (r.placeholder = e.placeholder), e.hidePlaceholder && (r.hidePlaceholder = !0), e.combineKey && (r.combineKey = e.combineKey), e.combineLabel && (r.combineLabel = e.combineLabel), e.combineRole && (r.combineRole = e.combineRole), e.combineToggleLabel && (r.combineToggleLabel = e.combineToggleLabel), e.combineToggleTarget && (r.combineToggleTarget = e.combineToggleTarget), e.combineWidth !== void 0 && e.combineWidth !== "" && Number(e.combineWidth) > 0 && (r.combineWidth = Number(e.combineWidth)), e.combineWrap && (r.combineWrap = !0), e.combineSpan !== void 0 && e.combineSpan !== "" && [12, 24].includes(Number(e.combineSpan)) && (r.combineSpan = Number(e.combineSpan)), e.defaultOnEdit && (r.defaultOnEdit = !0), e.noPrefill && (r.noPrefill = !0), e.emptyValues !== void 0 && e.emptyValues !== "" && (r.emptyValues = String(e.emptyValues).split(",").map((e) => e.trim()).filter((e) => e !== "")), e.valuePaths !== void 0 && e.valuePaths !== "" && (r.valuePaths = String(e.valuePaths).split(",").map((e) => e.trim()).filter((e) => e !== "")), e.clientScope && (r.clientScope = !0, e.clientGateMessage && (r.clientGateMessage = e.clientGateMessage), e.clientGateResetOnChange && (r.clientGateResetOnChange = !0)), e.visiblePermission && (r.visiblePermission = String(e.visiblePermission).trim()), e.editablePermission && (r.editablePermission = String(e.editablePermission).trim()), e.infoEnabled && e.infoText && (r.infoEnabled = !0, r.infoText = e.infoText), e.helpText && (r.helpText = e.helpText), bC(r, e), e.type === "file" && (r.multiple = e.multiple ?? !1, r.maxCount = r.multiple ? Number(e.maxCount ?? 5) : 1, e.fileKey && (r.fileKey = e.fileKey), e.fileNameKey && (r.fileNameKey = e.fileNameKey), e.fileUrlKey && (r.fileUrlKey = e.fileUrlKey), e.accept && e.accept !== "any" && (r.accept = e.accept));
21534
21540
  let i = (Array.isArray(e.showIf?.conditions) ? e.showIf.conditions : []).filter((e) => e?.field && String(e.field).trim()).map((e) => {
21535
21541
  let t = {
21536
21542
  field: String(e.field).trim(),
@@ -21613,7 +21619,7 @@ function SC({ collection: e, displayField: t, valueField: n, value: r, labelValu
21613
21619
  getPopupContainer: () => document.body
21614
21620
  });
21615
21621
  }
21616
- var CC = new Set(/* @__PURE__ */ "label.field.type.show.req.edit.order.formatter.validations.showOnAdd.addRow.minRows.maxRows.initialRows.addLabel.subFields.placeholder.hidePlaceholder.combineKey.combineLabel.combineRole.combineToggleLabel.combineToggleTarget.combineWidth.combineWrap.combineSpan.defaultOnEdit.emptyValues.valuePaths.clientScope.clientGateMessage.clientGateResetOnChange.visiblePermission.editablePermission.infoEnabled.infoText.helpText.payloadKey.prefillFrom.prefillFromModule.dataType.elementType.payloadMode.valueKey.displayKey.defaultValue.richValue.omitEmpty.payloadTemplate.transformRule.multiple.maxCount.fileKey.fileNameKey.fileUrlKey.accept.showIf.labelWhen.verifyAction.verifyResultField.verifyTimestampField.prefillWhen.prefillWhenReset.verifyIdleLabel.verifyRetryLabel.verifySuccessLabel.disabledByField.linkedClearField.autofillFrom.aiActions.validator.dataSource.masterName.groupName.options.multiSelect.lookupCollection.displayField.displayField2.valueField.lookupFilterField.lookupFilterValueFrom.quickCreate.quickCreateModule.quickCreateLabel.quickEdit.quickEditModule.quickEditLabel.quickEditIdFrom.value.documentPreview.displayAs.renderType.renderOptions".split(".")), wC = new Set(/* @__PURE__ */ "module.name.label.addRow.order.fields.hideGroup.moduleName.linkField.linkTypeField.parentRefField.writeRefs.dependsOn.optionalWrite.appendHistory.historyField.historyFields.historyTimestampField.minRows.maxRows.initialRows.requireOne.requireValidatedField.requireValidatedFieldMessage.submitDisabledMessage.linkGroup.mergeInto.infoEnabled.infoText.toggleEnabled.toggleLabel.toggleField.afterSubmit.showIf.showIfField.showIfOperator.showIfValue.disabled.disabledIf.disabledIfField.disabledIfOperator.disabledIfValue.formActions.afterSubmitMode.afterSubmitTarget.submitMessages.submitMsgAddSuccess.submitMsgEditSuccess.submitMsgAddError.submitMsgEditError.submitMsgSuppress.id._id.rows.toggleValue".split("."));
21622
+ var CC = new Set(/* @__PURE__ */ "label.field.type.show.req.edit.order.formatter.validations.showOnAdd.addRow.minRows.maxRows.initialRows.addLabel.subFields.placeholder.hidePlaceholder.combineKey.combineLabel.combineRole.combineToggleLabel.combineToggleTarget.combineWidth.combineWrap.combineSpan.defaultOnEdit.noPrefill.emptyValues.valuePaths.clientScope.clientGateMessage.clientGateResetOnChange.visiblePermission.editablePermission.infoEnabled.infoText.helpText.payloadKey.prefillFrom.prefillFromModule.dataType.elementType.payloadMode.valueKey.displayKey.defaultValue.richValue.omitEmpty.payloadTemplate.transformRule.multiple.maxCount.fileKey.fileNameKey.fileUrlKey.accept.showIf.labelWhen.verifyAction.verifyResultField.verifyTimestampField.prefillWhen.prefillWhenReset.verifyIdleLabel.verifyRetryLabel.verifySuccessLabel.disabledByField.linkedClearField.autofillFrom.aiActions.validator.dataSource.masterName.groupName.options.multiSelect.lookupCollection.displayField.displayField2.valueField.lookupFilterField.lookupFilterValueFrom.quickCreate.quickCreateModule.quickCreateLabel.quickEdit.quickEditModule.quickEditLabel.quickEditIdFrom.value.documentPreview.displayAs.renderType.renderOptions".split(".")), wC = new Set(/* @__PURE__ */ "module.name.label.addRow.order.fields.hideGroup.moduleName.linkField.linkTypeField.parentRefField.writeRefs.dependsOn.optionalWrite.appendHistory.historyField.historyFields.historyTimestampField.minRows.maxRows.initialRows.requireOne.requireValidatedField.requireValidatedFieldMessage.submitDisabledMessage.linkGroup.mergeInto.infoEnabled.infoText.toggleEnabled.toggleLabel.toggleField.afterSubmit.showIf.showIfField.showIfOperator.showIfValue.disabled.disabledIf.disabledIfField.disabledIfOperator.disabledIfValue.formActions.afterSubmitMode.afterSubmitTarget.submitMessages.submitMsgAddSuccess.submitMsgEditSuccess.submitMsgAddError.submitMsgEditError.submitMsgSuppress.id._id.rows.toggleValue".split("."));
21617
21623
  function TC(e) {
21618
21624
  return {
21619
21625
  ...e,
@@ -21665,6 +21671,7 @@ function TC(e) {
21665
21671
  combineWrap: e.combineWrap ?? !1,
21666
21672
  combineSpan: e.combineSpan ?? "",
21667
21673
  defaultOnEdit: e.defaultOnEdit ?? !1,
21674
+ noPrefill: e.noPrefill ?? !1,
21668
21675
  emptyValues: Array.isArray(e.emptyValues) ? e.emptyValues.join(", ") : e.emptyValues ?? "",
21669
21676
  valuePaths: Array.isArray(e.valuePaths) ? e.valuePaths.join(", ") : e.valuePaths ?? "",
21670
21677
  dataSource: e.dataSource ?? "static",
@@ -23752,6 +23759,18 @@ function EC({ form: e, fieldItems: t, add: n, remove: r, move: i, absBase: a, mo
23752
23759
  unCheckedChildren: "No"
23753
23760
  })
23754
23761
  }),
23762
+ /* @__PURE__ */ X(V.Item, {
23763
+ name: [n, "noPrefill"],
23764
+ label: "No Prefill",
23765
+ valuePropName: "checked",
23766
+ style: { marginBottom: 8 },
23767
+ tooltip: "Always render this field blank on edit instead of showing the stored value. For fields that capture a NEW entry each time rather than the record's current state — e.g. Billing Update's Amount Received, where each save records one more client payment.",
23768
+ children: /* @__PURE__ */ X(G, {
23769
+ size: "small",
23770
+ checkedChildren: "Yes",
23771
+ unCheckedChildren: "No"
23772
+ })
23773
+ }),
23755
23774
  /* @__PURE__ */ X(V.Item, {
23756
23775
  name: [n, "emptyValues"],
23757
23776
  label: "Empty Values",