@ryuzaki13/react-foundation-lib 2.31.3 → 2.33.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.
@@ -1,6 +1,6 @@
1
- import { $ as e, A as t, At as n, B as r, Bt as i, C as a, Ct as o, D as s, Dt as c, E as l, Et as u, F as d, Ft as f, G as p, Gt as m, H as h, Ht as g, I as _, It as v, J as y, Jt as b, K as x, Kt as S, L as C, Lt as w, M as T, Mt as E, N as D, Nt as O, O as k, Ot as A, P as j, Pt as M, Q as N, R as P, Rt as F, S as I, St as L, T as R, Tt as z, U as B, Ut as V, V as H, Vt as U, W, Wt as G, X as K, Y as q, Z as J, _ as Y, _t as X, a as Z, at as Q, b as $, bt as ee, c as te, ct as ne, d as re, dt as ie, et as ae, f as oe, ft as se, g as ce, gt as le, h as ue, ht as de, i as fe, it as pe, j as me, jt as he, k as ge, kt as _e, l as ve, lt as ye, m as be, mt as xe, n as Se, nt as Ce, o as we, ot as Te, p as Ee, pt as De, q as Oe, qt as ke, r as Ae, rt as je, s as Me, st as Ne, t as Pe, tt as Fe, u as Ie, ut as Le, v as Re, vt as ze, w as Be, wt as Ve, x as He, xt as Ue, y as We, yt as Ge, z as Ke, zt as qe } from "../chunks/formatters-CO40zvVB.js";
1
+ import { $ as e, A as t, At as n, B as r, Bt as i, C as a, Ct as o, D as s, Dt as c, E as l, Et as u, F as d, Ft as f, G as p, Gt as m, H as h, Ht as g, I as _, It as v, J as y, Jt as b, K as x, Kt as S, L as C, Lt as w, M as T, Mt as E, N as D, Nt as O, O as k, Ot as A, P as j, Pt as M, Q as N, R as P, Rt as F, S as I, St as L, T as R, Tt as z, U as B, Ut as V, V as H, Vt as U, W, Wt as G, X as K, Y as q, Z as J, _ as Y, _t as X, a as Z, at as Q, b as $, bt as ee, c as te, ct as ne, d as re, dt as ie, et as ae, f as oe, ft as se, g as ce, gt as le, h as ue, ht as de, i as fe, it as pe, j as me, jt as he, k as ge, kt as _e, l as ve, lt as ye, m as be, mt as xe, n as Se, nt as Ce, o as we, ot as Te, p as Ee, pt as De, q as Oe, qt as ke, r as Ae, rt as je, s as Me, st as Ne, t as Pe, tt as Fe, u as Ie, ut as Le, v as Re, vt as ze, w as Be, wt as Ve, x as He, xt as Ue, y as We, yt as Ge, z as Ke, zt as qe } from "../chunks/formatters-CMfD97RB.js";
2
2
  import { _ as Je, b as Ye, g as Xe, v as Ze, x as Qe, y as $e } from "../chunks/array-bd7LYFto.js";
3
3
  import { C as et, D as tt, E as nt, O as rt, S as it, T as at, _ as ot, at as st, b as ct, c as lt, d as ut, f as dt, it as ft, l as pt, m as mt, o as ht, ot as gt, p as _t, s as vt, st as yt, u as bt, v as xt, w as St, x as Ct, y as wt } from "../chunks/scalarTypeClassification-D4YcGxtQ.js";
4
4
  import { C as Tt, D as Et, E as Dt, O as Ot, S as kt, T as At, _ as jt, a as Mt, b as Nt, c as Pt, d as Ft, f as It, g as Lt, h as Rt, i as zt, k as Bt, l as Vt, m as Ht, n as Ut, o as Wt, p as Gt, r as Kt, s as qt, t as Jt, u as Yt, v as Xt, w as Zt, x as Qt, y as $t } from "../chunks/formatDate-CNPcfNte.js";
5
- import { B as en, H as tn, R as nn, U as rn, V as an, _ as on, c as sn, d as cn, f as ln, g as un, h as dn, l as fn, m as pn, n as mn, o as hn, p as gn, r as _n, s as vn, t as yn, u as bn, z as xn } from "../chunks/validate-8URYKKly.js";
5
+ import { B as en, H as tn, R as nn, U as rn, V as an, _ as on, c as sn, d as cn, f as ln, g as un, h as dn, l as fn, m as pn, n as mn, o as hn, p as gn, r as _n, s as vn, t as yn, u as bn, z as xn } from "../chunks/validate-rivmPJyV.js";
6
6
  export { dt as DATE_FORMAT_DEFAULTS, _t as DATE_FORMAT_STYLE_PRESET_NAMES, at as DATE_PATTERN_DATE_TOKENS, nt as DATE_PATTERN_TIME_TOKENS, tt as DATE_PATTERN_TOKENS, rt as DATE_PATTERN_TOKEN_RE, mt as DEFAULT_DATE_PRESET_NAMES, nn as DEFAULT_NUMBER_PRESET_NAMES, Se as DEFAULT_VALUE_STATES, xn as NUMBER_FORMAT_DEFAULTS, Ae as VALUE_STATE_COLOR_TOKENS, Te as addCalendarDays, Ne as addCalendarMonths, ne as addCalendarYears, ee as clearFormatCache, le as clearPhone, q as cloneDate, cn as cloneFormatterPipelinePlanStep, ln as cloneFormatterPipelinePlanStepToNode, gn as cloneFormattersPipelineConfig, pn as cloneNormalizeLeadingZerosConfig, dn as cloneResolveValueStateConfig, un as cloneRowBasedOverrideConfig, on as cloneTypedValueFormatConfig, Be as collectFormattersPipelineDependencyIds, R as collectRuntimeFieldDependencyIds, re as compileFormattersPipelineExecutor, fe as compileFormattersPipelineRuntime, Z as compileFormattersPipelineRuntimeFields, Y as computeShortHash, hn as configureRowBasedFormatterRegistry, K as countCalendarDaysInDateRange, ye as createCalendarDate, d as createEducationDateTime, ue as createFixedResolver, bn as createRowBasedFormatterContext, vn as createRowBasedFormatterRegistry, Ee as createThresholdResolver, Re as findResolverByCanonicalKey, Jt as formatDate, Ut as formatDateAsAbapDate, Kt as formatDateAsAbapDatetime, zt as formatDateAsAbapMonth, Mt as formatDateAsAbapYear, Wt as formatDateAsDate, qt as formatDateAsDateLong, Pt as formatDateAsDateMedium, Vt as formatDateAsDateShort, Yt as formatDateAsDateTime, Ft as formatDateAsDatetimeLong, It as formatDateAsDatetimeMedium, Gt as formatDateAsDatetimeShort, Ht as formatDateAsMonthLong, Rt as formatDateAsMonthMedium, Lt as formatDateAsMonthShort, jt as formatDateAsMonthYearLong, Xt as formatDateAsMonthYearMedium, $t as formatDateAsODataDate, Nt as formatDateAsODataDatetime, Qt as formatDateAsODataTime, kt as formatDateAsTime, Tt as formatDateAsTimeLong, Zt as formatDateAsTimeMedium, At as formatDateAsTimeSeconds, Dt as formatDateAsTimeShort, Et as formatDateRange, ze as formatDurationMinutes, _ as formatEducationDateKey, C as formatEducationTimeKey, Ge as formatFileSize, i as formatFullName, j as formatInstantDateTime, Ue as formatNumber, L as formatNumberAsCurrency, o as formatNumberAsCurrencyOrEmpty, Ve as formatNumberAsDecimal, z as formatNumberAsDecimal2, u as formatNumberAsDecimal2OrEmpty, c as formatNumberAsDecimal3, A as formatNumberAsDecimal3OrEmpty, _e as formatNumberAsDecimalOrEmpty, n as formatNumberAsInteger, he as formatNumberAsIntegerOrEmpty, E as formatNumberAsPercent, O as formatNumberAsPercentOrEmpty, M as formatNumberAsPrice, f as formatNumberAsPriceOrEmpty, v as formatNumberAsTonnage, w as formatNumberAsTonnageOrEmpty, X as formatPhone, we as formatPipelineDisplayValue, ke as formatRussianPlural, U as formatShortName, oe as formatTypedCellValue, je as getCalendarPeriod, P as getCurrentEducationWeekKey, ot as getDatePreset, xt as getDatePresetNames, Ke as getEducationWeekDays, r as getEducationWeekRange, H as getEducationWeekStartDate, h as getEducationYear, B as getEducationYearRange, Le as getEndOfDay, te as getFormattersPipelineDefinitionById, ve as getFormattersPipelineDefinitions, en as getNumberPreset, an as getNumberPresetNames, sn as getRowBasedFormatterById, fn as getRowBasedFormatterList, ie as getStartOfDay, se as getStartOfMonth, De as getStartOfWeek, xe as getStartOfYear, We as getValueStateResolver, $ as getValueStateResolverIds, pe as isCalendarPeriodWithinDateBounds, W as isCurrentEducationWeek, wt as isDateFormatPrecision, ct as isDateFormatStyle, Q as isDateInsideCalendarPeriod, J as isDateRangeTuple, p as isEducationDateInCurrentYear, ft as isPositiveValue, de as isSameCalendarDay, N as isValidDate, qe as isZeroValue, e as normalizeDateRange, k as normalizeDateRangeReferenceDate, x as normalizeEducationWeekKey, Ie as normalizeFormattersPipelineConfig, l as normalizeLeadingZeros, s as normalizeLeadingZerosStrict, Xe as normalizeRequiredText, Je as normalizeText, Ze as normalizeTextSpaces, $e as normalizeTextToLower, Ye as normalizeTextWithFallback, ae as orderDates, Ot as parseAbapBoolean, Bt as parseBoolean, ht as parseDate, vt as parseDateByFormat, lt as parseDateByPattern, pt as parseDateTZ, bt as parseDateValue, ut as parseDateValueTZ, Oe as parseEducationDateKey, st as parseNumber, Ct as registerDatePreset, ce as registerFixedResolver, tn as registerNumberPreset, He as registerResolver, be as registerThresholdResolver, Me as rekeyFormattersPipelineConfig, Fe as requireDateRange, it as resetDatePresets, rn as resetNumberPresets, I as resetValueStateResolvers, et as resolveDateFormatName, St as resolveDateFormatPreset, Ce as resolveDateRangePair, y as resolveEducationWeekKey, ge as resolveMonthAgoRange, t as resolveMonthStartToTodayRange, me as resolveMonthStartToYesterdayRange, T as resolveTodayRange, a as resolveValueState, Pe as resolveValueStateClassName, D as resolveYesterdayRange, b as selectRussianPluralForm, S as startsWithIgnoringZeros, m as stripInnerSpaces, G as stripLeadingZeros, g as toAbapBoolean, gt as toFiniteNumber, yt as toPositiveInteger, Qe as toSafeString, F as truncateNumber, V as truncateText, yn as validateFormattersPipelineConfig, mn as validateFormattersPipelineGraph, _n as validateFormattersPipelinePlan };
@@ -1,5 +1,5 @@
1
1
  import { TABLE_FORMULA_NOT_FOUND, TABLE_FORMULA_INVALID_RESULT, TABLE_FORMULA_RUNTIME_ERROR } from "./tableFormulaConstants";
2
- import { type TableFormulaContext, type TableFormulaDependency, type TableFormulaRowData } from "./types";
2
+ import { type TableFormulaContext, type TableFormulaDependency, type TableFormulaResolvedArgument, type TableFormulaRowData } from "./types";
3
3
  type TableFormulaContextInstrumentation = {
4
4
  onReadIndex?: (index: number) => void;
5
5
  onOutOfRangeIndex?: (index: number) => void;
@@ -17,6 +17,28 @@ export type TableFormulaExecutionResult = {
17
17
  reason: typeof TABLE_FORMULA_NOT_FOUND | typeof TABLE_FORMULA_INVALID_RESULT | typeof TABLE_FORMULA_RUNTIME_ERROR;
18
18
  };
19
19
  export type TableFormulaCompiledExecutor = (rowData: TableFormulaRowData) => TableFormulaExecutionResult;
20
+ /** Каждый вызов получает свой набор готовых значений, не удерживаемый compiled executor. */
21
+ export type TableFormulaResolvedExecutor = (resolvedArguments: readonly TableFormulaResolvedArgument[]) => TableFormulaExecutionResult;
22
+ type CompileTableFormulaWithResolvedArgumentsResult = {
23
+ ok: true;
24
+ execute: TableFormulaResolvedExecutor;
25
+ } | {
26
+ ok: false;
27
+ reason: typeof TABLE_FORMULA_NOT_FOUND;
28
+ };
29
+ /**
30
+ * Компилирует зарегистрированную формулу независимо от строк и источников её аргументов.
31
+ * Host разрешает позиции перед каждым execute; отдельный контекст сохраняет корректность
32
+ * вложенного вызова того же executor без общего изменяемого указателя на массив.
33
+ */
34
+ export declare function compileTableFormulaWithResolvedArguments(args: {
35
+ formulaId: string | undefined;
36
+ }): CompileTableFormulaWithResolvedArgumentsResult;
37
+ /** Разовое выполнение готовых позиций; загрузка источников и их диагностика принадлежат host. */
38
+ export declare function executeTableFormulaWithResolvedArguments(args: {
39
+ formulaId: string | undefined;
40
+ arguments: readonly TableFormulaResolvedArgument[];
41
+ }): TableFormulaExecutionResult;
20
42
  type CompileTableFormulaResult = {
21
43
  ok: true;
22
44
  execute: TableFormulaCompiledExecutor;
@@ -1 +1 @@
1
- {"version":3,"file":"execute.d.ts","sourceRoot":"","sources":["../../src/formulas/execute.ts"],"names":[],"mappings":"AAEA,OAAO,EAEN,uBAAuB,EACvB,4BAA4B,EAC5B,2BAA2B,EAC3B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,KAAK,mBAAmB,EAAE,KAAK,sBAAsB,EAAE,KAAK,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE1G,KAAK,kCAAkC,GAAG;IACzC,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5C,CAAC;AAkBF,wBAAgB,yBAAyB,CAAC,IAAI,EAAE;IAC/C,OAAO,EAAE,mBAAmB,CAAC;IAC7B,IAAI,CAAC,EAAE,SAAS,sBAAsB,EAAE,CAAC;IACzC,eAAe,CAAC,EAAE,kCAAkC,CAAC;CACrD,GAAG,mBAAmB,CAiCtB;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C,GACD;IACA,EAAE,EAAE,KAAK,CAAC;IACV,MAAM,EAAE,OAAO,uBAAuB,CAAC;CACtC,CAAC;AAEL,wBAAgB,mBAAmB,CAAC,IAAI,EAAE;IACzC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,IAAI,CAAC,EAAE,SAAS,sBAAsB,EAAE,CAAC;CACzC,GAAG,yBAAyB,CA2C5B;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE;IACzC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,OAAO,EAAE,mBAAmB,CAAC;IAC7B,IAAI,CAAC,EAAE,SAAS,sBAAsB,EAAE,CAAC;CACzC,GAAG,2BAA2B,CAU9B"}
@@ -1,2 +1,2 @@
1
- import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "../chunks/formulas-Y0HOcFhe.js";
2
- export { o as compileTableFormula, a as configureTableFormulaRegistry, n as createTableFormulaContext, s as createTableFormulaRegistry, e as executeTableFormula, i as formatTableFormulaExpression, t as getTableFormulaById, r as getTableFormulaList, c as validateTableFormulaDependencies };
1
+ import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "../chunks/formulas-BZtCqzBj.js";
2
+ export { s as compileTableFormula, r as compileTableFormulaWithResolvedArguments, t as configureTableFormulaRegistry, e as createTableFormulaContext, i as createTableFormulaRegistry, o as executeTableFormula, c as executeTableFormulaWithResolvedArguments, a as formatTableFormulaExpression, u as getTableFormulaById, n as getTableFormulaList, l as validateTableFormulaDependencies };
@@ -10,8 +10,18 @@ export type TableFormulaDependency = string | {
10
10
  readonly kind: typeof TABLE_FORMULA_DEPENDENCY_KIND_CONSTANT;
11
11
  readonly value: number;
12
12
  };
13
+ /**
14
+ * Значение позиционного аргумента, источник которого уже разрешило host-приложение.
15
+ *
16
+ * value сохраняется буквально, включая undefined. key задаётся только для поля
17
+ * текущей строки: константам и внешним агрегатам синтетические ключи не нужны.
18
+ */
19
+ export type TableFormulaResolvedArgument = {
20
+ readonly value: unknown;
21
+ readonly key?: string;
22
+ };
13
23
  export interface TableFormulaContext {
14
- /** Возвращает ID только для аргумента-поля; у константы ключа строки нет. */
24
+ /** Возвращает ID поля текущей строки; у констант и внешних значений ключа строки нет. */
15
25
  key: (index: number) => string | undefined;
16
26
  value: (index: number) => unknown;
17
27
  num: (index: number) => number;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/formulas/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,sCAAsC,EAAE,MAAM,yBAAyB,CAAC;AAEtF,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE1D;;;;;GAKG;AACH,MAAM,MAAM,sBAAsB,GAAG,MAAM,GAAG;IAAE,QAAQ,CAAC,IAAI,EAAE,OAAO,sCAAsC,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAEvI,MAAM,WAAW,mBAAmB;IACnC,6EAA6E;IAC7E,GAAG,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,CAAC;IAC3C,KAAK,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;IAClC,GAAG,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;CAC/B;AAED,MAAM,MAAM,cAAc,GAAG,CAAC,GAAG,EAAE,mBAAmB,KAAK,MAAM,CAAC;AAElE,MAAM,WAAW,sBAAsB;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,qGAAqG;IACrG,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,IAAI,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACzB,QAAQ,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC7B,EAAE,EAAE,cAAc,CAAC;CACnB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/formulas/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,sCAAsC,EAAE,MAAM,yBAAyB,CAAC;AAEtF,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE1D;;;;;GAKG;AACH,MAAM,MAAM,sBAAsB,GAAG,MAAM,GAAG;IAAE,QAAQ,CAAC,IAAI,EAAE,OAAO,sCAAsC,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAEvI;;;;;GAKG;AACH,MAAM,MAAM,4BAA4B,GAAG;IAC1C,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,WAAW,mBAAmB;IACnC,yFAAyF;IACzF,GAAG,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,CAAC;IAC3C,KAAK,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;IAClC,GAAG,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;CAC/B;AAED,MAAM,MAAM,cAAc,GAAG,CAAC,GAAG,EAAE,mBAAmB,KAAK,MAAM,CAAC;AAElE,MAAM,WAAW,sBAAsB;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,qGAAqG;IACrG,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,IAAI,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACzB,QAAQ,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC7B,EAAE,EAAE,cAAc,CAAC;CACnB"}
@@ -1,7 +1,15 @@
1
+ /** Числа sizing-state используют единицу, явно выбранную потребителем; по умолчанию это px. */
1
2
  export type TableColumnSizingState = Record<string, number>;
3
+ /** Единица сохранённого размера не зависит от экранных координат pointer/keyboard events. */
4
+ export type TableColumnSizingUnit = "px" | "em";
2
5
  export declare const DEFAULT_TABLE_COLUMN_MIN_WIDTH = 60;
3
- export declare function normalizeTableColumnWidth(px: number, minWidth?: number): number;
4
- export declare function normalizeTableColumnSizing(state: Readonly<Record<string, number>> | undefined, minWidth?: number): TableColumnSizingState;
5
- export declare function patchTableColumnWidth(state: Readonly<Record<string, number>>, columnId: string, width: number, minWidth?: number): TableColumnSizingState;
6
+ export declare const DEFAULT_TABLE_COLUMN_MIN_WIDTH_EM = 4;
7
+ /**
8
+ * Нормализует размер в выбранной единице. Для px сохраняется целочисленный контракт,
9
+ * для em остаются четыре знака, чтобы resize не округлялся до целого размера шрифта.
10
+ */
11
+ export declare function normalizeTableColumnWidth(width: number, minWidth?: number, unit?: TableColumnSizingUnit): number;
12
+ export declare function normalizeTableColumnSizing(state: Readonly<Record<string, number>> | undefined, minWidth?: number, unit?: TableColumnSizingUnit): TableColumnSizingState;
13
+ export declare function patchTableColumnWidth(state: Readonly<Record<string, number>>, columnId: string, width: number, minWidth?: number, unit?: TableColumnSizingUnit): TableColumnSizingState;
6
14
  export declare function removeTableColumnWidth(state: Readonly<Record<string, number>>, columnId: string): TableColumnSizingState;
7
15
  //# sourceMappingURL=columnSizing.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"columnSizing.d.ts","sourceRoot":"","sources":["../../src/table/columnSizing.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAE5D,eAAO,MAAM,8BAA8B,KAAK,CAAC;AAEjD,wBAAgB,yBAAyB,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,GAAE,MAAuC,GAAG,MAAM,CAK/G;AAED,wBAAgB,0BAA0B,CACzC,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM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jB,IAAI,GAAE,qBAA4B,GAChC,sBAAsB,CASxB;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,GAAG,sBAAsB,CAUxH"}
@@ -1,6 +1,7 @@
1
1
  export * from "./columnLayout";
2
2
  export * from "./columnOrder";
3
3
  export * from "./columnSizing";
4
+ export { resolveTableColumnsWidth } from "./resolveTableColumnsWidth";
4
5
  export * from "./cellSelection";
5
6
  export * from "./odataAdapter";
6
7
  export * from "./selection";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/table/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,SAAS,CAAC;AACxB,cAAc,wBAAwB,CAAC;AACvC,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/table/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,SAAS,CAAC;AACxB,cAAc,wBAAwB,CAAC;AACvC,cAAc,SAAS,CAAC"}
@@ -6,7 +6,7 @@ import { columnOrderingFeature as l, columnPinningFeature as u, columnResizingFe
6
6
  function v({ ids: n, order: r }) {
7
7
  return t(e(r, n), n);
8
8
  }
9
- function y({ ids: e, getWidth: t }) {
9
+ function ee({ ids: e, getWidth: t }) {
10
10
  return e.map((e) => ({
11
11
  id: e,
12
12
  width: t(e)
@@ -14,7 +14,7 @@ function y({ ids: e, getWidth: t }) {
14
14
  }
15
15
  //#endregion
16
16
  //#region src/table/columnOrder.ts
17
- function ee(e) {
17
+ function y(e) {
18
18
  return Array.from(new Set((e ?? []).filter((e) => e.trim().length > 0)));
19
19
  }
20
20
  function b(e, t, n) {
@@ -41,42 +41,48 @@ function S(e) {
41
41
  }
42
42
  //#endregion
43
43
  //#region src/table/columnSizing.ts
44
- var C = 60;
45
- function w(e, t = 60) {
46
- let n = Number.isFinite(t) && t > 0 ? Math.floor(t) : 60;
47
- return Math.max(n, Number.isFinite(e) ? Math.floor(e) : n);
48
- }
49
- function T(e, t = 60) {
50
- let n = {};
51
- for (let [r, i] of Object.entries(e ?? {})) typeof r != "string" || r.trim().length === 0 || !Number.isFinite(i) || (n[r] = w(i, t));
52
- return n;
53
- }
54
- function E(e, t, n, r = 60) {
55
- return t.trim().length === 0 ? T(e, r) : {
56
- ...T(e, r),
57
- [t]: w(n, r)
44
+ var C = 60, w = 4;
45
+ function T(e, t, n = "px") {
46
+ let r = n === "em" ? 4 : 60, i = n === "em" ? 1e4 : 1, a = typeof t == "number" && Number.isFinite(t) && t > 0 ? Math.floor(t * i) / i : r, o = Number.isFinite(e) ? Math.floor(e * i) / i : a;
47
+ return Math.max(a, o);
48
+ }
49
+ function E(e, t, n = "px") {
50
+ let r = {};
51
+ for (let [i, a] of Object.entries(e ?? {})) typeof i != "string" || i.trim().length === 0 || !Number.isFinite(a) || (r[i] = T(a, t, n));
52
+ return r;
53
+ }
54
+ function te(e, t, n, r, i = "px") {
55
+ return t.trim().length === 0 ? E(e, r, i) : {
56
+ ...E(e, r, i),
57
+ [t]: T(n, r, i)
58
58
  };
59
59
  }
60
- function te(e, t) {
60
+ function ne(e, t) {
61
61
  let n = {};
62
62
  for (let [r, i] of Object.entries(e)) r !== t && (n[r] = i);
63
63
  return n;
64
64
  }
65
65
  //#endregion
66
+ //#region src/table/resolveTableColumnsWidth.ts
67
+ var re = /^(?:\d+(?:\.\d+)?|\.\d+)(?:em|px)$/;
68
+ function D(e) {
69
+ if (!(e.length === 0 || e.some((e) => !re.test(e)))) return e.length === 1 ? e[0] : `calc(${e.join(" + ")})`;
70
+ }
71
+ //#endregion
66
72
  //#region src/table/tableSelectionConstants.ts
67
- var D = "none", ne = "single", O = "multi", k = "direct", A = /* @__PURE__ */ new Set([k, "primary-modifier"]);
68
- function j(e) {
73
+ var O = "none", k = "single", A = "multi", j = "direct", M = /* @__PURE__ */ new Set([j, "primary-modifier"]);
74
+ function N(e) {
69
75
  return `${encodeURIComponent(e.rowId)}::${encodeURIComponent(e.columnId)}`;
70
76
  }
71
- function M(e, t) {
72
- let n = new Set(e.map(j)), r = new Set(t.map(j));
77
+ function P(e, t) {
78
+ let n = new Set(e.map(N)), r = new Set(t.map(N));
73
79
  return n.size === r.size && [...n].every((e) => r.has(e));
74
80
  }
75
- function N(e, t, n, r) {
81
+ function F(e, t, n, r) {
76
82
  if (r === "none" || !e?.length) return [];
77
83
  let i = new Map(t.map((e, t) => [e, t])), a = new Map(n.map((e, t) => [e, t])), o = /* @__PURE__ */ new Set(), s = e.filter((e) => {
78
84
  if (!(i.has(e.rowId) && a.has(e.columnId))) return !1;
79
- let t = j(e);
85
+ let t = N(e);
80
86
  return !o.has(t) && (o.add(t), !0);
81
87
  }).sort((e, t) => {
82
88
  let n = (i.get(e.rowId) ?? 0) - (i.get(t.rowId) ?? 0);
@@ -88,55 +94,55 @@ function N(e, t, n, r) {
88
94
  }
89
95
  return s;
90
96
  }
91
- function P(e, t, n) {
97
+ function I(e, t, n) {
92
98
  if (n === "none") return [];
93
- let r = j(t), i = e.some((e) => j(e) === r);
94
- return n === "single" ? i ? [] : [t] : i ? e.filter((e) => j(e) !== r) : [...e, t];
99
+ let r = N(t), i = e.some((e) => N(e) === r);
100
+ return n === "single" ? i ? [] : [t] : i ? e.filter((e) => N(e) !== r) : [...e, t];
95
101
  }
96
- function F(e, t = k) {
97
- return typeof e == "string" && A.has(e) ? e : t;
102
+ function L(e, t = j) {
103
+ return typeof e == "string" && M.has(e) ? e : t;
98
104
  }
99
- function I(e, t) {
105
+ function R(e, t) {
100
106
  return t === "direct" || (e.ctrlKey || e.metaKey) && !e.shiftKey && !e.altKey;
101
107
  }
102
108
  //#endregion
103
109
  //#region src/table/tableColumnConstants.ts
104
- var L = "left", R = "right";
110
+ var z = "left", B = "right";
105
111
  //#endregion
106
112
  //#region src/table/odataAdapter.ts
107
- function z(e) {
113
+ function V(e) {
108
114
  let { role: t, type: n } = e;
109
115
  return {
110
116
  role: n === "decimal" || n === "float" || n === "double" || n === "int" || n === "byte" ? r : t,
111
117
  type: n
112
118
  };
113
119
  }
114
- function B(e) {
115
- return e.role === "measure" ? R : L;
120
+ function H(e) {
121
+ return e.role === "measure" ? B : z;
116
122
  }
117
- function V(e, t) {
123
+ function ie(e, t) {
118
124
  return e.semanticType !== "code" || !e.linkedColumnId || t.get(e.linkedColumnId)?.semanticType !== "text";
119
125
  }
120
- function H(e) {
126
+ function U(e) {
121
127
  if (typeof e.id == "string" && e.id.trim()) return e.id;
122
128
  if ("accessorKey" in e && typeof e.accessorKey == "string" && e.accessorKey.trim()) return e.accessorKey;
123
129
  }
124
- function U(e, t) {
130
+ function W(e, t) {
125
131
  return e.map((e) => "columns" in e && Array.isArray(e.columns) && e.columns.length > 0 ? {
126
132
  ...e,
127
- columns: U(e.columns, t)
133
+ columns: W(e.columns, t)
128
134
  } : t(e));
129
135
  }
130
- function W(e, t) {
136
+ function G(e, t) {
131
137
  let n = new Map(e.map((e) => [e.id, e]));
132
138
  return Object.fromEntries(e.map((e) => {
133
- let r = t?.resolveVisible?.(e) ?? V(e, n);
139
+ let r = t?.resolveVisible?.(e) ?? ie(e, n);
134
140
  return [e.id, r];
135
141
  }));
136
142
  }
137
- function G(e, t) {
143
+ function K(e, t) {
138
144
  return e.map((e) => {
139
- let n = z(e), r = B(n), i = t?.resolveFormatting?.(e);
145
+ let n = V(e), r = H(n), i = t?.resolveFormatting?.(e);
140
146
  return {
141
147
  id: e.id,
142
148
  accessorKey: e.id,
@@ -153,17 +159,17 @@ function G(e, t) {
153
159
  };
154
160
  });
155
161
  }
156
- function K(e, t, n) {
162
+ function q(e, t, n) {
157
163
  let r = new Map(t.map((e) => [e.id, e]));
158
- return U(e, (e) => {
159
- let t = H(e);
164
+ return W(e, (e) => {
165
+ let t = U(e);
160
166
  if (!t) return e;
161
167
  let i = n?.resolveMetadataColumn?.({
162
168
  columnId: t,
163
169
  metadataColumnsById: r
164
170
  }) ?? r.get(t);
165
171
  if (!i || e.meta?.formatting?.role && e.meta.formatting.type) return e;
166
- let a = z(i);
172
+ let a = V(i);
167
173
  return {
168
174
  ...e,
169
175
  meta: {
@@ -180,34 +186,34 @@ function K(e, t, n) {
180
186
  }
181
187
  //#endregion
182
188
  //#region src/table/selection.ts
183
- var q = /* @__PURE__ */ new Set([
184
- D,
185
- ne,
186
- O
189
+ var J = /* @__PURE__ */ new Set([
190
+ O,
191
+ k,
192
+ A
187
193
  ]);
188
- function J(e) {
194
+ function Y(e) {
189
195
  return Object.keys(e).filter((t) => e[t]);
190
196
  }
191
- function Y(e, t) {
192
- let n = J(e), r = J(t);
197
+ function ae(e, t) {
198
+ let n = Y(e), r = Y(t);
193
199
  return n.length === r.length && n.every((e) => t[e]);
194
200
  }
195
- function X(e, t = D) {
196
- return typeof e == "string" && q.has(e) ? e : t;
201
+ function oe(e, t = O) {
202
+ return typeof e == "string" && J.has(e) ? e : t;
197
203
  }
198
- function Z(e, t, n) {
204
+ function X(e, t, n) {
199
205
  if (n === "none") return {};
200
- let r = new Set(t), i = J(e).filter((e) => r.has(e));
206
+ let r = new Set(t), i = Y(e).filter((e) => r.has(e));
201
207
  if (n === "single") {
202
208
  let e = i.at(-1);
203
209
  return e ? { [e]: !0 } : {};
204
210
  }
205
211
  return Object.fromEntries(i.map((e) => [e, !0]));
206
212
  }
207
- function Q(e, t, n) {
213
+ function Z(e, t, n) {
208
214
  if (n === "none") return {};
209
215
  if (n === "single") {
210
- let n = J(e);
216
+ let n = Y(e);
211
217
  return n.length === 1 && n[0] === t ? e : { [t]: !0 };
212
218
  }
213
219
  if (e[t]) {
@@ -221,7 +227,7 @@ function Q(e, t, n) {
221
227
  }
222
228
  //#endregion
223
229
  //#region src/table/tanStackFeatures.ts
224
- var re = _({
230
+ var se = _({
225
231
  columnOrderingFeature: l,
226
232
  columnPinningFeature: u,
227
233
  columnSizingFeature: f,
@@ -233,14 +239,14 @@ var re = _({
233
239
  });
234
240
  //#endregion
235
241
  //#region src/table/useTableRowSelection.ts
236
- function ie({ availableRowIds: e, rowById: t, selectionMode: n, selectedRowIds: r, onRowSelectionChange: l }) {
242
+ function Q({ availableRowIds: e, rowById: t, selectionMode: n, selectedRowIds: r, onRowSelectionChange: l }) {
237
243
  let [u, d] = c({}), f = s(!1), p = i((e, t) => {
238
244
  let n = Object.keys(e).filter((t) => e[t]), r = Object.keys(t).filter((e) => t[e]);
239
245
  return n.length === r.length && n.every((e) => t[e]);
240
246
  }, []), m = o((e) => {
241
- d((t) => Z(t, e, n));
247
+ d((t) => X(t, e, n));
242
248
  }), h = o((e, t) => {
243
- let r = Z(Object.fromEntries(e.map((e) => [e, !0])), t, n);
249
+ let r = X(Object.fromEntries(e.map((e) => [e, !0])), t, n);
244
250
  d((e) => p(e, r) ? e : (f.current = !0, r));
245
251
  }), g = o((e) => {
246
252
  if (!l) return;
@@ -272,23 +278,23 @@ function ie({ availableRowIds: e, rowById: t, selectionMode: n, selectedRowIds:
272
278
  rowSelection: u,
273
279
  setRowSelection: d,
274
280
  activateRowSelection: i((e, t) => {
275
- n === "none" || !t || d((t) => Q(t, e, n));
281
+ n === "none" || !t || d((t) => Z(t, e, n));
276
282
  }, [n])
277
283
  };
278
284
  }
279
285
  //#endregion
280
286
  //#region src/table/utils.ts
281
287
  var $ = (/* @__PURE__ */ "button.a.input.select.textarea.label.summary.audio[controls].video[controls].[contenteditable]:not([contenteditable=\"false\"]).[tabindex]:not(td):not(th):not(tr).[draggable=\"true\"].[role=\"button\"].[role=\"link\"].[role=\"checkbox\"].[role=\"radio\"].[role=\"switch\"].[role=\"menu\"].[role=\"menuitem\"].[role=\"menuitemcheckbox\"].[role=\"menuitemradio\"].[role=\"listbox\"].[role=\"option\"].[role=\"tab\"].[role=\"tablist\"].[role=\"tree\"].[role=\"treeitem\"].[role=\"slider\"].[role=\"spinbutton\"].[role=\"textbox\"].[role=\"searchbox\"].[role=\"combobox\"]".split(".")).join(", ");
282
- function ae(e) {
288
+ function ce(e) {
283
289
  return e.meta;
284
290
  }
285
- function oe(e) {
291
+ function le(e) {
286
292
  return e.meta?.formatting;
287
293
  }
288
- function se(e) {
294
+ function ue(e) {
289
295
  return typeof e == "number" ? `${e}em` : e;
290
296
  }
291
- function ce(e, t) {
297
+ function de(e, t) {
292
298
  if (typeof Element > "u" || !(e instanceof Element)) return !1;
293
299
  let n = t ? `${$}, ${t}` : $, r = e.closest(n);
294
300
  if (!r) return !1;
@@ -296,6 +302,6 @@ function ce(e, t) {
296
302
  return !i || i.contains(r);
297
303
  }
298
304
  //#endregion
299
- export { C as DEFAULT_TABLE_COLUMN_MIN_WIDTH, M as areTableCellSelectionsEqual, Y as areTableRowSelectionsEqual, y as buildTableColumnLayout, W as createTableColumnVisibilityFromODataMetadata, G as createTableColumnsFromODataMetadata, K as enrichTableColumnsWithODataFormatting, re as foundationTableFeatures, oe as getTableColumnFormattingMeta, ae as getTableColumnMeta, ce as isTableInteractiveElement, F as normalizeTableCellSelectionActivationMode, ee as normalizeTableColumnOrder, T as normalizeTableColumnSizing, w as normalizeTableColumnWidth, X as normalizeTableSelectionMode, E as patchTableColumnWidth, N as pruneTableCellSelection, Z as pruneTableRowSelection, te as removeTableColumnWidth, x as reorderTableHeaderColumns, S as resolveReorderedTableHeaderColumns, H as resolveStableColumnId, z as resolveTableColumnFormattingContextFromODataColumn, v as resolveTableColumnOrder, se as resolveTableLength, I as shouldActivateTableCellSelection, P as toggleTableCellSelection, Q as toggleTableRowSelection, ie as useTableRowSelection };
305
+ export { C as DEFAULT_TABLE_COLUMN_MIN_WIDTH, w as DEFAULT_TABLE_COLUMN_MIN_WIDTH_EM, P as areTableCellSelectionsEqual, ae as areTableRowSelectionsEqual, ee as buildTableColumnLayout, G as createTableColumnVisibilityFromODataMetadata, K as createTableColumnsFromODataMetadata, q as enrichTableColumnsWithODataFormatting, se as foundationTableFeatures, le as getTableColumnFormattingMeta, ce as getTableColumnMeta, de as isTableInteractiveElement, L as normalizeTableCellSelectionActivationMode, y as normalizeTableColumnOrder, E as normalizeTableColumnSizing, T as normalizeTableColumnWidth, oe as normalizeTableSelectionMode, te as patchTableColumnWidth, F as pruneTableCellSelection, X as pruneTableRowSelection, ne as removeTableColumnWidth, x as reorderTableHeaderColumns, S as resolveReorderedTableHeaderColumns, U as resolveStableColumnId, V as resolveTableColumnFormattingContextFromODataColumn, v as resolveTableColumnOrder, D as resolveTableColumnsWidth, ue as resolveTableLength, R as shouldActivateTableCellSelection, I as toggleTableCellSelection, Z as toggleTableRowSelection, Q as useTableRowSelection };
300
306
 
301
307
  //# sourceMappingURL=index.js.map