@alfadocs/ui-kit 1.137.0 → 1.139.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/_chunks/{address-fields-DvSWdeR0.js → address-fields-Bh9JZJHZ.js} +4 -4
- package/dist/_chunks/{ai-prompt-input-CVNeusoW.js → ai-prompt-input-B2QFwuJ1.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-Dr2V1Rtf.js → anamnesis-summary-rows-BgfBnjp0.js} +4 -4
- package/dist/_chunks/{appointment-card-BT1cMZIX.js → appointment-card-CaxFXtSn.js} +196 -184
- package/dist/_chunks/{appointment-timeline-Dy4YQJ17.js → appointment-timeline-BEwgbYyG.js} +113 -110
- package/dist/_chunks/{appointment-tray-B3gSHL1j.js → appointment-tray-DPpeR9JT.js} +8 -8
- package/dist/_chunks/{audio-recorder-BOF5YYoC.js → audio-recorder-6dUq8I38.js} +2 -2
- package/dist/_chunks/autocomplete-HZNW7_Pa.js +642 -0
- package/dist/_chunks/{balance-badge-cell-BSB02Bwo.js → balance-badge-cell-CRrIv2hy.js} +4 -4
- package/dist/_chunks/{bill-line-table-By-YL2ms.js → bill-line-table-DCqxhode.js} +3 -3
- package/dist/_chunks/{bishop-score-DWGESRP9.js → bishop-score-M7Fi-ykx.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-D0n_bVsT.js → calendar-appointment-editor-dialog-GdnaPIOV.js} +537 -536
- package/dist/_chunks/{calendar-editor-discard-host-1UfmMOEb.js → calendar-editor-discard-host-BcMEgVEq.js} +3 -3
- package/dist/_chunks/{calendar-waiting-list-panel-Ckd6tSeu.js → calendar-waiting-list-panel-CkZBAv_E.js} +4 -4
- package/dist/_chunks/{calendar-workspace.model-DrOoxY1b.js → calendar-workspace.model-B8yPwuBv.js} +2 -2
- package/dist/_chunks/{calendar.sheets-Datc0-IT.js → calendar.sheets-B0jP2Yt0.js} +113 -112
- package/dist/_chunks/{calls-panel-BIfatK90.js → calls-panel-CtxJAzkJ.js} +2 -2
- package/dist/_chunks/{city-input-DXipzTfZ.js → city-input-DARVDJhH.js} +2 -2
- package/dist/_chunks/{combobox-BBCVQS-S.js → combobox-BYl6mY4c.js} +12 -13
- package/dist/_chunks/{communications-panel-SQ-55e3V.js → communications-panel-DBWM9II9.js} +2 -2
- package/dist/_chunks/{country-select-C2GdvRtS.js → country-select-BPISkYVU.js} +3 -3
- package/dist/_chunks/{data-grid-CxKz8flO.js → data-grid-bQ6iFm10.js} +15 -7
- package/dist/_chunks/{data-table-_tgj0C_T.js → data-table-CnLfOwxg.js} +2 -2
- package/dist/_chunks/{default-tabs-oDWQzbN7.js → default-tabs-Dm_vk6hd.js} +3 -3
- package/dist/_chunks/{document-preview-CirR3C_m.js → document-preview-FTCHXYhk.js} +2 -2
- package/dist/_chunks/{face-scheme-D_Y1StPl.js → face-scheme-Bxt7ZnJn.js} +2 -2
- package/dist/_chunks/{file-manager-CEi4z2i0.js → file-manager-Bsccb8Jj.js} +2 -2
- package/dist/_chunks/{forgot-password-form-YvI9vX-G.js → forgot-password-form-B4ufmBFn.js} +5 -4
- package/dist/_chunks/{gestational-age-calculator-CHbpC4vL.js → gestational-age-calculator-DXSPWG8u.js} +2 -2
- package/dist/_chunks/{heatmap-_546qI2V.js → heatmap-CFPaEKD_.js} +2 -2
- package/dist/_chunks/{invoice-upload-list-CQI9MUl6.js → invoice-upload-list-Dz3CXHPP.js} +3 -3
- package/dist/_chunks/{kit-extensions-BNBf4m8O.js → kit-extensions-BB_ksnVl.js} +3 -3
- package/dist/_chunks/{link-cell-renderer-Xx5T8u5Q.js → link-cell-renderer-CSA0KKPe.js} +5 -5
- package/dist/_chunks/{login-dev-card-Dz3ezx1o.js → login-dev-card-oRh9h7N2.js} +18 -17
- package/dist/_chunks/medication-I6QvOq6k.js +21 -0
- package/dist/_chunks/medication-line-CHdlh-F7.js +222 -0
- package/dist/_chunks/medication-search-DoEDakoM.js +380 -0
- package/dist/_chunks/{multi-select-Df3R8lv_.js → multi-select-DeMiHm8T.js} +4 -5
- package/dist/_chunks/{muscle-scheme-D_rSyGDj.js → muscle-scheme-BB2eBfww.js} +2 -2
- package/dist/_chunks/normalize-diacritics-DhJjQ3Bp.js +7 -0
- package/dist/_chunks/{notes-panel-DsEKNtsw.js → notes-panel-CnmQqhwq.js} +2 -2
- package/dist/_chunks/{optical-prescription-DaSbsh4p.js → optical-prescription-C4jpDFOE.js} +2 -2
- package/dist/_chunks/{option-row-Dc7BrbK8.js → option-row-DpCnuUqo.js} +25 -12
- package/dist/_chunks/{patient-account-settings-COybehKx.js → patient-account-settings-DfEPHmCh.js} +3 -3
- package/dist/_chunks/{patient-check-in-resume-DZnyYDKH.js → patient-check-in-resume-TWs8CPQr.js} +5 -5
- package/dist/_chunks/{patient-details-Dv7EiTCo.js → patient-details-DQTxSWY4.js} +2 -2
- package/dist/_chunks/{patient-field-row-DuHWGlLz.js → patient-field-row-CXuWQeQJ.js} +6 -6
- package/dist/_chunks/patient-picker-CQNsqYn2.js +163 -0
- package/dist/_chunks/{patient-search-DBvLFArV.js → patient-search-aTFd7p9s.js} +2 -2
- package/dist/_chunks/{patient-summary-card-D-cDzOim.js → patient-summary-card-j5u7c5Us.js} +2 -2
- package/dist/_chunks/{phone-input-BL8Sj6OG.js → phone-input-DRKcJUi4.js} +2 -2
- package/dist/_chunks/{portal-details-DdzvroYP.js → portal-details-VfeOI4PB.js} +3 -3
- package/dist/_chunks/{portal-documents-CNmoYWFc.js → portal-documents-hGHlwmbv.js} +3 -3
- package/dist/_chunks/{portal-parts-Br8wuala.js → portal-parts-C99CreYO.js} +2 -2
- package/dist/_chunks/{pregnancy-dating-lJbzai73.js → pregnancy-dating-C-3NLI6K.js} +2 -2
- package/dist/_chunks/prescription-history-748qDVwZ.js +1544 -0
- package/dist/_chunks/print-sheet-CSeqkM3_.js +318 -0
- package/dist/_chunks/{province-select-CTM8A9SM.js → province-select-D-iY9bQG.js} +3 -3
- package/dist/_chunks/{registration-form-CuLiTA52.js → registration-form-Cs9o6e5q.js} +7 -6
- package/dist/_chunks/{reserved.agent-CabZHFJC.js → reserved.agent-L2ElYPuj.js} +7 -7
- package/dist/_chunks/{reset-password-form-D_TePSM1.js → reset-password-form-DwtSNhnA.js} +18 -17
- package/dist/_chunks/{rich-text-editor-C48omVjq.js → rich-text-editor-DFsH5RAj.js} +2 -2
- package/dist/_chunks/save-Dn8uje3f.js +22 -0
- package/dist/_chunks/{search-bar-CQ9_V3EJ.js → search-bar-k1mS5yZl.js} +2 -2
- package/dist/_chunks/{select-CIXKyUMw.js → select-Bm8s3q-X.js} +16 -17
- package/dist/_chunks/{send-registration-link-form-BjkXr0TD.js → send-registration-link-form-C1vw6H1M.js} +6 -5
- package/dist/_chunks/{signature-request-vJDSHZld.js → signature-request-D3sLLOM6.js} +2 -2
- package/dist/_chunks/sync-tray-BhnkgXKK.js +567 -0
- package/dist/_chunks/{tabs-Czkmw5ou.js → tabs-BXr5XeGq.js} +2 -2
- package/dist/_chunks/{task-editor-wKbFbGqW.js → task-editor-DDVDPKJf.js} +26 -25
- package/dist/_chunks/{tasks-panel-DbtJS4QI.js → tasks-panel-BHXaPNOZ.js} +2 -2
- package/dist/_chunks/{toolbar-DjG-cpD_.js → toolbar-Dz_hAUIZ.js} +2 -2
- package/dist/_chunks/{unit-converter-CUAUTu2B.js → unit-converter-CBy7S4Tl.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-jGkJalX8.js → use-appointment-details-read-CBSpX4DI.js} +2 -2
- package/dist/_chunks/use-error-summary-CecJZo6w.js +32 -0
- package/dist/_chunks/use-registration-submit-CVukOAQk.js +84 -0
- package/dist/_chunks/{variables-menu-DQl8H4Gh.js → variables-menu-C4NcClKi.js} +2 -2
- package/dist/_chunks/{voice-control-panel-Cp4vs1iy.js → voice-control-panel-Dc_NFH2R.js} +2 -2
- package/dist/agent-catalog.json +456 -2
- package/dist/agent-i18n/en.json +53 -0
- package/dist/appointment-editor-panel/index.js +2 -2
- package/dist/booking-tools-data/index.js +1 -1
- package/dist/browser-support.js +1 -1
- package/dist/calendar-action-buttons/index.js +1 -1
- package/dist/components/_shared/medication.d.ts +28 -0
- package/dist/components/_shared/normalize-diacritics.d.ts +5 -0
- package/dist/components/_shared/patient-picker.d.ts +7 -0
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/appointment-card/appointment-card.d.ts +5 -2
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-timeline/appointment-timeline.d.ts +6 -0
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/autocomplete/autocomplete.d.ts +50 -0
- package/dist/components/autocomplete/index.d.ts +1 -1
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/bill-line-table/index.js +1 -1
- package/dist/components/bill-table/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/calls-panel/index.js +1 -1
- package/dist/components/city-input/index.js +1 -1
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/communications-panel/index.js +1 -1
- package/dist/components/country-select/index.js +1 -1
- package/dist/components/data-grid/index.js +2 -2
- package/dist/components/data-table/index.js +2 -2
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/index.d.ts +5 -0
- package/dist/components/invoice-upload-list/index.js +1 -1
- package/dist/components/medication-line/index.d.ts +6 -0
- package/dist/components/medication-line/index.js +7 -0
- package/dist/components/medication-line/medication-line.agent.d.ts +14 -0
- package/dist/components/medication-line/medication-line.d.ts +40 -0
- package/dist/components/medication-search/index.d.ts +6 -0
- package/dist/components/medication-search/index.js +10 -0
- package/dist/components/medication-search/medication-search.agent.d.ts +15 -0
- package/dist/components/medication-search/medication-search.d.ts +49 -0
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/muscle-scheme/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/print-sheet/index.d.ts +5 -0
- package/dist/components/print-sheet/index.js +6 -0
- package/dist/components/print-sheet/print-isolation.d.ts +17 -0
- package/dist/components/print-sheet/print-sheet.agent.d.ts +19 -0
- package/dist/components/print-sheet/print-sheet.d.ts +54 -0
- package/dist/components/province-select/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +2 -2
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/skeleton-scheme/index.js +1 -1
- package/dist/components/sync-tray/index.d.ts +4 -0
- package/dist/components/sync-tray/index.js +7 -0
- package/dist/components/sync-tray/sync-tray.agent.d.ts +15 -0
- package/dist/components/sync-tray/sync-tray.d.ts +77 -0
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/variables-menu/index.js +1 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/find-free-slots-panel/index.js +1 -1
- package/dist/host-compat.css +13 -1
- package/dist/host-legacy.css +16 -0
- package/dist/i18n/locales/ar.d.ts +134 -1
- package/dist/i18n/locales/ar.js +134 -1
- package/dist/i18n/locales/de.d.ts +134 -1
- package/dist/i18n/locales/de.js +134 -1
- package/dist/i18n/locales/el.d.ts +134 -1
- package/dist/i18n/locales/el.js +134 -1
- package/dist/i18n/locales/en.d.ts +134 -1
- package/dist/i18n/locales/en.js +134 -1
- package/dist/i18n/locales/es.d.ts +134 -1
- package/dist/i18n/locales/es.js +134 -1
- package/dist/i18n/locales/fr.d.ts +134 -1
- package/dist/i18n/locales/fr.js +134 -1
- package/dist/i18n/locales/hi.d.ts +134 -1
- package/dist/i18n/locales/hi.js +134 -1
- package/dist/i18n/locales/it.d.ts +134 -1
- package/dist/i18n/locales/it.js +134 -1
- package/dist/i18n/locales/ja.d.ts +134 -1
- package/dist/i18n/locales/ja.js +134 -1
- package/dist/i18n/locales/nl.d.ts +134 -1
- package/dist/i18n/locales/nl.js +134 -1
- package/dist/i18n/locales/pl.d.ts +134 -1
- package/dist/i18n/locales/pl.js +134 -1
- package/dist/i18n/locales/pt.d.ts +134 -1
- package/dist/i18n/locales/pt.js +134 -1
- package/dist/i18n/locales/ro.d.ts +134 -1
- package/dist/i18n/locales/ro.js +134 -1
- package/dist/i18n/locales/ru.d.ts +134 -1
- package/dist/i18n/locales/ru.js +134 -1
- package/dist/i18n/locales/sq.d.ts +134 -1
- package/dist/i18n/locales/sq.js +134 -1
- package/dist/i18n/locales/sv.d.ts +134 -1
- package/dist/i18n/locales/sv.js +134 -1
- package/dist/i18n/locales/tr.d.ts +134 -1
- package/dist/i18n/locales/tr.js +134 -1
- package/dist/i18n/locales/zh.d.ts +134 -1
- package/dist/i18n/locales/zh.js +134 -1
- package/dist/index.js +1004 -976
- package/dist/locales/ar.json +134 -1
- package/dist/locales/de.json +134 -1
- package/dist/locales/el.json +134 -1
- package/dist/locales/en.json +134 -1
- package/dist/locales/es.json +134 -1
- package/dist/locales/fr.json +134 -1
- package/dist/locales/hi.json +134 -1
- package/dist/locales/it.json +134 -1
- package/dist/locales/ja.json +134 -1
- package/dist/locales/nl.json +134 -1
- package/dist/locales/pl.json +134 -1
- package/dist/locales/pt.json +134 -1
- package/dist/locales/ro.json +134 -1
- package/dist/locales/ru.json +134 -1
- package/dist/locales/sq.json +134 -1
- package/dist/locales/sv.json +134 -1
- package/dist/locales/tr.json +134 -1
- package/dist/locales/zh.json +134 -1
- package/dist/online-bookings-panel/index.js +2 -2
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +4 -4
- package/dist/patterns/forgot-password-form/index.js +1 -1
- package/dist/patterns/login-form/index.js +1 -1
- package/dist/patterns/patient-account-settings/index.js +1 -1
- package/dist/patterns/patient-check-in/index.js +1 -1
- package/dist/patterns/patient-portal/index.js +2 -2
- package/dist/patterns/prescription/index.d.ts +11 -0
- package/dist/patterns/prescription/index.js +13 -0
- package/dist/patterns/prescription/prescription-composer-errors.d.ts +6 -0
- package/dist/patterns/prescription/prescription-composer-item.d.ts +34 -0
- package/dist/patterns/prescription/prescription-composer.d.ts +89 -0
- package/dist/patterns/prescription/prescription-history.d.ts +48 -0
- package/dist/patterns/prescription/prescription-patient-block.d.ts +13 -0
- package/dist/patterns/prescription/prescription-sheet.d.ts +52 -0
- package/dist/patterns/prescription/prescription-status-badge.d.ts +5 -0
- package/dist/patterns/prescription/prescription-types.d.ts +97 -0
- package/dist/patterns/prescription/prescription-validation.d.ts +40 -0
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/reset-password-form/index.js +1 -1
- package/dist/patterns/send-registration-link-form/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/dist/waiting-list-panel/index.js +2 -2
- package/package.json +21 -1
- package/dist/_chunks/autocomplete-D10ydpgi.js +0 -562
- package/dist/_chunks/group-options-BvKhQ3xb.js +0 -16
- package/dist/_chunks/normalize-diacritics-BNGbFNlJ.js +0 -7
- package/dist/_chunks/patient-picker-BZJuOgMw.js +0 -173
- package/dist/_chunks/use-registration-submit-CLGHxwoT.js +0 -112
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
import { jsxs as l, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as ne, useId as re, useRef as T, useMemo as H, useEffect as ie, useImperativeHandle as ae } from "react";
|
|
3
|
+
import { c as oe } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as de } from "react-i18next";
|
|
5
|
+
import { u as le } from "./registry-DvAUVLHh.js";
|
|
6
|
+
import { f as ce } from "./intl-locale-FWh-Y5_3.js";
|
|
7
|
+
const ue = {
|
|
8
|
+
id: "print-sheet",
|
|
9
|
+
capabilities: [],
|
|
10
|
+
state: {
|
|
11
|
+
isPrinting: {
|
|
12
|
+
type: "boolean",
|
|
13
|
+
descriptionKey: "ui.agent.printSheet.state.isPrinting",
|
|
14
|
+
description: "True while the sheet is marked for print.",
|
|
15
|
+
read: (e) => e.isPrinting()
|
|
16
|
+
},
|
|
17
|
+
size: {
|
|
18
|
+
type: "string",
|
|
19
|
+
descriptionKey: "ui.agent.printSheet.state.size",
|
|
20
|
+
description: "The paper size of the sheet: a4 or a5.",
|
|
21
|
+
read: (e) => e.getSize()
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
actions: {
|
|
25
|
+
print: {
|
|
26
|
+
// §3: `write` is "persistent but reversible via the same UI". A
|
|
27
|
+
// printed or saved document leaves the system and cannot be recalled,
|
|
28
|
+
// so the more conservative class applies: `destructive`. The sheet is
|
|
29
|
+
// generic and cannot know whether its content is PHI, so it does not
|
|
30
|
+
// claim `phi`; a consumer pattern that prints patient data classifies
|
|
31
|
+
// its own workflow as `phi`.
|
|
32
|
+
safety: "destructive",
|
|
33
|
+
openWorld: !0,
|
|
34
|
+
idempotent: !1,
|
|
35
|
+
descriptionKey: "ui.agent.printSheet.actions.print",
|
|
36
|
+
description: "Open the browser's print dialog to print only this sheet. The user still chooses to print or cancel.",
|
|
37
|
+
invoke: (e) => e.print()
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
domHooks: {
|
|
41
|
+
root: {
|
|
42
|
+
attr: "data-component",
|
|
43
|
+
value: "print-sheet",
|
|
44
|
+
description: "Marks the PrintSheet root. `data-size` carries the paper size, `data-density` the spacing, and `data-printing` is present while it is being printed."
|
|
45
|
+
},
|
|
46
|
+
instanceId: {
|
|
47
|
+
attr: "data-component-id",
|
|
48
|
+
sourceProp: "id",
|
|
49
|
+
description: "Sourced from the id prop, when provided."
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}, M = "data-print-sheet-target", E = "data-print-sheet-ancestor", V = "data-print-sheet-printing", F = "data-printing", N = "theme-light", k = "theme-dark", b = "theme-accessible", v = /* @__PURE__ */ new Set();
|
|
53
|
+
let d = null, r = null, y = !1;
|
|
54
|
+
function fe(e) {
|
|
55
|
+
return e != null && e.isConnected ? typeof e.checkVisibility == "function" ? e.checkVisibility({ visibilityProperty: !0 }) : e.getClientRects().length > 0 : !1;
|
|
56
|
+
}
|
|
57
|
+
function pe(e) {
|
|
58
|
+
const t = e.ownerDocument.body, s = [];
|
|
59
|
+
for (let n = e.parentElement; n && (s.push(n), n !== t); n = n.parentElement)
|
|
60
|
+
;
|
|
61
|
+
return s;
|
|
62
|
+
}
|
|
63
|
+
function me(e, t, s) {
|
|
64
|
+
const n = {
|
|
65
|
+
element: t,
|
|
66
|
+
addedLight: !1,
|
|
67
|
+
removedDark: !1,
|
|
68
|
+
addedAccessible: !1
|
|
69
|
+
};
|
|
70
|
+
t.setAttribute(M, ""), t.setAttribute(F, "true"), t.classList.contains(k) && (t.classList.remove(k), n.removedDark = !0), t.classList.contains(N) || (t.classList.add(N), n.addedLight = !0), t.closest(`.${b}`) && !t.classList.contains(b) && (t.classList.add(b), n.addedAccessible = !0);
|
|
71
|
+
const c = t.ownerDocument.body;
|
|
72
|
+
for (let i = t.parentElement; i && (i.setAttribute(E, ""), s.ancestors.add(i), i !== c); i = i.parentElement)
|
|
73
|
+
;
|
|
74
|
+
s.targets.set(e, n);
|
|
75
|
+
}
|
|
76
|
+
function G(e) {
|
|
77
|
+
const { element: t } = e;
|
|
78
|
+
t.removeAttribute(M), t.removeAttribute(F), e.addedLight && t.classList.remove(N), e.addedAccessible && t.classList.remove(b), e.removedDark && t.classList.add(k);
|
|
79
|
+
}
|
|
80
|
+
function K(e) {
|
|
81
|
+
e.isTrusted && w();
|
|
82
|
+
}
|
|
83
|
+
function $(e) {
|
|
84
|
+
const t = e ? "addEventListener" : "removeEventListener";
|
|
85
|
+
document[t]("pointerdown", K, !0), document[t]("keydown", K, !0);
|
|
86
|
+
}
|
|
87
|
+
function B() {
|
|
88
|
+
if (r) return;
|
|
89
|
+
const e = d ? [d] : [...v].filter(
|
|
90
|
+
(s) => s.isolate() && fe(s.getElement())
|
|
91
|
+
), t = { targets: /* @__PURE__ */ new Map(), ancestors: /* @__PURE__ */ new Set() };
|
|
92
|
+
for (const s of e) {
|
|
93
|
+
const n = s.getElement();
|
|
94
|
+
n != null && n.isConnected && me(s, n, t);
|
|
95
|
+
}
|
|
96
|
+
if (t.targets.size === 0) {
|
|
97
|
+
d = null;
|
|
98
|
+
return;
|
|
99
|
+
}
|
|
100
|
+
r = t, document.documentElement.setAttribute(V, ""), $(!0);
|
|
101
|
+
for (const s of [...t.targets.keys()]) s.before();
|
|
102
|
+
}
|
|
103
|
+
function w() {
|
|
104
|
+
const e = r;
|
|
105
|
+
if (e) {
|
|
106
|
+
r = null, d = null, $(!1);
|
|
107
|
+
for (const t of e.targets.values()) G(t);
|
|
108
|
+
for (const t of e.ancestors) t.removeAttribute(E);
|
|
109
|
+
document.documentElement.removeAttribute(V);
|
|
110
|
+
for (const t of [...e.targets.keys()]) t.after();
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
function he() {
|
|
114
|
+
y || typeof window > "u" || (window.addEventListener("beforeprint", B), window.addEventListener("afterprint", w), y = !0);
|
|
115
|
+
}
|
|
116
|
+
function ge() {
|
|
117
|
+
!y || r || (window.removeEventListener("beforeprint", B), window.removeEventListener("afterprint", w), y = !1);
|
|
118
|
+
}
|
|
119
|
+
function be(e) {
|
|
120
|
+
return v.add(e), he(), () => {
|
|
121
|
+
v.delete(e), d === e && (d = null);
|
|
122
|
+
const t = r == null ? void 0 : r.targets.get(e);
|
|
123
|
+
if (r && t) {
|
|
124
|
+
G(t), r.targets.delete(e);
|
|
125
|
+
const s = /* @__PURE__ */ new Set();
|
|
126
|
+
for (const n of r.targets.values())
|
|
127
|
+
for (const c of pe(n.element)) s.add(c);
|
|
128
|
+
for (const n of [...r.ancestors])
|
|
129
|
+
s.has(n) || (n.removeAttribute(E), r.ancestors.delete(n));
|
|
130
|
+
e.after(), r.targets.size === 0 && w();
|
|
131
|
+
}
|
|
132
|
+
v.size === 0 && ge();
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
function ve(e) {
|
|
136
|
+
if (!(typeof window > "u")) {
|
|
137
|
+
d = e;
|
|
138
|
+
try {
|
|
139
|
+
window.print();
|
|
140
|
+
} finally {
|
|
141
|
+
r || (d = null);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
function ye(e) {
|
|
146
|
+
return (r == null ? void 0 : r.targets.has(e)) ?? !1;
|
|
147
|
+
}
|
|
148
|
+
const we = oe(
|
|
149
|
+
[
|
|
150
|
+
"ds:relative ds:mx-auto ds:flex ds:w-full ds:flex-col ds:box-border",
|
|
151
|
+
"ds:[max-inline-size:var(--print-sheet-inline-size)]",
|
|
152
|
+
"ds:[aspect-ratio:var(--print-sheet-ratio)]",
|
|
153
|
+
"ds:bg-[var(--card)] ds:text-[color:var(--card-foreground)]",
|
|
154
|
+
"ds:rounded-[var(--radius-md)]",
|
|
155
|
+
"ds:[:where(&)]:border-[length:var(--surface-border-width,var(--border-width-sm))]",
|
|
156
|
+
"ds:border-[color:var(--card-border)] ds:shadow-[var(--shadow-card)]"
|
|
157
|
+
].join(" "),
|
|
158
|
+
{
|
|
159
|
+
variants: {
|
|
160
|
+
density: {
|
|
161
|
+
default: "ds:p-[var(--spacing-2xl)] ds:gap-[var(--print-sheet-gap)] ds:[--print-sheet-gap:var(--spacing-lg)]",
|
|
162
|
+
compact: "ds:p-[var(--spacing-lg)] ds:gap-[var(--print-sheet-gap)] ds:[--print-sheet-gap:var(--spacing-md)]"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
defaultVariants: { density: "default" }
|
|
166
|
+
}
|
|
167
|
+
), W = /^(\d{4})-(\d{2})-(\d{2})$/;
|
|
168
|
+
function Se(e) {
|
|
169
|
+
let t;
|
|
170
|
+
if (e instanceof Date)
|
|
171
|
+
t = e;
|
|
172
|
+
else if (typeof e == "number")
|
|
173
|
+
t = new Date(e);
|
|
174
|
+
else {
|
|
175
|
+
const s = W.exec(e);
|
|
176
|
+
t = s ? new Date(Number(s[1]), Number(s[2]) - 1, Number(s[3])) : new Date(e);
|
|
177
|
+
}
|
|
178
|
+
return Number.isNaN(t.getTime()) ? null : t;
|
|
179
|
+
}
|
|
180
|
+
function xe(e, t) {
|
|
181
|
+
return typeof e == "string" && W.test(e) ? e : t.toISOString();
|
|
182
|
+
}
|
|
183
|
+
const Ae = ne(
|
|
184
|
+
({
|
|
185
|
+
size: e = "a4",
|
|
186
|
+
density: t = "default",
|
|
187
|
+
header: s,
|
|
188
|
+
title: n,
|
|
189
|
+
headingLevel: c = 2,
|
|
190
|
+
date: i,
|
|
191
|
+
signature: u,
|
|
192
|
+
footer: f,
|
|
193
|
+
isolateBrowserPrint: R = !1,
|
|
194
|
+
onBeforePrint: D,
|
|
195
|
+
onAfterPrint: z,
|
|
196
|
+
"aria-label": I,
|
|
197
|
+
"aria-labelledby": Y,
|
|
198
|
+
id: S,
|
|
199
|
+
className: q,
|
|
200
|
+
children: J,
|
|
201
|
+
...Q
|
|
202
|
+
}, U) => {
|
|
203
|
+
const { t: x, i18n: X } = de("ui"), P = re(), A = T(null), C = T(null), p = T({
|
|
204
|
+
size: e,
|
|
205
|
+
isolateBrowserPrint: R,
|
|
206
|
+
onBeforePrint: D,
|
|
207
|
+
onAfterPrint: z
|
|
208
|
+
});
|
|
209
|
+
p.current = { size: e, isolateBrowserPrint: R, onBeforePrint: D, onAfterPrint: z };
|
|
210
|
+
const m = H(
|
|
211
|
+
() => ({
|
|
212
|
+
getElement: () => A.current,
|
|
213
|
+
isolate: () => p.current.isolateBrowserPrint,
|
|
214
|
+
before: () => {
|
|
215
|
+
var o, g;
|
|
216
|
+
return (g = (o = p.current).onBeforePrint) == null ? void 0 : g.call(o);
|
|
217
|
+
},
|
|
218
|
+
after: () => {
|
|
219
|
+
var o, g;
|
|
220
|
+
return (g = (o = p.current).onAfterPrint) == null ? void 0 : g.call(o);
|
|
221
|
+
}
|
|
222
|
+
}),
|
|
223
|
+
[]
|
|
224
|
+
);
|
|
225
|
+
ie(() => be(m), [m]);
|
|
226
|
+
const L = H(
|
|
227
|
+
() => ({
|
|
228
|
+
print: () => ve(m),
|
|
229
|
+
isPrinting: () => ye(m),
|
|
230
|
+
getSize: () => p.current.size,
|
|
231
|
+
getElement: () => A.current,
|
|
232
|
+
focusTitle: () => {
|
|
233
|
+
var o;
|
|
234
|
+
return (o = C.current) == null ? void 0 : o.focus();
|
|
235
|
+
}
|
|
236
|
+
}),
|
|
237
|
+
[m]
|
|
238
|
+
);
|
|
239
|
+
ae(U, () => L, [L]), le(ue, L, S);
|
|
240
|
+
const Z = `h${c}`, _ = n != null && n !== !1, h = i == null ? null : Se(i), ee = h ? new Intl.DateTimeFormat(ce(X.language), {
|
|
241
|
+
dateStyle: "long"
|
|
242
|
+
}).format(h) : "", O = h != null || u != null, te = f != null && f !== !1 || O, j = Y ?? (I == null && _ ? P : void 0), se = j == null ? I ?? x("printSheet.label") : void 0;
|
|
243
|
+
return /* @__PURE__ */ l(
|
|
244
|
+
"article",
|
|
245
|
+
{
|
|
246
|
+
...Q,
|
|
247
|
+
ref: A,
|
|
248
|
+
id: S,
|
|
249
|
+
"aria-label": se,
|
|
250
|
+
"aria-labelledby": j,
|
|
251
|
+
className: we({ density: t, className: q }),
|
|
252
|
+
"data-component": "print-sheet",
|
|
253
|
+
"data-component-id": S,
|
|
254
|
+
"data-size": e,
|
|
255
|
+
"data-density": t,
|
|
256
|
+
children: [
|
|
257
|
+
s != null && s !== !1 ? /* @__PURE__ */ a("header", { className: "ds:break-inside-avoid ds:break-after-avoid", children: s }) : null,
|
|
258
|
+
_ ? /* @__PURE__ */ a(
|
|
259
|
+
Z,
|
|
260
|
+
{
|
|
261
|
+
ref: C,
|
|
262
|
+
id: P,
|
|
263
|
+
tabIndex: -1,
|
|
264
|
+
className: "ds:m-0 type-title-section ds:break-after-avoid ds:focus:outline-none",
|
|
265
|
+
children: n
|
|
266
|
+
}
|
|
267
|
+
) : null,
|
|
268
|
+
/* @__PURE__ */ a("div", { "data-slot": "body", children: J }),
|
|
269
|
+
te ? /* @__PURE__ */ l("footer", { className: "ds:mt-auto ds:flex ds:flex-col ds:gap-[var(--spacing-lg)] ds:break-inside-avoid ds:break-before-avoid", children: [
|
|
270
|
+
f != null && f !== !1 ? /* @__PURE__ */ a("div", { children: f }) : null,
|
|
271
|
+
O ? /* @__PURE__ */ l("div", { className: "ds:flex ds:items-end ds:justify-between ds:gap-[var(--spacing-lg)]", children: [
|
|
272
|
+
h ? /* @__PURE__ */ l("p", { className: "ds:m-0 ds:flex ds:flex-col type-body-sm", children: [
|
|
273
|
+
/* @__PURE__ */ a("span", { className: "type-label ds:text-[color:var(--muted-foreground)]", children: x("printSheet.date") }),
|
|
274
|
+
/* @__PURE__ */ a(
|
|
275
|
+
"time",
|
|
276
|
+
{
|
|
277
|
+
dateTime: xe(
|
|
278
|
+
i,
|
|
279
|
+
h
|
|
280
|
+
),
|
|
281
|
+
children: ee
|
|
282
|
+
}
|
|
283
|
+
)
|
|
284
|
+
] }) : null,
|
|
285
|
+
u ? /* @__PURE__ */ l("div", { className: "ds:ms-auto ds:basis-1/2 ds:flex ds:flex-col", children: [
|
|
286
|
+
/* @__PURE__ */ a(
|
|
287
|
+
"div",
|
|
288
|
+
{
|
|
289
|
+
"aria-hidden": "true",
|
|
290
|
+
className: "ds:h-[var(--spacing-2xl)]"
|
|
291
|
+
}
|
|
292
|
+
),
|
|
293
|
+
/* @__PURE__ */ l("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)] ds:border-t ds:border-[color:var(--foreground)] ds:pt-[var(--spacing-xs)]", children: [
|
|
294
|
+
/* @__PURE__ */ a("span", { className: "type-label ds:text-[color:var(--muted-foreground)]", children: x("printSheet.signature") }),
|
|
295
|
+
/* @__PURE__ */ a("span", { dir: "auto", className: "type-body-sm ds:font-medium", children: u.name }),
|
|
296
|
+
u.detail ? /* @__PURE__ */ a(
|
|
297
|
+
"span",
|
|
298
|
+
{
|
|
299
|
+
dir: "auto",
|
|
300
|
+
className: "type-body-sm ds:text-[color:var(--muted-foreground)]",
|
|
301
|
+
children: u.detail
|
|
302
|
+
}
|
|
303
|
+
) : null
|
|
304
|
+
] })
|
|
305
|
+
] }) : null
|
|
306
|
+
] }) : null
|
|
307
|
+
] }) : null
|
|
308
|
+
]
|
|
309
|
+
}
|
|
310
|
+
);
|
|
311
|
+
}
|
|
312
|
+
);
|
|
313
|
+
Ae.displayName = "PrintSheet";
|
|
314
|
+
export {
|
|
315
|
+
Ae as P,
|
|
316
|
+
ue as p
|
|
317
|
+
};
|
|
318
|
+
//# sourceMappingURL=print-sheet-CSeqkM3_.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as P } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as y, useMemo as g, useCallback as R, useRef as D, useEffect as _ } from "react";
|
|
3
3
|
import { useTranslation as k } from "react-i18next";
|
|
4
|
-
import { C as x } from "./combobox-
|
|
5
|
-
import { n as t } from "./normalize-diacritics-
|
|
4
|
+
import { C as x } from "./combobox-BYl6mY4c.js";
|
|
5
|
+
import { n as t } from "./normalize-diacritics-DhJjQ3Bp.js";
|
|
6
6
|
import { u as K } from "./use-controllable-state-BiY4xTzM.js";
|
|
7
7
|
import { u as j } from "./registry-DvAUVLHh.js";
|
|
8
8
|
const A = [
|
|
@@ -271,4 +271,4 @@ export {
|
|
|
271
271
|
Z as P,
|
|
272
272
|
H as p
|
|
273
273
|
};
|
|
274
|
-
//# sourceMappingURL=province-select-
|
|
274
|
+
//# sourceMappingURL=province-select-D-iY9bQG.js.map
|
|
@@ -15,16 +15,17 @@ import { F as W } from "./form-field-CyHfOVKF.js";
|
|
|
15
15
|
import { L as qr } from "./list-CNnn7DOD.js";
|
|
16
16
|
import { P as Tr } from "./password-input-SJGHFdOO.js";
|
|
17
17
|
import { u as Rn } from "./use-password-requirements-C8DdwPEy.js";
|
|
18
|
-
import { P as Ln } from "./phone-input-
|
|
18
|
+
import { P as Ln } from "./phone-input-DRKcJUi4.js";
|
|
19
19
|
import { R as An } from "./recaptcha-widget-iglUBIF3.js";
|
|
20
|
-
import { S as Pn } from "./select-
|
|
20
|
+
import { S as Pn } from "./select-Bm8s3q-X.js";
|
|
21
21
|
import { S as Dr } from "./state-backed-text-input-DVETOhSS.js";
|
|
22
22
|
import { i as Zr } from "./is-development-CLUAnsU7.js";
|
|
23
23
|
import { u as Br } from "./use-state-backed-input-DhRQo6gM.js";
|
|
24
24
|
import { a as Vr, i as qn } from "./safe-href-5dbsfbQn.js";
|
|
25
25
|
import { u as Mr } from "./use-field-match-C8ug3sdQ.js";
|
|
26
26
|
import { B as Tn } from "./brand-mark-DLk9kD8g.js";
|
|
27
|
-
import { u as Dn,
|
|
27
|
+
import { u as Dn, a as Bn } from "./use-error-summary-CecJZo6w.js";
|
|
28
|
+
import { u as Mn } from "./use-registration-submit-CVukOAQk.js";
|
|
28
29
|
import { O as On } from "./otp-input-BNOTlxq3.js";
|
|
29
30
|
import { C as _n } from "./circle-check-BN6rz4NV.js";
|
|
30
31
|
import { P as en } from "./pencil-B1sKKyuT.js";
|
|
@@ -733,7 +734,7 @@ const ls = yn(
|
|
|
733
734
|
}), F.submit && fn({});
|
|
734
735
|
}
|
|
735
736
|
(o = F == null ? void 0 : F.onClick) == null || o.call(F);
|
|
736
|
-
}, Ce =
|
|
737
|
+
}, Ce = Mn({
|
|
737
738
|
errors: b,
|
|
738
739
|
submitting: qe,
|
|
739
740
|
native: V,
|
|
@@ -813,7 +814,7 @@ const ls = yn(
|
|
|
813
814
|
(e) => _e[e]
|
|
814
815
|
),
|
|
815
816
|
Ve ? p("inputs.recaptcha.error") : void 0
|
|
816
|
-
].filter(Boolean).join(" ") || void 0, wn =
|
|
817
|
+
].filter(Boolean).join(" ") || void 0, wn = Bn(
|
|
817
818
|
Ee,
|
|
818
819
|
S.listed.length > 0
|
|
819
820
|
), Ie = P("terms"), bn = [
|
|
@@ -1350,4 +1351,4 @@ export {
|
|
|
1350
1351
|
Kr as R,
|
|
1351
1352
|
ls as a
|
|
1352
1353
|
};
|
|
1353
|
-
//# sourceMappingURL=registration-form-
|
|
1354
|
+
//# sourceMappingURL=registration-form-Cs9o6e5q.js.map
|
|
@@ -12,10 +12,10 @@ import { R as xr } from "./radio-group-ChIKyeSJ.js";
|
|
|
12
12
|
import { D as Ir } from "./date-picker-BmVBVpVu.js";
|
|
13
13
|
import { E as Nr } from "./email-input-DxwbREpx.js";
|
|
14
14
|
import { F as We } from "./form-field-CyHfOVKF.js";
|
|
15
|
-
import { P as wr } from "./phone-input-
|
|
15
|
+
import { P as wr } from "./phone-input-DRKcJUi4.js";
|
|
16
16
|
import { T as Cr } from "./text-area-COMVJ1yE.js";
|
|
17
17
|
import { T as Yt } from "./text-input-B6iAgCr3.js";
|
|
18
|
-
import { A as Tr } from "./address-fields-
|
|
18
|
+
import { A as Tr } from "./address-fields-Bh9JZJHZ.js";
|
|
19
19
|
import { S as qn } from "./spinner-CoflYlEx.js";
|
|
20
20
|
import { a as an } from "./format-price-CIX0YJZn.js";
|
|
21
21
|
import { C as Ar } from "./credit-card-D9XZsHGA.js";
|
|
@@ -25,10 +25,10 @@ import { O as Rr } from "./otp-input-BNOTlxq3.js";
|
|
|
25
25
|
import { i as Or } from "./safe-href-5dbsfbQn.js";
|
|
26
26
|
import { B as zn } from "./badge-BUk4RjTS.js";
|
|
27
27
|
import { I as Rn } from "./icon-button-S8_weU3g.js";
|
|
28
|
-
import { S as cn } from "./select-
|
|
29
|
-
import { C as yn } from "./combobox-
|
|
30
|
-
import { M as kn } from "./multi-select-
|
|
31
|
-
import {
|
|
28
|
+
import { S as cn } from "./select-Bm8s3q-X.js";
|
|
29
|
+
import { C as yn } from "./combobox-BYl6mY4c.js";
|
|
30
|
+
import { M as kn } from "./multi-select-DeMiHm8T.js";
|
|
31
|
+
import { o as Dr } from "./option-row-DpCnuUqo.js";
|
|
32
32
|
import { S as sn } from "./skeleton-tTWJpvAq.js";
|
|
33
33
|
import { E as Sn } from "./empty-state-DwJ5YNzz.js";
|
|
34
34
|
import { S as Er } from "./stepper-accordion-CYjrmRte.js";
|
|
@@ -4602,4 +4602,4 @@ export {
|
|
|
4602
4602
|
bs as b,
|
|
4603
4603
|
Ro as c
|
|
4604
4604
|
};
|
|
4605
|
-
//# sourceMappingURL=reserved.agent-
|
|
4605
|
+
//# sourceMappingURL=reserved.agent-L2ElYPuj.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as r, jsxs as i, Fragment as O } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as Ls, useId as l, useState as
|
|
2
|
+
import { forwardRef as Ls, useId as l, useState as c, useRef as p, useMemo as Ns, useEffect as B } from "react";
|
|
3
3
|
import { useTranslation as _s } from "react-i18next";
|
|
4
4
|
import { c as ws } from "./index-D2ZczOXr.js";
|
|
5
5
|
import { A as u } from "./alert-C4WKViaS.js";
|
|
6
6
|
import { B as D } from "./button-DohK_Ak_.js";
|
|
7
|
-
import { C as
|
|
7
|
+
import { C as cs } from "./card-n6W6LW-N.js";
|
|
8
8
|
import { E as ks } from "./email-input-DxwbREpx.js";
|
|
9
9
|
import { E as Vs } from "./error-summary-DxNhwf_G.js";
|
|
10
10
|
import { F as L } from "./form-field-CyHfOVKF.js";
|
|
@@ -14,7 +14,8 @@ import { i as js } from "./safe-href-5dbsfbQn.js";
|
|
|
14
14
|
import { u as zs } from "./use-state-backed-input-DhRQo6gM.js";
|
|
15
15
|
import { u as Ws } from "./use-field-match-C8ug3sdQ.js";
|
|
16
16
|
import { u as $s, a as Gs, A as Us, b as Ys, E as Js, c as Ks } from "./auth-form-parts-DVHfqnp6.js";
|
|
17
|
-
import { u as Qs, a as Xs
|
|
17
|
+
import { u as Qs, a as Xs } from "./use-error-summary-CecJZo6w.js";
|
|
18
|
+
import { u as Zs } from "./use-registration-submit-CVukOAQk.js";
|
|
18
19
|
const sr = {
|
|
19
20
|
minLength: 12,
|
|
20
21
|
uppercase: !0,
|
|
@@ -40,7 +41,7 @@ const sr = {
|
|
|
40
41
|
email: w,
|
|
41
42
|
loginHref: vs,
|
|
42
43
|
requestHref: Cs,
|
|
43
|
-
errors:
|
|
44
|
+
errors: m,
|
|
44
45
|
submitLabel: bs,
|
|
45
46
|
submitting: Ps = !1,
|
|
46
47
|
onSubmit: I,
|
|
@@ -53,11 +54,11 @@ const sr = {
|
|
|
53
54
|
const { t: o } = _s("ui"), _ = l(), h = l(), g = l(), As = l(), k = l(), V = l(), H = l(), F = R !== void 0, Ss = {
|
|
54
55
|
password: k,
|
|
55
56
|
passwordConfirm: V
|
|
56
|
-
}, [t, E] =
|
|
57
|
+
}, [t, E] = c({
|
|
57
58
|
password: "",
|
|
58
59
|
passwordConfirm: ""
|
|
59
|
-
}), [Ts, y] =
|
|
60
|
-
() =>
|
|
60
|
+
}), [Ts, y] = c({}), [j, z] = c(!1), [f, W] = c(
|
|
61
|
+
() => m ?? {}
|
|
61
62
|
), $ = (s, a) => {
|
|
62
63
|
E((n) => ({ ...n, [s]: a })), W(
|
|
63
64
|
(n) => n[s] ? { ...n, [s]: void 0 } : n
|
|
@@ -87,8 +88,8 @@ const sr = {
|
|
|
87
88
|
}
|
|
88
89
|
}),
|
|
89
90
|
[]
|
|
90
|
-
), X = p(null), T = p(null), Ms = p(null), Z = zs(w ?? "", Ms), [ss] =
|
|
91
|
-
() => b.some((s) => !!(
|
|
91
|
+
), X = p(null), T = p(null), Ms = p(null), Z = zs(w ?? "", Ms), [ss] = c(
|
|
92
|
+
() => b.some((s) => !!(m != null && m[s]))
|
|
92
93
|
), d = Qs(
|
|
93
94
|
b,
|
|
94
95
|
v,
|
|
@@ -96,8 +97,8 @@ const sr = {
|
|
|
96
97
|
), Os = Xs(
|
|
97
98
|
f.form,
|
|
98
99
|
d.listed.length > 0
|
|
99
|
-
), [C, rs] =
|
|
100
|
-
const s = ss ? void 0 : ps(
|
|
100
|
+
), [C, rs] = c(() => {
|
|
101
|
+
const s = ss ? void 0 : ps(m ?? {});
|
|
101
102
|
return s ? { target: s } : null;
|
|
102
103
|
});
|
|
103
104
|
B(() => {
|
|
@@ -114,7 +115,7 @@ const sr = {
|
|
|
114
115
|
e !== "form" && es.current && ((s = T.current) == null || s.focus()), es.current = e === "form";
|
|
115
116
|
}, [e]);
|
|
116
117
|
const as = Zs({
|
|
117
|
-
errors:
|
|
118
|
+
errors: m,
|
|
118
119
|
submitting: Ps,
|
|
119
120
|
native: F,
|
|
120
121
|
captcha: !1,
|
|
@@ -145,7 +146,7 @@ const sr = {
|
|
|
145
146
|
), ts = (s) => F ? R[s] : s, ns = (s) => s && js(s) ? s : void 0, ds = ns(vs), is = ns(Cs), M = e === "form", ls = {
|
|
146
147
|
password: o("resetPasswordForm.password"),
|
|
147
148
|
passwordConfirm: o("resetPasswordForm.passwordConfirm")
|
|
148
|
-
},
|
|
149
|
+
}, ms = ar[x];
|
|
149
150
|
return /* @__PURE__ */ r(
|
|
150
151
|
"div",
|
|
151
152
|
{
|
|
@@ -154,7 +155,7 @@ const sr = {
|
|
|
154
155
|
"data-component": "reset-password-form",
|
|
155
156
|
"data-state": e,
|
|
156
157
|
className: rr({ className: Rs }),
|
|
157
|
-
children: /* @__PURE__ */ r(
|
|
158
|
+
children: /* @__PURE__ */ r(cs, { variant: "elevated", children: /* @__PURE__ */ i(cs.Body, { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", children: [
|
|
158
159
|
/* @__PURE__ */ r(
|
|
159
160
|
Us,
|
|
160
161
|
{
|
|
@@ -186,7 +187,7 @@ const sr = {
|
|
|
186
187
|
"data-slot": "result",
|
|
187
188
|
className: fs(),
|
|
188
189
|
children: [
|
|
189
|
-
/* @__PURE__ */ r(u.Title, { id: h, as:
|
|
190
|
+
/* @__PURE__ */ r(u.Title, { id: h, as: ms, children: o("resetPasswordForm.doneTitle") }),
|
|
190
191
|
/* @__PURE__ */ r(u.Description, { id: g, children: w ? o("resetPasswordForm.doneDescriptionEmail", {
|
|
191
192
|
// Isolated left to right, so the address keeps its
|
|
192
193
|
// order inside a right-to-left sentence.
|
|
@@ -219,7 +220,7 @@ const sr = {
|
|
|
219
220
|
"data-slot": "result",
|
|
220
221
|
className: fs(),
|
|
221
222
|
children: [
|
|
222
|
-
/* @__PURE__ */ r(u.Title, { id: h, as:
|
|
223
|
+
/* @__PURE__ */ r(u.Title, { id: h, as: ms, children: o("resetPasswordForm.expiredTitle") }),
|
|
223
224
|
/* @__PURE__ */ r(u.Description, { id: g, children: o("resetPasswordForm.expiredDescription") })
|
|
224
225
|
]
|
|
225
226
|
}
|
|
@@ -364,4 +365,4 @@ export {
|
|
|
364
365
|
b as R,
|
|
365
366
|
nr as a
|
|
366
367
|
};
|
|
367
|
-
//# sourceMappingURL=reset-password-form-
|
|
368
|
+
//# sourceMappingURL=reset-password-form-DwtSNhnA.js.map
|
|
@@ -22,7 +22,7 @@ import { S as gi } from "./send-C5kDJ-Mz.js";
|
|
|
22
22
|
import { D as G } from "./dropdown-menu-DBWaW4pq.js";
|
|
23
23
|
import * as Jt from "@radix-ui/react-popover";
|
|
24
24
|
import { u as hi, f as pi } from "./non-modal-tab-exit-j3CPOuE3.js";
|
|
25
|
-
import { V as Qr } from "./variables-menu-
|
|
25
|
+
import { V as Qr } from "./variables-menu-C4NcClKi.js";
|
|
26
26
|
import { a as jn } from "./tooltip-uEBdD1-5.js";
|
|
27
27
|
import { P as oe } from "./popover-CN5IsOeS.js";
|
|
28
28
|
import { D as ae } from "./dialog-CVTxyR0v.js";
|
|
@@ -4246,4 +4246,4 @@ export {
|
|
|
4246
4246
|
qa as r,
|
|
4247
4247
|
Ls as w
|
|
4248
4248
|
};
|
|
4249
|
-
//# sourceMappingURL=rich-text-editor-
|
|
4249
|
+
//# sourceMappingURL=rich-text-editor-DFsH5RAj.js.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { c as a } from "./createLucideIcon-DhHxpK9K.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license lucide-react v1.22.0 - ISC
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the ISC license.
|
|
6
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
const e = [
|
|
9
|
+
[
|
|
10
|
+
"path",
|
|
11
|
+
{
|
|
12
|
+
d: "M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",
|
|
13
|
+
key: "1c8476"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
["path", { d: "M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7", key: "1ydtos" }],
|
|
17
|
+
["path", { d: "M7 3v4a1 1 0 0 0 1 1h7", key: "t51u73" }]
|
|
18
|
+
], o = a("save", e);
|
|
19
|
+
export {
|
|
20
|
+
o as S
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=save-Dn8uje3f.js.map
|
|
@@ -8,7 +8,7 @@ import { b as ge } from "./menu-row-BAr8bx1I.js";
|
|
|
8
8
|
import { u as ye } from "./navigation-dismiss-B1mcW1CT.js";
|
|
9
9
|
import { u as ne } from "./registry-DvAUVLHh.js";
|
|
10
10
|
import { u as ee } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
11
|
-
import { n as re } from "./normalize-diacritics-
|
|
11
|
+
import { n as re } from "./normalize-diacritics-DhJjQ3Bp.js";
|
|
12
12
|
import { S as be } from "./search-QbWPlY5f.js";
|
|
13
13
|
import { u as xe } from "./use-debounced-callback-BisrB-Fq.js";
|
|
14
14
|
const oe = {
|
|
@@ -660,4 +660,4 @@ export {
|
|
|
660
660
|
Oe as f,
|
|
661
661
|
oe as s
|
|
662
662
|
};
|
|
663
|
-
//# sourceMappingURL=search-bar-
|
|
663
|
+
//# sourceMappingURL=search-bar-k1mS5yZl.js.map
|