@datatechsolutions/tympan 0.3.0 → 0.4.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/README.md +22 -4
- package/dist/{Avatar-P14MVkK1.js → Avatar-CU7B1WsX.js} +61 -1
- package/dist/{Avatar-P14MVkK1.js.map → Avatar-CU7B1WsX.js.map} +1 -1
- package/dist/avatars.js +1 -1
- package/dist/elements-DCGBSGS8.js +14699 -0
- package/dist/elements-DCGBSGS8.js.map +1 -0
- package/dist/elements-react.d.ts +1378 -0
- package/dist/elements-react.js +3639 -0
- package/dist/elements-react.js.map +1 -0
- package/dist/elements.bundle.js +5 -0
- package/dist/elements.d.ts +13520 -0
- package/dist/elements.js +3 -0
- package/dist/flow.css +174 -3
- package/dist/flow.d.ts +86 -4
- package/dist/flow.js +200 -11
- package/dist/flow.js.map +1 -1
- package/dist/{index-C3WAwKdm.d.ts → index-J-7EBkCL.d.ts} +175 -7
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/parse-Dq4x3Wet.js +345 -0
- package/dist/parse-Dq4x3Wet.js.map +1 -0
- package/dist/{src-Ds9ArSaP.js → src-uCyIE-Te.js} +859 -668
- package/dist/src-uCyIE-Te.js.map +1 -0
- package/dist/styles.css +6937 -2592
- package/docs/html-contract.md +644 -0
- package/package.json +25 -14
- package/src/avatars/GeneratedAvatar.tsx +41 -0
- package/src/avatars/avatarSvg.ts +252 -0
- package/src/avatars/avatars.test.tsx +268 -0
- package/src/avatars/index.ts +30 -0
- package/src/avatars/styles.ts +80 -0
- package/src/base.css +49 -0
- package/src/components/action-menu/ActionMenu.css +152 -0
- package/src/components/action-menu/ActionMenu.test.tsx +189 -0
- package/src/components/action-menu/ActionMenu.tsx +282 -0
- package/src/components/activity-feed/ActivityFeed.css +91 -0
- package/src/components/activity-feed/ActivityFeed.test.tsx +89 -0
- package/src/components/activity-feed/ActivityFeed.tsx +86 -0
- package/src/components/actor-chip/ActorChip.css +93 -0
- package/src/components/actor-chip/ActorChip.test.tsx +89 -0
- package/src/components/actor-chip/ActorChip.tsx +98 -0
- package/src/components/agent-output-card/AgentOutputCard.css +105 -0
- package/src/components/agent-output-card/AgentOutputCard.rtl.test.tsx +12 -0
- package/src/components/agent-output-card/AgentOutputCard.test.tsx +65 -0
- package/src/components/agent-output-card/AgentOutputCard.tsx +74 -0
- package/src/components/ambient-backdrop/AmbientBackdrop.css +45 -0
- package/src/components/ambient-backdrop/AmbientBackdrop.rtl.test.tsx +12 -0
- package/src/components/ambient-backdrop/AmbientBackdrop.test.tsx +60 -0
- package/src/components/ambient-backdrop/AmbientBackdrop.tsx +11 -0
- package/src/components/app-frame/AppFrame.css +285 -0
- package/src/components/app-frame/AppFrame.test.tsx +127 -0
- package/src/components/app-frame/AppFrame.tsx +231 -0
- package/src/components/app-frame/AppFrameRail.css +321 -0
- package/src/components/app-frame/RailFrame.test.tsx +159 -0
- package/src/components/app-frame/RailFrame.tsx +140 -0
- package/src/components/app-frame/RailNav.tsx +118 -0
- package/src/components/app-frame/frameContext.ts +22 -0
- package/src/components/app-launcher-grid/AppLauncherGrid.css +140 -0
- package/src/components/app-launcher-grid/AppLauncherGrid.test.tsx +103 -0
- package/src/components/app-launcher-grid/AppLauncherGrid.tsx +201 -0
- package/src/components/app-navigation/AppNavigation.css +354 -0
- package/src/components/app-navigation/AppNavigation.test.tsx +129 -0
- package/src/components/app-navigation/AppNavigation.tsx +372 -0
- package/src/components/app-navigation/builders.ts +117 -0
- package/src/components/attention-list/AttentionList.css +90 -0
- package/src/components/attention-list/AttentionList.test.tsx +84 -0
- package/src/components/attention-list/AttentionList.tsx +82 -0
- package/src/components/auth-frame/AuthFrame.css +85 -0
- package/src/components/auth-frame/AuthFrame.rtl.test.tsx +14 -0
- package/src/components/auth-frame/AuthFrame.test.tsx +89 -0
- package/src/components/auth-frame/AuthFrame.tsx +35 -0
- package/src/components/avatar/Avatar.css +134 -0
- package/src/components/avatar/Avatar.test.tsx +98 -0
- package/src/components/avatar/Avatar.tsx +114 -0
- package/src/components/brand-loader/BrandLoader.css +78 -0
- package/src/components/brand-loader/BrandLoader.rtl.test.tsx +13 -0
- package/src/components/brand-loader/BrandLoader.test.tsx +83 -0
- package/src/components/brand-loader/BrandLoader.tsx +34 -0
- package/src/components/brand-mark/BrandMark.css +60 -0
- package/src/components/brand-mark/BrandMark.rtl.test.tsx +16 -0
- package/src/components/brand-mark/BrandMark.test.tsx +60 -0
- package/src/components/brand-mark/BrandMark.tsx +76 -0
- package/src/components/brand-panel/BrandPanel.css +100 -0
- package/src/components/brand-panel/BrandPanel.rtl.test.tsx +13 -0
- package/src/components/brand-panel/BrandPanel.test.tsx +59 -0
- package/src/components/brand-panel/BrandPanel.tsx +61 -0
- package/src/components/brand-wordmark/BrandWordmark.css +37 -0
- package/src/components/breadcrumbs/Breadcrumbs.css +158 -0
- package/src/components/breadcrumbs/Breadcrumbs.test.tsx +104 -0
- package/src/components/breadcrumbs/Breadcrumbs.tsx +130 -0
- package/src/components/button/Button.css +214 -0
- package/src/components/button/Button.test.tsx +177 -0
- package/src/components/button/Button.tsx +205 -0
- package/src/components/calendar/Calendar.css +260 -0
- package/src/components/calendar/Calendar.test.tsx +178 -0
- package/src/components/calendar/Calendar.tsx +341 -0
- package/src/components/cascade-grid/CascadeGrid.css +31 -0
- package/src/components/cascade-grid/CascadeGrid.rtl.test.tsx +20 -0
- package/src/components/cascade-grid/CascadeGrid.test.tsx +126 -0
- package/src/components/cascade-grid/CascadeGrid.tsx +98 -0
- package/src/components/category-tabs/CategoryTabs.css +108 -0
- package/src/components/category-tabs/CategoryTabs.test.tsx +118 -0
- package/src/components/category-tabs/CategoryTabs.tsx +94 -0
- package/src/components/chart/Chart.css +215 -0
- package/src/components/chart/Chart.rtl.test.tsx +42 -0
- package/src/components/chart/Chart.test.tsx +187 -0
- package/src/components/chart/Chart.tsx +502 -0
- package/src/components/chart/chartMath.ts +73 -0
- package/src/components/chart/plot.ts +53 -0
- package/src/components/chart/types.ts +72 -0
- package/src/components/checkbox/Checkbox.css +168 -0
- package/src/components/checkbox/Checkbox.test.tsx +97 -0
- package/src/components/checkbox/Checkbox.tsx +168 -0
- package/src/components/chip-group/ChipGroup.css +182 -0
- package/src/components/chip-group/ChipGroup.test.tsx +135 -0
- package/src/components/chip-group/ChipGroup.tsx +169 -0
- package/src/components/choice-card/ChoiceCard.css +141 -0
- package/src/components/choice-card/ChoiceCard.test.tsx +111 -0
- package/src/components/choice-card/ChoiceCard.tsx +139 -0
- package/src/components/choice-grid/ChoiceGrid.css +110 -0
- package/src/components/choice-grid/ChoiceGrid.test.tsx +85 -0
- package/src/components/choice-grid/ChoiceGrid.tsx +85 -0
- package/src/components/choice-tile/ChoiceTile.css +79 -0
- package/src/components/choice-tile/ChoiceTile.test.tsx +118 -0
- package/src/components/choice-tile/ChoiceTile.tsx +57 -0
- package/src/components/command-palette/CommandPalette.css +296 -0
- package/src/components/command-palette/CommandPalette.test.tsx +190 -0
- package/src/components/command-palette/CommandPalette.tsx +340 -0
- package/src/components/command-palette/model.ts +156 -0
- package/src/components/compact-confirm/CompactConfirm.css +136 -0
- package/src/components/compact-confirm/CompactConfirm.test.tsx +119 -0
- package/src/components/compact-confirm/CompactConfirm.tsx +91 -0
- package/src/components/confirm-service/ConfirmService.test.tsx +121 -0
- package/src/components/confirm-service/ConfirmService.tsx +152 -0
- package/src/components/consent-banner/ConsentBanner.css +73 -0
- package/src/components/consent-banner/ConsentBanner.rtl.test.tsx +12 -0
- package/src/components/consent-banner/ConsentBanner.test.tsx +86 -0
- package/src/components/consent-banner/ConsentBanner.tsx +66 -0
- package/src/components/contact-card/ContactCard.css +105 -0
- package/src/components/contact-card/ContactCard.rtl.test.tsx +17 -0
- package/src/components/contact-card/ContactCard.test.tsx +58 -0
- package/src/components/contact-card/ContactCard.tsx +99 -0
- package/src/components/copy-identifier/CopyIdentifier.css +90 -0
- package/src/components/copy-identifier/CopyIdentifier.test.tsx +103 -0
- package/src/components/copy-identifier/CopyIdentifier.tsx +89 -0
- package/src/components/count-badge/CountBadge.css +54 -0
- package/src/components/count-badge/CountBadge.test.tsx +81 -0
- package/src/components/count-badge/CountBadge.tsx +68 -0
- package/src/components/currency-field/CurrencyField.css +88 -0
- package/src/components/currency-field/CurrencyField.test.tsx +147 -0
- package/src/components/currency-field/CurrencyField.tsx +219 -0
- package/src/components/data-table/DataTable.css +362 -0
- package/src/components/data-table/DataTable.test.tsx +214 -0
- package/src/components/data-table/DataTable.tsx +396 -0
- package/src/components/date-field/DateField.css +126 -0
- package/src/components/date-field/DateField.test.tsx +143 -0
- package/src/components/date-field/DateField.tsx +235 -0
- package/src/components/date-range-field/DateRangeField.css +140 -0
- package/src/components/date-range-field/DateRangeField.test.tsx +187 -0
- package/src/components/date-range-field/DateRangeField.tsx +231 -0
- package/src/components/delta-indicator/DeltaIndicator.css +58 -0
- package/src/components/delta-indicator/DeltaIndicator.rtl.test.tsx +19 -0
- package/src/components/delta-indicator/DeltaIndicator.test.tsx +69 -0
- package/src/components/delta-indicator/DeltaIndicator.tsx +88 -0
- package/src/components/details-popover/DetailsPopover.css +166 -0
- package/src/components/details-popover/DetailsPopover.test.tsx +92 -0
- package/src/components/details-popover/DetailsPopover.tsx +141 -0
- package/src/components/drawer/Drawer.css +188 -0
- package/src/components/drawer/Drawer.test.tsx +152 -0
- package/src/components/drawer/Drawer.tsx +121 -0
- package/src/components/edge-swipe-back/EdgeSwipeBack.css +66 -0
- package/src/components/edge-swipe-back/EdgeSwipeBack.rtl.test.tsx +17 -0
- package/src/components/edge-swipe-back/EdgeSwipeBack.test.tsx +86 -0
- package/src/components/edge-swipe-back/EdgeSwipeBack.tsx +104 -0
- package/src/components/empty-state/EmptyState.css +70 -0
- package/src/components/empty-state/EmptyState.test.tsx +77 -0
- package/src/components/empty-state/EmptyState.tsx +105 -0
- package/src/components/environment-banner/EnvironmentBanner.css +46 -0
- package/src/components/environment-banner/EnvironmentBanner.rtl.test.tsx +13 -0
- package/src/components/environment-banner/EnvironmentBanner.test.tsx +51 -0
- package/src/components/environment-banner/EnvironmentBanner.tsx +75 -0
- package/src/components/error-state/ErrorState.css +113 -0
- package/src/components/error-state/ErrorState.test.tsx +98 -0
- package/src/components/error-state/ErrorState.tsx +145 -0
- package/src/components/evidence-panel/EvidencePanel.css +126 -0
- package/src/components/evidence-panel/EvidencePanel.test.tsx +130 -0
- package/src/components/evidence-panel/EvidencePanel.tsx +120 -0
- package/src/components/feature-showcase-card/FeatureShowcaseCard.css +136 -0
- package/src/components/feature-showcase-card/FeatureShowcaseCard.rtl.test.tsx +13 -0
- package/src/components/feature-showcase-card/FeatureShowcaseCard.test.tsx +91 -0
- package/src/components/feature-showcase-card/FeatureShowcaseCard.tsx +76 -0
- package/src/components/feature-tile/FeatureTile.css +111 -0
- package/src/components/feature-tile/FeatureTile.rtl.test.tsx +14 -0
- package/src/components/feature-tile/FeatureTile.test.tsx +78 -0
- package/src/components/feature-tile/FeatureTile.tsx +52 -0
- package/src/components/federated-sign-in/FederatedSignIn.css +23 -0
- package/src/components/federated-sign-in/FederatedSignIn.rtl.test.tsx +12 -0
- package/src/components/federated-sign-in/FederatedSignIn.test.tsx +74 -0
- package/src/components/federated-sign-in/FederatedSignIn.tsx +68 -0
- package/src/components/field/Field.css +99 -0
- package/src/components/field/Field.test.tsx +134 -0
- package/src/components/field/Field.tsx +228 -0
- package/src/components/filter-chips/FilterChips.css +145 -0
- package/src/components/filter-chips/FilterChips.test.tsx +121 -0
- package/src/components/filter-chips/FilterChips.tsx +134 -0
- package/src/components/filter-field/FilterField.css +11 -0
- package/src/components/filter-field/FilterField.test.tsx +92 -0
- package/src/components/filter-field/FilterField.tsx +43 -0
- package/src/components/filter-tile/FilterTile.css +145 -0
- package/src/components/filter-tile/FilterTile.test.tsx +69 -0
- package/src/components/filter-tile/FilterTile.tsx +87 -0
- package/src/components/flag-set-picker/FlagSetPicker.css +32 -0
- package/src/components/flag-set-picker/FlagSetPicker.test.tsx +75 -0
- package/src/components/flag-set-picker/FlagSetPicker.tsx +92 -0
- package/src/components/floating-action-bar/FloatingActionBar.css +375 -0
- package/src/components/floating-action-bar/FloatingActionBar.test.tsx +309 -0
- package/src/components/floating-action-bar/FloatingActionBar.tsx +655 -0
- package/src/components/floating-action-bar/barModel.ts +147 -0
- package/src/components/floating-action-button/FloatingActionButton.css +54 -0
- package/src/components/floating-action-button/FloatingActionButton.test.tsx +87 -0
- package/src/components/floating-action-button/FloatingActionButton.tsx +87 -0
- package/src/components/form-actions/FormActions.css +34 -0
- package/src/components/form-actions/FormActions.test.tsx +96 -0
- package/src/components/form-actions/FormActions.tsx +83 -0
- package/src/components/form-layout/FormLayout.css +148 -0
- package/src/components/form-layout/FormLayout.test.tsx +137 -0
- package/src/components/form-layout/FormLayout.tsx +177 -0
- package/src/components/glass-check-toggle/GlassCheckToggle.css +92 -0
- package/src/components/glass-check-toggle/GlassCheckToggle.rtl.test.tsx +12 -0
- package/src/components/glass-check-toggle/GlassCheckToggle.test.tsx +70 -0
- package/src/components/glass-check-toggle/GlassCheckToggle.tsx +75 -0
- package/src/components/gradient-mark/GradientMark.css +45 -0
- package/src/components/grouped-disclosure-list/GroupedDisclosureList.css +80 -0
- package/src/components/grouped-disclosure-list/GroupedDisclosureList.test.tsx +92 -0
- package/src/components/grouped-disclosure-list/GroupedDisclosureList.tsx +105 -0
- package/src/components/heading/Heading.css +67 -0
- package/src/components/heading/Heading.test.tsx +93 -0
- package/src/components/heading/Heading.tsx +60 -0
- package/src/components/highlight-stat/HighlightStat.css +50 -0
- package/src/components/highlight-stat/HighlightStat.rtl.test.tsx +13 -0
- package/src/components/highlight-stat/HighlightStat.test.tsx +83 -0
- package/src/components/highlight-stat/HighlightStat.tsx +66 -0
- package/src/components/history-list/HistoryList.css +116 -0
- package/src/components/history-list/HistoryList.test.tsx +88 -0
- package/src/components/history-list/HistoryList.tsx +115 -0
- package/src/components/http-error-page/HttpErrorPage.css +70 -0
- package/src/components/http-error-page/HttpErrorPage.rtl.test.tsx +12 -0
- package/src/components/http-error-page/HttpErrorPage.test.tsx +51 -0
- package/src/components/http-error-page/HttpErrorPage.tsx +70 -0
- package/src/components/image-picker/ImagePicker.css +151 -0
- package/src/components/image-picker/ImagePicker.test.tsx +133 -0
- package/src/components/image-picker/ImagePicker.tsx +167 -0
- package/src/components/inline-notice/InlineNotice.css +101 -0
- package/src/components/inline-notice/InlineNotice.test.tsx +123 -0
- package/src/components/inline-notice/InlineNotice.tsx +98 -0
- package/src/components/insight-card/InsightCard.css +109 -0
- package/src/components/insight-card/InsightCard.rtl.test.tsx +14 -0
- package/src/components/insight-card/InsightCard.test.tsx +102 -0
- package/src/components/insight-card/InsightCard.tsx +185 -0
- package/src/components/legal-document-frame/LegalDocumentFrame.css +163 -0
- package/src/components/legal-document-frame/LegalDocumentFrame.rtl.test.tsx +13 -0
- package/src/components/legal-document-frame/LegalDocumentFrame.test.tsx +123 -0
- package/src/components/legal-document-frame/LegalDocumentFrame.tsx +167 -0
- package/src/components/link/Link.css +76 -0
- package/src/components/link/Link.test.tsx +103 -0
- package/src/components/link/Link.tsx +87 -0
- package/src/components/list-panel/ListPanel.css +95 -0
- package/src/components/list-panel/ListPanel.test.tsx +128 -0
- package/src/components/list-panel/ListPanel.tsx +137 -0
- package/src/components/list-row/ListRow.css +81 -0
- package/src/components/list-row/ListRow.test.tsx +87 -0
- package/src/components/list-row/ListRow.tsx +68 -0
- package/src/components/listbox-select/ListboxSelect.css +263 -0
- package/src/components/listbox-select/ListboxSelect.test.tsx +157 -0
- package/src/components/listbox-select/ListboxSelect.tsx +178 -0
- package/src/components/live-report-view/LiveReportView.css +111 -0
- package/src/components/live-report-view/LiveReportView.rtl.test.tsx +14 -0
- package/src/components/live-report-view/LiveReportView.test.tsx +185 -0
- package/src/components/live-report-view/LiveReportView.tsx +135 -0
- package/src/components/live-report-view/runEvents.ts +103 -0
- package/src/components/live-report-view/useRunEventStream.ts +134 -0
- package/src/components/loader-presets/LoaderPresets.test.tsx +22 -0
- package/src/components/loader-presets/LoaderPresets.tsx +80 -0
- package/src/components/locale-picker/LocalePicker.css +91 -0
- package/src/components/locale-picker/LocalePicker.test.tsx +99 -0
- package/src/components/locale-picker/LocalePicker.tsx +128 -0
- package/src/components/long-press-menu/LongPressMenu.css +97 -0
- package/src/components/long-press-menu/LongPressMenu.test.tsx +106 -0
- package/src/components/long-press-menu/LongPressMenu.tsx +100 -0
- package/src/components/markdown-view/MarkdownView.css +93 -0
- package/src/components/markdown-view/MarkdownView.test.tsx +107 -0
- package/src/components/markdown-view/MarkdownView.tsx +96 -0
- package/src/components/markdown-view/parse.ts +152 -0
- package/src/components/metric-tile/MetricTile.css +104 -0
- package/src/components/metric-tile/MetricTile.rtl.test.tsx +12 -0
- package/src/components/metric-tile/MetricTile.test.tsx +70 -0
- package/src/components/metric-tile/MetricTile.tsx +59 -0
- package/src/components/modal-dialog/ModalDialog.css +165 -0
- package/src/components/modal-dialog/ModalDialog.test.tsx +158 -0
- package/src/components/modal-dialog/ModalDialog.tsx +112 -0
- package/src/components/month-field/MonthField.css +11 -0
- package/src/components/month-field/MonthField.test.tsx +101 -0
- package/src/components/month-field/MonthField.tsx +124 -0
- package/src/components/native-select/NativeSelect.css +246 -0
- package/src/components/native-select/NativeSelect.test.tsx +160 -0
- package/src/components/native-select/NativeSelect.tsx +234 -0
- package/src/components/navigation-flyout/NavigationFlyout.css +181 -0
- package/src/components/navigation-flyout/NavigationFlyout.test.tsx +111 -0
- package/src/components/navigation-flyout/NavigationFlyout.tsx +196 -0
- package/src/components/notification-center/NotificationCenter.css +187 -0
- package/src/components/notification-center/NotificationCenter.test.tsx +140 -0
- package/src/components/notification-center/NotificationCenter.tsx +229 -0
- package/src/components/one-time-code-field/OneTimeCodeField.css +62 -0
- package/src/components/one-time-code-field/OneTimeCodeField.test.tsx +150 -0
- package/src/components/one-time-code-field/OneTimeCodeField.tsx +176 -0
- package/src/components/page-dots/PageDots.css +90 -0
- package/src/components/page-dots/PageDots.test.tsx +87 -0
- package/src/components/page-dots/PageDots.tsx +95 -0
- package/src/components/page-header/PageHeader.css +271 -0
- package/src/components/page-header/PageHeader.test.tsx +185 -0
- package/src/components/page-header/PageHeader.tsx +194 -0
- package/src/components/pagination/Pagination.css +139 -0
- package/src/components/pagination/Pagination.test.tsx +104 -0
- package/src/components/pagination/Pagination.tsx +160 -0
- package/src/components/password-strength/PasswordStrength.css +85 -0
- package/src/components/password-strength/PasswordStrength.test.tsx +90 -0
- package/src/components/password-strength/PasswordStrength.tsx +109 -0
- package/src/components/phase-bar/PhaseBar.css +95 -0
- package/src/components/phase-bar/PhaseBar.test.tsx +67 -0
- package/src/components/phase-bar/PhaseBar.tsx +66 -0
- package/src/components/popover/Popover.css +130 -0
- package/src/components/popover/Popover.test.tsx +153 -0
- package/src/components/popover/Popover.tsx +110 -0
- package/src/components/product-mark/ProductMark.css +24 -0
- package/src/components/product-mark/ProductMark.test.tsx +48 -0
- package/src/components/product-mark/ProductMark.tsx +95 -0
- package/src/components/product-mark/marks.ts +115 -0
- package/src/components/product-mark/plate.ts +42 -0
- package/src/components/profile-avatar/ProfileAvatar.css +51 -0
- package/src/components/profile-avatar/ProfileAvatar.test.tsx +78 -0
- package/src/components/profile-avatar/ProfileAvatar.tsx +58 -0
- package/src/components/profile-summary/ProfileSummary.css +43 -0
- package/src/components/profile-summary/ProfileSummary.rtl.test.tsx +12 -0
- package/src/components/profile-summary/ProfileSummary.test.tsx +52 -0
- package/src/components/profile-summary/ProfileSummary.tsx +52 -0
- package/src/components/progress-bar/ProgressBar.css +100 -0
- package/src/components/progress-bar/ProgressBar.test.tsx +68 -0
- package/src/components/progress-bar/ProgressBar.tsx +76 -0
- package/src/components/proof-badge/ProofBadge.css +178 -0
- package/src/components/proof-badge/ProofBadge.test.tsx +95 -0
- package/src/components/proof-badge/ProofBadge.tsx +113 -0
- package/src/components/pull-to-refresh/PullToRefresh.css +99 -0
- package/src/components/pull-to-refresh/PullToRefresh.rtl.test.tsx +16 -0
- package/src/components/pull-to-refresh/PullToRefresh.test.tsx +117 -0
- package/src/components/pull-to-refresh/PullToRefresh.tsx +181 -0
- package/src/components/record-card/RecordCard.css +151 -0
- package/src/components/record-card/RecordCard.rtl.test.tsx +16 -0
- package/src/components/record-card/RecordCard.test.tsx +105 -0
- package/src/components/record-card/RecordCard.tsx +159 -0
- package/src/components/recovery-code-list/RecoveryCodeList.css +66 -0
- package/src/components/recovery-code-list/RecoveryCodeList.test.tsx +108 -0
- package/src/components/recovery-code-list/RecoveryCodeList.tsx +105 -0
- package/src/components/region-map/RegionMap.css +229 -0
- package/src/components/region-map/RegionMap.test.tsx +200 -0
- package/src/components/region-map/RegionMap.tsx +400 -0
- package/src/components/region-map/useRegionMapState.ts +92 -0
- package/src/components/region-theme/countryProfile.ts +110 -0
- package/src/components/region-theme/data/br-profile.ts +41 -0
- package/src/components/region-theme/data/br.ts +80 -0
- package/src/components/region-theme/format.ts +120 -0
- package/src/components/region-theme/geometry.ts +67 -0
- package/src/components/region-theme/index.ts +7 -0
- package/src/components/region-theme/regionTheme.test.tsx +200 -0
- package/src/components/region-theme/registry.ts +163 -0
- package/src/components/report-view/ReportView.css +323 -0
- package/src/components/report-view/ReportView.rtl.test.tsx +25 -0
- package/src/components/report-view/ReportView.test.tsx +141 -0
- package/src/components/report-view/ReportView.tsx +201 -0
- package/src/components/report-view/sections.tsx +281 -0
- package/src/components/report-view/types.ts +72 -0
- package/src/components/report-view/validateReport.ts +51 -0
- package/src/components/resizable-split/ResizableSplit.css +56 -0
- package/src/components/resizable-split/ResizableSplit.test.tsx +108 -0
- package/src/components/resizable-split/ResizableSplit.tsx +76 -0
- package/src/components/resizable-split/useSplitter.ts +72 -0
- package/src/components/reveal-number/RevealNumber.css +17 -0
- package/src/components/reveal-number/RevealNumber.rtl.test.tsx +13 -0
- package/src/components/reveal-number/RevealNumber.test.tsx +136 -0
- package/src/components/reveal-number/RevealNumber.tsx +115 -0
- package/src/components/route-progress/RouteProgress.css +54 -0
- package/src/components/route-progress/RouteProgress.rtl.test.tsx +16 -0
- package/src/components/route-progress/RouteProgress.test.tsx +62 -0
- package/src/components/route-progress/RouteProgress.tsx +63 -0
- package/src/components/ruled-grid/RuledGrid.css +86 -0
- package/src/components/ruled-grid/RuledGrid.rtl.test.tsx +13 -0
- package/src/components/ruled-grid/RuledGrid.test.tsx +92 -0
- package/src/components/ruled-grid/RuledGrid.tsx +73 -0
- package/src/components/safe-area-inset/SafeAreaInset.css +65 -0
- package/src/components/safe-area-inset/SafeAreaInset.rtl.test.tsx +17 -0
- package/src/components/safe-area-inset/SafeAreaInset.test.tsx +99 -0
- package/src/components/safe-area-inset/SafeAreaInset.tsx +101 -0
- package/src/components/schema-request-form/SchemaRequestForm.css +75 -0
- package/src/components/schema-request-form/SchemaRequestForm.test.tsx +138 -0
- package/src/components/schema-request-form/SchemaRequestForm.tsx +231 -0
- package/src/components/search-bar/SearchBar.css +117 -0
- package/src/components/search-bar/SearchBar.test.tsx +134 -0
- package/src/components/search-bar/SearchBar.tsx +176 -0
- package/src/components/section-heading/SectionHeading.css +68 -0
- package/src/components/section-heading/SectionHeading.test.tsx +65 -0
- package/src/components/section-heading/SectionHeading.tsx +61 -0
- package/src/components/section-panel/SectionPanel.css +207 -0
- package/src/components/section-panel/SectionPanel.test.tsx +122 -0
- package/src/components/section-panel/SectionPanel.tsx +139 -0
- package/src/components/sectioned-modal/SectionedModal.css +325 -0
- package/src/components/sectioned-modal/SectionedModal.test.tsx +138 -0
- package/src/components/sectioned-modal/SectionedModal.tsx +258 -0
- package/src/components/segmented-control/SegmentedControl.css +123 -0
- package/src/components/segmented-control/SegmentedControl.test.tsx +109 -0
- package/src/components/segmented-control/SegmentedControl.tsx +85 -0
- package/src/components/separator/Separator.css +61 -0
- package/src/components/separator/Separator.test.tsx +65 -0
- package/src/components/separator/Separator.tsx +46 -0
- package/src/components/settings-dialog/SettingsDialog.css +151 -0
- package/src/components/settings-dialog/SettingsDialog.test.tsx +155 -0
- package/src/components/settings-dialog/SettingsDialog.tsx +126 -0
- package/src/components/settings-dialog/settingsModel.ts +63 -0
- package/src/components/settings-dialog/settingsParts.tsx +149 -0
- package/src/components/showcase-backdrop/ShowcaseBackdrop.css +78 -0
- package/src/components/showcase-backdrop/ShowcaseBackdrop.rtl.test.tsx +12 -0
- package/src/components/showcase-backdrop/ShowcaseBackdrop.test.tsx +91 -0
- package/src/components/showcase-backdrop/ShowcaseBackdrop.tsx +47 -0
- package/src/components/showcase-heading/ShowcaseHeading.css +65 -0
- package/src/components/showcase-heading/ShowcaseHeading.rtl.test.tsx +13 -0
- package/src/components/showcase-heading/ShowcaseHeading.test.tsx +79 -0
- package/src/components/showcase-heading/ShowcaseHeading.tsx +67 -0
- package/src/components/skeleton/Skeleton.css +120 -0
- package/src/components/skeleton/Skeleton.test.tsx +96 -0
- package/src/components/skeleton/Skeleton.tsx +168 -0
- package/src/components/skeleton-fill/SkeletonFill.css +67 -0
- package/src/components/skeleton-fill/SkeletonFill.rtl.test.tsx +12 -0
- package/src/components/skeleton-fill/SkeletonFill.test.tsx +61 -0
- package/src/components/skeleton-fill/SkeletonFill.tsx +48 -0
- package/src/components/skip-link/SkipLink.css +52 -0
- package/src/components/skip-link/SkipLink.test.tsx +90 -0
- package/src/components/skip-link/SkipLink.tsx +42 -0
- package/src/components/spinner/Spinner.css +134 -0
- package/src/components/spinner/Spinner.test.tsx +99 -0
- package/src/components/spinner/Spinner.tsx +100 -0
- package/src/components/stage-strip/StageStrip.css +126 -0
- package/src/components/stage-strip/StageStrip.test.tsx +82 -0
- package/src/components/stage-strip/StageStrip.tsx +100 -0
- package/src/components/stat-strip/StatStrip.css +90 -0
- package/src/components/stat-strip/StatStrip.test.tsx +75 -0
- package/src/components/stat-strip/StatStrip.tsx +62 -0
- package/src/components/stat-tile/StatTile.css +171 -0
- package/src/components/stat-tile/StatTile.rtl.test.tsx +14 -0
- package/src/components/stat-tile/StatTile.test.tsx +90 -0
- package/src/components/stat-tile/StatTile.tsx +129 -0
- package/src/components/state-switch/StateSwitch.css +113 -0
- package/src/components/state-switch/StateSwitch.test.tsx +102 -0
- package/src/components/state-switch/StateSwitch.tsx +73 -0
- package/src/components/status-pill/StatusPill.css +85 -0
- package/src/components/status-pill/StatusPill.test.tsx +91 -0
- package/src/components/status-pill/StatusPill.tsx +73 -0
- package/src/components/step-list/StepList.css +181 -0
- package/src/components/step-list/StepList.test.tsx +93 -0
- package/src/components/step-list/StepList.tsx +118 -0
- package/src/components/summary-row/SummaryRow.css +85 -0
- package/src/components/summary-row/SummaryRow.test.tsx +77 -0
- package/src/components/summary-row/SummaryRow.tsx +72 -0
- package/src/components/surface/Surface.css +157 -0
- package/src/components/surface/Surface.test.tsx +97 -0
- package/src/components/surface/Surface.tsx +124 -0
- package/src/components/swipe-row/SwipeRow.css +131 -0
- package/src/components/swipe-row/SwipeRow.rtl.test.tsx +31 -0
- package/src/components/swipe-row/SwipeRow.test.tsx +124 -0
- package/src/components/swipe-row/SwipeRow.tsx +219 -0
- package/src/components/switch/Switch.css +182 -0
- package/src/components/switch/Switch.test.tsx +112 -0
- package/src/components/switch/Switch.tsx +125 -0
- package/src/components/tabs/Tabs.css +137 -0
- package/src/components/tabs/Tabs.test.tsx +127 -0
- package/src/components/tabs/Tabs.tsx +94 -0
- package/src/components/tag/Tag.css +146 -0
- package/src/components/tag/Tag.test.tsx +129 -0
- package/src/components/tag/Tag.tsx +168 -0
- package/src/components/tag-field/TagField.css +274 -0
- package/src/components/tag-field/TagField.test.tsx +156 -0
- package/src/components/tag-field/TagField.tsx +270 -0
- package/src/components/text/Text.css +84 -0
- package/src/components/text/Text.test.tsx +91 -0
- package/src/components/text/Text.tsx +84 -0
- package/src/components/text-area/TextArea.css +125 -0
- package/src/components/text-area/TextArea.test.tsx +97 -0
- package/src/components/text-area/TextArea.tsx +145 -0
- package/src/components/text-field/TextField.css +197 -0
- package/src/components/text-field/TextField.test.tsx +136 -0
- package/src/components/text-field/TextField.tsx +208 -0
- package/src/components/theme-palette/ThemePalette.css +262 -0
- package/src/components/theme-palette/ThemePalette.test.tsx +62 -0
- package/src/components/theme-palette/ThemePalette.tsx +377 -0
- package/src/components/theme-switcher/ThemeSwitcher.css +159 -0
- package/src/components/theme-switcher/ThemeSwitcher.test.tsx +71 -0
- package/src/components/theme-switcher/ThemeSwitcher.tsx +72 -0
- package/src/components/third-party-mark-slot/ThirdPartyMarkSlot.css +56 -0
- package/src/components/third-party-mark-slot/ThirdPartyMarkSlot.rtl.test.tsx +13 -0
- package/src/components/third-party-mark-slot/ThirdPartyMarkSlot.test.tsx +100 -0
- package/src/components/third-party-mark-slot/ThirdPartyMarkSlot.tsx +218 -0
- package/src/components/ticker-card/TickerCard.css +147 -0
- package/src/components/ticker-card/TickerCard.rtl.test.tsx +14 -0
- package/src/components/ticker-card/TickerCard.test.tsx +74 -0
- package/src/components/ticker-card/TickerCard.tsx +151 -0
- package/src/components/time-field/TimeField.css +69 -0
- package/src/components/time-field/TimeField.test.tsx +138 -0
- package/src/components/time-field/TimeField.tsx +205 -0
- package/src/components/toast/Toast.css +137 -0
- package/src/components/toast/Toast.test.tsx +269 -0
- package/src/components/toast/Toast.tsx +370 -0
- package/src/components/tone-tint/ToneTint.css +74 -0
- package/src/components/tone-tint/toneTint.test.tsx +74 -0
- package/src/components/tone-tint/toneTint.ts +57 -0
- package/src/components/toolbar-trigger/ToolbarTrigger.css +104 -0
- package/src/components/toolbar-trigger/ToolbarTrigger.test.tsx +75 -0
- package/src/components/toolbar-trigger/ToolbarTrigger.tsx +70 -0
- package/src/components/tooltip/Tooltip.css +70 -0
- package/src/components/tooltip/Tooltip.test.tsx +209 -0
- package/src/components/tooltip/Tooltip.tsx +102 -0
- package/src/components/tweened-number/TweenedNumber.css +7 -0
- package/src/components/tweened-number/TweenedNumber.rtl.test.tsx +19 -0
- package/src/components/tweened-number/TweenedNumber.test.tsx +97 -0
- package/src/components/tweened-number/TweenedNumber.tsx +70 -0
- package/src/components/upgrade-gate/UpgradeGate.css +94 -0
- package/src/components/upgrade-gate/UpgradeGate.rtl.test.tsx +12 -0
- package/src/components/upgrade-gate/UpgradeGate.test.tsx +56 -0
- package/src/components/upgrade-gate/UpgradeGate.tsx +56 -0
- package/src/components/wheel-picker/WheelPicker.css +149 -0
- package/src/components/wheel-picker/WheelPicker.test.tsx +150 -0
- package/src/components/wheel-picker/WheelPicker.tsx +228 -0
- package/src/components/wizard-page/WizardPage.css +114 -0
- package/src/components/wizard-page/WizardPage.test.tsx +117 -0
- package/src/components/wizard-page/WizardPage.tsx +123 -0
- package/src/elements/action-menu/definition.ts +123 -0
- package/src/elements/action-menu/element.ts +604 -0
- package/src/elements/anatomy.ts +55 -0
- package/src/elements/avatar/definition.ts +161 -0
- package/src/elements/avatar/element.ts +112 -0
- package/src/elements/base.ts +244 -0
- package/src/elements/brand-wordmark/definition.ts +37 -0
- package/src/elements/brand-wordmark/element.ts +13 -0
- package/src/elements/breadcrumbs/definition.ts +85 -0
- package/src/elements/breadcrumbs/element.ts +231 -0
- package/src/elements/button/definition.ts +74 -0
- package/src/elements/button/element.ts +25 -0
- package/src/elements/checkbox/definition.ts +132 -0
- package/src/elements/checkbox/element.ts +59 -0
- package/src/elements/command-palette/definition.ts +60 -0
- package/src/elements/command-palette/element.ts +706 -0
- package/src/elements/currency-field/definition.ts +159 -0
- package/src/elements/currency-field/element.ts +265 -0
- package/src/elements/data-table/definition.ts +54 -0
- package/src/elements/data-table/element.ts +440 -0
- package/src/elements/definition.ts +196 -0
- package/src/elements/drawer/definition.ts +156 -0
- package/src/elements/drawer/element.ts +304 -0
- package/src/elements/elements.css +156 -0
- package/src/elements/gradient-mark/definition.ts +41 -0
- package/src/elements/gradient-mark/element.ts +27 -0
- package/src/elements/heading/definition.ts +64 -0
- package/src/elements/heading/element.ts +14 -0
- package/src/elements/index.ts +146 -0
- package/src/elements/inline-notice/definition.ts +167 -0
- package/src/elements/inline-notice/element.ts +36 -0
- package/src/elements/link/definition.ts +70 -0
- package/src/elements/link/element.ts +40 -0
- package/src/elements/markdown-view/definition.ts +35 -0
- package/src/elements/markdown-view/element.ts +183 -0
- package/src/elements/modal/definition.ts +175 -0
- package/src/elements/modal/element.ts +226 -0
- package/src/elements/native-select/definition.ts +143 -0
- package/src/elements/native-select/element.ts +34 -0
- package/src/elements/notification-center/definition.ts +236 -0
- package/src/elements/notification-center/element.ts +527 -0
- package/src/elements/page-header/definition.ts +151 -0
- package/src/elements/page-header/element.ts +37 -0
- package/src/elements/popover/definition.ts +137 -0
- package/src/elements/popover/element.ts +196 -0
- package/src/elements/popover/model.ts +141 -0
- package/src/elements/progress-bar/definition.ts +84 -0
- package/src/elements/progress-bar/element.ts +82 -0
- package/src/elements/react/TyActionMenu.ts +79 -0
- package/src/elements/react/TyAvatar.ts +129 -0
- package/src/elements/react/TyBrandWordmark.ts +51 -0
- package/src/elements/react/TyBreadcrumbs.ts +82 -0
- package/src/elements/react/TyButton.ts +98 -0
- package/src/elements/react/TyCheckbox.ts +92 -0
- package/src/elements/react/TyCommandPalette.ts +120 -0
- package/src/elements/react/TyCurrencyField.ts +126 -0
- package/src/elements/react/TyDataTable.ts +105 -0
- package/src/elements/react/TyDrawer.ts +99 -0
- package/src/elements/react/TyGradientMark.ts +52 -0
- package/src/elements/react/TyHeading.ts +65 -0
- package/src/elements/react/TyInlineNotice.ts +191 -0
- package/src/elements/react/TyLink.ts +65 -0
- package/src/elements/react/TyMarkdownView.ts +46 -0
- package/src/elements/react/TyModal.ts +118 -0
- package/src/elements/react/TyNativeSelect.ts +96 -0
- package/src/elements/react/TyNotificationCenter.ts +153 -0
- package/src/elements/react/TyPageHeader.ts +126 -0
- package/src/elements/react/TyPopover.ts +95 -0
- package/src/elements/react/TyProgressBar.ts +72 -0
- package/src/elements/react/TySectionHeading.ts +78 -0
- package/src/elements/react/TySegmentedControl.ts +64 -0
- package/src/elements/react/TySeparator.ts +51 -0
- package/src/elements/react/TySkeleton.ts +61 -0
- package/src/elements/react/TySkipLink.ts +39 -0
- package/src/elements/react/TySpinner.ts +55 -0
- package/src/elements/react/TyStatusPill.ts +66 -0
- package/src/elements/react/TySurface.ts +104 -0
- package/src/elements/react/TySwitch.ts +77 -0
- package/src/elements/react/TyTabs.ts +66 -0
- package/src/elements/react/TyTag.ts +71 -0
- package/src/elements/react/TyTagField.ts +90 -0
- package/src/elements/react/TyTextArea.ts +124 -0
- package/src/elements/react/TyTextField.ts +186 -0
- package/src/elements/react/TyThemePalette.ts +126 -0
- package/src/elements/react/TyToast.ts +57 -0
- package/src/elements/react/TyWheelPicker.ts +60 -0
- package/src/elements/react/index.ts +39 -0
- package/src/elements/register.ts +7 -0
- package/src/elements/section-heading/definition.ts +81 -0
- package/src/elements/section-heading/element.ts +15 -0
- package/src/elements/segmented-control/definition.ts +72 -0
- package/src/elements/segmented-control/element.ts +253 -0
- package/src/elements/separator/definition.ts +44 -0
- package/src/elements/separator/element.ts +13 -0
- package/src/elements/skeleton/definition.ts +91 -0
- package/src/elements/skeleton/element.ts +175 -0
- package/src/elements/skip-link/definition.ts +26 -0
- package/src/elements/skip-link/element.ts +75 -0
- package/src/elements/spinner/definition.ts +52 -0
- package/src/elements/spinner/element.ts +58 -0
- package/src/elements/status-pill/definition.ts +48 -0
- package/src/elements/status-pill/element.ts +50 -0
- package/src/elements/surface/definition.ts +93 -0
- package/src/elements/surface/element.ts +42 -0
- package/src/elements/switch/definition.ts +72 -0
- package/src/elements/switch/element.ts +65 -0
- package/src/elements/tabs/definition.ts +60 -0
- package/src/elements/tabs/element.ts +319 -0
- package/src/elements/tag/definition.ts +69 -0
- package/src/elements/tag/element.ts +35 -0
- package/src/elements/tag-field/definition.ts +51 -0
- package/src/elements/tag-field/element.ts +461 -0
- package/src/elements/text-area/definition.ts +137 -0
- package/src/elements/text-area/element.ts +113 -0
- package/src/elements/text-field/definition.ts +236 -0
- package/src/elements/text-field/element.ts +151 -0
- package/src/elements/theme-palette/definition.ts +52 -0
- package/src/elements/theme-palette/element.ts +372 -0
- package/src/elements/theme-palette/model.ts +140 -0
- package/src/elements/toast/definition.ts +42 -0
- package/src/elements/toast/element.ts +479 -0
- package/src/elements/wheel-picker/definition.ts +39 -0
- package/src/elements/wheel-picker/element.ts +407 -0
- package/src/flags/Flag.css +58 -0
- package/src/flags/Flag.tsx +70 -0
- package/src/flags/art/1x1/ad.ts +2 -0
- package/src/flags/art/1x1/ae.ts +2 -0
- package/src/flags/art/1x1/af.ts +2 -0
- package/src/flags/art/1x1/ag.ts +2 -0
- package/src/flags/art/1x1/ai.ts +2 -0
- package/src/flags/art/1x1/al.ts +2 -0
- package/src/flags/art/1x1/am.ts +2 -0
- package/src/flags/art/1x1/ao.ts +2 -0
- package/src/flags/art/1x1/aq.ts +2 -0
- package/src/flags/art/1x1/ar.ts +2 -0
- package/src/flags/art/1x1/arab.ts +2 -0
- package/src/flags/art/1x1/as.ts +2 -0
- package/src/flags/art/1x1/asean.ts +2 -0
- package/src/flags/art/1x1/at.ts +2 -0
- package/src/flags/art/1x1/au.ts +2 -0
- package/src/flags/art/1x1/aw.ts +2 -0
- package/src/flags/art/1x1/ax.ts +2 -0
- package/src/flags/art/1x1/az.ts +2 -0
- package/src/flags/art/1x1/ba.ts +2 -0
- package/src/flags/art/1x1/bb.ts +2 -0
- package/src/flags/art/1x1/bd.ts +2 -0
- package/src/flags/art/1x1/be.ts +2 -0
- package/src/flags/art/1x1/bf.ts +2 -0
- package/src/flags/art/1x1/bg.ts +2 -0
- package/src/flags/art/1x1/bh.ts +2 -0
- package/src/flags/art/1x1/bi.ts +2 -0
- package/src/flags/art/1x1/bj.ts +2 -0
- package/src/flags/art/1x1/bl.ts +2 -0
- package/src/flags/art/1x1/bm.ts +2 -0
- package/src/flags/art/1x1/bn.ts +2 -0
- package/src/flags/art/1x1/bo.ts +2 -0
- package/src/flags/art/1x1/bq.ts +2 -0
- package/src/flags/art/1x1/br.ts +2 -0
- package/src/flags/art/1x1/bs.ts +2 -0
- package/src/flags/art/1x1/bt.ts +2 -0
- package/src/flags/art/1x1/bv.ts +2 -0
- package/src/flags/art/1x1/bw.ts +2 -0
- package/src/flags/art/1x1/by.ts +2 -0
- package/src/flags/art/1x1/bz.ts +2 -0
- package/src/flags/art/1x1/ca.ts +2 -0
- package/src/flags/art/1x1/cc.ts +2 -0
- package/src/flags/art/1x1/cd.ts +2 -0
- package/src/flags/art/1x1/cefta.ts +2 -0
- package/src/flags/art/1x1/cf.ts +2 -0
- package/src/flags/art/1x1/cg.ts +2 -0
- package/src/flags/art/1x1/ch.ts +2 -0
- package/src/flags/art/1x1/ci.ts +2 -0
- package/src/flags/art/1x1/ck.ts +2 -0
- package/src/flags/art/1x1/cl.ts +2 -0
- package/src/flags/art/1x1/cm.ts +2 -0
- package/src/flags/art/1x1/cn.ts +2 -0
- package/src/flags/art/1x1/co.ts +2 -0
- package/src/flags/art/1x1/cp.ts +2 -0
- package/src/flags/art/1x1/cr.ts +2 -0
- package/src/flags/art/1x1/cu.ts +2 -0
- package/src/flags/art/1x1/cv.ts +2 -0
- package/src/flags/art/1x1/cw.ts +2 -0
- package/src/flags/art/1x1/cx.ts +2 -0
- package/src/flags/art/1x1/cy.ts +2 -0
- package/src/flags/art/1x1/cz.ts +2 -0
- package/src/flags/art/1x1/de.ts +2 -0
- package/src/flags/art/1x1/dg.ts +2 -0
- package/src/flags/art/1x1/dj.ts +2 -0
- package/src/flags/art/1x1/dk.ts +2 -0
- package/src/flags/art/1x1/dm.ts +2 -0
- package/src/flags/art/1x1/do.ts +2 -0
- package/src/flags/art/1x1/dz.ts +2 -0
- package/src/flags/art/1x1/eac.ts +2 -0
- package/src/flags/art/1x1/ec.ts +2 -0
- package/src/flags/art/1x1/ee.ts +2 -0
- package/src/flags/art/1x1/eg.ts +2 -0
- package/src/flags/art/1x1/eh.ts +2 -0
- package/src/flags/art/1x1/er.ts +2 -0
- package/src/flags/art/1x1/es-ct.ts +2 -0
- package/src/flags/art/1x1/es-ga.ts +2 -0
- package/src/flags/art/1x1/es-pv.ts +2 -0
- package/src/flags/art/1x1/es.ts +2 -0
- package/src/flags/art/1x1/et.ts +2 -0
- package/src/flags/art/1x1/eu.ts +2 -0
- package/src/flags/art/1x1/fi.ts +2 -0
- package/src/flags/art/1x1/fj.ts +2 -0
- package/src/flags/art/1x1/fk.ts +2 -0
- package/src/flags/art/1x1/fm.ts +2 -0
- package/src/flags/art/1x1/fo.ts +2 -0
- package/src/flags/art/1x1/fr.ts +2 -0
- package/src/flags/art/1x1/ga.ts +2 -0
- package/src/flags/art/1x1/gb-eng.ts +2 -0
- package/src/flags/art/1x1/gb-nir.ts +2 -0
- package/src/flags/art/1x1/gb-sct.ts +2 -0
- package/src/flags/art/1x1/gb-wls.ts +2 -0
- package/src/flags/art/1x1/gb.ts +2 -0
- package/src/flags/art/1x1/gd.ts +2 -0
- package/src/flags/art/1x1/ge.ts +2 -0
- package/src/flags/art/1x1/gf.ts +2 -0
- package/src/flags/art/1x1/gg.ts +2 -0
- package/src/flags/art/1x1/gh.ts +2 -0
- package/src/flags/art/1x1/gi.ts +2 -0
- package/src/flags/art/1x1/gl.ts +2 -0
- package/src/flags/art/1x1/gm.ts +2 -0
- package/src/flags/art/1x1/gn.ts +2 -0
- package/src/flags/art/1x1/gp.ts +2 -0
- package/src/flags/art/1x1/gq.ts +2 -0
- package/src/flags/art/1x1/gr.ts +2 -0
- package/src/flags/art/1x1/gs.ts +2 -0
- package/src/flags/art/1x1/gt.ts +2 -0
- package/src/flags/art/1x1/gu.ts +2 -0
- package/src/flags/art/1x1/gw.ts +2 -0
- package/src/flags/art/1x1/gy.ts +2 -0
- package/src/flags/art/1x1/hk.ts +2 -0
- package/src/flags/art/1x1/hm.ts +2 -0
- package/src/flags/art/1x1/hn.ts +2 -0
- package/src/flags/art/1x1/hr.ts +2 -0
- package/src/flags/art/1x1/ht.ts +2 -0
- package/src/flags/art/1x1/hu.ts +2 -0
- package/src/flags/art/1x1/ic.ts +2 -0
- package/src/flags/art/1x1/id.ts +2 -0
- package/src/flags/art/1x1/ie.ts +2 -0
- package/src/flags/art/1x1/il.ts +2 -0
- package/src/flags/art/1x1/im.ts +2 -0
- package/src/flags/art/1x1/in.ts +2 -0
- package/src/flags/art/1x1/io.ts +2 -0
- package/src/flags/art/1x1/iq.ts +2 -0
- package/src/flags/art/1x1/ir.ts +2 -0
- package/src/flags/art/1x1/is.ts +2 -0
- package/src/flags/art/1x1/it.ts +2 -0
- package/src/flags/art/1x1/je.ts +2 -0
- package/src/flags/art/1x1/jm.ts +2 -0
- package/src/flags/art/1x1/jo.ts +2 -0
- package/src/flags/art/1x1/jp.ts +2 -0
- package/src/flags/art/1x1/ke.ts +2 -0
- package/src/flags/art/1x1/kg.ts +2 -0
- package/src/flags/art/1x1/kh.ts +2 -0
- package/src/flags/art/1x1/ki.ts +2 -0
- package/src/flags/art/1x1/km.ts +2 -0
- package/src/flags/art/1x1/kn.ts +2 -0
- package/src/flags/art/1x1/kp.ts +2 -0
- package/src/flags/art/1x1/kr.ts +2 -0
- package/src/flags/art/1x1/kw.ts +2 -0
- package/src/flags/art/1x1/ky.ts +2 -0
- package/src/flags/art/1x1/kz.ts +2 -0
- package/src/flags/art/1x1/la.ts +2 -0
- package/src/flags/art/1x1/lb.ts +2 -0
- package/src/flags/art/1x1/lc.ts +2 -0
- package/src/flags/art/1x1/li.ts +2 -0
- package/src/flags/art/1x1/lk.ts +2 -0
- package/src/flags/art/1x1/lr.ts +2 -0
- package/src/flags/art/1x1/ls.ts +2 -0
- package/src/flags/art/1x1/lt.ts +2 -0
- package/src/flags/art/1x1/lu.ts +2 -0
- package/src/flags/art/1x1/lv.ts +2 -0
- package/src/flags/art/1x1/ly.ts +2 -0
- package/src/flags/art/1x1/ma.ts +2 -0
- package/src/flags/art/1x1/mc.ts +2 -0
- package/src/flags/art/1x1/md.ts +2 -0
- package/src/flags/art/1x1/me.ts +2 -0
- package/src/flags/art/1x1/mf.ts +2 -0
- package/src/flags/art/1x1/mg.ts +2 -0
- package/src/flags/art/1x1/mh.ts +2 -0
- package/src/flags/art/1x1/mk.ts +2 -0
- package/src/flags/art/1x1/ml.ts +2 -0
- package/src/flags/art/1x1/mm.ts +2 -0
- package/src/flags/art/1x1/mn.ts +2 -0
- package/src/flags/art/1x1/mo.ts +2 -0
- package/src/flags/art/1x1/mp.ts +2 -0
- package/src/flags/art/1x1/mq.ts +2 -0
- package/src/flags/art/1x1/mr.ts +2 -0
- package/src/flags/art/1x1/ms.ts +2 -0
- package/src/flags/art/1x1/mt.ts +2 -0
- package/src/flags/art/1x1/mu.ts +2 -0
- package/src/flags/art/1x1/mv.ts +2 -0
- package/src/flags/art/1x1/mw.ts +2 -0
- package/src/flags/art/1x1/mx.ts +2 -0
- package/src/flags/art/1x1/my.ts +2 -0
- package/src/flags/art/1x1/mz.ts +2 -0
- package/src/flags/art/1x1/na.ts +2 -0
- package/src/flags/art/1x1/nc.ts +2 -0
- package/src/flags/art/1x1/ne.ts +2 -0
- package/src/flags/art/1x1/nf.ts +2 -0
- package/src/flags/art/1x1/ng.ts +2 -0
- package/src/flags/art/1x1/ni.ts +2 -0
- package/src/flags/art/1x1/nl.ts +2 -0
- package/src/flags/art/1x1/no.ts +2 -0
- package/src/flags/art/1x1/np.ts +2 -0
- package/src/flags/art/1x1/nr.ts +2 -0
- package/src/flags/art/1x1/nu.ts +2 -0
- package/src/flags/art/1x1/nz.ts +2 -0
- package/src/flags/art/1x1/om.ts +2 -0
- package/src/flags/art/1x1/pa.ts +2 -0
- package/src/flags/art/1x1/pc.ts +2 -0
- package/src/flags/art/1x1/pe.ts +2 -0
- package/src/flags/art/1x1/pf.ts +2 -0
- package/src/flags/art/1x1/pg.ts +2 -0
- package/src/flags/art/1x1/ph.ts +2 -0
- package/src/flags/art/1x1/pk.ts +2 -0
- package/src/flags/art/1x1/pl.ts +2 -0
- package/src/flags/art/1x1/pm.ts +2 -0
- package/src/flags/art/1x1/pn.ts +2 -0
- package/src/flags/art/1x1/pr.ts +2 -0
- package/src/flags/art/1x1/ps.ts +2 -0
- package/src/flags/art/1x1/pt.ts +2 -0
- package/src/flags/art/1x1/pw.ts +2 -0
- package/src/flags/art/1x1/py.ts +2 -0
- package/src/flags/art/1x1/qa.ts +2 -0
- package/src/flags/art/1x1/re.ts +2 -0
- package/src/flags/art/1x1/ro.ts +2 -0
- package/src/flags/art/1x1/rs.ts +2 -0
- package/src/flags/art/1x1/ru.ts +2 -0
- package/src/flags/art/1x1/rw.ts +2 -0
- package/src/flags/art/1x1/sa.ts +2 -0
- package/src/flags/art/1x1/sb.ts +2 -0
- package/src/flags/art/1x1/sc.ts +2 -0
- package/src/flags/art/1x1/sd.ts +2 -0
- package/src/flags/art/1x1/se.ts +2 -0
- package/src/flags/art/1x1/sg.ts +2 -0
- package/src/flags/art/1x1/sh-ac.ts +2 -0
- package/src/flags/art/1x1/sh-hl.ts +2 -0
- package/src/flags/art/1x1/sh-ta.ts +2 -0
- package/src/flags/art/1x1/sh.ts +2 -0
- package/src/flags/art/1x1/si.ts +2 -0
- package/src/flags/art/1x1/sj.ts +2 -0
- package/src/flags/art/1x1/sk.ts +2 -0
- package/src/flags/art/1x1/sl.ts +2 -0
- package/src/flags/art/1x1/sm.ts +2 -0
- package/src/flags/art/1x1/sn.ts +2 -0
- package/src/flags/art/1x1/so.ts +2 -0
- package/src/flags/art/1x1/sr.ts +2 -0
- package/src/flags/art/1x1/ss.ts +2 -0
- package/src/flags/art/1x1/st.ts +2 -0
- package/src/flags/art/1x1/sv.ts +2 -0
- package/src/flags/art/1x1/sx.ts +2 -0
- package/src/flags/art/1x1/sy.ts +2 -0
- package/src/flags/art/1x1/sz.ts +2 -0
- package/src/flags/art/1x1/tc.ts +2 -0
- package/src/flags/art/1x1/td.ts +2 -0
- package/src/flags/art/1x1/tf.ts +2 -0
- package/src/flags/art/1x1/tg.ts +2 -0
- package/src/flags/art/1x1/th.ts +2 -0
- package/src/flags/art/1x1/tj.ts +2 -0
- package/src/flags/art/1x1/tk.ts +2 -0
- package/src/flags/art/1x1/tl.ts +2 -0
- package/src/flags/art/1x1/tm.ts +2 -0
- package/src/flags/art/1x1/tn.ts +2 -0
- package/src/flags/art/1x1/to.ts +2 -0
- package/src/flags/art/1x1/tr.ts +2 -0
- package/src/flags/art/1x1/tt.ts +2 -0
- package/src/flags/art/1x1/tv.ts +2 -0
- package/src/flags/art/1x1/tw.ts +2 -0
- package/src/flags/art/1x1/tz.ts +2 -0
- package/src/flags/art/1x1/ua.ts +2 -0
- package/src/flags/art/1x1/ug.ts +2 -0
- package/src/flags/art/1x1/um.ts +2 -0
- package/src/flags/art/1x1/un.ts +2 -0
- package/src/flags/art/1x1/us.ts +2 -0
- package/src/flags/art/1x1/uy.ts +2 -0
- package/src/flags/art/1x1/uz.ts +2 -0
- package/src/flags/art/1x1/va.ts +2 -0
- package/src/flags/art/1x1/vc.ts +2 -0
- package/src/flags/art/1x1/ve.ts +2 -0
- package/src/flags/art/1x1/vg.ts +2 -0
- package/src/flags/art/1x1/vi.ts +2 -0
- package/src/flags/art/1x1/vn.ts +2 -0
- package/src/flags/art/1x1/vu.ts +2 -0
- package/src/flags/art/1x1/wf.ts +2 -0
- package/src/flags/art/1x1/ws.ts +2 -0
- package/src/flags/art/1x1/xk.ts +2 -0
- package/src/flags/art/1x1/xx.ts +2 -0
- package/src/flags/art/1x1/ye.ts +2 -0
- package/src/flags/art/1x1/yt.ts +2 -0
- package/src/flags/art/1x1/za.ts +2 -0
- package/src/flags/art/1x1/zm.ts +2 -0
- package/src/flags/art/1x1/zw.ts +2 -0
- package/src/flags/art/4x3/ad.ts +2 -0
- package/src/flags/art/4x3/ae.ts +2 -0
- package/src/flags/art/4x3/af.ts +2 -0
- package/src/flags/art/4x3/ag.ts +2 -0
- package/src/flags/art/4x3/ai.ts +2 -0
- package/src/flags/art/4x3/al.ts +2 -0
- package/src/flags/art/4x3/am.ts +2 -0
- package/src/flags/art/4x3/ao.ts +2 -0
- package/src/flags/art/4x3/aq.ts +2 -0
- package/src/flags/art/4x3/ar.ts +2 -0
- package/src/flags/art/4x3/arab.ts +2 -0
- package/src/flags/art/4x3/as.ts +2 -0
- package/src/flags/art/4x3/asean.ts +2 -0
- package/src/flags/art/4x3/at.ts +2 -0
- package/src/flags/art/4x3/au.ts +2 -0
- package/src/flags/art/4x3/aw.ts +2 -0
- package/src/flags/art/4x3/ax.ts +2 -0
- package/src/flags/art/4x3/az.ts +2 -0
- package/src/flags/art/4x3/ba.ts +2 -0
- package/src/flags/art/4x3/bb.ts +2 -0
- package/src/flags/art/4x3/bd.ts +2 -0
- package/src/flags/art/4x3/be.ts +2 -0
- package/src/flags/art/4x3/bf.ts +2 -0
- package/src/flags/art/4x3/bg.ts +2 -0
- package/src/flags/art/4x3/bh.ts +2 -0
- package/src/flags/art/4x3/bi.ts +2 -0
- package/src/flags/art/4x3/bj.ts +2 -0
- package/src/flags/art/4x3/bl.ts +2 -0
- package/src/flags/art/4x3/bm.ts +2 -0
- package/src/flags/art/4x3/bn.ts +2 -0
- package/src/flags/art/4x3/bo.ts +2 -0
- package/src/flags/art/4x3/bq.ts +2 -0
- package/src/flags/art/4x3/br.ts +2 -0
- package/src/flags/art/4x3/bs.ts +2 -0
- package/src/flags/art/4x3/bt.ts +2 -0
- package/src/flags/art/4x3/bv.ts +2 -0
- package/src/flags/art/4x3/bw.ts +2 -0
- package/src/flags/art/4x3/by.ts +2 -0
- package/src/flags/art/4x3/bz.ts +2 -0
- package/src/flags/art/4x3/ca.ts +2 -0
- package/src/flags/art/4x3/cc.ts +2 -0
- package/src/flags/art/4x3/cd.ts +2 -0
- package/src/flags/art/4x3/cefta.ts +2 -0
- package/src/flags/art/4x3/cf.ts +2 -0
- package/src/flags/art/4x3/cg.ts +2 -0
- package/src/flags/art/4x3/ch.ts +2 -0
- package/src/flags/art/4x3/ci.ts +2 -0
- package/src/flags/art/4x3/ck.ts +2 -0
- package/src/flags/art/4x3/cl.ts +2 -0
- package/src/flags/art/4x3/cm.ts +2 -0
- package/src/flags/art/4x3/cn.ts +2 -0
- package/src/flags/art/4x3/co.ts +2 -0
- package/src/flags/art/4x3/cp.ts +2 -0
- package/src/flags/art/4x3/cr.ts +2 -0
- package/src/flags/art/4x3/cu.ts +2 -0
- package/src/flags/art/4x3/cv.ts +2 -0
- package/src/flags/art/4x3/cw.ts +2 -0
- package/src/flags/art/4x3/cx.ts +2 -0
- package/src/flags/art/4x3/cy.ts +2 -0
- package/src/flags/art/4x3/cz.ts +2 -0
- package/src/flags/art/4x3/de.ts +2 -0
- package/src/flags/art/4x3/dg.ts +2 -0
- package/src/flags/art/4x3/dj.ts +2 -0
- package/src/flags/art/4x3/dk.ts +2 -0
- package/src/flags/art/4x3/dm.ts +2 -0
- package/src/flags/art/4x3/do.ts +2 -0
- package/src/flags/art/4x3/dz.ts +2 -0
- package/src/flags/art/4x3/eac.ts +2 -0
- package/src/flags/art/4x3/ec.ts +2 -0
- package/src/flags/art/4x3/ee.ts +2 -0
- package/src/flags/art/4x3/eg.ts +2 -0
- package/src/flags/art/4x3/eh.ts +2 -0
- package/src/flags/art/4x3/er.ts +2 -0
- package/src/flags/art/4x3/es-ct.ts +2 -0
- package/src/flags/art/4x3/es-ga.ts +2 -0
- package/src/flags/art/4x3/es-pv.ts +2 -0
- package/src/flags/art/4x3/es.ts +2 -0
- package/src/flags/art/4x3/et.ts +2 -0
- package/src/flags/art/4x3/eu.ts +2 -0
- package/src/flags/art/4x3/fi.ts +2 -0
- package/src/flags/art/4x3/fj.ts +2 -0
- package/src/flags/art/4x3/fk.ts +2 -0
- package/src/flags/art/4x3/fm.ts +2 -0
- package/src/flags/art/4x3/fo.ts +2 -0
- package/src/flags/art/4x3/fr.ts +2 -0
- package/src/flags/art/4x3/ga.ts +2 -0
- package/src/flags/art/4x3/gb-eng.ts +2 -0
- package/src/flags/art/4x3/gb-nir.ts +2 -0
- package/src/flags/art/4x3/gb-sct.ts +2 -0
- package/src/flags/art/4x3/gb-wls.ts +2 -0
- package/src/flags/art/4x3/gb.ts +2 -0
- package/src/flags/art/4x3/gd.ts +2 -0
- package/src/flags/art/4x3/ge.ts +2 -0
- package/src/flags/art/4x3/gf.ts +2 -0
- package/src/flags/art/4x3/gg.ts +2 -0
- package/src/flags/art/4x3/gh.ts +2 -0
- package/src/flags/art/4x3/gi.ts +2 -0
- package/src/flags/art/4x3/gl.ts +2 -0
- package/src/flags/art/4x3/gm.ts +2 -0
- package/src/flags/art/4x3/gn.ts +2 -0
- package/src/flags/art/4x3/gp.ts +2 -0
- package/src/flags/art/4x3/gq.ts +2 -0
- package/src/flags/art/4x3/gr.ts +2 -0
- package/src/flags/art/4x3/gs.ts +2 -0
- package/src/flags/art/4x3/gt.ts +2 -0
- package/src/flags/art/4x3/gu.ts +2 -0
- package/src/flags/art/4x3/gw.ts +2 -0
- package/src/flags/art/4x3/gy.ts +2 -0
- package/src/flags/art/4x3/hk.ts +2 -0
- package/src/flags/art/4x3/hm.ts +2 -0
- package/src/flags/art/4x3/hn.ts +2 -0
- package/src/flags/art/4x3/hr.ts +2 -0
- package/src/flags/art/4x3/ht.ts +2 -0
- package/src/flags/art/4x3/hu.ts +2 -0
- package/src/flags/art/4x3/ic.ts +2 -0
- package/src/flags/art/4x3/id.ts +2 -0
- package/src/flags/art/4x3/ie.ts +2 -0
- package/src/flags/art/4x3/il.ts +2 -0
- package/src/flags/art/4x3/im.ts +2 -0
- package/src/flags/art/4x3/in.ts +2 -0
- package/src/flags/art/4x3/io.ts +2 -0
- package/src/flags/art/4x3/iq.ts +2 -0
- package/src/flags/art/4x3/ir.ts +2 -0
- package/src/flags/art/4x3/is.ts +2 -0
- package/src/flags/art/4x3/it.ts +2 -0
- package/src/flags/art/4x3/je.ts +2 -0
- package/src/flags/art/4x3/jm.ts +2 -0
- package/src/flags/art/4x3/jo.ts +2 -0
- package/src/flags/art/4x3/jp.ts +2 -0
- package/src/flags/art/4x3/ke.ts +2 -0
- package/src/flags/art/4x3/kg.ts +2 -0
- package/src/flags/art/4x3/kh.ts +2 -0
- package/src/flags/art/4x3/ki.ts +2 -0
- package/src/flags/art/4x3/km.ts +2 -0
- package/src/flags/art/4x3/kn.ts +2 -0
- package/src/flags/art/4x3/kp.ts +2 -0
- package/src/flags/art/4x3/kr.ts +2 -0
- package/src/flags/art/4x3/kw.ts +2 -0
- package/src/flags/art/4x3/ky.ts +2 -0
- package/src/flags/art/4x3/kz.ts +2 -0
- package/src/flags/art/4x3/la.ts +2 -0
- package/src/flags/art/4x3/lb.ts +2 -0
- package/src/flags/art/4x3/lc.ts +2 -0
- package/src/flags/art/4x3/li.ts +2 -0
- package/src/flags/art/4x3/lk.ts +2 -0
- package/src/flags/art/4x3/lr.ts +2 -0
- package/src/flags/art/4x3/ls.ts +2 -0
- package/src/flags/art/4x3/lt.ts +2 -0
- package/src/flags/art/4x3/lu.ts +2 -0
- package/src/flags/art/4x3/lv.ts +2 -0
- package/src/flags/art/4x3/ly.ts +2 -0
- package/src/flags/art/4x3/ma.ts +2 -0
- package/src/flags/art/4x3/mc.ts +2 -0
- package/src/flags/art/4x3/md.ts +2 -0
- package/src/flags/art/4x3/me.ts +2 -0
- package/src/flags/art/4x3/mf.ts +2 -0
- package/src/flags/art/4x3/mg.ts +2 -0
- package/src/flags/art/4x3/mh.ts +2 -0
- package/src/flags/art/4x3/mk.ts +2 -0
- package/src/flags/art/4x3/ml.ts +2 -0
- package/src/flags/art/4x3/mm.ts +2 -0
- package/src/flags/art/4x3/mn.ts +2 -0
- package/src/flags/art/4x3/mo.ts +2 -0
- package/src/flags/art/4x3/mp.ts +2 -0
- package/src/flags/art/4x3/mq.ts +2 -0
- package/src/flags/art/4x3/mr.ts +2 -0
- package/src/flags/art/4x3/ms.ts +2 -0
- package/src/flags/art/4x3/mt.ts +2 -0
- package/src/flags/art/4x3/mu.ts +2 -0
- package/src/flags/art/4x3/mv.ts +2 -0
- package/src/flags/art/4x3/mw.ts +2 -0
- package/src/flags/art/4x3/mx.ts +2 -0
- package/src/flags/art/4x3/my.ts +2 -0
- package/src/flags/art/4x3/mz.ts +2 -0
- package/src/flags/art/4x3/na.ts +2 -0
- package/src/flags/art/4x3/nc.ts +2 -0
- package/src/flags/art/4x3/ne.ts +2 -0
- package/src/flags/art/4x3/nf.ts +2 -0
- package/src/flags/art/4x3/ng.ts +2 -0
- package/src/flags/art/4x3/ni.ts +2 -0
- package/src/flags/art/4x3/nl.ts +2 -0
- package/src/flags/art/4x3/no.ts +2 -0
- package/src/flags/art/4x3/np.ts +2 -0
- package/src/flags/art/4x3/nr.ts +2 -0
- package/src/flags/art/4x3/nu.ts +2 -0
- package/src/flags/art/4x3/nz.ts +2 -0
- package/src/flags/art/4x3/om.ts +2 -0
- package/src/flags/art/4x3/pa.ts +2 -0
- package/src/flags/art/4x3/pc.ts +2 -0
- package/src/flags/art/4x3/pe.ts +2 -0
- package/src/flags/art/4x3/pf.ts +2 -0
- package/src/flags/art/4x3/pg.ts +2 -0
- package/src/flags/art/4x3/ph.ts +2 -0
- package/src/flags/art/4x3/pk.ts +2 -0
- package/src/flags/art/4x3/pl.ts +2 -0
- package/src/flags/art/4x3/pm.ts +2 -0
- package/src/flags/art/4x3/pn.ts +2 -0
- package/src/flags/art/4x3/pr.ts +2 -0
- package/src/flags/art/4x3/ps.ts +2 -0
- package/src/flags/art/4x3/pt.ts +2 -0
- package/src/flags/art/4x3/pw.ts +2 -0
- package/src/flags/art/4x3/py.ts +2 -0
- package/src/flags/art/4x3/qa.ts +2 -0
- package/src/flags/art/4x3/re.ts +2 -0
- package/src/flags/art/4x3/ro.ts +2 -0
- package/src/flags/art/4x3/rs.ts +2 -0
- package/src/flags/art/4x3/ru.ts +2 -0
- package/src/flags/art/4x3/rw.ts +2 -0
- package/src/flags/art/4x3/sa.ts +2 -0
- package/src/flags/art/4x3/sb.ts +2 -0
- package/src/flags/art/4x3/sc.ts +2 -0
- package/src/flags/art/4x3/sd.ts +2 -0
- package/src/flags/art/4x3/se.ts +2 -0
- package/src/flags/art/4x3/sg.ts +2 -0
- package/src/flags/art/4x3/sh-ac.ts +2 -0
- package/src/flags/art/4x3/sh-hl.ts +2 -0
- package/src/flags/art/4x3/sh-ta.ts +2 -0
- package/src/flags/art/4x3/sh.ts +2 -0
- package/src/flags/art/4x3/si.ts +2 -0
- package/src/flags/art/4x3/sj.ts +2 -0
- package/src/flags/art/4x3/sk.ts +2 -0
- package/src/flags/art/4x3/sl.ts +2 -0
- package/src/flags/art/4x3/sm.ts +2 -0
- package/src/flags/art/4x3/sn.ts +2 -0
- package/src/flags/art/4x3/so.ts +2 -0
- package/src/flags/art/4x3/sr.ts +2 -0
- package/src/flags/art/4x3/ss.ts +2 -0
- package/src/flags/art/4x3/st.ts +2 -0
- package/src/flags/art/4x3/sv.ts +2 -0
- package/src/flags/art/4x3/sx.ts +2 -0
- package/src/flags/art/4x3/sy.ts +2 -0
- package/src/flags/art/4x3/sz.ts +2 -0
- package/src/flags/art/4x3/tc.ts +2 -0
- package/src/flags/art/4x3/td.ts +2 -0
- package/src/flags/art/4x3/tf.ts +2 -0
- package/src/flags/art/4x3/tg.ts +2 -0
- package/src/flags/art/4x3/th.ts +2 -0
- package/src/flags/art/4x3/tj.ts +2 -0
- package/src/flags/art/4x3/tk.ts +2 -0
- package/src/flags/art/4x3/tl.ts +2 -0
- package/src/flags/art/4x3/tm.ts +2 -0
- package/src/flags/art/4x3/tn.ts +2 -0
- package/src/flags/art/4x3/to.ts +2 -0
- package/src/flags/art/4x3/tr.ts +2 -0
- package/src/flags/art/4x3/tt.ts +2 -0
- package/src/flags/art/4x3/tv.ts +2 -0
- package/src/flags/art/4x3/tw.ts +2 -0
- package/src/flags/art/4x3/tz.ts +2 -0
- package/src/flags/art/4x3/ua.ts +2 -0
- package/src/flags/art/4x3/ug.ts +2 -0
- package/src/flags/art/4x3/um.ts +2 -0
- package/src/flags/art/4x3/un.ts +2 -0
- package/src/flags/art/4x3/us.ts +2 -0
- package/src/flags/art/4x3/uy.ts +2 -0
- package/src/flags/art/4x3/uz.ts +2 -0
- package/src/flags/art/4x3/va.ts +2 -0
- package/src/flags/art/4x3/vc.ts +2 -0
- package/src/flags/art/4x3/ve.ts +2 -0
- package/src/flags/art/4x3/vg.ts +2 -0
- package/src/flags/art/4x3/vi.ts +2 -0
- package/src/flags/art/4x3/vn.ts +2 -0
- package/src/flags/art/4x3/vu.ts +2 -0
- package/src/flags/art/4x3/wf.ts +2 -0
- package/src/flags/art/4x3/ws.ts +2 -0
- package/src/flags/art/4x3/xk.ts +2 -0
- package/src/flags/art/4x3/xx.ts +2 -0
- package/src/flags/art/4x3/ye.ts +2 -0
- package/src/flags/art/4x3/yt.ts +2 -0
- package/src/flags/art/4x3/za.ts +2 -0
- package/src/flags/art/4x3/zm.ts +2 -0
- package/src/flags/art/4x3/zw.ts +2 -0
- package/src/flags/art/index.ts +552 -0
- package/src/flags/flags.test.tsx +140 -0
- package/src/flags/index.ts +7 -0
- package/src/flags/loadFlag.ts +29 -0
- package/src/flags/names.ts +65 -0
- package/src/flow/CLEAN-ROOM.md +110 -0
- package/src/flow/PROVENANCE.md +169 -0
- package/src/flow/README.md +117 -0
- package/src/flow/agents/AgentCreationWizard.tsx +633 -0
- package/src/flow/agents/AgentEditorDialog.tsx +751 -0
- package/src/flow/agents/agents.css +563 -0
- package/src/flow/agents/agents.test.tsx +207 -0
- package/src/flow/agents/index.ts +4 -0
- package/src/flow/agents/parts.tsx +171 -0
- package/src/flow/assistant/AssistantConversation.tsx +388 -0
- package/src/flow/assistant/AssistantVisualBlock.test.tsx +86 -0
- package/src/flow/assistant/AssistantVisualBlock.tsx +75 -0
- package/src/flow/assistant/ConversationShell.test.tsx +202 -0
- package/src/flow/assistant/ConversationShell.tsx +160 -0
- package/src/flow/assistant/LiveCanvasPanel.tsx +52 -0
- package/src/flow/assistant/MarkdownView.tsx +162 -0
- package/src/flow/assistant/ThreadHistory.tsx +156 -0
- package/src/flow/assistant/assistant.css +567 -0
- package/src/flow/assistant/index.ts +10 -0
- package/src/flow/assistant/threadDays.ts +44 -0
- package/src/flow/assistant/useAssistantSession.test.tsx +172 -0
- package/src/flow/assistant/useAssistantSession.ts +457 -0
- package/src/flow/assistant/visual.ts +205 -0
- package/src/flow/catalog/RenderCatalog.tsx +98 -0
- package/src/flow/catalog/catalog.test.tsx +162 -0
- package/src/flow/catalog/icons.ts +116 -0
- package/src/flow/catalog/kindCatalog.ts +175 -0
- package/src/flow/catalog/nodeState.ts +46 -0
- package/src/flow/catalog/palette.ts +116 -0
- package/src/flow/connectors/ConditionalConnector.css +274 -0
- package/src/flow/connectors/ConditionalConnector.tsx +288 -0
- package/src/flow/connectors/ConnectionPreviewLine.tsx +31 -0
- package/src/flow/connectors/ConnectorInsertMenu.tsx +103 -0
- package/src/flow/connectors/connectors.css +2 -0
- package/src/flow/connectors/connectors.test.tsx +218 -0
- package/src/flow/connectors/index.ts +4 -0
- package/src/flow/decision/DecisionNode.tsx +182 -0
- package/src/flow/decision/decision.css +1 -0
- package/src/flow/decision/index.ts +3 -0
- package/src/flow/decision/types.ts +60 -0
- package/src/flow/dialogs/DefinitionDialogs.test.tsx +177 -0
- package/src/flow/dialogs/DefinitionExportDialog.tsx +234 -0
- package/src/flow/dialogs/DefinitionImportDialog.tsx +303 -0
- package/src/flow/dialogs/FlowSettingsDialog.test.tsx +95 -0
- package/src/flow/dialogs/FlowSettingsDialog.tsx +242 -0
- package/src/flow/dialogs/NodeConfigDialog.test.tsx +151 -0
- package/src/flow/dialogs/NodeConfigDialog.tsx +208 -0
- package/src/flow/dialogs/dialogs.css +134 -0
- package/src/flow/dialogs/index.ts +5 -0
- package/src/flow/editor/AutosaveController.tsx +25 -0
- package/src/flow/editor/CanvasCommandBar.tsx +315 -0
- package/src/flow/editor/CanvasContextMenus.tsx +287 -0
- package/src/flow/editor/FlowEditor.test.tsx +282 -0
- package/src/flow/editor/FlowEditor.tsx +1214 -0
- package/src/flow/editor/FlowOutline.tsx +196 -0
- package/src/flow/editor/FlowPreview.tsx +149 -0
- package/src/flow/editor/FlowSwitcherBar.tsx +141 -0
- package/src/flow/editor/NodePalette.tsx +447 -0
- package/src/flow/editor/RunControls.tsx +85 -0
- package/src/flow/editor/SaveStatus.tsx +45 -0
- package/src/flow/editor/editor.css +573 -0
- package/src/flow/editor/editorTools.ts +135 -0
- package/src/flow/editor/focusOut.ts +23 -0
- package/src/flow/editor/index.ts +16 -0
- package/src/flow/editor/keyMap.ts +93 -0
- package/src/flow/editor/nodeBridge.tsx +66 -0
- package/src/flow/editor/parts.test.tsx +519 -0
- package/src/flow/editor/useEditorShortcuts.ts +122 -0
- package/src/flow/editor/useSelectionArrange.ts +135 -0
- package/src/flow/expressions/ComputeInsertPanel.tsx +123 -0
- package/src/flow/expressions/ComputeNodeForm.tsx +291 -0
- package/src/flow/expressions/ComputeTrial.tsx +105 -0
- package/src/flow/expressions/ExpressionBuilder.test.tsx +161 -0
- package/src/flow/expressions/ExpressionBuilder.tsx +71 -0
- package/src/flow/expressions/ExpressionField.tsx +157 -0
- package/src/flow/expressions/RuleEditor.tsx +645 -0
- package/src/flow/expressions/RuleNodeForm.tsx +165 -0
- package/src/flow/expressions/SimulationNodeForm.tsx +175 -0
- package/src/flow/expressions/TraceTree.test.tsx +120 -0
- package/src/flow/expressions/TraceTree.tsx +210 -0
- package/src/flow/expressions/builder/ItemList.tsx +72 -0
- package/src/flow/expressions/builder/leaves.tsx +94 -0
- package/src/flow/expressions/builder/shared.tsx +55 -0
- package/src/flow/expressions/builder/tree.tsx +221 -0
- package/src/flow/expressions/catalogContext.tsx +21 -0
- package/src/flow/expressions/computeDraft.ts +105 -0
- package/src/flow/expressions/exampleCatalog.ts +42 -0
- package/src/flow/expressions/expressions.css +520 -0
- package/src/flow/expressions/forms.test.tsx +325 -0
- package/src/flow/expressions/index.ts +15 -0
- package/src/flow/expressions/labels.ts +204 -0
- package/src/flow/expressions/model.ts +194 -0
- package/src/flow/expressions/ruleActions.ts +164 -0
- package/src/flow/expressions/ruleCondition.ts +98 -0
- package/src/flow/expressions/trace.ts +98 -0
- package/src/flow/forms/AgentNodeForm.css +29 -0
- package/src/flow/forms/AgentNodeForm.test.tsx +66 -0
- package/src/flow/forms/AgentNodeForm.tsx +177 -0
- package/src/flow/forms/DataSourceNodeForm.test.tsx +121 -0
- package/src/flow/forms/DataSourceNodeForm.tsx +519 -0
- package/src/flow/forms/DecisionNodeForm.test.tsx +72 -0
- package/src/flow/forms/DecisionNodeForm.tsx +302 -0
- package/src/flow/forms/GroupNodeForm.css +72 -0
- package/src/flow/forms/GroupNodeForm.test.tsx +55 -0
- package/src/flow/forms/GroupNodeForm.tsx +148 -0
- package/src/flow/forms/NewForms.css +256 -0
- package/src/flow/forms/NodeFormFooter.tsx +44 -0
- package/src/flow/forms/OutputSchemaBuilder.test.tsx +83 -0
- package/src/flow/forms/OutputSchemaBuilder.tsx +325 -0
- package/src/flow/forms/ReportOutputNodeForm.test.tsx +63 -0
- package/src/flow/forms/ReportOutputNodeForm.tsx +180 -0
- package/src/flow/forms/SchemaConfigForm.css +7 -0
- package/src/flow/forms/SchemaConfigForm.test.tsx +74 -0
- package/src/flow/forms/SchemaConfigForm.tsx +214 -0
- package/src/flow/forms/StartNodeForm.css +29 -0
- package/src/flow/forms/StartNodeForm.test.tsx +66 -0
- package/src/flow/forms/StartNodeForm.tsx +88 -0
- package/src/flow/forms/ToolServerListField.css +58 -0
- package/src/flow/forms/ToolServerListField.test.tsx +73 -0
- package/src/flow/forms/ToolServerListField.tsx +242 -0
- package/src/flow/forms/VariableListEditor.css +82 -0
- package/src/flow/forms/VariableListEditor.test.tsx +79 -0
- package/src/flow/forms/VariableListEditor.tsx +280 -0
- package/src/flow/forms/forms-shared.css +53 -0
- package/src/flow/forms/forms.css +9 -0
- package/src/flow/forms/index.ts +12 -0
- package/src/flow/forms/nameListModel.ts +61 -0
- package/src/flow/geometry/arrange.ts +74 -0
- package/src/flow/geometry/curve.ts +58 -0
- package/src/flow/geometry/geometry.test.ts +97 -0
- package/src/flow/geometry/guides.ts +49 -0
- package/src/flow/geometry/rect.ts +101 -0
- package/src/flow/geometry/viewport.ts +70 -0
- package/src/flow/index.ts +58 -0
- package/src/flow/internal/Announcer.tsx +63 -0
- package/src/flow/internal/DockedPanel.tsx +95 -0
- package/src/flow/internal/SectionedModal.tsx +117 -0
- package/src/flow/internal/builtInLabels.test.ts +16 -0
- package/src/flow/internal/confirm.tsx +73 -0
- package/src/flow/internal/format.ts +47 -0
- package/src/flow/internal/i18n.test.tsx +109 -0
- package/src/flow/internal/ids.ts +9 -0
- package/src/flow/internal/internal.css +152 -0
- package/src/flow/internal/labels.ts +101 -0
- package/src/flow/internal/messageFormat.ts +102 -0
- package/src/flow/internal/useControllable.ts +17 -0
- package/src/flow/layout/autoLayout.test.ts +56 -0
- package/src/flow/layout/autoLayout.ts +93 -0
- package/src/flow/layout/chainLayout.ts +66 -0
- package/src/flow/model/graph.ts +123 -0
- package/src/flow/model/types.ts +83 -0
- package/src/flow/nodes/AgentIdentity.tsx +145 -0
- package/src/flow/nodes/AgentNode.tsx +152 -0
- package/src/flow/nodes/AlignmentGuides.tsx +108 -0
- package/src/flow/nodes/ConnectionPorts.tsx +277 -0
- package/src/flow/nodes/DataSourceNode.tsx +179 -0
- package/src/flow/nodes/GenericNode.tsx +114 -0
- package/src/flow/nodes/GraphNodeCard.css +314 -0
- package/src/flow/nodes/GraphNodeCard.test.tsx +117 -0
- package/src/flow/nodes/GraphNodeCard.tsx +329 -0
- package/src/flow/nodes/GroupNode.tsx +231 -0
- package/src/flow/nodes/NodeRunIndicator.tsx +139 -0
- package/src/flow/nodes/NoteNode.tsx +134 -0
- package/src/flow/nodes/RuleNode.tsx +162 -0
- package/src/flow/nodes/flow-nodes.css +687 -0
- package/src/flow/nodes/groupLayout.ts +66 -0
- package/src/flow/nodes/index.ts +18 -0
- package/src/flow/nodes/nodeChrome.tsx +113 -0
- package/src/flow/nodes/nodes.css +3 -0
- package/src/flow/nodes/nodes.test.tsx +529 -0
- package/src/flow/nodes/ports.ts +127 -0
- package/src/flow/nodes/registry.tsx +262 -0
- package/src/flow/nodes/sourceMarks.tsx +52 -0
- package/src/flow/nodes/types.ts +85 -0
- package/src/flow/provenance/EditionCompare.tsx +292 -0
- package/src/flow/provenance/NumberTrace.tsx +208 -0
- package/src/flow/provenance/ProvenanceCertificate.tsx +263 -0
- package/src/flow/provenance/ProvenanceFilters.tsx +137 -0
- package/src/flow/provenance/ProvenanceGraph.css +1156 -0
- package/src/flow/provenance/ProvenanceGraph.test.tsx +361 -0
- package/src/flow/provenance/ProvenanceGraph.tsx +725 -0
- package/src/flow/provenance/ProvenanceInspector.tsx +201 -0
- package/src/flow/provenance/ProvenanceLegend.tsx +66 -0
- package/src/flow/provenance/ProvenanceNode.tsx +171 -0
- package/src/flow/provenance/ProvenanceShellParts.test.tsx +130 -0
- package/src/flow/provenance/ProvenanceTimeline.tsx +342 -0
- package/src/flow/provenance/ProvenanceTree.tsx +143 -0
- package/src/flow/provenance/ProvenanceViews.css +828 -0
- package/src/flow/provenance/ProvenanceViews.test.tsx +307 -0
- package/src/flow/provenance/index.ts +14 -0
- package/src/flow/provenance/labels.ts +418 -0
- package/src/flow/provenance/model.ts +381 -0
- package/src/flow/provenance/proofTypes.ts +93 -0
- package/src/flow/provenance/provenance.css +3 -0
- package/src/flow/report/ClaimTitle.tsx +15 -0
- package/src/flow/report/ProvenanceTag.test.tsx +37 -0
- package/src/flow/report/ProvenanceTag.tsx +58 -0
- package/src/flow/report/ReportView.test.tsx +59 -0
- package/src/flow/report/ReportView.tsx +359 -0
- package/src/flow/report/index.ts +4 -0
- package/src/flow/report/report.css +267 -0
- package/src/flow/run/ExecutionTimeline.tsx +478 -0
- package/src/flow/run/NumberInput.tsx +59 -0
- package/src/flow/run/RunDrawer.tsx +485 -0
- package/src/flow/run/RunInputDialog.tsx +149 -0
- package/src/flow/run/RunPanel.tsx +136 -0
- package/src/flow/run/RunPreviewPanel.tsx +269 -0
- package/src/flow/run/RunReplayDialog.tsx +278 -0
- package/src/flow/run/RunRewindDialog.tsx +197 -0
- package/src/flow/run/RunStatusMark.tsx +79 -0
- package/src/flow/run/RunTimePanel.test.tsx +55 -0
- package/src/flow/run/RunTimePanel.tsx +143 -0
- package/src/flow/run/RunViews.tsx +170 -0
- package/src/flow/run/ShortId.tsx +15 -0
- package/src/flow/run/VariableInspector.tsx +198 -0
- package/src/flow/run/VersionHistoryPanel.tsx +178 -0
- package/src/flow/run/execution.ts +187 -0
- package/src/flow/run/index.ts +18 -0
- package/src/flow/run/lineage.ts +123 -0
- package/src/flow/run/rewindPlan.ts +79 -0
- package/src/flow/run/run.css +749 -0
- package/src/flow/run/run.test.tsx +533 -0
- package/src/flow/run/runData.ts +124 -0
- package/src/flow/run/types.ts +53 -0
- package/src/flow/state/dialogStack.tsx +90 -0
- package/src/flow/state/editorState.test.tsx +110 -0
- package/src/flow/state/editorState.tsx +296 -0
- package/src/flow/state/graphEdits.ts +107 -0
- package/src/flow/state/store.ts +67 -0
- package/src/flow/steps/AddStepPicker.tsx +108 -0
- package/src/flow/steps/FlowSidePanel.tsx +318 -0
- package/src/flow/steps/IssueBar.tsx +58 -0
- package/src/flow/steps/ShapeChip.tsx +41 -0
- package/src/flow/steps/StepCard.tsx +139 -0
- package/src/flow/steps/StepListView.tsx +152 -0
- package/src/flow/steps/StepPalette.tsx +194 -0
- package/src/flow/steps/StepsContext.tsx +70 -0
- package/src/flow/steps/index.ts +15 -0
- package/src/flow/steps/researchSteps.ts +269 -0
- package/src/flow/steps/shapes.ts +46 -0
- package/src/flow/steps/stepLabels.ts +160 -0
- package/src/flow/steps/stepTools.ts +37 -0
- package/src/flow/steps/steps.css +962 -0
- package/src/flow/steps/steps.test.tsx +351 -0
- package/src/flow/steps/wiring.ts +123 -0
- package/src/flow/styles.css +23 -0
- package/src/flow/surface/CanvasSurface.test.tsx +148 -0
- package/src/flow/surface/CanvasSurface.tsx +674 -0
- package/src/flow/surface/OverviewMap.tsx +50 -0
- package/src/flow/surface/SurfaceContext.tsx +28 -0
- package/src/flow/surface/surface.css +200 -0
- package/src/flow/surface/types.ts +97 -0
- package/src/flow/surface/useElementSize.ts +29 -0
- package/src/flow/surface/useNodeMeasurement.ts +71 -0
- package/src/flow/toolbar/CanvasNodeSearch.tsx +110 -0
- package/src/flow/toolbar/CanvasToolbar.test.tsx +101 -0
- package/src/flow/toolbar/CanvasToolbar.tsx +114 -0
- package/src/flow/toolbar/canvasTools.ts +114 -0
- package/src/flow/toolbar/dockItems.test.tsx +47 -0
- package/src/flow/toolbar/dockItems.tsx +51 -0
- package/src/flow/toolbar/index.ts +5 -0
- package/src/flow/toolbar/toolbar.css +217 -0
- package/src/groups/auth-brand.css +18 -0
- package/src/groups/auth-brand.ts +17 -0
- package/src/groups/charts-geo.css +6 -0
- package/src/groups/charts-geo.ts +98 -0
- package/src/groups/data-a.css +13 -0
- package/src/groups/data-a.ts +14 -0
- package/src/groups/data-b.css +11 -0
- package/src/groups/data-b.ts +11 -0
- package/src/groups/forms-a.css +17 -0
- package/src/groups/forms-a.ts +15 -0
- package/src/groups/forms-b.css +14 -0
- package/src/groups/forms-b.ts +13 -0
- package/src/groups/overlays-nav.css +15 -0
- package/src/groups/overlays-nav.ts +16 -0
- package/src/groups/platform.css +7 -0
- package/src/groups/platform.ts +101 -0
- package/src/groups/shell.css +10 -0
- package/src/groups/shell.ts +10 -0
- package/src/groups/showcase.css +8 -0
- package/src/groups/showcase.ts +9 -0
- package/src/index.ts +68 -0
- package/src/internal/ThemeScope.tsx +28 -0
- package/src/internal/VisuallyHidden.tsx +10 -0
- package/src/internal/cx.ts +4 -0
- package/src/internal/data-a/announce.ts +38 -0
- package/src/internal/data-a/clipboard.ts +11 -0
- package/src/internal/data-b/signed.ts +34 -0
- package/src/internal/data-b/tween.ts +67 -0
- package/src/internal/dev.ts +12 -0
- package/src/internal/dom.ts +42 -0
- package/src/internal/forms-a/LiveNote.tsx +18 -0
- package/src/internal/forms-a/SearchInput.css +125 -0
- package/src/internal/forms-a/SearchInput.tsx +52 -0
- package/src/internal/forms-a/marks.tsx +18 -0
- package/src/internal/forms-a/shared.css +25 -0
- package/src/internal/forms-b/digits.ts +33 -0
- package/src/internal/forms-b/forms-b.css +341 -0
- package/src/internal/forms-b/parts.tsx +151 -0
- package/src/internal/haptics.ts +77 -0
- package/src/internal/icuCatalogue.ts +60 -0
- package/src/internal/inert.ts +15 -0
- package/src/internal/media.ts +35 -0
- package/src/internal/messages/auth-brand.ts +161 -0
- package/src/internal/messages/charts-geo.ts +289 -0
- package/src/internal/messages/core-es.ts +111 -0
- package/src/internal/messages/data-a.ts +199 -0
- package/src/internal/messages/data-b.ts +99 -0
- package/src/internal/messages/forms-a.ts +309 -0
- package/src/internal/messages/forms-b.ts +293 -0
- package/src/internal/messages/overlays-nav.ts +367 -0
- package/src/internal/messages/platform.ts +63 -0
- package/src/internal/messages/plural.ts +24 -0
- package/src/internal/messages/shell.ts +144 -0
- package/src/internal/messages/showcase.ts +12 -0
- package/src/internal/messages.ts +386 -0
- package/src/internal/overlays-nav/fuzzy.ts +115 -0
- package/src/internal/overlays-nav/hold.ts +53 -0
- package/src/internal/overlays-nav/recent.ts +73 -0
- package/src/internal/overlays-nav/state.ts +54 -0
- package/src/internal/platform/touchTrack.ts +49 -0
- package/src/internal/provider.tsx +64 -0
- package/src/internal/speech.ts +24 -0
- package/src/internal/theme.test.tsx +166 -0
- package/src/internal/theme.tsx +181 -0
- package/src/internal/types.ts +4 -0
- package/src/internal/variants.test.ts +14 -0
- package/src/internal/variants.ts +48 -0
- package/src/native-states.css +364 -0
- package/src/styles.css +59 -0
- package/src/utilities/api-error-model/apiErrors.test.ts +74 -0
- package/src/utilities/api-error-model/apiErrors.ts +192 -0
- package/src/utilities/entity-list-loader/useEntityListLoader.test.tsx +72 -0
- package/src/utilities/entity-list-loader/useEntityListLoader.ts +107 -0
- package/src/utilities/formatters/formatters.locales.test.ts +30 -0
- package/src/utilities/formatters/formatters.test.tsx +86 -0
- package/src/utilities/formatters/formatters.ts +190 -0
- package/src/utilities/haptics/haptics.test.tsx +96 -0
- package/src/utilities/haptics/haptics.tsx +79 -0
- package/src/utilities/i18n-adapter/I18nAdapter.test.tsx +70 -0
- package/src/utilities/i18n-adapter/I18nAdapter.tsx +136 -0
- package/src/utilities/i18n-adapter/icu.numeric.test.ts +39 -0
- package/src/utilities/i18n-adapter/icu.ts +207 -0
- package/src/utilities/legacy-alias-map/LEGACY-ALIASES.md +65 -0
- package/src/utilities/legacy-alias-map/legacy-alias-map.test.ts +57 -0
- package/src/utilities/motion-foundation/motion.test.tsx +76 -0
- package/src/utilities/motion-foundation/motion.tsx +119 -0
- package/src/utilities/router-adapter/Routing.test.tsx +68 -0
- package/src/utilities/router-adapter/Routing.tsx +149 -0
- package/src/utilities/view-transition/animatedChange.test.ts +72 -0
- package/src/utilities/view-transition/animatedChange.ts +90 -0
- package/dist/src-Ds9ArSaP.js.map +0 -1
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { h as substitute, i as useMessages, m as formatMessage, n as devWarning, t as Avatar } from "./Avatar-
|
|
2
|
+
import { h as substitute, i as useMessages, m as formatMessage, n as devWarning, t as Avatar } from "./Avatar-CU7B1WsX.js";
|
|
3
3
|
import { t as cx } from "./cx-Bn-0YiVq.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { a as fuzzyHit, c as isDigit, i as recordChoice, l as localeDigits, n as orderChoices, o as markPieces, r as readChoices, s as asciiDigits, t as readBlocks, u as withLocaleDigits } from "./parse-Dq4x3Wet.js";
|
|
5
|
+
import { Children, Suspense, cloneElement, createContext, createElement, forwardRef, isValidElement, useCallback, useContext, useEffect, useId, useImperativeHandle, useLayoutEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore, version } from "react";
|
|
6
|
+
import { Button, Calendar, CalendarCell, CalendarGrid, CalendarGridBody, CalendarGridHeader, CalendarHeaderCell, Cell, Checkbox, CheckboxGroup, Column, ComboBox, ComboBoxStateContext, DateInput, DateRangePicker, DateSegment, Dialog, DialogTrigger, Disclosure, DisclosureGroup, DisclosurePanel, DropZone, Focusable, Form, GridList, GridListItem, Group, Header, Heading, I18nProvider, Input, Keyboard, Label, Link, ListBox, ListBoxItem, ListBoxSection, Menu, MenuItem, MenuSection, MenuTrigger, Modal, ModalOverlay, OverlayArrow, Popover, ProgressBar, Radio, RadioGroup, RangeCalendar, RangeCalendarStateContext, RouterProvider, Row, SearchField, Select, SelectValue, Separator, Switch, Tab, TabList, TabPanel, Table, TableBody, TableHeader, Tabs, Tag, TagGroup, TagList, Text, TextArea, TextField, ToggleButton, ToggleButtonGroup, Tooltip, TooltipTrigger, useLocale } from "react-aria-components";
|
|
6
7
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
7
8
|
import { PRINT_THEME_ALIASES, resolvePrintThemeName } from "@datatechsolutions/tympan-tokens/print-aliases";
|
|
8
9
|
import { Archive, ArrowDown, ArrowDownRight, ArrowLeft, ArrowRight, ArrowUp, ArrowUpDown, ArrowUpRight, BadgeCheck, Bell, BellOff, Boxes, CalendarDays, Camera, Check, ChevronDown, ChevronLeft, ChevronRight, ChevronsUpDown, Circle, CircleAlert, CircleCheck, CircleDashed, CircleDot, CircleHelp, CircleMinus, CirclePause, CircleX, Clock, Copy, Cpu, Database, Download, Ellipsis, ExternalLink, Eye, EyeOff, FileQuestion, Filter, GitMerge, Hourglass, Inbox, Info, KeyRound, Languages, Layers, Lightbulb, ListFilter, LoaderCircle, Lock, LockKeyhole, LogOut, Menu as Menu$1, Minus, Moon, Palette, PanelLeftClose, PanelLeftOpen, Pencil, Plus, Search, SearchX, Server, ServerCrash, SlidersHorizontal, Star, Sun, Trash2, TriangleAlert, User, UserRound, WifiOff, X } from "lucide-react";
|
|
10
|
+
import { CalendarDate, endOfMonth, getLocalTimeZone, getWeeksInMonth, startOfMonth, startOfWeek, today } from "@internationalized/date";
|
|
9
11
|
import { presets, printThemePresets } from "@datatechsolutions/tympan-tokens";
|
|
10
|
-
import { CalendarDate, getLocalTimeZone, today } from "@internationalized/date";
|
|
11
12
|
import { createPortal } from "react-dom";
|
|
12
13
|
import { geoArea, geoBounds, geoCentroid, geoContains, geoEqualEarth, geoMercator, geoPath } from "d3-geo";
|
|
13
14
|
import { values } from "@datatechsolutions/tympan-tokens/values";
|
|
@@ -1628,6 +1629,390 @@ function FieldStack({ className, children, ...rest }) {
|
|
|
1628
1629
|
});
|
|
1629
1630
|
}
|
|
1630
1631
|
//#endregion
|
|
1632
|
+
//#region src/components/listbox-select/ListboxSelect.tsx
|
|
1633
|
+
function Option({ option }) {
|
|
1634
|
+
return /* @__PURE__ */ jsx(ListBoxItem, {
|
|
1635
|
+
id: option.value,
|
|
1636
|
+
textValue: option.label,
|
|
1637
|
+
isDisabled: option.disabled,
|
|
1638
|
+
className: "ty-listbox-select__option",
|
|
1639
|
+
children: ({ isSelected }) => /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
1640
|
+
option.icon ? /* @__PURE__ */ jsx("span", {
|
|
1641
|
+
className: "ty-listbox-select__option-icon",
|
|
1642
|
+
"aria-hidden": "true",
|
|
1643
|
+
children: option.icon
|
|
1644
|
+
}) : null,
|
|
1645
|
+
/* @__PURE__ */ jsxs("span", {
|
|
1646
|
+
className: "ty-listbox-select__option-text",
|
|
1647
|
+
children: [/* @__PURE__ */ jsx(Text, {
|
|
1648
|
+
slot: "label",
|
|
1649
|
+
className: "ty-listbox-select__option-label",
|
|
1650
|
+
children: option.label
|
|
1651
|
+
}), option.description ? /* @__PURE__ */ jsx(Text, {
|
|
1652
|
+
slot: "description",
|
|
1653
|
+
className: "ty-listbox-select__option-description",
|
|
1654
|
+
children: option.description
|
|
1655
|
+
}) : null]
|
|
1656
|
+
}),
|
|
1657
|
+
/* @__PURE__ */ jsx("span", {
|
|
1658
|
+
className: "ty-listbox-select__check",
|
|
1659
|
+
"aria-hidden": "true",
|
|
1660
|
+
children: isSelected ? /* @__PURE__ */ jsx(Check, {
|
|
1661
|
+
className: "ty-icon",
|
|
1662
|
+
focusable: "false"
|
|
1663
|
+
}) : null
|
|
1664
|
+
})
|
|
1665
|
+
] })
|
|
1666
|
+
});
|
|
1667
|
+
}
|
|
1668
|
+
/** One value from a custom listbox popover (spec: wave-1/listbox-select.md). */
|
|
1669
|
+
function ListboxSelect(props) {
|
|
1670
|
+
const { label, accessibleLabel, options = [], sections, value, defaultValue, onChange, placeholder, errorMessage, hint, disabled, required, name, open, onOpenChange, id, className } = props;
|
|
1671
|
+
const messages = useMessages();
|
|
1672
|
+
const base = useId();
|
|
1673
|
+
const hintId = hint != null ? `${base}-hint` : void 0;
|
|
1674
|
+
const errorId = errorMessage ? `${base}-error` : void 0;
|
|
1675
|
+
const wiring = useFieldControl({
|
|
1676
|
+
id,
|
|
1677
|
+
describedBy: [hintId, errorId].filter(Boolean).join(" ") || void 0,
|
|
1678
|
+
invalid: !!errorMessage,
|
|
1679
|
+
required,
|
|
1680
|
+
disabled
|
|
1681
|
+
});
|
|
1682
|
+
const errorAppeared = useAppearedAfterMount(!!errorMessage);
|
|
1683
|
+
const narrow = useMediaQuery("(max-width: 639.98px)");
|
|
1684
|
+
devWarning(!label && !accessibleLabel && !wiring.labelledBy, "ListboxSelect: provide `label`, `accessibleLabel` or a surrounding Field label.");
|
|
1685
|
+
const disabledKeys = [...options, ...(sections ?? []).flatMap((s) => s.options)].filter((o) => o.disabled).map((o) => o.value);
|
|
1686
|
+
const list = /* @__PURE__ */ jsxs(ListBox, {
|
|
1687
|
+
className: "ty-listbox-select__list",
|
|
1688
|
+
children: [options.map((o) => /* @__PURE__ */ jsx(Option, { option: o }, o.value)), sections?.map((s) => /* @__PURE__ */ jsxs(ListBoxSection, {
|
|
1689
|
+
id: s.title,
|
|
1690
|
+
className: "ty-listbox-select__section",
|
|
1691
|
+
children: [/* @__PURE__ */ jsx(Header, {
|
|
1692
|
+
className: "ty-listbox-select__section-title",
|
|
1693
|
+
children: s.title
|
|
1694
|
+
}), s.options.map((o) => /* @__PURE__ */ jsx(Option, { option: o }, o.value))]
|
|
1695
|
+
}, s.title))]
|
|
1696
|
+
});
|
|
1697
|
+
return /* @__PURE__ */ jsxs(Select, {
|
|
1698
|
+
id: wiring.id,
|
|
1699
|
+
className: cx("ty-listbox-select", className),
|
|
1700
|
+
value: value === void 0 ? void 0 : value,
|
|
1701
|
+
defaultValue: defaultValue ?? void 0,
|
|
1702
|
+
onChange: (key) => {
|
|
1703
|
+
if (key != null) onChange?.(String(key));
|
|
1704
|
+
},
|
|
1705
|
+
placeholder: placeholder ?? messages.select.placeholder,
|
|
1706
|
+
isDisabled: wiring.disabled,
|
|
1707
|
+
isRequired: wiring.required,
|
|
1708
|
+
isInvalid: wiring.invalid,
|
|
1709
|
+
disabledKeys,
|
|
1710
|
+
name,
|
|
1711
|
+
isOpen: open,
|
|
1712
|
+
onOpenChange,
|
|
1713
|
+
"aria-label": label ? void 0 : accessibleLabel,
|
|
1714
|
+
"aria-labelledby": !label && !accessibleLabel ? wiring.labelledBy : void 0,
|
|
1715
|
+
"aria-describedby": wiring.describedBy,
|
|
1716
|
+
"data-presentation": narrow ? "tray" : "popover",
|
|
1717
|
+
children: [
|
|
1718
|
+
label ? /* @__PURE__ */ jsx(Label, {
|
|
1719
|
+
className: "ty-listbox-select__label",
|
|
1720
|
+
children: label
|
|
1721
|
+
}) : null,
|
|
1722
|
+
hint != null ? /* @__PURE__ */ jsx("p", {
|
|
1723
|
+
id: hintId,
|
|
1724
|
+
className: "ty-listbox-select__hint",
|
|
1725
|
+
children: hint
|
|
1726
|
+
}) : null,
|
|
1727
|
+
/* @__PURE__ */ jsxs(Button, {
|
|
1728
|
+
className: "ty-listbox-select__trigger",
|
|
1729
|
+
"aria-describedby": wiring.describedBy,
|
|
1730
|
+
children: [/* @__PURE__ */ jsx(SelectValue, { className: "ty-listbox-select__value" }), /* @__PURE__ */ jsx(ChevronDown, {
|
|
1731
|
+
className: "ty-icon ty-listbox-select__chevron",
|
|
1732
|
+
"aria-hidden": "true",
|
|
1733
|
+
focusable: "false"
|
|
1734
|
+
})]
|
|
1735
|
+
}),
|
|
1736
|
+
errorMessage ? /* @__PURE__ */ jsxs("p", {
|
|
1737
|
+
id: errorId,
|
|
1738
|
+
className: "ty-listbox-select__error",
|
|
1739
|
+
"aria-live": errorAppeared ? "polite" : void 0,
|
|
1740
|
+
children: [/* @__PURE__ */ jsx(CircleAlert, {
|
|
1741
|
+
className: "ty-icon",
|
|
1742
|
+
"aria-hidden": "true",
|
|
1743
|
+
focusable: "false"
|
|
1744
|
+
}), /* @__PURE__ */ jsx("span", { children: errorMessage })]
|
|
1745
|
+
}) : null,
|
|
1746
|
+
/* @__PURE__ */ jsx(Popover, {
|
|
1747
|
+
className: narrow ? "ty-listbox-select__tray" : "ty-listbox-select__popover",
|
|
1748
|
+
offset: 4,
|
|
1749
|
+
"data-presentation": narrow ? "tray" : "popover",
|
|
1750
|
+
children: list
|
|
1751
|
+
})
|
|
1752
|
+
]
|
|
1753
|
+
});
|
|
1754
|
+
}
|
|
1755
|
+
//#endregion
|
|
1756
|
+
//#region src/components/calendar/Calendar.tsx
|
|
1757
|
+
const fromDate$2 = (d) => new CalendarDate(d.getFullYear(), d.getMonth() + 1, d.getDate());
|
|
1758
|
+
const toDate$3 = (c) => new Date(c.year, c.month - 1, c.day);
|
|
1759
|
+
/** ISO-8601 week number: week 1 is the week holding the year's first Thursday. */
|
|
1760
|
+
function isoWeekNumber(date) {
|
|
1761
|
+
const target = new Date(Date.UTC(date.year, date.month - 1, date.day));
|
|
1762
|
+
const weekday = target.getUTCDay() || 7;
|
|
1763
|
+
target.setUTCDate(target.getUTCDate() + 4 - weekday);
|
|
1764
|
+
const yearStart = new Date(Date.UTC(target.getUTCFullYear(), 0, 1));
|
|
1765
|
+
return Math.ceil(((target.getTime() - yearStart.getTime()) / 864e5 + 1) / 7);
|
|
1766
|
+
}
|
|
1767
|
+
/**
|
|
1768
|
+
* Cancels a pending range start on Escape (spec: wave-5-general/calendar.md,
|
|
1769
|
+
* keyboard section). Listens on the calendar root so the key bubbles from the
|
|
1770
|
+
* focused day cell, and stops propagation so an enclosing popover stays open.
|
|
1771
|
+
*/
|
|
1772
|
+
function RangeEscapeCancel() {
|
|
1773
|
+
const state = useContext(RangeCalendarStateContext);
|
|
1774
|
+
const ref = useRef(null);
|
|
1775
|
+
useEffect(() => {
|
|
1776
|
+
const root = ref.current?.parentElement;
|
|
1777
|
+
if (!root || !state) return;
|
|
1778
|
+
const onKey = (e) => {
|
|
1779
|
+
if (e.key !== "Escape" || !state.anchorDate) return;
|
|
1780
|
+
e.stopPropagation();
|
|
1781
|
+
state.setAnchorDate(null);
|
|
1782
|
+
};
|
|
1783
|
+
root.addEventListener("keydown", onKey);
|
|
1784
|
+
return () => root.removeEventListener("keydown", onKey);
|
|
1785
|
+
}, [state]);
|
|
1786
|
+
return /* @__PURE__ */ jsx("span", {
|
|
1787
|
+
ref,
|
|
1788
|
+
"aria-hidden": "true",
|
|
1789
|
+
hidden: true
|
|
1790
|
+
});
|
|
1791
|
+
}
|
|
1792
|
+
/**
|
|
1793
|
+
* A month grid for picking a date or a date range directly on the page
|
|
1794
|
+
* (spec: wave-5-general/calendar.md). Single mode rides RAC Calendar, range
|
|
1795
|
+
* mode RAC RangeCalendar; both follow the APG Date Picker Dialog grid.
|
|
1796
|
+
*/
|
|
1797
|
+
function Calendar$1(props) {
|
|
1798
|
+
const t = useMessages().calendar;
|
|
1799
|
+
const { locale: contextLocale } = useLocale();
|
|
1800
|
+
const locale = props.locale ?? contextLocale;
|
|
1801
|
+
const mode = props.mode ?? "single";
|
|
1802
|
+
const months = props.visibleMonths ?? 1;
|
|
1803
|
+
const now = today(getLocalTimeZone());
|
|
1804
|
+
const [innerValue, setInnerValue] = useState(() => props.value ?? props.defaultValue ?? null);
|
|
1805
|
+
const value = props.value !== void 0 ? props.value : innerValue;
|
|
1806
|
+
const valueStart = value && "start" in value ? value.start : value;
|
|
1807
|
+
const [innerFocused, setInnerFocused] = useState(() => valueStart ? fromDate$2(valueStart) : now);
|
|
1808
|
+
const focused = props.focusedValue ? fromDate$2(props.focusedValue) : innerFocused;
|
|
1809
|
+
const setFocused = (d) => {
|
|
1810
|
+
if (!props.focusedValue) setInnerFocused(d);
|
|
1811
|
+
props.onFocusChange?.(toDate$3(d));
|
|
1812
|
+
};
|
|
1813
|
+
const report = (next) => {
|
|
1814
|
+
if (props.value === void 0) setInnerValue(next);
|
|
1815
|
+
props.onChange(next);
|
|
1816
|
+
};
|
|
1817
|
+
const min = props.minValue ? fromDate$2(props.minValue) : void 0;
|
|
1818
|
+
const max = props.maxValue ? fromDate$2(props.maxValue) : void 0;
|
|
1819
|
+
const baseUnavailable = (d) => props.isDateUnavailable ? props.isDateUnavailable(toDate$3(d)) : false;
|
|
1820
|
+
const monthYearFmt = new Intl.DateTimeFormat(locale, {
|
|
1821
|
+
month: "long",
|
|
1822
|
+
year: "numeric"
|
|
1823
|
+
});
|
|
1824
|
+
const monthFmt = new Intl.DateTimeFormat(locale, { month: "long" });
|
|
1825
|
+
const headings = Array.from({ length: months }, (_, i) => toDate$3(startOfMonth(focused).add({ months: i })));
|
|
1826
|
+
const heading = headings.map((d, i) => i === 0 || d.getFullYear() !== headings[i - 1].getFullYear() ? monthYearFmt.format(d) : monthFmt.format(d)).join(" – ");
|
|
1827
|
+
const step = props.pageBehavior === "single" ? 1 : months;
|
|
1828
|
+
const prevTarget = startOfMonth(focused).subtract({ months: step });
|
|
1829
|
+
const nextTarget = startOfMonth(focused).add({ months: step });
|
|
1830
|
+
const baseId = useId();
|
|
1831
|
+
const headingId = `${baseId}-heading`;
|
|
1832
|
+
const pickerYears = (() => {
|
|
1833
|
+
const from = Math.max(focused.year - 30, min?.year ?? focused.year - 30);
|
|
1834
|
+
const to = Math.min(focused.year + 30, max?.year ?? focused.year + 30);
|
|
1835
|
+
const list = [];
|
|
1836
|
+
for (let y = from; y <= to; y++) list.push(y);
|
|
1837
|
+
return list;
|
|
1838
|
+
})();
|
|
1839
|
+
const monthAllowed = (monthIndex) => {
|
|
1840
|
+
const first = new CalendarDate(focused.year, monthIndex + 1, 1);
|
|
1841
|
+
const last = endOfMonth(first);
|
|
1842
|
+
return (!max || first.compare(max) <= 0) && (!min || last.compare(min) >= 0);
|
|
1843
|
+
};
|
|
1844
|
+
const invalid = !!props.isInvalid || !!props.errorMessage;
|
|
1845
|
+
const errorId = invalid && props.errorMessage ? `${baseId}-error` : void 0;
|
|
1846
|
+
const renderGrid = (offsetMonths) => {
|
|
1847
|
+
const anchor = startOfMonth(focused).add({ months: offsetMonths });
|
|
1848
|
+
const weeks = getWeeksInMonth(anchor, locale);
|
|
1849
|
+
const weekStarts = Array.from({ length: weeks }, (_, w) => startOfWeek(anchor.add({ weeks: w }), locale));
|
|
1850
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
1851
|
+
className: "ty-calendar__month",
|
|
1852
|
+
children: [props.showWeekNumbers ? /* @__PURE__ */ jsx("div", {
|
|
1853
|
+
className: "ty-calendar__weeks",
|
|
1854
|
+
"aria-hidden": "true",
|
|
1855
|
+
children: weekStarts.map((week) => /* @__PURE__ */ jsx("span", {
|
|
1856
|
+
className: "ty-calendar__week",
|
|
1857
|
+
children: isoWeekNumber(week)
|
|
1858
|
+
}, week.toString()))
|
|
1859
|
+
}) : null, /* @__PURE__ */ jsxs(CalendarGrid, {
|
|
1860
|
+
className: "ty-calendar__grid",
|
|
1861
|
+
weekdayStyle: "short",
|
|
1862
|
+
offset: offsetMonths ? { months: offsetMonths } : void 0,
|
|
1863
|
+
children: [/* @__PURE__ */ jsx(CalendarGridHeader, { children: (day) => /* @__PURE__ */ jsx(CalendarHeaderCell, {
|
|
1864
|
+
className: "ty-calendar__weekday",
|
|
1865
|
+
children: day
|
|
1866
|
+
}) }), /* @__PURE__ */ jsx(CalendarGridBody, { children: (date) => /* @__PURE__ */ jsx(CalendarCell, {
|
|
1867
|
+
date,
|
|
1868
|
+
className: "ty-calendar__day",
|
|
1869
|
+
children: ({ formattedDate, isToday, isSelected, isSelectionStart, isSelectionEnd, isUnavailable, isDisabled, isOutsideMonth, isFocused }) => /* @__PURE__ */ jsxs("span", {
|
|
1870
|
+
className: "ty-calendar__day-box",
|
|
1871
|
+
"data-today": isToday || void 0,
|
|
1872
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
1873
|
+
className: "ty-calendar__day-number",
|
|
1874
|
+
children: formattedDate
|
|
1875
|
+
}), props.renderDay ? props.renderDay(toDate$3(date), {
|
|
1876
|
+
isToday,
|
|
1877
|
+
isSelected,
|
|
1878
|
+
isSelectionStart,
|
|
1879
|
+
isSelectionEnd,
|
|
1880
|
+
isUnavailable,
|
|
1881
|
+
isDisabled,
|
|
1882
|
+
isOutsideMonth,
|
|
1883
|
+
isFocused
|
|
1884
|
+
}) : null]
|
|
1885
|
+
})
|
|
1886
|
+
}) })]
|
|
1887
|
+
})]
|
|
1888
|
+
});
|
|
1889
|
+
};
|
|
1890
|
+
const header = props.headerMode === "pickers" ? /* @__PURE__ */ jsxs("div", {
|
|
1891
|
+
className: "ty-calendar__pickers",
|
|
1892
|
+
children: [/* @__PURE__ */ jsx(ListboxSelect, {
|
|
1893
|
+
accessibleLabel: t.monthPicker,
|
|
1894
|
+
className: "ty-calendar__picker",
|
|
1895
|
+
value: String(focused.month),
|
|
1896
|
+
onChange: (key) => setFocused(focused.set({ month: Number(key) })),
|
|
1897
|
+
options: Array.from({ length: 12 }, (_, m) => ({
|
|
1898
|
+
value: String(m + 1),
|
|
1899
|
+
label: monthFmt.format(new Date(2020, m, 15)),
|
|
1900
|
+
disabled: !monthAllowed(m)
|
|
1901
|
+
}))
|
|
1902
|
+
}), /* @__PURE__ */ jsx(ListboxSelect, {
|
|
1903
|
+
accessibleLabel: t.yearPicker,
|
|
1904
|
+
className: "ty-calendar__picker",
|
|
1905
|
+
value: String(focused.year),
|
|
1906
|
+
onChange: (key) => setFocused(focused.set({
|
|
1907
|
+
year: Number(key),
|
|
1908
|
+
day: 1
|
|
1909
|
+
})),
|
|
1910
|
+
options: pickerYears.map((y) => ({
|
|
1911
|
+
value: String(y),
|
|
1912
|
+
label: String(y)
|
|
1913
|
+
}))
|
|
1914
|
+
})]
|
|
1915
|
+
}) : /* @__PURE__ */ jsx("span", {
|
|
1916
|
+
className: "ty-calendar__heading",
|
|
1917
|
+
id: headingId,
|
|
1918
|
+
"aria-live": "polite",
|
|
1919
|
+
children: heading
|
|
1920
|
+
});
|
|
1921
|
+
const stepper = /* @__PURE__ */ jsxs("div", {
|
|
1922
|
+
className: "ty-calendar__stepper",
|
|
1923
|
+
children: [
|
|
1924
|
+
/* @__PURE__ */ jsx(Button, {
|
|
1925
|
+
slot: "previous",
|
|
1926
|
+
className: "ty-calendar__nav",
|
|
1927
|
+
"aria-label": t.previousMonth(monthYearFmt.format(toDate$3(prevTarget))),
|
|
1928
|
+
children: /* @__PURE__ */ jsx(ChevronLeft, {
|
|
1929
|
+
className: "ty-icon ty-mirror-rtl",
|
|
1930
|
+
"aria-hidden": "true",
|
|
1931
|
+
focusable: "false"
|
|
1932
|
+
})
|
|
1933
|
+
}),
|
|
1934
|
+
header,
|
|
1935
|
+
/* @__PURE__ */ jsx(Button, {
|
|
1936
|
+
slot: "next",
|
|
1937
|
+
className: "ty-calendar__nav",
|
|
1938
|
+
"aria-label": t.nextMonth(monthYearFmt.format(toDate$3(nextTarget))),
|
|
1939
|
+
children: /* @__PURE__ */ jsx(ChevronRight, {
|
|
1940
|
+
className: "ty-icon ty-mirror-rtl",
|
|
1941
|
+
"aria-hidden": "true",
|
|
1942
|
+
focusable: "false"
|
|
1943
|
+
})
|
|
1944
|
+
})
|
|
1945
|
+
]
|
|
1946
|
+
});
|
|
1947
|
+
const shared = {
|
|
1948
|
+
"aria-label": props.label,
|
|
1949
|
+
minValue: min,
|
|
1950
|
+
maxValue: max,
|
|
1951
|
+
isDisabled: props.disabled,
|
|
1952
|
+
isReadOnly: props.readOnly,
|
|
1953
|
+
pageBehavior: props.pageBehavior ?? "visible",
|
|
1954
|
+
firstDayOfWeek: props.firstDayOfWeek,
|
|
1955
|
+
visibleDuration: { months },
|
|
1956
|
+
focusedValue: focused,
|
|
1957
|
+
onFocusChange: setFocused,
|
|
1958
|
+
isInvalid: invalid || void 0
|
|
1959
|
+
};
|
|
1960
|
+
return /* @__PURE__ */ jsx(I18nProvider, {
|
|
1961
|
+
locale,
|
|
1962
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
1963
|
+
className: cx("ty-calendar", props.className),
|
|
1964
|
+
"data-mode": mode,
|
|
1965
|
+
"data-months": months,
|
|
1966
|
+
"data-outside-days": props.showOutsideDays === false ? void 0 : "",
|
|
1967
|
+
"data-invalid": invalid || void 0,
|
|
1968
|
+
children: [
|
|
1969
|
+
/* @__PURE__ */ jsx("div", {
|
|
1970
|
+
className: "ty-calendar__body",
|
|
1971
|
+
children: mode === "range" ? /* @__PURE__ */ jsxs(RangeCalendar, {
|
|
1972
|
+
...shared,
|
|
1973
|
+
className: "ty-calendar__rac",
|
|
1974
|
+
value: value && "start" in value ? {
|
|
1975
|
+
start: fromDate$2(value.start),
|
|
1976
|
+
end: fromDate$2(value.end)
|
|
1977
|
+
} : null,
|
|
1978
|
+
onChange: (range) => {
|
|
1979
|
+
if (!range) return report(null);
|
|
1980
|
+
report({
|
|
1981
|
+
start: toDate$3(range.start),
|
|
1982
|
+
end: toDate$3(range.end)
|
|
1983
|
+
});
|
|
1984
|
+
},
|
|
1985
|
+
isDateUnavailable: baseUnavailable,
|
|
1986
|
+
allowsNonContiguousRanges: props.allowsNonContiguousRanges,
|
|
1987
|
+
children: [
|
|
1988
|
+
/* @__PURE__ */ jsx(RangeEscapeCancel, {}),
|
|
1989
|
+
stepper,
|
|
1990
|
+
Array.from({ length: months }, (_, i) => renderGrid(i))
|
|
1991
|
+
]
|
|
1992
|
+
}) : /* @__PURE__ */ jsxs(Calendar, {
|
|
1993
|
+
...shared,
|
|
1994
|
+
className: "ty-calendar__rac",
|
|
1995
|
+
value: value && "start" in value ? null : value ? fromDate$2(value) : null,
|
|
1996
|
+
onChange: (d) => report(d ? toDate$3(d) : null),
|
|
1997
|
+
isDateUnavailable: baseUnavailable,
|
|
1998
|
+
children: [stepper, Array.from({ length: months }, (_, i) => renderGrid(i))]
|
|
1999
|
+
})
|
|
2000
|
+
}),
|
|
2001
|
+
errorId ? /* @__PURE__ */ jsx("p", {
|
|
2002
|
+
className: "ty-calendar__error",
|
|
2003
|
+
id: errorId,
|
|
2004
|
+
role: "alert",
|
|
2005
|
+
children: props.errorMessage
|
|
2006
|
+
}) : null,
|
|
2007
|
+
props.footer ? /* @__PURE__ */ jsx("div", {
|
|
2008
|
+
className: "ty-calendar__footer",
|
|
2009
|
+
children: props.footer
|
|
2010
|
+
}) : null
|
|
2011
|
+
]
|
|
2012
|
+
})
|
|
2013
|
+
});
|
|
2014
|
+
}
|
|
2015
|
+
//#endregion
|
|
1631
2016
|
//#region src/components/checkbox/Checkbox.tsx
|
|
1632
2017
|
/** Whole-row checkbox with label and description (spec: wave-1/checkbox.md). */
|
|
1633
2018
|
const Checkbox$1 = forwardRef(function Checkbox$2(props, ref) {
|
|
@@ -2073,53 +2458,409 @@ function InteractiveTable({ caption, columns, rows, sortColumn, sortDirection =
|
|
|
2073
2458
|
});
|
|
2074
2459
|
}
|
|
2075
2460
|
//#endregion
|
|
2076
|
-
//#region src/
|
|
2077
|
-
/**
|
|
2078
|
-
const
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
}
|
|
2461
|
+
//#region src/internal/forms-b/parts.tsx
|
|
2462
|
+
/** Space-separated id list without empty entries (or undefined). */
|
|
2463
|
+
const joinIds = (...ids) => ids.filter(Boolean).join(" ") || void 0;
|
|
2464
|
+
/** True below 640 px, where floating pickers become a bottom tray. */
|
|
2465
|
+
function usePhoneWidth() {
|
|
2466
|
+
return useMediaQuery("(max-width: 639.98px)");
|
|
2467
|
+
}
|
|
2468
|
+
/** One text line of a field: label (above), hint (below the label) or error (below the control). */
|
|
2469
|
+
function FieldLine({ kind, id, htmlFor, children }) {
|
|
2470
|
+
if (kind === "label") return htmlFor ? /* @__PURE__ */ jsx("label", {
|
|
2471
|
+
className: "ty-fb-line",
|
|
2472
|
+
"data-line": "label",
|
|
2473
|
+
id,
|
|
2474
|
+
htmlFor,
|
|
2475
|
+
children
|
|
2476
|
+
}) : /* @__PURE__ */ jsx("span", {
|
|
2477
|
+
className: "ty-fb-line",
|
|
2478
|
+
"data-line": "label",
|
|
2479
|
+
id,
|
|
2480
|
+
children
|
|
2481
|
+
});
|
|
2482
|
+
return /* @__PURE__ */ jsxs("p", {
|
|
2483
|
+
className: "ty-fb-line",
|
|
2484
|
+
"data-line": kind,
|
|
2485
|
+
id,
|
|
2486
|
+
children: [kind === "error" ? /* @__PURE__ */ jsx(CircleAlert, {
|
|
2487
|
+
className: "ty-icon",
|
|
2488
|
+
"aria-hidden": "true",
|
|
2489
|
+
focusable: "false"
|
|
2490
|
+
}) : null, /* @__PURE__ */ jsx("span", { children })]
|
|
2491
|
+
});
|
|
2492
|
+
}
|
|
2493
|
+
/** Non-modal floating dialog; below 640 px the same popover is laid out as a bottom tray. */
|
|
2494
|
+
function FloatSurface(props) {
|
|
2495
|
+
const phone = usePhoneWidth();
|
|
2496
|
+
return /* @__PURE__ */ jsx(Popover, {
|
|
2497
|
+
className: cx("ty-fb-float", props.className),
|
|
2498
|
+
placement: props.side ?? "bottom",
|
|
2499
|
+
offset: 6,
|
|
2500
|
+
"data-presentation": phone ? "tray" : "popover",
|
|
2501
|
+
children: /* @__PURE__ */ jsx(Dialog, {
|
|
2502
|
+
className: "ty-fb-float__dialog",
|
|
2503
|
+
"aria-label": props.labelledBy ? void 0 : props.label,
|
|
2504
|
+
"aria-labelledby": props.labelledBy,
|
|
2505
|
+
children: props.children
|
|
2506
|
+
})
|
|
2507
|
+
});
|
|
2508
|
+
}
|
|
2509
|
+
/** Previous / heading / next row; the heading is a polite live region. */
|
|
2510
|
+
function StepperHeader(props) {
|
|
2511
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
2512
|
+
className: "ty-fb-stepper",
|
|
2513
|
+
children: [
|
|
2514
|
+
/* @__PURE__ */ jsx(Button, {
|
|
2515
|
+
className: "ty-fb-nav",
|
|
2516
|
+
"aria-label": props.previousLabel,
|
|
2517
|
+
isDisabled: props.previousDisabled,
|
|
2518
|
+
onPress: props.onPrevious,
|
|
2519
|
+
children: /* @__PURE__ */ jsx(ChevronLeft, {
|
|
2520
|
+
className: "ty-icon ty-mirror-rtl",
|
|
2521
|
+
"aria-hidden": "true",
|
|
2522
|
+
focusable: "false"
|
|
2523
|
+
})
|
|
2524
|
+
}),
|
|
2525
|
+
/* @__PURE__ */ jsx("span", {
|
|
2526
|
+
className: "ty-fb-stepper__heading",
|
|
2527
|
+
id: props.headingId,
|
|
2528
|
+
"aria-live": "polite",
|
|
2529
|
+
children: props.heading
|
|
2530
|
+
}),
|
|
2531
|
+
/* @__PURE__ */ jsx(Button, {
|
|
2532
|
+
className: "ty-fb-nav",
|
|
2533
|
+
"aria-label": props.nextLabel,
|
|
2534
|
+
isDisabled: props.nextDisabled,
|
|
2535
|
+
onPress: props.onNext,
|
|
2536
|
+
children: /* @__PURE__ */ jsx(ChevronRight, {
|
|
2537
|
+
className: "ty-icon ty-mirror-rtl",
|
|
2538
|
+
"aria-hidden": "true",
|
|
2539
|
+
focusable: "false"
|
|
2540
|
+
})
|
|
2541
|
+
})
|
|
2542
|
+
]
|
|
2543
|
+
});
|
|
2544
|
+
}
|
|
2545
|
+
/** Localised month names, January first. */
|
|
2546
|
+
function monthNames(locale, width = "long") {
|
|
2547
|
+
const fmt = new Intl.DateTimeFormat(locale, {
|
|
2548
|
+
month: width,
|
|
2549
|
+
timeZone: "UTC"
|
|
2550
|
+
});
|
|
2551
|
+
return Array.from({ length: 12 }, (_, m) => fmt.format(Date.UTC(2020, m, 15)));
|
|
2552
|
+
}
|
|
2553
|
+
/** "YYYY-MM" key of a year and a zero-based month. */
|
|
2554
|
+
const monthKey = (year, monthIndex) => `${year}-${String(monthIndex + 1).padStart(2, "0")}`;
|
|
2555
|
+
/**
|
|
2556
|
+
* Twelve months of one year as a grid list (APG grid-like navigation);
|
|
2557
|
+
* unavailable months stay visible but disabled. PageUp/PageDown step years.
|
|
2558
|
+
*/
|
|
2559
|
+
function MonthGrid(props) {
|
|
2560
|
+
const names = monthNames(props.locale, "short");
|
|
2561
|
+
const longNames = monthNames(props.locale, "long");
|
|
2562
|
+
const cells = names.map((short, m) => ({
|
|
2563
|
+
key: monthKey(props.year, m),
|
|
2564
|
+
short,
|
|
2565
|
+
long: longNames[m]
|
|
2566
|
+
}));
|
|
2567
|
+
const disabled = cells.filter((c) => !props.isAvailable(c.key)).map((c) => c.key);
|
|
2568
|
+
const pick = (keys) => {
|
|
2569
|
+
if (keys === "all") return;
|
|
2570
|
+
const [first] = [...keys];
|
|
2571
|
+
if (first != null) props.onChoose(String(first));
|
|
2572
|
+
};
|
|
2573
|
+
return /* @__PURE__ */ jsx("div", {
|
|
2574
|
+
className: "ty-fb-months",
|
|
2575
|
+
onKeyDown: (e) => {
|
|
2576
|
+
if (!props.onYearStep || e.key !== "PageUp" && e.key !== "PageDown") return;
|
|
2577
|
+
e.preventDefault();
|
|
2578
|
+
props.onYearStep(e.key === "PageUp" ? -1 : 1);
|
|
2579
|
+
},
|
|
2580
|
+
children: /* @__PURE__ */ jsx(GridList, {
|
|
2581
|
+
"aria-label": props.label,
|
|
2582
|
+
layout: "grid",
|
|
2583
|
+
className: "ty-fb-months__grid",
|
|
2584
|
+
items: cells,
|
|
2585
|
+
selectionMode: "single",
|
|
2586
|
+
disallowEmptySelection: true,
|
|
2587
|
+
selectedKeys: props.selected ? [props.selected] : [],
|
|
2588
|
+
disabledKeys: disabled,
|
|
2589
|
+
onSelectionChange: pick,
|
|
2590
|
+
children: (cell) => /* @__PURE__ */ jsx(GridListItem, {
|
|
2591
|
+
id: cell.key,
|
|
2592
|
+
textValue: `${cell.long} ${props.year}`,
|
|
2593
|
+
className: "ty-fb-months__cell",
|
|
2594
|
+
children: cell.short
|
|
2595
|
+
})
|
|
2596
|
+
})
|
|
2597
|
+
});
|
|
2598
|
+
}
|
|
2599
|
+
//#endregion
|
|
2600
|
+
//#region src/components/date-range-field/DateRangeField.tsx
|
|
2601
|
+
const fromDate$1 = (d) => d ? new CalendarDate(d.getFullYear(), d.getMonth() + 1, d.getDate()) : null;
|
|
2602
|
+
const toDate$2 = (c) => c ? new Date(c.year, c.month - 1, c.day) : null;
|
|
2603
|
+
const daysBetween = (a, b) => Math.round((b.getTime() - a.getTime()) / 864e5);
|
|
2604
|
+
/**
|
|
2605
|
+
* Enter a start and end date by typing into segmented date inputs or by
|
|
2606
|
+
* picking in a Calendar popover (spec: wave-5-general/date-range-field.md).
|
|
2607
|
+
* Built on RAC DateRangePicker; APG Date Picker Dialog.
|
|
2608
|
+
*/
|
|
2609
|
+
function DateRangeField(props) {
|
|
2610
|
+
const t = useMessages().dateRangeField;
|
|
2611
|
+
const { locale: contextLocale } = useLocale();
|
|
2612
|
+
const now = today(getLocalTimeZone());
|
|
2613
|
+
const [innerValue, setInnerValue] = useState(() => props.value ?? props.defaultValue ?? null);
|
|
2614
|
+
const value = props.value !== void 0 ? props.value : innerValue;
|
|
2615
|
+
const [open, setOpen] = useState(false);
|
|
2616
|
+
const [draft, setDraft] = useState(null);
|
|
2617
|
+
const months = usePhoneWidth() ? 1 : props.visibleMonths ?? 2;
|
|
2618
|
+
const confirmation = props.confirmation ?? "immediate";
|
|
2619
|
+
const commit = (next) => {
|
|
2620
|
+
if (props.value === void 0) setInnerValue(next);
|
|
2621
|
+
props.onChange(next);
|
|
2622
|
+
};
|
|
2623
|
+
const shown = open && confirmation === "apply" ? draft : value;
|
|
2624
|
+
const shownRange = shown && (shown.start || shown.end) ? {
|
|
2625
|
+
start: fromDate$1(shown.start),
|
|
2626
|
+
end: fromDate$1(shown.end)
|
|
2627
|
+
} : null;
|
|
2628
|
+
const racValue = shownRange && shownRange.start && shownRange.end ? {
|
|
2629
|
+
start: shownRange.start,
|
|
2630
|
+
end: shownRange.end
|
|
2631
|
+
} : null;
|
|
2632
|
+
const computedInvalid = (() => {
|
|
2633
|
+
const start = value?.start;
|
|
2634
|
+
const end = value?.end;
|
|
2635
|
+
if (!start || !end) return null;
|
|
2636
|
+
if (end.getTime() < start.getTime()) return t.endBeforeStart;
|
|
2637
|
+
if (props.maxDays != null && daysBetween(start, end) + 1 > props.maxDays) return t.tooManyDays(props.maxDays);
|
|
2638
|
+
if (props.minValue && start.getTime() < props.minValue.getTime()) return t.outOfBounds;
|
|
2639
|
+
if (props.maxValue && end.getTime() > props.maxValue.getTime()) return t.outOfBounds;
|
|
2640
|
+
if (props.isDateUnavailable) {
|
|
2641
|
+
const cursor = new Date(start.getTime());
|
|
2642
|
+
while (cursor.getTime() <= end.getTime()) {
|
|
2643
|
+
if (props.isDateUnavailable(cursor)) return t.unavailableDay;
|
|
2644
|
+
cursor.setDate(cursor.getDate() + 1);
|
|
2645
|
+
}
|
|
2646
|
+
}
|
|
2647
|
+
return null;
|
|
2648
|
+
})();
|
|
2649
|
+
const errorMessage = props.errorText ?? computedInvalid ?? void 0;
|
|
2650
|
+
const invalid = !!errorMessage;
|
|
2651
|
+
const base = useId();
|
|
2652
|
+
const labelId = `${base}-label`;
|
|
2653
|
+
const hintId = props.hint != null && !errorMessage ? `${base}-hint` : void 0;
|
|
2654
|
+
const errorId = errorMessage ? `${base}-error` : void 0;
|
|
2655
|
+
const openChange = (next) => {
|
|
2656
|
+
if (next) setDraft(value ? { ...value } : null);
|
|
2657
|
+
setOpen(next);
|
|
2658
|
+
};
|
|
2659
|
+
const pickFromCalendar = (range) => {
|
|
2660
|
+
if (confirmation === "apply") {
|
|
2661
|
+
setDraft(range);
|
|
2662
|
+
return;
|
|
2663
|
+
}
|
|
2664
|
+
commit(range);
|
|
2665
|
+
setOpen(false);
|
|
2666
|
+
};
|
|
2667
|
+
const typed = (range) => {
|
|
2668
|
+
const next = range && (range.start || range.end) ? {
|
|
2669
|
+
start: toDate$2(range.start),
|
|
2670
|
+
end: toDate$2(range.end)
|
|
2671
|
+
} : null;
|
|
2672
|
+
if (open && confirmation === "apply") setDraft(next);
|
|
2673
|
+
else commit(next);
|
|
2674
|
+
};
|
|
2675
|
+
const applyPreset = (preset) => {
|
|
2676
|
+
if (confirmation === "apply") {
|
|
2677
|
+
setDraft({ ...preset.range });
|
|
2678
|
+
return;
|
|
2679
|
+
}
|
|
2680
|
+
commit({ ...preset.range });
|
|
2681
|
+
setOpen(false);
|
|
2682
|
+
};
|
|
2683
|
+
const calendar = /* @__PURE__ */ jsx(Calendar$1, {
|
|
2684
|
+
label: props.label,
|
|
2685
|
+
mode: "range",
|
|
2686
|
+
value: draft && draft.start && draft.end ? {
|
|
2687
|
+
start: draft.start,
|
|
2688
|
+
end: draft.end
|
|
2689
|
+
} : null,
|
|
2690
|
+
onChange: (next) => pickFromCalendar(next),
|
|
2691
|
+
minValue: props.minValue,
|
|
2692
|
+
maxValue: props.maxValue,
|
|
2693
|
+
isDateUnavailable: props.isDateUnavailable,
|
|
2694
|
+
visibleMonths: months,
|
|
2695
|
+
focusedValue: draft?.start ?? value?.start ?? new Date(now.year, now.month - 1, now.day),
|
|
2696
|
+
isInvalid: invalid
|
|
2697
|
+
});
|
|
2698
|
+
return /* @__PURE__ */ jsx(I18nProvider, {
|
|
2699
|
+
locale: props.locale ?? contextLocale,
|
|
2700
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
2701
|
+
className: cx("ty-date-range-field", props.className),
|
|
2702
|
+
"data-invalid": invalid || void 0,
|
|
2703
|
+
children: [
|
|
2704
|
+
/* @__PURE__ */ jsx(FieldLine, {
|
|
2705
|
+
kind: "label",
|
|
2706
|
+
id: labelId,
|
|
2707
|
+
children: /* @__PURE__ */ jsx("span", { children: props.label })
|
|
2708
|
+
}),
|
|
2709
|
+
hintId ? /* @__PURE__ */ jsx(FieldLine, {
|
|
2710
|
+
kind: "hint",
|
|
2711
|
+
id: hintId,
|
|
2712
|
+
children: props.hint
|
|
2713
|
+
}) : null,
|
|
2714
|
+
/* @__PURE__ */ jsxs(DateRangePicker, {
|
|
2715
|
+
className: "ty-date-range-field__picker",
|
|
2716
|
+
value: racValue,
|
|
2717
|
+
onChange: typed,
|
|
2718
|
+
isOpen: open,
|
|
2719
|
+
onOpenChange: openChange,
|
|
2720
|
+
shouldCloseOnSelect: false,
|
|
2721
|
+
startName: props.startName,
|
|
2722
|
+
endName: props.endName,
|
|
2723
|
+
minValue: fromDate$1(props.minValue ?? null) ?? void 0,
|
|
2724
|
+
maxValue: fromDate$1(props.maxValue ?? null) ?? void 0,
|
|
2725
|
+
isDateUnavailable: (d) => props.isDateUnavailable ? props.isDateUnavailable(toDate$2(d)) : false,
|
|
2726
|
+
isDisabled: props.disabled,
|
|
2727
|
+
isReadOnly: props.readOnly,
|
|
2728
|
+
isRequired: props.required,
|
|
2729
|
+
isInvalid: invalid || void 0,
|
|
2730
|
+
"aria-labelledby": labelId,
|
|
2731
|
+
"aria-describedby": joinIds(hintId, errorId),
|
|
2732
|
+
children: [/* @__PURE__ */ jsxs(Group, {
|
|
2733
|
+
className: "ty-date-range-field__group",
|
|
2734
|
+
children: [
|
|
2735
|
+
/* @__PURE__ */ jsx(DateInput, {
|
|
2736
|
+
slot: "start",
|
|
2737
|
+
className: "ty-date-range-field__input",
|
|
2738
|
+
"aria-label": `${props.label}: ${t.start}`,
|
|
2739
|
+
children: (segment) => /* @__PURE__ */ jsx(DateSegment, {
|
|
2740
|
+
segment,
|
|
2741
|
+
className: "ty-date-range-field__segment"
|
|
2742
|
+
})
|
|
2743
|
+
}),
|
|
2744
|
+
/* @__PURE__ */ jsx("span", {
|
|
2745
|
+
className: "ty-date-range-field__dash",
|
|
2746
|
+
"aria-hidden": "true",
|
|
2747
|
+
children: "–"
|
|
2748
|
+
}),
|
|
2749
|
+
/* @__PURE__ */ jsx(DateInput, {
|
|
2750
|
+
slot: "end",
|
|
2751
|
+
className: "ty-date-range-field__input",
|
|
2752
|
+
"aria-label": `${props.label}: ${t.end}`,
|
|
2753
|
+
children: (segment) => /* @__PURE__ */ jsx(DateSegment, {
|
|
2754
|
+
segment,
|
|
2755
|
+
className: "ty-date-range-field__segment"
|
|
2756
|
+
})
|
|
2757
|
+
}),
|
|
2758
|
+
/* @__PURE__ */ jsx(Button, {
|
|
2759
|
+
className: "ty-date-range-field__trigger",
|
|
2760
|
+
"aria-label": props.label,
|
|
2761
|
+
children: /* @__PURE__ */ jsx(CalendarDays, {
|
|
2762
|
+
className: "ty-icon",
|
|
2763
|
+
"aria-hidden": "true",
|
|
2764
|
+
focusable: "false"
|
|
2765
|
+
})
|
|
2766
|
+
})
|
|
2767
|
+
]
|
|
2768
|
+
}), /* @__PURE__ */ jsx(FloatSurface, {
|
|
2769
|
+
labelledBy: labelId,
|
|
2770
|
+
className: "ty-date-range-field__surface",
|
|
2771
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
2772
|
+
className: "ty-date-range-field__panel",
|
|
2773
|
+
children: [
|
|
2774
|
+
props.presets?.length ? /* @__PURE__ */ jsx("div", {
|
|
2775
|
+
className: "ty-date-range-field__presets",
|
|
2776
|
+
role: "group",
|
|
2777
|
+
"aria-label": t.presets,
|
|
2778
|
+
children: props.presets.map((preset) => /* @__PURE__ */ jsx(Button$1, {
|
|
2779
|
+
variant: "quiet",
|
|
2780
|
+
size: "compact",
|
|
2781
|
+
onPress: () => applyPreset(preset),
|
|
2782
|
+
children: preset.label
|
|
2783
|
+
}, preset.id))
|
|
2784
|
+
}) : null,
|
|
2785
|
+
calendar,
|
|
2786
|
+
confirmation === "apply" ? /* @__PURE__ */ jsxs("div", {
|
|
2787
|
+
className: "ty-date-range-field__actions",
|
|
2788
|
+
children: [/* @__PURE__ */ jsx(Button$1, {
|
|
2789
|
+
variant: "quiet",
|
|
2790
|
+
size: "compact",
|
|
2791
|
+
onPress: () => openChange(false),
|
|
2792
|
+
children: t.cancel
|
|
2793
|
+
}), /* @__PURE__ */ jsx(Button$1, {
|
|
2794
|
+
variant: "primary",
|
|
2795
|
+
size: "compact",
|
|
2796
|
+
onPress: () => {
|
|
2797
|
+
commit(draft);
|
|
2798
|
+
setOpen(false);
|
|
2799
|
+
},
|
|
2800
|
+
children: t.apply
|
|
2801
|
+
})]
|
|
2802
|
+
}) : null
|
|
2803
|
+
]
|
|
2804
|
+
})
|
|
2805
|
+
})]
|
|
2806
|
+
}),
|
|
2807
|
+
errorId ? /* @__PURE__ */ jsx(FieldLine, {
|
|
2808
|
+
kind: "error",
|
|
2809
|
+
id: errorId,
|
|
2810
|
+
children: errorMessage
|
|
2811
|
+
}) : null
|
|
2812
|
+
]
|
|
2813
|
+
})
|
|
2814
|
+
});
|
|
2815
|
+
}
|
|
2816
|
+
//#endregion
|
|
2817
|
+
//#region src/components/drawer/Drawer.tsx
|
|
2818
|
+
/** Distance (px) or velocity (px/ms) past which a released drag closes the drawer. */
|
|
2819
|
+
const DRAWER_DRAG_DISTANCE = 120;
|
|
2820
|
+
const DRAWER_DRAG_VELOCITY = .6;
|
|
2821
|
+
/** Modal panel attached to the bottom or end edge (spec: wave-1/drawer.md). */
|
|
2822
|
+
function Drawer(props) {
|
|
2823
|
+
const { open, onOpenChange, title, placement = "bottom", width = "medium", maxHeight, showHandle = true, dismissible = true, children, className } = props;
|
|
2824
|
+
const messages = useMessages();
|
|
2825
|
+
const [drag, setDrag] = useState(0);
|
|
2826
|
+
const start = useRef(null);
|
|
2827
|
+
const canDrag = placement === "bottom" && dismissible;
|
|
2828
|
+
const onPointerDown = (e) => {
|
|
2829
|
+
if (!canDrag || e.button !== void 0 && e.button > 0) return;
|
|
2830
|
+
if (e.target.closest("button")) return;
|
|
2831
|
+
start.current = {
|
|
2832
|
+
y: e.clientY,
|
|
2833
|
+
t: e.timeStamp || performance.now()
|
|
2834
|
+
};
|
|
2835
|
+
e.currentTarget.setPointerCapture?.(e.pointerId);
|
|
2836
|
+
};
|
|
2837
|
+
const onPointerMove = (e) => {
|
|
2838
|
+
if (!start.current) return;
|
|
2839
|
+
setDrag(Math.max(0, e.clientY - start.current.y));
|
|
2840
|
+
};
|
|
2841
|
+
const onPointerUp = (e) => {
|
|
2842
|
+
if (!start.current) return;
|
|
2843
|
+
const distance = Math.max(0, e.clientY - start.current.y);
|
|
2844
|
+
const elapsed = Math.max(1, (e.timeStamp || performance.now()) - start.current.t);
|
|
2845
|
+
start.current = null;
|
|
2846
|
+
setDrag(0);
|
|
2847
|
+
if (distance >= 120 || distance / elapsed >= .6) onOpenChange(false);
|
|
2848
|
+
};
|
|
2849
|
+
const dragging = drag > 0;
|
|
2850
|
+
const panelStyle = {
|
|
2851
|
+
...maxHeight && placement === "bottom" ? { maxBlockSize: maxHeight } : {},
|
|
2852
|
+
...dragging ? {
|
|
2853
|
+
transform: `translateY(${drag}px)`,
|
|
2854
|
+
transition: "none"
|
|
2855
|
+
} : {}
|
|
2856
|
+
};
|
|
2857
|
+
const overlayStyle = dragging ? { opacity: Math.max(.2, 1 - drag / 400) } : void 0;
|
|
2858
|
+
const dragHandlers = canDrag ? {
|
|
2859
|
+
onPointerDown,
|
|
2860
|
+
onPointerMove,
|
|
2861
|
+
onPointerUp,
|
|
2862
|
+
onPointerCancel: onPointerUp
|
|
2863
|
+
} : {};
|
|
2123
2864
|
return /* @__PURE__ */ jsx(ModalOverlay, {
|
|
2124
2865
|
isOpen: open,
|
|
2125
2866
|
onOpenChange: (o) => {
|
|
@@ -2372,141 +3113,17 @@ function InlineNotice({ tone = "info", title, titleAs = "p", children, icon, act
|
|
|
2372
3113
|
className: "ty-notice__actions",
|
|
2373
3114
|
children: actions
|
|
2374
3115
|
}) : null
|
|
2375
|
-
]
|
|
2376
|
-
}),
|
|
2377
|
-
dismissible ? /* @__PURE__ */ jsx(Button$1, {
|
|
2378
|
-
className: "ty-notice__dismiss",
|
|
2379
|
-
variant: "quiet",
|
|
2380
|
-
size: "compact",
|
|
2381
|
-
iconOnly: true,
|
|
2382
|
-
accessibleLabel: messages.dismiss,
|
|
2383
|
-
leadingIcon: /* @__PURE__ */ jsx(X, {}),
|
|
2384
|
-
onPress: dismiss
|
|
2385
|
-
}) : null
|
|
2386
|
-
]
|
|
2387
|
-
});
|
|
2388
|
-
}
|
|
2389
|
-
//#endregion
|
|
2390
|
-
//#region src/components/listbox-select/ListboxSelect.tsx
|
|
2391
|
-
function Option({ option }) {
|
|
2392
|
-
return /* @__PURE__ */ jsx(ListBoxItem, {
|
|
2393
|
-
id: option.value,
|
|
2394
|
-
textValue: option.label,
|
|
2395
|
-
isDisabled: option.disabled,
|
|
2396
|
-
className: "ty-listbox-select__option",
|
|
2397
|
-
children: ({ isSelected }) => /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
2398
|
-
option.icon ? /* @__PURE__ */ jsx("span", {
|
|
2399
|
-
className: "ty-listbox-select__option-icon",
|
|
2400
|
-
"aria-hidden": "true",
|
|
2401
|
-
children: option.icon
|
|
2402
|
-
}) : null,
|
|
2403
|
-
/* @__PURE__ */ jsxs("span", {
|
|
2404
|
-
className: "ty-listbox-select__option-text",
|
|
2405
|
-
children: [/* @__PURE__ */ jsx(Text, {
|
|
2406
|
-
slot: "label",
|
|
2407
|
-
className: "ty-listbox-select__option-label",
|
|
2408
|
-
children: option.label
|
|
2409
|
-
}), option.description ? /* @__PURE__ */ jsx(Text, {
|
|
2410
|
-
slot: "description",
|
|
2411
|
-
className: "ty-listbox-select__option-description",
|
|
2412
|
-
children: option.description
|
|
2413
|
-
}) : null]
|
|
2414
|
-
}),
|
|
2415
|
-
/* @__PURE__ */ jsx("span", {
|
|
2416
|
-
className: "ty-listbox-select__check",
|
|
2417
|
-
"aria-hidden": "true",
|
|
2418
|
-
children: isSelected ? /* @__PURE__ */ jsx(Check, {
|
|
2419
|
-
className: "ty-icon",
|
|
2420
|
-
focusable: "false"
|
|
2421
|
-
}) : null
|
|
2422
|
-
})
|
|
2423
|
-
] })
|
|
2424
|
-
});
|
|
2425
|
-
}
|
|
2426
|
-
/** One value from a custom listbox popover (spec: wave-1/listbox-select.md). */
|
|
2427
|
-
function ListboxSelect(props) {
|
|
2428
|
-
const { label, accessibleLabel, options = [], sections, value, defaultValue, onChange, placeholder, errorMessage, hint, disabled, required, name, open, onOpenChange, id, className } = props;
|
|
2429
|
-
const messages = useMessages();
|
|
2430
|
-
const base = useId();
|
|
2431
|
-
const hintId = hint != null ? `${base}-hint` : void 0;
|
|
2432
|
-
const errorId = errorMessage ? `${base}-error` : void 0;
|
|
2433
|
-
const wiring = useFieldControl({
|
|
2434
|
-
id,
|
|
2435
|
-
describedBy: [hintId, errorId].filter(Boolean).join(" ") || void 0,
|
|
2436
|
-
invalid: !!errorMessage,
|
|
2437
|
-
required,
|
|
2438
|
-
disabled
|
|
2439
|
-
});
|
|
2440
|
-
const errorAppeared = useAppearedAfterMount(!!errorMessage);
|
|
2441
|
-
const narrow = useMediaQuery("(max-width: 639.98px)");
|
|
2442
|
-
devWarning(!label && !accessibleLabel && !wiring.labelledBy, "ListboxSelect: provide `label`, `accessibleLabel` or a surrounding Field label.");
|
|
2443
|
-
const disabledKeys = [...options, ...(sections ?? []).flatMap((s) => s.options)].filter((o) => o.disabled).map((o) => o.value);
|
|
2444
|
-
const list = /* @__PURE__ */ jsxs(ListBox, {
|
|
2445
|
-
className: "ty-listbox-select__list",
|
|
2446
|
-
children: [options.map((o) => /* @__PURE__ */ jsx(Option, { option: o }, o.value)), sections?.map((s) => /* @__PURE__ */ jsxs(ListBoxSection, {
|
|
2447
|
-
id: s.title,
|
|
2448
|
-
className: "ty-listbox-select__section",
|
|
2449
|
-
children: [/* @__PURE__ */ jsx(Header, {
|
|
2450
|
-
className: "ty-listbox-select__section-title",
|
|
2451
|
-
children: s.title
|
|
2452
|
-
}), s.options.map((o) => /* @__PURE__ */ jsx(Option, { option: o }, o.value))]
|
|
2453
|
-
}, s.title))]
|
|
2454
|
-
});
|
|
2455
|
-
return /* @__PURE__ */ jsxs(Select, {
|
|
2456
|
-
id: wiring.id,
|
|
2457
|
-
className: cx("ty-listbox-select", className),
|
|
2458
|
-
value: value === void 0 ? void 0 : value,
|
|
2459
|
-
defaultValue: defaultValue ?? void 0,
|
|
2460
|
-
onChange: (key) => {
|
|
2461
|
-
if (key != null) onChange?.(String(key));
|
|
2462
|
-
},
|
|
2463
|
-
placeholder: placeholder ?? messages.select.placeholder,
|
|
2464
|
-
isDisabled: wiring.disabled,
|
|
2465
|
-
isRequired: wiring.required,
|
|
2466
|
-
isInvalid: wiring.invalid,
|
|
2467
|
-
disabledKeys,
|
|
2468
|
-
name,
|
|
2469
|
-
isOpen: open,
|
|
2470
|
-
onOpenChange,
|
|
2471
|
-
"aria-label": label ? void 0 : accessibleLabel,
|
|
2472
|
-
"aria-labelledby": !label && !accessibleLabel ? wiring.labelledBy : void 0,
|
|
2473
|
-
"aria-describedby": wiring.describedBy,
|
|
2474
|
-
"data-presentation": narrow ? "tray" : "popover",
|
|
2475
|
-
children: [
|
|
2476
|
-
label ? /* @__PURE__ */ jsx(Label, {
|
|
2477
|
-
className: "ty-listbox-select__label",
|
|
2478
|
-
children: label
|
|
2479
|
-
}) : null,
|
|
2480
|
-
hint != null ? /* @__PURE__ */ jsx("p", {
|
|
2481
|
-
id: hintId,
|
|
2482
|
-
className: "ty-listbox-select__hint",
|
|
2483
|
-
children: hint
|
|
2484
|
-
}) : null,
|
|
2485
|
-
/* @__PURE__ */ jsxs(Button, {
|
|
2486
|
-
className: "ty-listbox-select__trigger",
|
|
2487
|
-
"aria-describedby": wiring.describedBy,
|
|
2488
|
-
children: [/* @__PURE__ */ jsx(SelectValue, { className: "ty-listbox-select__value" }), /* @__PURE__ */ jsx(ChevronDown, {
|
|
2489
|
-
className: "ty-icon ty-listbox-select__chevron",
|
|
2490
|
-
"aria-hidden": "true",
|
|
2491
|
-
focusable: "false"
|
|
2492
|
-
})]
|
|
2493
|
-
}),
|
|
2494
|
-
errorMessage ? /* @__PURE__ */ jsxs("p", {
|
|
2495
|
-
id: errorId,
|
|
2496
|
-
className: "ty-listbox-select__error",
|
|
2497
|
-
"aria-live": errorAppeared ? "polite" : void 0,
|
|
2498
|
-
children: [/* @__PURE__ */ jsx(CircleAlert, {
|
|
2499
|
-
className: "ty-icon",
|
|
2500
|
-
"aria-hidden": "true",
|
|
2501
|
-
focusable: "false"
|
|
2502
|
-
}), /* @__PURE__ */ jsx("span", { children: errorMessage })]
|
|
2503
|
-
}) : null,
|
|
2504
|
-
/* @__PURE__ */ jsx(Popover, {
|
|
2505
|
-
className: narrow ? "ty-listbox-select__tray" : "ty-listbox-select__popover",
|
|
2506
|
-
offset: 4,
|
|
2507
|
-
"data-presentation": narrow ? "tray" : "popover",
|
|
2508
|
-
children: list
|
|
2509
|
-
})
|
|
3116
|
+
]
|
|
3117
|
+
}),
|
|
3118
|
+
dismissible ? /* @__PURE__ */ jsx(Button$1, {
|
|
3119
|
+
className: "ty-notice__dismiss",
|
|
3120
|
+
variant: "quiet",
|
|
3121
|
+
size: "compact",
|
|
3122
|
+
iconOnly: true,
|
|
3123
|
+
accessibleLabel: messages.dismiss,
|
|
3124
|
+
leadingIcon: /* @__PURE__ */ jsx(X, {}),
|
|
3125
|
+
onPress: dismiss
|
|
3126
|
+
}) : null
|
|
2510
3127
|
]
|
|
2511
3128
|
});
|
|
2512
3129
|
}
|
|
@@ -4597,6 +5214,59 @@ function ToastItem({ toast, onDismiss }) {
|
|
|
4597
5214
|
});
|
|
4598
5215
|
}
|
|
4599
5216
|
//#endregion
|
|
5217
|
+
//#region src/components/tooltip/Tooltip.tsx
|
|
5218
|
+
/** Warm-up (and cool-down) of the shared tooltip timing, in ms. */
|
|
5219
|
+
const WARM_UP_MS = 300;
|
|
5220
|
+
/**
|
|
5221
|
+
* Short, non-interactive hint for a control, on hover or keyboard focus
|
|
5222
|
+
* (spec: wave-5-general/tooltip.md).
|
|
5223
|
+
*/
|
|
5224
|
+
function Tooltip$1(props) {
|
|
5225
|
+
const { content, children, placement = "top", showArrow = true, delay = "default", disabled = false, open, defaultOpen, onOpenChange, role = "description", className } = props;
|
|
5226
|
+
devWarning(!isValidElement(children), "Tooltip: `children` must be one focusable element.");
|
|
5227
|
+
const labelId = useId();
|
|
5228
|
+
const asLabel = role === "label";
|
|
5229
|
+
const child = children;
|
|
5230
|
+
const trigger = asLabel && isValidElement(child) ? cloneElement(child, {
|
|
5231
|
+
"aria-labelledby": labelId,
|
|
5232
|
+
...child.props["aria-describedby"] === void 0 ? { "aria-describedby": void 0 } : {}
|
|
5233
|
+
}) : children;
|
|
5234
|
+
return /* @__PURE__ */ jsxs(TooltipTrigger, {
|
|
5235
|
+
delay: delay === "immediate" ? 0 : WARM_UP_MS,
|
|
5236
|
+
closeDelay: delay === "immediate" ? 0 : WARM_UP_MS,
|
|
5237
|
+
isDisabled: disabled,
|
|
5238
|
+
...open !== void 0 ? { isOpen: open } : {},
|
|
5239
|
+
...defaultOpen !== void 0 ? { defaultOpen } : {},
|
|
5240
|
+
onOpenChange,
|
|
5241
|
+
children: [
|
|
5242
|
+
trigger,
|
|
5243
|
+
asLabel ? /* @__PURE__ */ jsx(VisuallyHidden, {
|
|
5244
|
+
id: labelId,
|
|
5245
|
+
children: content
|
|
5246
|
+
}) : null,
|
|
5247
|
+
/* @__PURE__ */ jsxs(Tooltip, {
|
|
5248
|
+
className: cx("ty-tooltip", className),
|
|
5249
|
+
placement,
|
|
5250
|
+
offset: showArrow ? 8 : 6,
|
|
5251
|
+
containerPadding: 12,
|
|
5252
|
+
children: [showArrow ? /* @__PURE__ */ jsx(OverlayArrow, {
|
|
5253
|
+
className: "ty-tooltip__arrow",
|
|
5254
|
+
children: /* @__PURE__ */ jsx("svg", {
|
|
5255
|
+
width: 10,
|
|
5256
|
+
height: 6,
|
|
5257
|
+
viewBox: "0 0 10 6",
|
|
5258
|
+
"aria-hidden": "true",
|
|
5259
|
+
children: /* @__PURE__ */ jsx("path", { d: "M0 0 L5 6 L10 0" })
|
|
5260
|
+
})
|
|
5261
|
+
}) : null, /* @__PURE__ */ jsx("span", {
|
|
5262
|
+
className: "ty-tooltip__content",
|
|
5263
|
+
children: content
|
|
5264
|
+
})]
|
|
5265
|
+
})
|
|
5266
|
+
]
|
|
5267
|
+
});
|
|
5268
|
+
}
|
|
5269
|
+
//#endregion
|
|
4600
5270
|
//#region src/components/theme-switcher/ThemeSwitcher.tsx
|
|
4601
5271
|
const flip = (m) => m === "dark" ? "light" : "dark";
|
|
4602
5272
|
function Glyph({ of, active }) {
|
|
@@ -6410,169 +7080,6 @@ function CategoryLabel({ code, name, marker, size = "medium", className }) {
|
|
|
6410
7080
|
});
|
|
6411
7081
|
}
|
|
6412
7082
|
//#endregion
|
|
6413
|
-
//#region src/internal/forms-b/parts.tsx
|
|
6414
|
-
/** Space-separated id list without empty entries (or undefined). */
|
|
6415
|
-
const joinIds = (...ids) => ids.filter(Boolean).join(" ") || void 0;
|
|
6416
|
-
/** True below 640 px, where floating pickers become a bottom tray. */
|
|
6417
|
-
function usePhoneWidth() {
|
|
6418
|
-
return useMediaQuery("(max-width: 639.98px)");
|
|
6419
|
-
}
|
|
6420
|
-
/** One text line of a field: label (above), hint (below the label) or error (below the control). */
|
|
6421
|
-
function FieldLine({ kind, id, htmlFor, children }) {
|
|
6422
|
-
if (kind === "label") return htmlFor ? /* @__PURE__ */ jsx("label", {
|
|
6423
|
-
className: "ty-fb-line",
|
|
6424
|
-
"data-line": "label",
|
|
6425
|
-
id,
|
|
6426
|
-
htmlFor,
|
|
6427
|
-
children
|
|
6428
|
-
}) : /* @__PURE__ */ jsx("span", {
|
|
6429
|
-
className: "ty-fb-line",
|
|
6430
|
-
"data-line": "label",
|
|
6431
|
-
id,
|
|
6432
|
-
children
|
|
6433
|
-
});
|
|
6434
|
-
return /* @__PURE__ */ jsxs("p", {
|
|
6435
|
-
className: "ty-fb-line",
|
|
6436
|
-
"data-line": kind,
|
|
6437
|
-
id,
|
|
6438
|
-
children: [kind === "error" ? /* @__PURE__ */ jsx(CircleAlert, {
|
|
6439
|
-
className: "ty-icon",
|
|
6440
|
-
"aria-hidden": "true",
|
|
6441
|
-
focusable: "false"
|
|
6442
|
-
}) : null, /* @__PURE__ */ jsx("span", { children })]
|
|
6443
|
-
});
|
|
6444
|
-
}
|
|
6445
|
-
/** Non-modal floating dialog; below 640 px the same popover is laid out as a bottom tray. */
|
|
6446
|
-
function FloatSurface(props) {
|
|
6447
|
-
const phone = usePhoneWidth();
|
|
6448
|
-
return /* @__PURE__ */ jsx(Popover, {
|
|
6449
|
-
className: cx("ty-fb-float", props.className),
|
|
6450
|
-
placement: props.side ?? "bottom",
|
|
6451
|
-
offset: 6,
|
|
6452
|
-
"data-presentation": phone ? "tray" : "popover",
|
|
6453
|
-
children: /* @__PURE__ */ jsx(Dialog, {
|
|
6454
|
-
className: "ty-fb-float__dialog",
|
|
6455
|
-
"aria-label": props.labelledBy ? void 0 : props.label,
|
|
6456
|
-
"aria-labelledby": props.labelledBy,
|
|
6457
|
-
children: props.children
|
|
6458
|
-
})
|
|
6459
|
-
});
|
|
6460
|
-
}
|
|
6461
|
-
/** Previous / heading / next row; the heading is a polite live region. */
|
|
6462
|
-
function StepperHeader(props) {
|
|
6463
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
6464
|
-
className: "ty-fb-stepper",
|
|
6465
|
-
children: [
|
|
6466
|
-
/* @__PURE__ */ jsx(Button, {
|
|
6467
|
-
className: "ty-fb-nav",
|
|
6468
|
-
"aria-label": props.previousLabel,
|
|
6469
|
-
isDisabled: props.previousDisabled,
|
|
6470
|
-
onPress: props.onPrevious,
|
|
6471
|
-
children: /* @__PURE__ */ jsx(ChevronLeft, {
|
|
6472
|
-
className: "ty-icon ty-mirror-rtl",
|
|
6473
|
-
"aria-hidden": "true",
|
|
6474
|
-
focusable: "false"
|
|
6475
|
-
})
|
|
6476
|
-
}),
|
|
6477
|
-
/* @__PURE__ */ jsx("span", {
|
|
6478
|
-
className: "ty-fb-stepper__heading",
|
|
6479
|
-
id: props.headingId,
|
|
6480
|
-
"aria-live": "polite",
|
|
6481
|
-
children: props.heading
|
|
6482
|
-
}),
|
|
6483
|
-
/* @__PURE__ */ jsx(Button, {
|
|
6484
|
-
className: "ty-fb-nav",
|
|
6485
|
-
"aria-label": props.nextLabel,
|
|
6486
|
-
isDisabled: props.nextDisabled,
|
|
6487
|
-
onPress: props.onNext,
|
|
6488
|
-
children: /* @__PURE__ */ jsx(ChevronRight, {
|
|
6489
|
-
className: "ty-icon ty-mirror-rtl",
|
|
6490
|
-
"aria-hidden": "true",
|
|
6491
|
-
focusable: "false"
|
|
6492
|
-
})
|
|
6493
|
-
})
|
|
6494
|
-
]
|
|
6495
|
-
});
|
|
6496
|
-
}
|
|
6497
|
-
/** Localised month names, January first. */
|
|
6498
|
-
function monthNames(locale, width = "long") {
|
|
6499
|
-
const fmt = new Intl.DateTimeFormat(locale, {
|
|
6500
|
-
month: width,
|
|
6501
|
-
timeZone: "UTC"
|
|
6502
|
-
});
|
|
6503
|
-
return Array.from({ length: 12 }, (_, m) => fmt.format(Date.UTC(2020, m, 15)));
|
|
6504
|
-
}
|
|
6505
|
-
/** "YYYY-MM" key of a year and a zero-based month. */
|
|
6506
|
-
const monthKey = (year, monthIndex) => `${year}-${String(monthIndex + 1).padStart(2, "0")}`;
|
|
6507
|
-
/**
|
|
6508
|
-
* Twelve months of one year as a grid list (APG grid-like navigation);
|
|
6509
|
-
* unavailable months stay visible but disabled. PageUp/PageDown step years.
|
|
6510
|
-
*/
|
|
6511
|
-
function MonthGrid(props) {
|
|
6512
|
-
const names = monthNames(props.locale, "short");
|
|
6513
|
-
const longNames = monthNames(props.locale, "long");
|
|
6514
|
-
const cells = names.map((short, m) => ({
|
|
6515
|
-
key: monthKey(props.year, m),
|
|
6516
|
-
short,
|
|
6517
|
-
long: longNames[m]
|
|
6518
|
-
}));
|
|
6519
|
-
const disabled = cells.filter((c) => !props.isAvailable(c.key)).map((c) => c.key);
|
|
6520
|
-
const pick = (keys) => {
|
|
6521
|
-
if (keys === "all") return;
|
|
6522
|
-
const [first] = [...keys];
|
|
6523
|
-
if (first != null) props.onChoose(String(first));
|
|
6524
|
-
};
|
|
6525
|
-
return /* @__PURE__ */ jsx("div", {
|
|
6526
|
-
className: "ty-fb-months",
|
|
6527
|
-
onKeyDown: (e) => {
|
|
6528
|
-
if (!props.onYearStep || e.key !== "PageUp" && e.key !== "PageDown") return;
|
|
6529
|
-
e.preventDefault();
|
|
6530
|
-
props.onYearStep(e.key === "PageUp" ? -1 : 1);
|
|
6531
|
-
},
|
|
6532
|
-
children: /* @__PURE__ */ jsx(GridList, {
|
|
6533
|
-
"aria-label": props.label,
|
|
6534
|
-
layout: "grid",
|
|
6535
|
-
className: "ty-fb-months__grid",
|
|
6536
|
-
items: cells,
|
|
6537
|
-
selectionMode: "single",
|
|
6538
|
-
disallowEmptySelection: true,
|
|
6539
|
-
selectedKeys: props.selected ? [props.selected] : [],
|
|
6540
|
-
disabledKeys: disabled,
|
|
6541
|
-
onSelectionChange: pick,
|
|
6542
|
-
children: (cell) => /* @__PURE__ */ jsx(GridListItem, {
|
|
6543
|
-
id: cell.key,
|
|
6544
|
-
textValue: `${cell.long} ${props.year}`,
|
|
6545
|
-
className: "ty-fb-months__cell",
|
|
6546
|
-
children: cell.short
|
|
6547
|
-
})
|
|
6548
|
-
})
|
|
6549
|
-
});
|
|
6550
|
-
}
|
|
6551
|
-
//#endregion
|
|
6552
|
-
//#region src/internal/forms-b/digits.ts
|
|
6553
|
-
const isDigit = (ch) => /^\p{Nd}$/u.test(ch);
|
|
6554
|
-
/** Numeric value (0–9) of one decimal digit of any script, or -1. */
|
|
6555
|
-
function digitValue(ch) {
|
|
6556
|
-
if (!isDigit(ch)) return -1;
|
|
6557
|
-
const cp = ch.codePointAt(0);
|
|
6558
|
-
let zero = cp;
|
|
6559
|
-
while (isDigit(String.fromCodePoint(zero - 1))) zero -= 1;
|
|
6560
|
-
return (cp - zero) % 10;
|
|
6561
|
-
}
|
|
6562
|
-
/** Replaces every decimal digit, whatever its script, by its ASCII digit. */
|
|
6563
|
-
function asciiDigits(text) {
|
|
6564
|
-
return text.replace(/\p{Nd}/gu, (ch) => String(digitValue(ch)));
|
|
6565
|
-
}
|
|
6566
|
-
/** The locale's ten digits, in order ("0123456789", "٠١٢٣٤٥٦٧٨٩", …). */
|
|
6567
|
-
function localeDigits(locale) {
|
|
6568
|
-
const nf = new Intl.NumberFormat(locale, { useGrouping: false });
|
|
6569
|
-
return Array.from({ length: 10 }, (_, d) => nf.format(d));
|
|
6570
|
-
}
|
|
6571
|
-
/** Rewrites ASCII digits with the locale's digits. */
|
|
6572
|
-
function withLocaleDigits(text, digits) {
|
|
6573
|
-
return text.replace(/[0-9]/g, (d) => digits[Number(d)]);
|
|
6574
|
-
}
|
|
6575
|
-
//#endregion
|
|
6576
7083
|
//#region src/components/currency-field/CurrencyField.tsx
|
|
6577
7084
|
function separatorsOf(locale) {
|
|
6578
7085
|
const parts = new Intl.NumberFormat(locale).formatToParts(1234567.5);
|
|
@@ -9322,159 +9829,6 @@ function AppNavigation(props) {
|
|
|
9322
9829
|
});
|
|
9323
9830
|
}
|
|
9324
9831
|
//#endregion
|
|
9325
|
-
//#region src/internal/overlays-nav/fuzzy.ts
|
|
9326
|
-
const OPTIONAL_MARK = /[\u0300-\u036f\u0591-\u05c7\u064b-\u065f\u0670\u06d6-\u06ed]/gu;
|
|
9327
|
-
function segmenter(granularity, locale) {
|
|
9328
|
-
const Seg = Intl.Segmenter;
|
|
9329
|
-
return Seg ? new Seg(locale, { granularity }) : null;
|
|
9330
|
-
}
|
|
9331
|
-
/** Folds one grapheme: compatibility-normalised, optional diacritics dropped, locale-lowercased. */
|
|
9332
|
-
function foldUnit(grapheme, locale) {
|
|
9333
|
-
return (grapheme.normalize("NFKD").replace(OPTIONAL_MARK, "") || grapheme).normalize("NFC").toLocaleLowerCase(locale);
|
|
9334
|
-
}
|
|
9335
|
-
/** Splits text into grapheme units, marking the ones that start a word (any script). */
|
|
9336
|
-
function unitsOf(text, locale) {
|
|
9337
|
-
const starts = /* @__PURE__ */ new Set([0]);
|
|
9338
|
-
const words = segmenter("word", locale);
|
|
9339
|
-
if (words) {
|
|
9340
|
-
for (const w of words.segment(text)) if (w.isWordLike) starts.add(w.index);
|
|
9341
|
-
} else for (const m of text.matchAll(/(?<=[\s\p{P}])\S/gu)) starts.add(m.index);
|
|
9342
|
-
const graphemes = segmenter("grapheme", locale);
|
|
9343
|
-
return (graphemes ? [...graphemes.segment(text)].map((g) => ({
|
|
9344
|
-
segment: g.segment,
|
|
9345
|
-
index: g.index
|
|
9346
|
-
})) : [...text].reduce((acc, ch) => {
|
|
9347
|
-
const prev = acc[acc.length - 1];
|
|
9348
|
-
acc.push({
|
|
9349
|
-
segment: ch,
|
|
9350
|
-
index: prev ? prev.index + prev.segment.length : 0
|
|
9351
|
-
});
|
|
9352
|
-
return acc;
|
|
9353
|
-
}, [])).map((g) => ({
|
|
9354
|
-
key: foldUnit(g.segment, locale),
|
|
9355
|
-
from: g.index,
|
|
9356
|
-
to: g.index + g.segment.length,
|
|
9357
|
-
wordStart: starts.has(g.index)
|
|
9358
|
-
}));
|
|
9359
|
-
}
|
|
9360
|
-
/** UTF-16 indices covered by the matched units (what markPieces expects). */
|
|
9361
|
-
const covered = (units, picked) => picked.flatMap((k) => Array.from({ length: units[k].to - units[k].from }, (_, j) => units[k].from + j));
|
|
9362
|
-
/**
|
|
9363
|
-
* In-order match of the query's characters in the text, grapheme by
|
|
9364
|
-
* grapheme, for any script. `locale` drives lower-casing and word breaks
|
|
9365
|
-
* (so CJK and Thai get real word starts).
|
|
9366
|
-
*/
|
|
9367
|
-
function fuzzyHit(query, text, locale) {
|
|
9368
|
-
const q = unitsOf(query.trim(), locale).map((u) => u.key);
|
|
9369
|
-
if (!q.length) return {
|
|
9370
|
-
score: 0,
|
|
9371
|
-
at: []
|
|
9372
|
-
};
|
|
9373
|
-
const t = unitsOf(text, locale);
|
|
9374
|
-
const keys = t.map((u) => u.key);
|
|
9375
|
-
for (let i = 0; i + q.length <= keys.length; i++) if (q.every((k, j) => keys[i + j] === k)) {
|
|
9376
|
-
const picked = q.map((_, j) => i + j);
|
|
9377
|
-
return {
|
|
9378
|
-
score: 1e3 + q.length * 12 + (t[i].wordStart ? 60 : 0) - i,
|
|
9379
|
-
at: covered(t, picked)
|
|
9380
|
-
};
|
|
9381
|
-
}
|
|
9382
|
-
const picked = [];
|
|
9383
|
-
let cursor = 0;
|
|
9384
|
-
for (const k of q) {
|
|
9385
|
-
let pick = -1;
|
|
9386
|
-
for (let i = cursor; i < keys.length; i++) {
|
|
9387
|
-
if (keys[i] !== k) continue;
|
|
9388
|
-
if (pick < 0) pick = i;
|
|
9389
|
-
if (t[i].wordStart) {
|
|
9390
|
-
pick = i;
|
|
9391
|
-
break;
|
|
9392
|
-
}
|
|
9393
|
-
}
|
|
9394
|
-
if (pick < 0) return null;
|
|
9395
|
-
picked.push(pick);
|
|
9396
|
-
cursor = pick + 1;
|
|
9397
|
-
}
|
|
9398
|
-
let score = 0;
|
|
9399
|
-
picked.forEach((pos, k) => {
|
|
9400
|
-
const prev = picked[k - 1];
|
|
9401
|
-
score += 4;
|
|
9402
|
-
if (prev !== void 0 && pos === prev + 1) score += 10;
|
|
9403
|
-
if (t[pos].wordStart) score += 8;
|
|
9404
|
-
});
|
|
9405
|
-
return {
|
|
9406
|
-
score: score - (picked[0] ?? 0),
|
|
9407
|
-
at: covered(t, picked)
|
|
9408
|
-
};
|
|
9409
|
-
}
|
|
9410
|
-
/** Splits `text` into plain and marked pieces from matched indices. */
|
|
9411
|
-
function markPieces(text, at) {
|
|
9412
|
-
const hits = new Set(at);
|
|
9413
|
-
const out = [];
|
|
9414
|
-
for (let i = 0; i < text.length; i++) {
|
|
9415
|
-
const marked = hits.has(i);
|
|
9416
|
-
const last = out[out.length - 1];
|
|
9417
|
-
if (last && last.marked === marked) last.text += text[i];
|
|
9418
|
-
else out.push({
|
|
9419
|
-
text: text[i] ?? "",
|
|
9420
|
-
marked
|
|
9421
|
-
});
|
|
9422
|
-
}
|
|
9423
|
-
return out;
|
|
9424
|
-
}
|
|
9425
|
-
//#endregion
|
|
9426
|
-
//#region src/internal/overlays-nav/recent.ts
|
|
9427
|
-
function box() {
|
|
9428
|
-
try {
|
|
9429
|
-
return typeof window === "undefined" ? void 0 : window.localStorage;
|
|
9430
|
-
} catch {
|
|
9431
|
-
return;
|
|
9432
|
-
}
|
|
9433
|
-
}
|
|
9434
|
-
function readLedger(key) {
|
|
9435
|
-
let text;
|
|
9436
|
-
try {
|
|
9437
|
-
text = box()?.getItem(key);
|
|
9438
|
-
} catch {
|
|
9439
|
-
return {};
|
|
9440
|
-
}
|
|
9441
|
-
if (!text) return {};
|
|
9442
|
-
try {
|
|
9443
|
-
const value = JSON.parse(text);
|
|
9444
|
-
if (!value || typeof value !== "object" || Array.isArray(value)) return {};
|
|
9445
|
-
const clean = {};
|
|
9446
|
-
for (const [id, pair] of Object.entries(value)) if (Array.isArray(pair) && typeof pair[0] === "number" && typeof pair[1] === "number") clean[id] = [pair[0], pair[1]];
|
|
9447
|
-
return clean;
|
|
9448
|
-
} catch {
|
|
9449
|
-
return {};
|
|
9450
|
-
}
|
|
9451
|
-
}
|
|
9452
|
-
const toStats = (ledger) => Object.entries(ledger).map(([id, [count, at]]) => ({
|
|
9453
|
-
id,
|
|
9454
|
-
count,
|
|
9455
|
-
at
|
|
9456
|
-
}));
|
|
9457
|
-
/** Everything remembered under `key`. */
|
|
9458
|
-
function readChoices(key) {
|
|
9459
|
-
return toStats(readLedger(key));
|
|
9460
|
-
}
|
|
9461
|
-
/** Most chosen first; ties go to the most recent. */
|
|
9462
|
-
function orderChoices(stats) {
|
|
9463
|
-
return stats.slice().sort((x, y) => x.count === y.count ? y.at - x.at : y.count - x.count);
|
|
9464
|
-
}
|
|
9465
|
-
/** Counts one more choice of `id`, keeps the `limit` most recent ids, returns the result. */
|
|
9466
|
-
function recordChoice(key, id, limit = 12, when = Date.now()) {
|
|
9467
|
-
const ledger = readLedger(key);
|
|
9468
|
-
const [times] = ledger[id] ?? [0, 0];
|
|
9469
|
-
ledger[id] = [times + 1, when];
|
|
9470
|
-
const newestFirst = toStats(ledger).sort((x, y) => y.at - x.at).slice(0, limit);
|
|
9471
|
-
const trimmed = Object.fromEntries(newestFirst.map((s) => [s.id, [s.count, s.at]]));
|
|
9472
|
-
try {
|
|
9473
|
-
box()?.setItem(key, JSON.stringify(trimmed));
|
|
9474
|
-
} catch {}
|
|
9475
|
-
return newestFirst;
|
|
9476
|
-
}
|
|
9477
|
-
//#endregion
|
|
9478
9832
|
//#region src/components/command-palette/model.ts
|
|
9479
9833
|
const inScope = (scope, group, item) => scope === null || (item.scopeId ?? group.scopeId) === scope;
|
|
9480
9834
|
const itemRow = (item, prefix, marks = []) => ({
|
|
@@ -12344,170 +12698,6 @@ function RecoveryCodeList(props) {
|
|
|
12344
12698
|
});
|
|
12345
12699
|
}
|
|
12346
12700
|
//#endregion
|
|
12347
|
-
//#region src/components/markdown-view/parse.ts
|
|
12348
|
-
const FENCE = /^\s*```\s*([\w+#.-]*)\s*$/;
|
|
12349
|
-
const HEADING = /^(#{1,4})\s+(.+?)\s*#*\s*$/;
|
|
12350
|
-
const BULLET = /^\s*[-*]\s+(.*)$/;
|
|
12351
|
-
const NUMBERED = /^\s*\d+[.)]\s+(.*)$/;
|
|
12352
|
-
/** Only absolute http and https addresses become links. */
|
|
12353
|
-
function isSafeHref(raw) {
|
|
12354
|
-
try {
|
|
12355
|
-
const url = new URL(raw);
|
|
12356
|
-
return (url.protocol === "http:" || url.protocol === "https:") && /^https?:\/\//i.test(raw.trim());
|
|
12357
|
-
} catch {
|
|
12358
|
-
return false;
|
|
12359
|
-
}
|
|
12360
|
-
}
|
|
12361
|
-
/** Inline scanner: code spans first (their content is literal), then emphasis and links. */
|
|
12362
|
-
function readInline(source) {
|
|
12363
|
-
const out = [];
|
|
12364
|
-
let text = "";
|
|
12365
|
-
const flush = () => {
|
|
12366
|
-
if (text) out.push({
|
|
12367
|
-
kind: "text",
|
|
12368
|
-
value: text
|
|
12369
|
-
});
|
|
12370
|
-
text = "";
|
|
12371
|
-
};
|
|
12372
|
-
let i = 0;
|
|
12373
|
-
while (i < source.length) {
|
|
12374
|
-
const rest = source.slice(i);
|
|
12375
|
-
const ch = source[i];
|
|
12376
|
-
if (ch === "`") {
|
|
12377
|
-
const end = source.indexOf("`", i + 1);
|
|
12378
|
-
if (end > i) {
|
|
12379
|
-
flush();
|
|
12380
|
-
out.push({
|
|
12381
|
-
kind: "code",
|
|
12382
|
-
value: source.slice(i + 1, end)
|
|
12383
|
-
});
|
|
12384
|
-
i = end + 1;
|
|
12385
|
-
continue;
|
|
12386
|
-
}
|
|
12387
|
-
}
|
|
12388
|
-
if (rest.startsWith("**")) {
|
|
12389
|
-
const end = source.indexOf("**", i + 2);
|
|
12390
|
-
if (end > i + 2) {
|
|
12391
|
-
flush();
|
|
12392
|
-
out.push({
|
|
12393
|
-
kind: "strong",
|
|
12394
|
-
children: readInline(source.slice(i + 2, end))
|
|
12395
|
-
});
|
|
12396
|
-
i = end + 2;
|
|
12397
|
-
continue;
|
|
12398
|
-
}
|
|
12399
|
-
}
|
|
12400
|
-
if ((ch === "*" || ch === "_") && source[i + 1] !== ch && source[i + 1] !== " ") {
|
|
12401
|
-
const end = source.indexOf(ch, i + 1);
|
|
12402
|
-
if (end > i + 1 && source[end - 1] !== " ") {
|
|
12403
|
-
flush();
|
|
12404
|
-
out.push({
|
|
12405
|
-
kind: "em",
|
|
12406
|
-
children: readInline(source.slice(i + 1, end))
|
|
12407
|
-
});
|
|
12408
|
-
i = end + 1;
|
|
12409
|
-
continue;
|
|
12410
|
-
}
|
|
12411
|
-
}
|
|
12412
|
-
if (ch === "[") {
|
|
12413
|
-
const link = /^\[([^\]]+)\]\(([^)\s]+)\)/.exec(rest);
|
|
12414
|
-
if (link) {
|
|
12415
|
-
flush();
|
|
12416
|
-
const [whole, label = "", href = ""] = link;
|
|
12417
|
-
if (isSafeHref(href)) out.push({
|
|
12418
|
-
kind: "link",
|
|
12419
|
-
href,
|
|
12420
|
-
children: readInline(label)
|
|
12421
|
-
});
|
|
12422
|
-
else out.push({
|
|
12423
|
-
kind: "text",
|
|
12424
|
-
value: whole
|
|
12425
|
-
});
|
|
12426
|
-
i += whole.length;
|
|
12427
|
-
continue;
|
|
12428
|
-
}
|
|
12429
|
-
}
|
|
12430
|
-
text += ch;
|
|
12431
|
-
i += 1;
|
|
12432
|
-
}
|
|
12433
|
-
flush();
|
|
12434
|
-
return out;
|
|
12435
|
-
}
|
|
12436
|
-
/** Splits the source into blocks. An unclosed fence takes the rest of the input as code. */
|
|
12437
|
-
function readBlocks(source) {
|
|
12438
|
-
const lines = source.replace(/\r\n?/g, "\n").split("\n");
|
|
12439
|
-
const blocks = [];
|
|
12440
|
-
let paragraph = [];
|
|
12441
|
-
let list = null;
|
|
12442
|
-
const closeParagraph = () => {
|
|
12443
|
-
if (paragraph.length) blocks.push({
|
|
12444
|
-
kind: "paragraph",
|
|
12445
|
-
content: readInline(paragraph.join(" "))
|
|
12446
|
-
});
|
|
12447
|
-
paragraph = [];
|
|
12448
|
-
};
|
|
12449
|
-
const closeList = () => {
|
|
12450
|
-
if (list) blocks.push({
|
|
12451
|
-
kind: "list",
|
|
12452
|
-
ordered: list.ordered,
|
|
12453
|
-
items: list.items.map(readInline)
|
|
12454
|
-
});
|
|
12455
|
-
list = null;
|
|
12456
|
-
};
|
|
12457
|
-
const closeAll = () => {
|
|
12458
|
-
closeParagraph();
|
|
12459
|
-
closeList();
|
|
12460
|
-
};
|
|
12461
|
-
for (let n = 0; n < lines.length; n++) {
|
|
12462
|
-
const line = lines[n];
|
|
12463
|
-
const fence = FENCE.exec(line);
|
|
12464
|
-
if (fence) {
|
|
12465
|
-
closeAll();
|
|
12466
|
-
const body = [];
|
|
12467
|
-
n += 1;
|
|
12468
|
-
while (n < lines.length && !FENCE.test(lines[n])) body.push(lines[n++]);
|
|
12469
|
-
blocks.push({
|
|
12470
|
-
kind: "code",
|
|
12471
|
-
language: fence[1] || void 0,
|
|
12472
|
-
value: body.join("\n")
|
|
12473
|
-
});
|
|
12474
|
-
continue;
|
|
12475
|
-
}
|
|
12476
|
-
if (!line.trim()) {
|
|
12477
|
-
closeAll();
|
|
12478
|
-
continue;
|
|
12479
|
-
}
|
|
12480
|
-
const heading = HEADING.exec(line);
|
|
12481
|
-
if (heading) {
|
|
12482
|
-
closeAll();
|
|
12483
|
-
blocks.push({
|
|
12484
|
-
kind: "heading",
|
|
12485
|
-
depth: heading[1].length,
|
|
12486
|
-
content: readInline(heading[2])
|
|
12487
|
-
});
|
|
12488
|
-
continue;
|
|
12489
|
-
}
|
|
12490
|
-
const bullet = BULLET.exec(line);
|
|
12491
|
-
const numbered = bullet ? null : NUMBERED.exec(line);
|
|
12492
|
-
const item = bullet ?? numbered;
|
|
12493
|
-
if (item) {
|
|
12494
|
-
closeParagraph();
|
|
12495
|
-
const ordered = !!numbered;
|
|
12496
|
-
if (list && list.ordered !== ordered) closeList();
|
|
12497
|
-
list ??= {
|
|
12498
|
-
ordered,
|
|
12499
|
-
items: []
|
|
12500
|
-
};
|
|
12501
|
-
list.items.push(item[1]);
|
|
12502
|
-
continue;
|
|
12503
|
-
}
|
|
12504
|
-
closeList();
|
|
12505
|
-
paragraph.push(line.trim());
|
|
12506
|
-
}
|
|
12507
|
-
closeAll();
|
|
12508
|
-
return blocks;
|
|
12509
|
-
}
|
|
12510
|
-
//#endregion
|
|
12511
12701
|
//#region src/components/markdown-view/MarkdownView.tsx
|
|
12512
12702
|
function drawInline(nodes) {
|
|
12513
12703
|
return nodes.map((node, i) => {
|
|
@@ -15625,6 +15815,7 @@ function RegionMap(props) {
|
|
|
15625
15815
|
panel ? /* @__PURE__ */ jsx("div", {
|
|
15626
15816
|
className: "ty-region-map__detail",
|
|
15627
15817
|
id: `${uid}-detail`,
|
|
15818
|
+
"data-position": props.detailPosition ?? "bottom-left",
|
|
15628
15819
|
children: panel
|
|
15629
15820
|
}) : null
|
|
15630
15821
|
]
|
|
@@ -20935,6 +21126,6 @@ function StatStrip({ items, label, locale, className }) {
|
|
|
20935
21126
|
});
|
|
20936
21127
|
}
|
|
20937
21128
|
//#endregion
|
|
20938
|
-
export { eventTypeFromContract as $, DRAWER_DRAG_DISTANCE as $a, themePaletteGroups as $i, registerRegionTheme as $n, ListRow as $r, LegalDocumentFrame as $t, CascadeGrid as A,
|
|
21129
|
+
export { eventTypeFromContract as $, DRAWER_DRAG_DISTANCE as $a, themePaletteGroups as $i, registerRegionTheme as $n, ListRow as $r, LegalDocumentFrame as $t, CascadeGrid as A, TabPanel$1 as Aa, TimeField as Ai, register$1 as An, Button$1 as Ao, InsightCard as Ar, animateChange as At, EdgeSwipeBack as B, SectionHeading as Ba, FormContainer as Bi, validateCountryProfile as Bn, useMediaQuery as Bo, recoveryCodesFile as Br, duration as Bt, FeatureShowcaseMosaic as C, Code$1 as Ca, filterByPermission as Ci, brand as Cn, SkipLink as Co, TweenedNumber as Cr, RoutingProvider as Ct, Kicker as D, TextArea$1 as Da, orderTiles as Di, brazilProfile as Dn, ActorChip as Do, RecordCard as Dr, useRouting as Dt, RevealNumber as E, TextField$1 as Ea, AppLauncherGrid as Ei, AmbientBackdrop as En, Skeleton as Eo, RecordActions as Er, useRouteHost as Et, SafeAreaInset as F, StatusPill as Fa, LocalePicker as Fi, formatProfileMoney as Fn, ThemeScope as Fo, ContactOfficeCard as Fr, hapticsSupported as Ft, SwipeRow as G, pageSlots as Ga, DateField as Gi, getFlagUrl as Gn, shortenIdentifier as Gr, resolveTransition as Gt, PULL_THRESHOLD as H, ProgressBar$1 as Ha, FramedForm as Hi, createRegionThemeRegistry as Hn, HistoryList as Hr, getPreset as Ht, SafeAreaScreen as I, builtInStatusMap as Ia, DEFAULT_IMAGE_TYPES as Ii, getCountryProfile as In, ThemeProvider as Io, ContactSection as Ir, playHaptic as It, HttpResponseError as J, ModalDialog as Ja, CategoryTabs as Ji, getLabelPoint as Jn, NotificationCenterProvider as Jr, plateGeometry as Jt, useSwipeActionPresets as K, PageHeader as Ka, CurrencyField as Ki, getIdentityColours as Kn, ProfileAvatar as Kr, useDecorativeMotion as Kt, SafeAreaSpacer as L, Spinner as La, ImagePicker as Li, listCountryProfiles as Ln, themeInitScript as Lo, AgentOutputCard as Lr, useHaptics as Lt, GLASS_CHECK_MARKER as M, Switch$1 as Ma, TagField as Mi, labelPointOf as Mn, requestHaptic as Mo, DeltaMark as Mr, useAnimatedChange as Mt, GlassCheckToggle as N, SwitchGroup as Na, SchemaRequestForm as Ni, flagEmoji as Nn, variants as No, deltaSentiment as Nr, HapticsPreference as Nt, Lead as O, Tag$1 as Oa, WheelPicker as Oi, register as On, ActionMenu as Oo, ProfileSummary as Or, useVisitKey as Ot, SafeAreaBottomBar as P, Surface as Pa, MonthField as Pi, formatProfileAddress as Pn, VisuallyHidden as Po, ContactChannelCard as Pr, cancelHaptic as Pt, createRunEventConsumer as Q, ErrorState as Qa, fuzzyScore as Qi, listSubdivisions as Qn, describeCount as Qr, RouteProgress as Qt, EDGE_COMMIT as R, Separator$1 as Ra, FieldGrid as Ri, registerCountryProfile as Rn, useTheme as Ro, MarkdownView as Rr, DECORATIVE_MOTION_DEFAULT as Rt, FeatureShowcaseCard as S, useToast as Sa, buildLauncherTiles as Si, BrandMark as Sn, useAppFrame as So, TWEEN_BASE_MS as Sr, PlainAnchor as St, ShowcaseBackdrop as T, Text$1 as Ta, filterDestinations as Ti, BrandPanel as Tn, PageLoadingState as To, StatTile as Tr, useRouteAnchor as Tt, PullToRefresh as U, Popover$1 as Ua, InlineRow as Ui, defaultRegionThemeRegistry as Un, COPY_CONFIRMATION_MS as Ur, motionPresets as Ut, PULL_MAX as V, ProofBadge as Va, FormSection as Vi, RegionThemeProvider as Vn, useReducedMotion as Vo, GroupedDisclosureList as Vr, ease as Vt, usePullToRefresh as W, Pagination as Wa, FormActions as Wi, getCountryView as Wn, CopyIdentifier as Wr, prefersReducedMotion as Wt, ProblemError as X, Heading$3 as Xa, ThemePaletteTrigger as Xi, getSubdivision as Xn, useNotificationCenter as Xr, SkeletonBlock as Xt, KNOWN_RUN_EVENT_TYPES as Y, InlineNotice as Ya, ThemePalette as Yi, getMacroRegions as Yn, relativeNoticeTime as Yr, UpgradeGate as Yt, codeOf as Z, Subheading as Za, ThemeSwatch as Zi, isKnownSubdivision as Zn, CountBadge as Zr, skeletonFill as Zt, FeatureTileGrid as _, StateSwitch as _a, CommandPalette as _i, defaultLoaderPreset as _n, useFieldControl as _o, phaseOf as _r, createFormatter as _t, shares as a, ChoiceCard as aa, ToolbarTrigger as ai, ThirdPartyMarkGlyph as an, Checkbox$1 as ao, RegionMap as ar, DEFAULT_PLACEHOLDER as at, RuledGridCell as b, ToastProvider as ba, buildFloatingActions as bi, useLoaderPreset as bn, AppFrame as bo, validateReport as br, useLocale$1 as bt, EVIDENCE_WIDTH as c, FilterTileGrid as ca, SettingsDialog as ci, defaultProviderRules as cn, ListboxSelect as co, isToneName as cr, formatMoney as ct, RailContextButton as d, SearchBar as da, LongPressMenu as di, EnvironmentBanner as dn, FieldHint as do, toneNames as dr, listCountries as dt, FlagSetPicker as ea, SummaryRow as ei, slugForHeading as en, DRAWER_DRAG_VELOCITY as eo, unregisterRegionTheme as er, isApiError as et, RailNavItem as f, FilterChips as fa, FloatingActionButton as fi, ConsentBanner as fn, FieldLabel as fo, LiveReportView as fr, registerCountry as ft, FeatureTile as g, OneTimeCodeField as ga, CompactConfirm as gi, createLoaderPresets as gn, useField as go, mergeReport as gr, I18nAdapterProvider as gt, relativePhrase as h, evaluatePassword as ha, useConfirm as hi, LoaderPresetProvider as hn, useAppearedAfterMount as ho, isTerminal as hr, useEntityListLoader as ht, PhaseBar as i, ChoiceTile as ia, WizardPage as ii, ProviderMark as in, EmptyState as io, validateRegionThemeEntry as ir, statusOf as it, entranceSchedule as j, Tabs$1 as ja, formatTimeOfDay as ji, deriveGeometry as jn, buttonVariants as jo, DeltaIndicator as jr, canAnimateChanges as jt, ShowcaseHeading as k, TagList$1 as ka, WheelPickerGroup as ki, brazilRegionTheme as kn, clampToViewport as ko, MetricTile as kr, CHANGE_STYLE_ATTRIBUTE as kt, EvidencePanel as l, FilterTileGroupHeading as la, SectionedModal as li, resolveProvider as ln, Field as lo, resolveTint as lr, formatPercent as lt, ActivityFeed as m, defaultPasswordPolicy as ma, ConfirmProvider as mi, BrandLoader as mn, Fieldset as mo, initialRunView as mr, useFormatters as mt, StageStrip as n, chipIdFromText as na, ListPanelRow as ni, FederatedSignIn as nn, DateRangeField as no, RegionThemeError as nr, nodeStatusFromContract as nt, ACTION_BAR_SHORTCUT as o, ChoiceCardGroup as oa, StepList as oi, ThirdPartyMarkSlot as on, CheckboxGroup$1 as oo, useRegionMapState as or, formatAddress as ot, RailNavSection as p, PasswordStrength as pa, DetailsPopover as pi, DEFAULT_CONSENT_KEY as pn, FieldStack as po, useRunEventStream as pr, toneForStatus as pt, ApiError as q, NativeSelect as qa, CategoryLabel as qi, getIdentityTone as qn, NotificationCenter as qr, ProductMark as qt, ResizableSplit as r, ChoiceGrid as ra, SectionPanel as ri, MarkRegistryProvider as rn, DataTable as ro, SUBDIVISION_KINDS as rr, runStatusFromContract as rt, FloatingActionBar as s, FilterTile as sa, PreferenceGroup as si, createMarkRegistry as sn, Calendar$1 as so, checkToneUsage as sr, formatDateTime as st, StatStrip as t, ChipGroup as ta, ListPanel as ti, HttpErrorPage as tn, Drawer as to, useRegionThemeRegistry as tr, isKnownRunEvent as tt, AttentionList as u, FilterField as ua, PageDots as ui, stripRoutingPrefix as un, FieldError$1 as uo, tintStyle as ur, getCountry as ut, HighlightStat as v, ThemeSwitcher as va, AppNavigation as vi, loaderToneColour as vn, Breadcrumbs as vo, reduceRunEvent as vr, createI18nValue as vt, AccentBand as w, Strong as wa, NavigationFlyout as wi, AuthFrame as wn, focusSkipTarget as wo, TickerCard as wr, useCurrentPath as wt, RuledGridRow as x, toastDurations as xa, buildFlyoutDestinations as xi, BrandLogo as xn, FrameNavLabel as xo, Chart as xr, useTranslations as xt, RuledGrid as y, Tooltip$1 as ya, activeEntryId as yi, loaderToneNames as yn, Link$1 as yo, ReportView as yr, useFormatter as yt, EDGE_ZONE as z, SegmentedControl as za, FieldGridItem as zi, unregisterCountryProfile as zn, breakpoints as zo, RecoveryCodeList as zr, DecorativeMotion as zt };
|
|
20939
21130
|
|
|
20940
|
-
//# sourceMappingURL=src-
|
|
21131
|
+
//# sourceMappingURL=src-uCyIE-Te.js.map
|