react-semaphor 0.1.555 → 0.1.556
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/analytics-protocol/index.js +10 -10
- package/dist/assistant-context/index.js +1 -1
- package/dist/assistant-protocol/index.js +5 -5
- package/dist/brand-studio/index.js +438 -455
- package/dist/briefings/index.js +6 -6
- package/dist/chunks/{analytics-base-schemas-BKs3flFS.js → analytics-base-schemas-BUFUoO6G.js} +2 -2
- package/dist/chunks/{assistant-chat-8NZP6m-u.js → assistant-chat-C7Acww1T.js} +15 -15
- package/dist/chunks/{bookmark-state-BAeGKd3s.js → bookmark-state-7iZErWnR.js} +3 -3
- package/dist/chunks/comparison-window-caption-BseG5aOZ.js +1221 -0
- package/dist/chunks/{context-BerEBuFR.js → context-DVy4HOU0.js} +1 -1
- package/dist/chunks/{custom-visual-inputs-Gw-Ggg3O.js → custom-visual-inputs-ChuKjx27.js} +31 -33
- package/dist/chunks/{dashboard-Ds68ckO3.js → dashboard-BU6rE5kV.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-DlTr-VGc.js → dashboard-briefing-launcher-qrYd2zkN.js} +15 -15
- package/dist/chunks/{dashboard-controls-oNXJZN6x.js → dashboard-controls-BsapXI2H.js} +14 -14
- package/dist/chunks/{dashboard-json-CW7Q_efH.js → dashboard-json-CJqPqYnI.js} +5 -5
- package/dist/chunks/{document-dashboard-inputs-C21mL3ib.js → document-dashboard-inputs-BNSprf5_.js} +12 -12
- package/dist/chunks/{edit-dashboard-visual-BnnT_oKR.js → edit-dashboard-visual-CjAdV-WG.js} +4603 -4687
- package/dist/chunks/{filter-reach-copy-DlNPHbE-.js → filter-reach-copy-BTrqtFkh.js} +917 -987
- package/dist/chunks/{filter-value-text-DMrpj4h9.js → filter-value-text-CJTJDCym.js} +4 -4
- package/dist/chunks/{global-date-filter-utils-7OboTgrM.js → global-date-filter-utils-CTVf3dG3.js} +2904 -3102
- package/dist/chunks/{index-B2k6KtUN.js → index-B_vIRa-q.js} +12 -19
- package/dist/chunks/{index-CtoK1Lgu.js → index-dIV-Gdsb.js} +159 -161
- package/dist/chunks/{matrix-analytical-definition-DPVGg1mU.js → matrix-analytical-definition-Cg0ioFGQ.js} +21 -21
- package/dist/chunks/{matrix-card-D9bsdAye.js → matrix-card-yYibXSw1.js} +3 -3
- package/dist/chunks/{matrix-formatter-K2OVPJQI.js → matrix-formatter-C2kjsCDf.js} +44 -44
- package/dist/chunks/{matrix-member-presentation-DRWcJ8Mi.js → matrix-member-presentation-DEEauKXC.js} +1 -1
- package/dist/chunks/{matrix-operation-contract--lMaLlpV.js → matrix-operation-contract-C1G6AJNh.js} +33 -33
- package/dist/chunks/{metric-comparison-CYIt2F5X.js → metric-comparison-BfcmwxM1.js} +4 -4
- package/dist/chunks/{model-change-B0rAK-5w.js → model-change-CJEj3ZD6.js} +1 -1
- package/dist/chunks/pivot-result-contract-expectations-fKBHFPfz.js +56 -0
- package/dist/chunks/pivot-result-identity-CWi5WrrY.js +77 -0
- package/dist/chunks/{raw-temporal-contract-WuXA8jBP.js → raw-temporal-contract-CjHaUIsE.js} +1 -1
- package/dist/chunks/{raw-temporal-presentation-CivONfcO.js → raw-temporal-presentation-DWzLIHc3.js} +8 -8
- package/dist/chunks/{report-preferences-dialog-D_KyuEFx.js → report-preferences-dialog-D_wrbIQt.js} +17 -17
- package/dist/chunks/{report-runtime-context-BaIKSaja.js → report-runtime-context-BgM-iNWB.js} +2 -2
- package/dist/chunks/{resolve-dashboard-input-context-CIm9A8_j.js → resolve-dashboard-input-context-Df8V5QHW.js} +1415 -1567
- package/dist/chunks/{saved-dashboard-context-akb9JfOL.js → saved-dashboard-context-VvXI6r03.js} +9 -9
- package/dist/chunks/{selection-reducer-yw_JgICP.js → selection-reducer-By4CSmEF.js} +1 -1
- package/dist/chunks/{semaphor-ready-indicator-Ba7dwP5_.js → semaphor-ready-indicator-fejZmdq9.js} +49593 -56071
- package/dist/chunks/{shelf-drop-preview-context-5rg3pJHW.js → shelf-drop-preview-context-BuTCXe-S.js} +7 -7
- package/dist/chunks/{source-entity-resolution-CGymm5td.js → source-entity-resolution-B46EZIzX.js} +1 -1
- package/dist/chunks/{switch-B-UTI6v-.js → switch-Bq92UGId.js} +3 -3
- package/dist/chunks/{table-export-sheet-CgO6gaSM.js → table-export-sheet-noKl8-en.js} +1 -1
- package/dist/chunks/{table-settings-DOT_Bv1m.js → table-settings-PpINOzw8.js} +3 -3
- package/dist/chunks/{temporal-bucket-C4rqmwaQ.js → temporal-bucket-DzyadxVY.js} +53 -53
- package/dist/chunks/temporal-input-presentation-CJWS4d0L.js +879 -0
- package/dist/chunks/{token-types-DYECHYGH.js → token-types--0bgRCaO.js} +1 -1
- package/dist/chunks/{use-create-flow-overlay-state-BHNs0wl7.js → use-create-flow-overlay-state-Cz-ve64t.js} +7 -7
- package/dist/chunks/{validators-ClKLGDGZ.js → validators-CZo_H4E6.js} +305 -307
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +60 -60
- package/dist/data-app-sdk/index.js +6 -6
- package/dist/data-app-sdk-adapters/index.js +3 -3
- package/dist/data-app-sdk-validation/index.js +6 -6
- package/dist/format-utils/index.js +207 -223
- package/dist/index.js +96 -97
- package/dist/layouts/index.js +1 -1
- package/dist/pdf-export-policy/index.js +9 -11
- package/dist/report-runtime-context/index.js +2 -2
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/brand-studio/brand-studio-draft.d.ts +0 -3
- package/dist/types/brand-studio/index.d.ts +1 -1
- package/dist/types/components/visual/data-table/types/data-table.d.ts +0 -1
- package/dist/types/components/visual/shared/utils/table-column-order.d.ts +0 -6
- package/dist/types/index.js +27 -28
- package/dist/types/lib/api/exports-api.d.ts +1 -1
- package/dist/types/lib/charts/table-chart-types.d.ts +1 -1
- package/dist/types/lib/charts/types.d.ts +2 -2
- package/dist/types/lib/dashboard-viewer/export-table-view.d.ts +0 -3
- package/dist/types/lib/document/document-edits.d.ts +1 -1
- package/dist/types/lib/document/document-section-kinds.d.ts +2 -4
- package/dist/types/lib/document/document-table-data-policy.d.ts +1 -2
- package/dist/types/lib/formatters/grouped-temporal-activation.d.ts +3 -3
- package/dist/types/lib/formatters/grouped-temporal-presentation.d.ts +0 -6
- package/dist/types/lib/query-context/card-server-request.d.ts +0 -1
- package/dist/types/lib/table-formatting/table-formatting-types.d.ts +1 -1
- package/dist/types/lib/types/common-types.d.ts +0 -7
- package/dist/types/lib/types/explorer-types.d.ts +1 -14
- package/dist/types/lib/utils/card-config-utils.d.ts +11 -1
- package/dist/types/shared/dashboard-authoring/card-export-request.d.ts +1 -2
- package/dist/types/shared/dashboard-authoring/legacy-table-routing.d.ts +9 -4
- package/dist/types/shared/format-utils/grouped-table-presentation.d.ts +0 -14
- package/dist/types/shared/format-utils/index.d.ts +0 -2
- package/dist/types/shared/format-utils/pdf-export-policy.d.ts +1 -1
- package/dist/types/shared/format-utils/pivot-result-contract-expectations.d.ts +2 -20
- package/dist/types/shared/format-utils/pivot-result-identity.d.ts +0 -20
- package/dist/types/shared/format-utils/table-export/prepare-table-export.d.ts +0 -1
- package/dist/types/shared/format-utils/table-export/table-export-result.d.ts +0 -4
- package/package.json +2 -2
- package/dist/chunks/comparison-window-caption-C2WNTlxK.js +0 -1433
- package/dist/chunks/pivot-header-presentation-CX4fkRuG.js +0 -42
- package/dist/chunks/pivot-result-identity-BHJGZwIc.js +0 -94
- package/dist/chunks/pivot-result-lifecycle-BygCpOhk.js +0 -1238
- package/dist/types/components/visual/pivot-table/types.d.ts +0 -80
- package/dist/types/shared/format-utils/aggregate-table-row-presentation.d.ts +0 -85
- package/dist/types/shared/format-utils/pivot-result-lifecycle.d.ts +0 -55
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsxs as Ne, jsx as L, Fragment as ft } from "react/jsx-runtime";
|
|
2
2
|
import * as T from "react";
|
|
3
3
|
import zn, { forwardRef as Fe, createElement as xe, useContext as rt, createContext as xt, useRef as q, useLayoutEffect as Pn, useImperativeHandle as zt, useEffect as re, useState as ce, useCallback as O, useMemo as G, memo as wn, Suspense as Cn, useSyncExternalStore as En } from "react";
|
|
4
|
-
import { b0 as In, a6 as ie, b1 as Pt, a7 as wt, b2 as ot, b3 as Ct, b4 as Rn, b5 as Dn, b6 as An, b7 as Nn, u as Re, b8 as Mn, b9 as Ln, ba as _n, bb as kn, bc as Tn, bd as Hn, be as Vn, bf as $n, bg as Fn } from "./semaphor-ready-indicator-
|
|
5
|
-
import { C as Et, y as It, z as ze, A as pe, D as Rt, E as Kn, F as Bn, G as Pe, H as qn, J as Dt, K as On, M as Gn } from "./switch-
|
|
4
|
+
import { b0 as In, a6 as ie, b1 as Pt, a7 as wt, b2 as ot, b3 as Ct, b4 as Rn, b5 as Dn, b6 as An, b7 as Nn, u as Re, b8 as Mn, b9 as Ln, ba as _n, bb as kn, bc as Tn, bd as Hn, be as Vn, bf as $n, bg as Fn } from "./semaphor-ready-indicator-fejZmdq9.js";
|
|
5
|
+
import { C as Et, y as It, z as ze, A as pe, D as Rt, E as Kn, F as Bn, G as Pe, H as qn, J as Dt, K as On, M as Gn } from "./switch-Bq92UGId.js";
|
|
6
6
|
import { f as Un, r as At } from "./editor-draft-sync-BN5qYHPF.js";
|
|
7
|
-
import { cU as Wn, cV as Xn } from "./global-date-filter-utils-
|
|
8
|
-
import { f as Yn, r as Nt, g as Mt, a as Je, c as Te, n as jn, b as Qn } from "./custom-visual-inputs-
|
|
7
|
+
import { cU as Wn, cV as Xn } from "./global-date-filter-utils-CTVf3dG3.js";
|
|
8
|
+
import { f as Yn, r as Nt, g as Mt, a as Je, c as Te, n as jn, b as Qn } from "./custom-visual-inputs-ChuKjx27.js";
|
|
9
9
|
import "./index-CuHybtft.js";
|
|
10
|
-
import "./validators-
|
|
11
|
-
import "./matrix-operation-contract
|
|
12
|
-
import "./analytics-base-schemas-
|
|
10
|
+
import "./validators-CZo_H4E6.js";
|
|
11
|
+
import "./matrix-operation-contract-C1G6AJNh.js";
|
|
12
|
+
import "./analytics-base-schemas-BUFUoO6G.js";
|
|
13
13
|
import "zod";
|
|
14
14
|
import "../value-format-preferences/index.js";
|
|
15
15
|
import { c as we } from "./_commonjsHelpers-DimLPMtv.js";
|
|
@@ -2,9 +2,9 @@ import { jsx as y, jsxs as de, Fragment as St } from "react/jsx-runtime";
|
|
|
2
2
|
import * as l from "react";
|
|
3
3
|
import De, { useLayoutEffect as Wi, useState as qr, forwardRef as Ui, useRef as gn, useMemo as Hi, useId as Vi, useImperativeHandle as zi } from "react";
|
|
4
4
|
import "./index-CuHybtft.js";
|
|
5
|
-
import "./validators-
|
|
6
|
-
import "./matrix-operation-contract
|
|
7
|
-
import "./analytics-base-schemas-
|
|
5
|
+
import "./validators-CZo_H4E6.js";
|
|
6
|
+
import "./matrix-operation-contract-C1G6AJNh.js";
|
|
7
|
+
import "./analytics-base-schemas-BUFUoO6G.js";
|
|
8
8
|
import "zod";
|
|
9
9
|
import "../value-format-preferences/index.js";
|
|
10
10
|
import { a as ji, c as te, b as me, g as Ki } from "./_commonjsHelpers-DimLPMtv.js";
|
|
@@ -2,7 +2,7 @@ var ft = Object.defineProperty;
|
|
|
2
2
|
var ht = (e, t, r) => t in e ? ft(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
3
|
var ne = (e, t, r) => ht(e, typeof t != "symbol" ? t + "" : t, r);
|
|
4
4
|
import { z as S } from "zod";
|
|
5
|
-
import { e as ct } from "./comparison-window-caption-
|
|
5
|
+
import { e as ct } from "./comparison-window-caption-BseG5aOZ.js";
|
|
6
6
|
var E = Uint8Array, I = Uint16Array, pe = Int32Array, xe = new E([
|
|
7
7
|
0,
|
|
8
8
|
0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { k as P, u as B,
|
|
2
|
-
import "./matrix-operation-contract
|
|
3
|
-
import "./analytics-base-schemas-
|
|
1
|
+
import { k as P, u as B, ab as j } from "./validators-CZo_H4E6.js";
|
|
2
|
+
import "./matrix-operation-contract-C1G6AJNh.js";
|
|
3
|
+
import "./analytics-base-schemas-BUFUoO6G.js";
|
|
4
4
|
import { z as f } from "zod";
|
|
5
5
|
const T = 8, A = 6, E = Object.freeze([]);
|
|
6
6
|
function z(e) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var Ke = Object.defineProperty;
|
|
2
2
|
var Ve = (e, t, r) => t in e ? Ke(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
3
|
var O = (e, t, r) => Ve(e, typeof t != "symbol" ? t + "" : t, r);
|
|
4
|
-
import {
|
|
4
|
+
import { aP as we, aQ as Ge } from "./validators-CZo_H4E6.js";
|
|
5
5
|
import { canonicalizeSupportedLocale as _, canonicalizeSupportedCurrencyCode as q } from "../value-format-preferences/index.js";
|
|
6
|
-
import { i as F } from "./analytics-base-schemas-
|
|
7
|
-
import { p as Be } from "./raw-temporal-contract-
|
|
6
|
+
import { i as F } from "./analytics-base-schemas-BUFUoO6G.js";
|
|
7
|
+
import { p as Be } from "./raw-temporal-contract-CjHaUIsE.js";
|
|
8
8
|
function We(e) {
|
|
9
9
|
if (!e || typeof e != "object") return !1;
|
|
10
10
|
const t = e.type;
|
|
@@ -430,7 +430,7 @@ function X(e, t, r, n, a, i, s) {
|
|
|
430
430
|
const c = /* @__PURE__ */ new Date(0);
|
|
431
431
|
return c.setUTCFullYear(e, t, r), c.setUTCHours(n, a, i, s), c;
|
|
432
432
|
}
|
|
433
|
-
const se = 36e5, ht = 6e4,
|
|
433
|
+
const se = 36e5, ht = 6e4, L = {
|
|
434
434
|
timezoneZ: /^(Z)$/,
|
|
435
435
|
timezoneHH: /^([+-]\d{2})$/,
|
|
436
436
|
timezoneHHMM: /^([+-])(\d{2}):?(\d{2})$/
|
|
@@ -438,13 +438,13 @@ const se = 36e5, ht = 6e4, R = {
|
|
|
438
438
|
function Fe(e, t, r) {
|
|
439
439
|
if (!e)
|
|
440
440
|
return 0;
|
|
441
|
-
let n =
|
|
441
|
+
let n = L.timezoneZ.exec(e);
|
|
442
442
|
if (n)
|
|
443
443
|
return 0;
|
|
444
444
|
let a, i;
|
|
445
|
-
if (n =
|
|
445
|
+
if (n = L.timezoneHH.exec(e), n)
|
|
446
446
|
return a = parseInt(n[1], 10), ce(a) ? -(a * se) : NaN;
|
|
447
|
-
if (n =
|
|
447
|
+
if (n = L.timezoneHHMM.exec(e), n) {
|
|
448
448
|
a = parseInt(n[2], 10);
|
|
449
449
|
const s = parseInt(n[3], 10);
|
|
450
450
|
return ce(a, s) ? (i = Math.abs(a) * se + s * ht, n[1] === "+" ? -i : i) : NaN;
|
|
@@ -491,7 +491,7 @@ function ue(e) {
|
|
|
491
491
|
const t = new Date(Date.UTC(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()));
|
|
492
492
|
return t.setUTCFullYear(e.getFullYear()), +e - +t;
|
|
493
493
|
}
|
|
494
|
-
const Ce = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,
|
|
494
|
+
const Ce = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/, R = 36e5, le = 6e4, St = 2, y = {
|
|
495
495
|
dateTimePattern: /^([0-9W+-]+)(T| )(.*)/,
|
|
496
496
|
datePattern: /^([0-9W+-]+)(.*)/,
|
|
497
497
|
// year tokens
|
|
@@ -619,13 +619,13 @@ function vt(e, t) {
|
|
|
619
619
|
function _t(e) {
|
|
620
620
|
let t, r, n = y.HH.exec(e);
|
|
621
621
|
if (n)
|
|
622
|
-
return t = parseFloat(n[1].replace(",", ".")), H(t) ? t % 24 *
|
|
622
|
+
return t = parseFloat(n[1].replace(",", ".")), H(t) ? t % 24 * R : NaN;
|
|
623
623
|
if (n = y.HHMM.exec(e), n)
|
|
624
|
-
return t = parseInt(n[1], 10), r = parseFloat(n[2].replace(",", ".")), H(t, r) ? t % 24 *
|
|
624
|
+
return t = parseInt(n[1], 10), r = parseFloat(n[2].replace(",", ".")), H(t, r) ? t % 24 * R + r * le : NaN;
|
|
625
625
|
if (n = y.HHMMSS.exec(e), n) {
|
|
626
626
|
t = parseInt(n[1], 10), r = parseInt(n[2], 10);
|
|
627
627
|
const a = parseFloat(n[3].replace(",", "."));
|
|
628
|
-
return H(t, r, a) ? t % 24 *
|
|
628
|
+
return H(t, r, a) ? t % 24 * R + r * le + a * 1e3 : NaN;
|
|
629
629
|
}
|
|
630
630
|
return null;
|
|
631
631
|
}
|
|
@@ -1003,7 +1003,7 @@ class w extends Error {
|
|
|
1003
1003
|
this.name = "RawTemporalFormatContractError", this.code = r;
|
|
1004
1004
|
}
|
|
1005
1005
|
}
|
|
1006
|
-
const
|
|
1006
|
+
const Lt = [
|
|
1007
1007
|
"SSSSSSSSS",
|
|
1008
1008
|
"SSSSSSSS",
|
|
1009
1009
|
"SSSSSSS",
|
|
@@ -1013,7 +1013,7 @@ const Rt = [
|
|
|
1013
1013
|
"SSS",
|
|
1014
1014
|
"SS",
|
|
1015
1015
|
"S"
|
|
1016
|
-
], Pe = /^(\d{4})-(\d{2})-(\d{2})$/, Ae = /^(\d{4})-(\d{2})-(\d{2})[T ](\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{1,9}))?)?$/, Oe = /^(\d{4})-(\d{2})-(\d{2})[T ](\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{1,9}))?)?(Z|[+-]\d{2}:\d{2})$/,
|
|
1016
|
+
], Pe = /^(\d{4})-(\d{2})-(\d{2})$/, Ae = /^(\d{4})-(\d{2})-(\d{2})[T ](\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{1,9}))?)?$/, Oe = /^(\d{4})-(\d{2})-(\d{2})[T ](\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{1,9}))?)?(Z|[+-]\d{2}:\d{2})$/, Rt = [
|
|
1017
1017
|
"yyyy",
|
|
1018
1018
|
"MMMM",
|
|
1019
1019
|
"LLLL",
|
|
@@ -1045,7 +1045,7 @@ const Rt = [
|
|
|
1045
1045
|
"ss",
|
|
1046
1046
|
"s",
|
|
1047
1047
|
"a",
|
|
1048
|
-
...
|
|
1048
|
+
...Lt
|
|
1049
1049
|
]), Zt = /* @__PURE__ */ new Set(["zzz", "XXX"]), Z = /* @__PURE__ */ new Set(["short", "medium", "long"]);
|
|
1050
1050
|
function p(e, t) {
|
|
1051
1051
|
return Object.keys(e).length === t.length && t.every((n) => n in e);
|
|
@@ -1103,7 +1103,7 @@ function Ue(e) {
|
|
|
1103
1103
|
}), n = s;
|
|
1104
1104
|
continue;
|
|
1105
1105
|
}
|
|
1106
|
-
const a =
|
|
1106
|
+
const a = Rt.find(
|
|
1107
1107
|
(s) => e.startsWith(s, n)
|
|
1108
1108
|
);
|
|
1109
1109
|
if (a) {
|
|
@@ -1119,7 +1119,7 @@ function Ue(e) {
|
|
|
1119
1119
|
}
|
|
1120
1120
|
return t.some((a) => a.kind === "token") ? t : m("date_fns patterns must contain at least one token.");
|
|
1121
1121
|
}
|
|
1122
|
-
function
|
|
1122
|
+
function Le(e, t) {
|
|
1123
1123
|
if (e === "semaphor_tokens") {
|
|
1124
1124
|
const r = k(t);
|
|
1125
1125
|
r.ok || m(r.message);
|
|
@@ -1138,7 +1138,7 @@ function jt(e) {
|
|
|
1138
1138
|
}
|
|
1139
1139
|
} : m("Automatic dateStyle is invalid.");
|
|
1140
1140
|
}
|
|
1141
|
-
function
|
|
1141
|
+
function Re(e) {
|
|
1142
1142
|
const t = ["type", "locale", "calendarTimezone", "presentation"], r = [...t, "sourceTimezone"];
|
|
1143
1143
|
if (!g(e) || !p(e, t) && !p(e, r) || e.type !== "raw_temporal")
|
|
1144
1144
|
return m("Resolved raw temporal format has an invalid shape.");
|
|
@@ -1160,7 +1160,7 @@ function Le(e) {
|
|
|
1160
1160
|
"Automatic raw temporal presentation has unknown fields."
|
|
1161
1161
|
) : e.presentation.mode !== "pattern" || !p(e.presentation, ["mode", "dialect", "pattern"]) || e.presentation.dialect !== "semaphor_tokens" && e.presentation.dialect !== "date_fns" || typeof e.presentation.pattern != "string" ? m(
|
|
1162
1162
|
"Pattern raw temporal presentation has an invalid shape."
|
|
1163
|
-
) : (
|
|
1163
|
+
) : (Le(e.presentation.dialect, e.presentation.pattern), {
|
|
1164
1164
|
type: "raw_temporal",
|
|
1165
1165
|
locale: n,
|
|
1166
1166
|
calendarTimezone: e.calendarTimezone,
|
|
@@ -1172,7 +1172,7 @@ function Le(e) {
|
|
|
1172
1172
|
}
|
|
1173
1173
|
}) : m("Raw temporal presentation must be an object.") : m("Raw temporal locale is invalid or unsupported.");
|
|
1174
1174
|
}
|
|
1175
|
-
function
|
|
1175
|
+
function Lr(e) {
|
|
1176
1176
|
var c, o, u;
|
|
1177
1177
|
if (e.format) {
|
|
1178
1178
|
if (!g(e.format))
|
|
@@ -1197,7 +1197,7 @@ function Rr(e) {
|
|
|
1197
1197
|
return m(
|
|
1198
1198
|
"Authored raw temporal pattern has an invalid shape."
|
|
1199
1199
|
);
|
|
1200
|
-
|
|
1200
|
+
Le(f.dialect, f.pattern);
|
|
1201
1201
|
}
|
|
1202
1202
|
}
|
|
1203
1203
|
const t = (c = e.format) == null ? void 0 : c.timezone, r = (o = e.format) == null ? void 0 : o.sourceTimezone, n = t && t !== "auto" ? t : e.calendar.tz, a = r && r !== "auto" ? r === "local" ? Intl.DateTimeFormat().resolvedOptions().timeZone : r : void 0;
|
|
@@ -1216,14 +1216,14 @@ function Rr(e) {
|
|
|
1216
1216
|
}
|
|
1217
1217
|
}
|
|
1218
1218
|
};
|
|
1219
|
-
return
|
|
1219
|
+
return Re(s);
|
|
1220
1220
|
}
|
|
1221
1221
|
function qt(e) {
|
|
1222
1222
|
if (Pe.test(e)) return "date";
|
|
1223
1223
|
if (Oe.test(e)) return "instant";
|
|
1224
1224
|
if (Ae.test(e)) return "wall_datetime";
|
|
1225
1225
|
}
|
|
1226
|
-
function
|
|
1226
|
+
function Rr(e) {
|
|
1227
1227
|
const t = /* @__PURE__ */ new Set();
|
|
1228
1228
|
let r = !1;
|
|
1229
1229
|
for (const n of e.values) {
|
|
@@ -1576,7 +1576,7 @@ function he(e, t, r) {
|
|
|
1576
1576
|
};
|
|
1577
1577
|
}
|
|
1578
1578
|
function nr(e) {
|
|
1579
|
-
const t = Be(e.metadata), r =
|
|
1579
|
+
const t = Be(e.metadata), r = Re(e.format), n = r.presentation.mode === "auto" ? rr(t, r) : er(
|
|
1580
1580
|
t,
|
|
1581
1581
|
r,
|
|
1582
1582
|
r.presentation.dialect,
|
|
@@ -2016,14 +2016,14 @@ function Br(e) {
|
|
|
2016
2016
|
return yr(r.value, i.segments, a);
|
|
2017
2017
|
}
|
|
2018
2018
|
export {
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2019
|
+
je as A,
|
|
2020
|
+
Kr as B,
|
|
2021
|
+
fr as C,
|
|
2022
2022
|
ar as D,
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2023
|
+
Vr as E,
|
|
2024
|
+
Gr as F,
|
|
2025
|
+
Br as G,
|
|
2026
|
+
Re as H,
|
|
2027
2027
|
qt as I,
|
|
2028
2028
|
Hr as J,
|
|
2029
2029
|
Kt as K,
|
|
@@ -2042,30 +2042,30 @@ export {
|
|
|
2042
2042
|
$r as X,
|
|
2043
2043
|
Fe as Y,
|
|
2044
2044
|
me as Z,
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2045
|
+
kr as a,
|
|
2046
|
+
J as b,
|
|
2047
|
+
Rr as c,
|
|
2048
|
+
Ne as d,
|
|
2049
|
+
be as e,
|
|
2050
|
+
Mr as f,
|
|
2051
|
+
$e as g,
|
|
2052
|
+
Ie as h,
|
|
2053
2053
|
We as i,
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2054
|
+
Nr as j,
|
|
2055
|
+
br as k,
|
|
2056
|
+
ct as l,
|
|
2057
|
+
_e as m,
|
|
2058
|
+
It as n,
|
|
2059
|
+
Pr as o,
|
|
2060
2060
|
nr as p,
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2061
|
+
Ar as q,
|
|
2062
|
+
Lr as r,
|
|
2063
|
+
Ft as s,
|
|
2064
|
+
Or as t,
|
|
2065
|
+
zt as u,
|
|
2066
2066
|
jr as v,
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2067
|
+
k as w,
|
|
2068
|
+
ze as x,
|
|
2069
|
+
Ur as y,
|
|
2070
|
+
I as z
|
|
2071
2071
|
};
|