@stisocial/ui 0.1.0 → 0.2.1
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/CHANGELOG.md +32 -0
- package/README.md +25 -0
- package/dist/agency/FacebookPostPreview/FacebookPostPreview.css +73 -0
- package/dist/agency/FacebookPostPreview/FacebookPostPreview.d.ts +27 -0
- package/dist/agency/FacebookPostPreview/FacebookPostPreview.js +80 -0
- package/dist/agency/FacebookPostPreview/FacebookPostPreview.module.js +15 -0
- package/dist/agency/FacebookPostPreview/index.d.ts +2 -0
- package/dist/agency/InstagramPostPreview/InstagramPostPreview.css +84 -0
- package/dist/agency/InstagramPostPreview/InstagramPostPreview.d.ts +23 -0
- package/dist/agency/InstagramPostPreview/InstagramPostPreview.js +80 -0
- package/dist/agency/InstagramPostPreview/InstagramPostPreview.module.js +17 -0
- package/dist/agency/InstagramPostPreview/index.d.ts +2 -0
- package/dist/agency/InstagramReelPreview/InstagramReelPreview.css +84 -0
- package/dist/agency/InstagramReelPreview/InstagramReelPreview.d.ts +24 -0
- package/dist/agency/InstagramReelPreview/InstagramReelPreview.js +88 -0
- package/dist/agency/InstagramReelPreview/InstagramReelPreview.module.js +13 -0
- package/dist/agency/InstagramReelPreview/index.d.ts +2 -0
- package/dist/agency/InstagramStoryPreview/InstagramStoryPreview.css +105 -0
- package/dist/agency/InstagramStoryPreview/InstagramStoryPreview.d.ts +23 -0
- package/dist/agency/InstagramStoryPreview/InstagramStoryPreview.js +59 -0
- package/dist/agency/InstagramStoryPreview/InstagramStoryPreview.module.js +14 -0
- package/dist/agency/InstagramStoryPreview/index.d.ts +2 -0
- package/dist/agency/LinkedInPostPreview/LinkedInPostPreview.css +83 -0
- package/dist/agency/LinkedInPostPreview/LinkedInPostPreview.d.ts +30 -0
- package/dist/agency/LinkedInPostPreview/LinkedInPostPreview.js +99 -0
- package/dist/agency/LinkedInPostPreview/LinkedInPostPreview.module.js +16 -0
- package/dist/agency/LinkedInPostPreview/index.d.ts +2 -0
- package/dist/agency/PinterestPinPreview/PinterestPinPreview.css +96 -0
- package/dist/agency/PinterestPinPreview/PinterestPinPreview.d.ts +23 -0
- package/dist/agency/PinterestPinPreview/PinterestPinPreview.js +57 -0
- package/dist/agency/PinterestPinPreview/PinterestPinPreview.module.js +15 -0
- package/dist/agency/PinterestPinPreview/index.d.ts +2 -0
- package/dist/agency/ThreadsPostPreview/ThreadsPostPreview.css +101 -0
- package/dist/agency/ThreadsPostPreview/ThreadsPostPreview.d.ts +19 -0
- package/dist/agency/ThreadsPostPreview/ThreadsPostPreview.js +82 -0
- package/dist/agency/ThreadsPostPreview/ThreadsPostPreview.module.js +17 -0
- package/dist/agency/ThreadsPostPreview/index.d.ts +2 -0
- package/dist/agency/TikTokPreview/TikTokPreview.css +84 -0
- package/dist/agency/TikTokPreview/TikTokPreview.d.ts +25 -0
- package/dist/agency/TikTokPreview/TikTokPreview.js +95 -0
- package/dist/agency/TikTokPreview/TikTokPreview.module.js +13 -0
- package/dist/agency/TikTokPreview/index.d.ts +2 -0
- package/dist/agency/XPostPreview/XPostPreview.css +89 -0
- package/dist/agency/XPostPreview/XPostPreview.d.ts +20 -0
- package/dist/agency/XPostPreview/XPostPreview.js +91 -0
- package/dist/agency/XPostPreview/XPostPreview.module.js +16 -0
- package/dist/agency/XPostPreview/index.d.ts +2 -0
- package/dist/agency/YouTubeThumbnailPreview/YouTubeThumbnailPreview.css +55 -0
- package/dist/agency/YouTubeThumbnailPreview/YouTubeThumbnailPreview.d.ts +20 -0
- package/dist/agency/YouTubeThumbnailPreview/YouTubeThumbnailPreview.js +49 -0
- package/dist/agency/YouTubeThumbnailPreview/YouTubeThumbnailPreview.module.js +13 -0
- package/dist/agency/YouTubeThumbnailPreview/index.d.ts +2 -0
- package/dist/agency/_shared/Preview.css +226 -0
- package/dist/agency/_shared/Preview.d.ts +27 -0
- package/dist/agency/_shared/Preview.js +117 -0
- package/dist/agency/_shared/Preview.module.js +21 -0
- package/dist/agency/_shared/platforms.d.ts +24 -0
- package/dist/agency/_shared/platforms.js +109 -0
- package/dist/agency/index.d.ts +23 -0
- package/dist/agency/index.js +12 -0
- package/dist/ai/AiDisclosure/AiDisclosure.css +99 -0
- package/dist/ai/AiDisclosure/AiDisclosure.d.ts +28 -0
- package/dist/ai/AiDisclosure/AiDisclosure.js +52 -0
- package/dist/ai/AiDisclosure/AiDisclosure.module.js +10 -0
- package/dist/ai/AiDisclosure/index.d.ts +2 -0
- package/dist/ai/AttachmentChip/AttachmentChip.css +144 -0
- package/dist/ai/AttachmentChip/AttachmentChip.d.ts +40 -0
- package/dist/ai/AttachmentChip/AttachmentChip.js +140 -0
- package/dist/ai/AttachmentChip/AttachmentChip.module.js +13 -0
- package/dist/ai/AttachmentChip/index.d.ts +2 -0
- package/dist/ai/ChatThread/ChatThread.css +66 -0
- package/dist/ai/ChatThread/ChatThread.d.ts +20 -0
- package/dist/ai/ChatThread/ChatThread.js +87 -0
- package/dist/ai/ChatThread/ChatThread.module.js +10 -0
- package/dist/ai/ChatThread/ChatThreadMessage.css +80 -0
- package/dist/ai/ChatThread/ChatThreadMessage.d.ts +23 -0
- package/dist/ai/ChatThread/ChatThreadMessage.js +41 -0
- package/dist/ai/ChatThread/ChatThreadMessage.module.js +10 -0
- package/dist/ai/ChatThread/index.d.ts +3 -0
- package/dist/ai/ConversationList/ConversationList.css +175 -0
- package/dist/ai/ConversationList/ConversationList.d.ts +33 -0
- package/dist/ai/ConversationList/ConversationList.js +133 -0
- package/dist/ai/ConversationList/ConversationList.module.js +18 -0
- package/dist/ai/ConversationList/groups.d.ts +23 -0
- package/dist/ai/ConversationList/groups.js +47 -0
- package/dist/ai/MessageActions/MessageActions.css +9 -0
- package/dist/ai/MessageActions/MessageActions.d.ts +33 -0
- package/dist/ai/MessageActions/MessageActions.js +89 -0
- package/dist/ai/MessageActions/MessageActions.module.js +4 -0
- package/dist/ai/MessageActions/index.d.ts +2 -0
- package/dist/ai/ModelSelect/ModelSelect.css +7 -0
- package/dist/ai/ModelSelect/ModelSelect.d.ts +38 -0
- package/dist/ai/ModelSelect/ModelSelect.js +41 -0
- package/dist/ai/ModelSelect/ModelSelect.module.js +4 -0
- package/dist/ai/ModelSelect/index.d.ts +2 -0
- package/dist/ai/PromptInput/PromptInput.css +176 -0
- package/dist/ai/PromptInput/PromptInput.d.ts +54 -0
- package/dist/ai/PromptInput/PromptInput.js +199 -0
- package/dist/ai/PromptInput/PromptInput.module.js +15 -0
- package/dist/ai/PromptInput/index.d.ts +2 -0
- package/dist/ai/SourceList/SourceList.css +226 -0
- package/dist/ai/SourceList/SourceList.d.ts +36 -0
- package/dist/ai/SourceList/SourceList.js +102 -0
- package/dist/ai/SourceList/SourceList.module.js +17 -0
- package/dist/ai/StreamingText/StreamingText.css +69 -0
- package/dist/ai/StreamingText/StreamingText.d.ts +33 -0
- package/dist/ai/StreamingText/StreamingText.js +98 -0
- package/dist/ai/StreamingText/StreamingText.module.js +9 -0
- package/dist/ai/SuggestedPrompts/SuggestedPrompts.css +198 -0
- package/dist/ai/SuggestedPrompts/SuggestedPrompts.d.ts +35 -0
- package/dist/ai/SuggestedPrompts/SuggestedPrompts.js +54 -0
- package/dist/ai/SuggestedPrompts/SuggestedPrompts.module.js +14 -0
- package/dist/ai/SuggestedPrompts/index.d.ts +2 -0
- package/dist/ai/ThinkingIndicator/ThinkingIndicator.css +83 -0
- package/dist/ai/ThinkingIndicator/ThinkingIndicator.d.ts +16 -0
- package/dist/ai/ThinkingIndicator/ThinkingIndicator.js +47 -0
- package/dist/ai/ThinkingIndicator/ThinkingIndicator.module.js +10 -0
- package/dist/ai/ToolCallCard/ToolCallCard.css +249 -0
- package/dist/ai/ToolCallCard/ToolCallCard.d.ts +39 -0
- package/dist/ai/ToolCallCard/ToolCallCard.js +157 -0
- package/dist/ai/ToolCallCard/ToolCallCard.module.js +22 -0
- package/dist/ai/ToolCallCard/index.d.ts +2 -0
- package/dist/ai/_internal/glyphs.js +45 -0
- package/dist/ai/index.d.ts +23 -0
- package/dist/ai/index.js +15 -0
- package/dist/charts/AreaChart/AreaChart.css +9 -0
- package/dist/charts/AreaChart/AreaChart.d.ts +13 -0
- package/dist/charts/AreaChart/AreaChart.js +19 -0
- package/dist/charts/AreaChart/AreaChart.module.js +4 -0
- package/dist/charts/AreaChart/index.d.ts +2 -0
- package/dist/charts/BarChart/BarChart.css +9 -0
- package/dist/charts/BarChart/BarChart.d.ts +17 -0
- package/dist/charts/BarChart/BarChart.js +21 -0
- package/dist/charts/BarChart/BarChart.module.js +4 -0
- package/dist/charts/BarChart/index.d.ts +2 -0
- package/dist/charts/ChartLegend/ChartLegend.css +110 -0
- package/dist/charts/ChartLegend/ChartLegend.d.ts +36 -0
- package/dist/charts/ChartLegend/ChartLegend.js +55 -0
- package/dist/charts/ChartLegend/ChartLegend.module.js +11 -0
- package/dist/charts/ChartLegend/index.d.ts +2 -0
- package/dist/charts/ChartTable/ChartTable.css +109 -0
- package/dist/charts/ChartTable/ChartTable.d.ts +43 -0
- package/dist/charts/ChartTable/ChartTable.js +60 -0
- package/dist/charts/ChartTable/ChartTable.module.js +12 -0
- package/dist/charts/ChartTable/index.d.ts +2 -0
- package/dist/charts/ChartTooltip/ChartTooltip.css +77 -0
- package/dist/charts/ChartTooltip/ChartTooltip.d.ts +29 -0
- package/dist/charts/ChartTooltip/ChartTooltip.js +48 -0
- package/dist/charts/ChartTooltip/ChartTooltip.module.js +12 -0
- package/dist/charts/ChartTooltip/index.d.ts +2 -0
- package/dist/charts/ComboChart/ComboChart.css +9 -0
- package/dist/charts/ComboChart/ComboChart.d.ts +21 -0
- package/dist/charts/ComboChart/ComboChart.js +19 -0
- package/dist/charts/ComboChart/ComboChart.module.js +4 -0
- package/dist/charts/ComboChart/index.d.ts +3 -0
- package/dist/charts/LineChart/LineChart.css +9 -0
- package/dist/charts/LineChart/LineChart.d.ts +13 -0
- package/dist/charts/LineChart/LineChart.js +19 -0
- package/dist/charts/LineChart/LineChart.module.js +4 -0
- package/dist/charts/LineChart/index.d.ts +2 -0
- package/dist/charts/StackedBarChart/StackedBarChart.css +9 -0
- package/dist/charts/StackedBarChart/StackedBarChart.d.ts +17 -0
- package/dist/charts/StackedBarChart/StackedBarChart.js +21 -0
- package/dist/charts/StackedBarChart/StackedBarChart.module.js +4 -0
- package/dist/charts/StackedBarChart/index.d.ts +2 -0
- package/dist/charts/_internal/Bars.d.ts +31 -0
- package/dist/charts/_internal/Bars.js +295 -0
- package/dist/charts/_internal/LineArea.d.ts +32 -0
- package/dist/charts/_internal/LineArea.js +150 -0
- package/dist/charts/_internal/category.d.ts +19 -0
- package/dist/charts/_internal/category.js +139 -0
- package/dist/charts/_internal/format.d.ts +14 -0
- package/dist/charts/_internal/format.js +41 -0
- package/dist/charts/_internal/frame/ChartFrame.css +113 -0
- package/dist/charts/_internal/frame/ChartFrame.d.ts +3 -0
- package/dist/charts/_internal/frame/ChartFrame.js +217 -0
- package/dist/charts/_internal/frame/ChartFrame.module.js +17 -0
- package/dist/charts/_internal/marks/marks.css +195 -0
- package/dist/charts/_internal/marks/marks.js +192 -0
- package/dist/charts/_internal/marks/marks.module.js +12 -0
- package/dist/charts/_internal/math.js +107 -0
- package/dist/charts/_internal/shapes.d.ts +1 -0
- package/dist/charts/_internal/shapes.js +127 -0
- package/dist/charts/index.d.ts +20 -0
- package/dist/charts/index.js +9 -0
- package/dist/commerce/AddToCartButton/AddToCartButton.css +54 -0
- package/dist/commerce/AddToCartButton/AddToCartButton.d.ts +42 -0
- package/dist/commerce/AddToCartButton/AddToCartButton.js +94 -0
- package/dist/commerce/AddToCartButton/AddToCartButton.module.js +10 -0
- package/dist/commerce/AddToCartButton/index.d.ts +2 -0
- package/dist/commerce/PriceDisplay/PriceDisplay.css +77 -0
- package/dist/commerce/PriceDisplay/PriceDisplay.d.ts +35 -0
- package/dist/commerce/PriceDisplay/PriceDisplay.js +60 -0
- package/dist/commerce/PriceDisplay/PriceDisplay.module.js +10 -0
- package/dist/commerce/QuantityStepper/QuantityStepper.css +108 -0
- package/dist/commerce/QuantityStepper/QuantityStepper.d.ts +32 -0
- package/dist/commerce/QuantityStepper/QuantityStepper.js +86 -0
- package/dist/commerce/QuantityStepper/QuantityStepper.module.js +9 -0
- package/dist/commerce/QuantityStepper/index.d.ts +2 -0
- package/dist/commerce/StockBadge/StockBadge.d.ts +31 -0
- package/dist/commerce/StockBadge/StockBadge.js +47 -0
- package/dist/commerce/StockBadge/index.d.ts +2 -0
- package/dist/commerce/VariantSelector/VariantSelector.css +202 -0
- package/dist/commerce/VariantSelector/VariantSelector.d.ts +44 -0
- package/dist/commerce/VariantSelector/VariantSelector.js +77 -0
- package/dist/commerce/VariantSelector/VariantSelector.module.js +13 -0
- package/dist/commerce/VariantSelector/index.d.ts +2 -0
- package/dist/commerce/index.d.ts +10 -0
- package/dist/commerce/index.js +6 -0
- package/dist/components/Accordion/Accordion.css +176 -0
- package/dist/components/Accordion/Accordion.d.ts +40 -0
- package/dist/components/Accordion/Accordion.js +90 -0
- package/dist/components/Accordion/Accordion.module.js +17 -0
- package/dist/components/Accordion/index.d.ts +2 -0
- package/dist/components/ColorPicker/ColorPicker.js +1 -1
- package/dist/components/Combobox/Combobox.js +1 -1
- package/dist/components/Disclosure/Disclosure.css +162 -0
- package/dist/components/Disclosure/Disclosure.d.ts +32 -0
- package/dist/components/Disclosure/Disclosure.js +60 -0
- package/dist/components/Disclosure/Disclosure.module.js +15 -0
- package/dist/components/Disclosure/index.d.ts +2 -0
- package/dist/components/DocumentLayout/DocumentLayout.css +202 -0
- package/dist/components/DocumentLayout/DocumentLayout.d.ts +33 -0
- package/dist/components/DocumentLayout/DocumentLayout.js +69 -0
- package/dist/components/DocumentLayout/DocumentLayout.module.js +20 -0
- package/dist/components/DocumentLayout/index.d.ts +2 -0
- package/dist/components/DocumentTable/DocumentTable.css +149 -0
- package/dist/components/DocumentTable/DocumentTable.d.ts +40 -0
- package/dist/components/DocumentTable/DocumentTable.js +67 -0
- package/dist/components/DocumentTable/DocumentTable.module.js +12 -0
- package/dist/components/DocumentTable/index.d.ts +2 -0
- package/dist/components/ErrorPage/ErrorPage.css +181 -0
- package/dist/components/ErrorPage/ErrorPage.d.ts +44 -0
- package/dist/components/ErrorPage/ErrorPage.js +145 -0
- package/dist/components/ErrorPage/ErrorPage.module.js +17 -0
- package/dist/components/ErrorPage/index.d.ts +2 -0
- package/dist/components/FeedbackWidget/FeedbackWidget.css +59 -0
- package/dist/components/FeedbackWidget/FeedbackWidget.d.ts +47 -0
- package/dist/components/FeedbackWidget/FeedbackWidget.js +198 -0
- package/dist/components/FeedbackWidget/FeedbackWidget.module.js +11 -0
- package/dist/components/FeedbackWidget/index.d.ts +2 -0
- package/dist/components/Figure/Figure.css +64 -0
- package/dist/components/Figure/Figure.d.ts +24 -0
- package/dist/components/Figure/Figure.js +38 -0
- package/dist/components/Figure/Figure.module.js +10 -0
- package/dist/components/Figure/index.d.ts +2 -0
- package/dist/components/FileList/FileList.css +160 -0
- package/dist/components/FileList/FileList.d.ts +45 -0
- package/dist/components/FileList/FileList.js +146 -0
- package/dist/components/FileList/FileList.module.js +15 -0
- package/dist/components/FileList/index.d.ts +2 -0
- package/dist/components/FilterPanel/FilterPanel.js +1 -1
- package/dist/components/IconPicker/IconPicker.js +1 -1
- package/dist/components/LinkRows/LinkRows.css +135 -0
- package/dist/components/LinkRows/LinkRows.d.ts +32 -0
- package/dist/components/LinkRows/LinkRows.js +62 -0
- package/dist/components/LinkRows/LinkRows.module.js +15 -0
- package/dist/components/LinkRows/index.d.ts +2 -0
- package/dist/components/NotificationCenter/NotificationCenter.js +1 -1
- package/dist/components/OnboardingChecklist/OnboardingChecklist.js +1 -1
- package/dist/components/PageNumber/PageNumber.css +21 -0
- package/dist/components/PageNumber/PageNumber.d.ts +23 -0
- package/dist/components/PageNumber/PageNumber.js +33 -0
- package/dist/components/PageNumber/PageNumber.module.js +4 -0
- package/dist/components/PaymentInfo/PaymentInfo.css +116 -0
- package/dist/components/PaymentInfo/PaymentInfo.d.ts +41 -0
- package/dist/components/PaymentInfo/PaymentInfo.js +115 -0
- package/dist/components/PaymentInfo/PaymentInfo.module.js +15 -0
- package/dist/components/PaymentInfo/index.d.ts +2 -0
- package/dist/components/PersonItem/PersonItem.css +112 -0
- package/dist/components/PersonItem/PersonItem.d.ts +31 -0
- package/dist/components/PersonItem/PersonItem.js +54 -0
- package/dist/components/PersonItem/PersonItem.module.js +11 -0
- package/dist/components/PersonItem/index.d.ts +2 -0
- package/dist/components/PhoneField/PhoneField.js +1 -1
- package/dist/components/ReadMore/ReadMore.js +1 -1
- package/dist/components/SideNav/SideNav.js +1 -1
- package/dist/components/SignaturePad/SignaturePad.js +1 -1
- package/dist/components/SplitButton/SplitButton.js +1 -1
- package/dist/components/Table/Table.css +150 -0
- package/dist/components/Table/Table.d.ts +54 -0
- package/dist/components/Table/Table.js +75 -0
- package/dist/components/Table/Table.module.js +14 -0
- package/dist/components/Table/index.d.ts +2 -0
- package/dist/components/ThemeSwitch/ThemeSwitch.js +1 -1
- package/dist/components/TimeSlotPicker/TimeSlotPicker.d.ts +1 -11
- package/dist/components/TimeSlotPicker/TimeSlotPicker.js +2 -24
- package/dist/components/TimeSlotPicker/index.d.ts +3 -2
- package/dist/components/TimeSlotPicker/timeSlots.d.ts +12 -0
- package/dist/components/TimeSlotPicker/timeSlots.js +25 -0
- package/dist/components/TotalsBlock/TotalsBlock.css +86 -0
- package/dist/components/TotalsBlock/TotalsBlock.d.ts +32 -0
- package/dist/components/TotalsBlock/TotalsBlock.js +88 -0
- package/dist/components/TotalsBlock/TotalsBlock.module.js +10 -0
- package/dist/components/TotalsBlock/index.d.ts +3 -0
- package/dist/components/TotalsBlock/totals.d.ts +28 -0
- package/dist/components/TotalsBlock/totals.js +38 -0
- package/dist/components/TrashView/TrashView.css +166 -0
- package/dist/components/TrashView/TrashView.d.ts +49 -0
- package/dist/components/TrashView/TrashView.js +244 -0
- package/dist/components/TrashView/TrashView.module.js +22 -0
- package/dist/components/TrashView/index.d.ts +2 -0
- package/dist/components/TreeSelect/TreeSelect.js +1 -1
- package/dist/components/UploadQueue/UploadQueue.js +1 -1
- package/dist/components/Watermark/Watermark.css +51 -0
- package/dist/components/Watermark/Watermark.d.ts +23 -0
- package/dist/components/Watermark/Watermark.js +54 -0
- package/dist/components/Watermark/Watermark.module.js +8 -0
- package/dist/components/WhatsNew/WhatsNew.css +196 -0
- package/dist/components/WhatsNew/WhatsNew.d.ts +57 -0
- package/dist/components/WhatsNew/WhatsNew.js +191 -0
- package/dist/components/WhatsNew/WhatsNew.module.js +27 -0
- package/dist/components/WhatsNew/index.d.ts +2 -0
- package/dist/components/_document/text.js +14 -0
- package/dist/components/_document/types.d.ts +36 -0
- package/dist/components/_document/types.js +8 -0
- package/dist/components/_internal/listbox/SelectShell.js +1 -1
- package/dist/document/index.d.ts +13 -0
- package/dist/document/index.js +9 -0
- package/dist/editor/CodeEditor/CodeEditor.css +312 -0
- package/dist/editor/CodeEditor/CodeEditor.d.ts +66 -0
- package/dist/editor/CodeEditor/CodeEditor.js +256 -0
- package/dist/editor/CodeEditor/CodeEditor.module.js +32 -0
- package/dist/editor/CodeEditor/codeEdits.d.ts +1 -0
- package/dist/editor/CodeEditor/codeEdits.js +284 -0
- package/dist/editor/CodeEditor/highlight.js +195 -0
- package/dist/editor/CodeEditor/index.d.ts +3 -0
- package/dist/editor/JsonEditor/JsonEditor.css +10 -0
- package/dist/editor/JsonEditor/JsonEditor.d.ts +43 -0
- package/dist/editor/JsonEditor/JsonEditor.js +133 -0
- package/dist/editor/JsonEditor/JsonEditor.module.js +4 -0
- package/dist/editor/JsonEditor/index.d.ts +3 -0
- package/dist/editor/JsonEditor/json.d.ts +44 -0
- package/dist/editor/JsonEditor/json.js +246 -0
- package/dist/editor/MarkdownEditor/MarkdownEditor.css +173 -0
- package/dist/editor/MarkdownEditor/MarkdownEditor.d.ts +47 -0
- package/dist/editor/MarkdownEditor/MarkdownEditor.js +371 -0
- package/dist/editor/MarkdownEditor/MarkdownEditor.module.js +18 -0
- package/dist/editor/MarkdownEditor/commands.js +198 -0
- package/dist/editor/MarkdownEditor/index.d.ts +2 -0
- package/dist/editor/_shared/FormatIcons.js +138 -0
- package/dist/editor/_shared/textEdit.js +76 -0
- package/dist/editor/index.d.ts +9 -0
- package/dist/editor/index.js +5 -0
- package/dist/email/EmailButton/EmailButton.d.ts +22 -0
- package/dist/email/EmailButton/EmailButton.js +102 -0
- package/dist/email/EmailButton/index.d.ts +2 -0
- package/dist/email/EmailCallout/EmailCallout.d.ts +14 -0
- package/dist/email/EmailCallout/EmailCallout.js +42 -0
- package/dist/email/EmailCallout/index.d.ts +2 -0
- package/dist/email/EmailCode/EmailCode.d.ts +15 -0
- package/dist/email/EmailCode/EmailCode.js +58 -0
- package/dist/email/EmailCode/index.d.ts +2 -0
- package/dist/email/EmailColumns/EmailColumns.d.ts +18 -0
- package/dist/email/EmailColumns/EmailColumns.js +49 -0
- package/dist/email/EmailColumns/index.d.ts +2 -0
- package/dist/email/EmailDivider/EmailDivider.d.ts +7 -0
- package/dist/email/EmailDivider/EmailDivider.js +24 -0
- package/dist/email/EmailDivider/index.d.ts +2 -0
- package/dist/email/EmailFooter/EmailFooter.d.ts +30 -0
- package/dist/email/EmailFooter/EmailFooter.js +64 -0
- package/dist/email/EmailFooter/index.d.ts +2 -0
- package/dist/email/EmailHeader/EmailHeader.d.ts +23 -0
- package/dist/email/EmailHeader/EmailHeader.js +75 -0
- package/dist/email/EmailHeader/index.d.ts +2 -0
- package/dist/email/EmailHeading/EmailHeading.d.ts +11 -0
- package/dist/email/EmailHeading/EmailHeading.js +43 -0
- package/dist/email/EmailHeading/index.d.ts +2 -0
- package/dist/email/EmailImage/EmailImage.d.ts +25 -0
- package/dist/email/EmailImage/EmailImage.js +53 -0
- package/dist/email/EmailImage/index.d.ts +2 -0
- package/dist/email/EmailLayout/EmailLayout.d.ts +30 -0
- package/dist/email/EmailLayout/EmailLayout.js +79 -0
- package/dist/email/EmailLayout/emailDocument.d.ts +16 -0
- package/dist/email/EmailLayout/emailDocument.js +36 -0
- package/dist/email/EmailLayout/index.d.ts +3 -0
- package/dist/email/EmailList/EmailList.d.ts +10 -0
- package/dist/email/EmailList/EmailList.js +28 -0
- package/dist/email/EmailList/index.d.ts +2 -0
- package/dist/email/EmailPreheader/EmailPreheader.d.ts +14 -0
- package/dist/email/EmailPreheader/EmailPreheader.js +30 -0
- package/dist/email/EmailPreheader/index.d.ts +2 -0
- package/dist/email/EmailProductRow/EmailProductRow.d.ts +23 -0
- package/dist/email/EmailProductRow/EmailProductRow.js +112 -0
- package/dist/email/EmailProductRow/index.d.ts +2 -0
- package/dist/email/EmailSocialLinks/EmailSocialLinks.d.ts +19 -0
- package/dist/email/EmailSocialLinks/EmailSocialLinks.js +53 -0
- package/dist/email/EmailSocialLinks/index.d.ts +2 -0
- package/dist/email/EmailStats/EmailStats.d.ts +23 -0
- package/dist/email/EmailStats/EmailStats.js +86 -0
- package/dist/email/EmailStats/index.d.ts +2 -0
- package/dist/email/EmailTable/EmailTable.d.ts +24 -0
- package/dist/email/EmailTable/EmailTable.js +90 -0
- package/dist/email/EmailTable/index.d.ts +2 -0
- package/dist/email/EmailText/EmailText.d.ts +13 -0
- package/dist/email/EmailText/EmailText.js +35 -0
- package/dist/email/EmailText/index.d.ts +2 -0
- package/dist/email/_shared/theme.d.ts +8 -0
- package/dist/email/_shared/theme.js +90 -0
- package/dist/email/index.d.ts +36 -0
- package/dist/email/index.js +19 -0
- package/dist/icons/generated/index.js +8 -8
- package/dist/icons/index.js +8 -8
- package/dist/id/AccountMenu/AccountMenu.css +194 -0
- package/dist/id/AccountMenu/AccountMenu.d.ts +73 -0
- package/dist/id/AccountMenu/AccountMenu.js +171 -0
- package/dist/id/AccountMenu/AccountMenu.module.js +21 -0
- package/dist/id/AccountMenu/index.d.ts +2 -0
- package/dist/id/AppSwitcher/AppSwitcher.css +231 -0
- package/dist/id/AppSwitcher/AppSwitcher.d.ts +56 -0
- package/dist/id/AppSwitcher/AppSwitcher.js +141 -0
- package/dist/id/AppSwitcher/AppSwitcher.module.js +17 -0
- package/dist/id/AppSwitcher/index.d.ts +2 -0
- package/dist/id/OrgSwitcher/OrgSwitcher.css +222 -0
- package/dist/id/OrgSwitcher/OrgSwitcher.d.ts +62 -0
- package/dist/id/OrgSwitcher/OrgSwitcher.js +189 -0
- package/dist/id/OrgSwitcher/OrgSwitcher.module.js +16 -0
- package/dist/id/OrgSwitcher/index.d.ts +2 -0
- package/dist/id/PermissionGate/PermissionGate.css +68 -0
- package/dist/id/PermissionGate/PermissionGate.d.ts +32 -0
- package/dist/id/PermissionGate/PermissionGate.js +58 -0
- package/dist/id/PermissionGate/PermissionGate.module.js +11 -0
- package/dist/id/PermissionGate/index.d.ts +2 -0
- package/dist/id/SignInButton/SignInButton.css +179 -0
- package/dist/id/SignInButton/SignInButton.d.ts +29 -0
- package/dist/id/SignInButton/SignInButton.js +53 -0
- package/dist/id/SignInButton/SignInButton.module.js +10 -0
- package/dist/id/_internal/ActionItem/ActionItem.css +143 -0
- package/dist/id/_internal/ActionItem/ActionItem.js +68 -0
- package/dist/id/_internal/ActionItem/ActionItem.module.js +11 -0
- package/dist/id/_internal/StiMark/StiMark.css +28 -0
- package/dist/id/_internal/StiMark/StiMark.js +37 -0
- package/dist/id/_internal/StiMark/StiMark.module.js +8 -0
- package/dist/id/index.d.ts +10 -0
- package/dist/id/index.js +6 -0
- package/dist/index.d.ts +28 -5
- package/dist/index.js +16 -4
- package/dist/maps/DirectionsLink/DirectionsLink.css +10 -0
- package/dist/maps/DirectionsLink/DirectionsLink.d.ts +35 -0
- package/dist/maps/DirectionsLink/DirectionsLink.js +84 -0
- package/dist/maps/DirectionsLink/DirectionsLink.module.js +4 -0
- package/dist/maps/DirectionsLink/index.d.ts +2 -0
- package/dist/maps/LocationPicker/LocationPicker.css +60 -0
- package/dist/maps/LocationPicker/LocationPicker.d.ts +37 -0
- package/dist/maps/LocationPicker/LocationPicker.js +278 -0
- package/dist/maps/LocationPicker/LocationPicker.module.js +12 -0
- package/dist/maps/LocationPicker/index.d.ts +2 -0
- package/dist/maps/MapMarker/MapMarker.css +318 -0
- package/dist/maps/MapMarker/MapMarker.d.ts +35 -0
- package/dist/maps/MapMarker/MapMarker.js +142 -0
- package/dist/maps/MapMarker/MapMarker.module.js +20 -0
- package/dist/maps/MapMarker/index.d.ts +2 -0
- package/dist/maps/MapView/MapView.css +268 -0
- package/dist/maps/MapView/MapView.d.ts +71 -0
- package/dist/maps/MapView/MapView.js +495 -0
- package/dist/maps/MapView/MapView.module.js +23 -0
- package/dist/maps/MapView/index.d.ts +2 -0
- package/dist/maps/StoreLocator/StoreLocator.css +201 -0
- package/dist/maps/StoreLocator/StoreLocator.d.ts +43 -0
- package/dist/maps/StoreLocator/StoreLocator.js +225 -0
- package/dist/maps/StoreLocator/StoreLocator.module.js +21 -0
- package/dist/maps/StoreLocator/index.d.ts +2 -0
- package/dist/maps/TurkeyMap/TurkeyMap.css +229 -0
- package/dist/maps/TurkeyMap/TurkeyMap.d.ts +45 -0
- package/dist/maps/TurkeyMap/TurkeyMap.js +280 -0
- package/dist/maps/TurkeyMap/TurkeyMap.module.js +17 -0
- package/dist/maps/TurkeyMap/tileGrid.js +85 -0
- package/dist/maps/_internal/geo.d.ts +8 -0
- package/dist/maps/_internal/geo.js +116 -0
- package/dist/maps/_internal/mapContext.js +8 -0
- package/dist/maps/_internal/useControllable.js +24 -0
- package/dist/maps/index.d.ts +12 -0
- package/dist/maps/index.js +7 -0
- package/dist/media/AudioPlayer/AudioPlayer.css +106 -0
- package/dist/media/AudioPlayer/AudioPlayer.d.ts +38 -0
- package/dist/media/AudioPlayer/AudioPlayer.js +134 -0
- package/dist/media/AudioPlayer/AudioPlayer.module.js +16 -0
- package/dist/media/AudioPlayer/index.d.ts +2 -0
- package/dist/media/AudioWaveform/AudioWaveform.css +43 -0
- package/dist/media/AudioWaveform/AudioWaveform.d.ts +25 -0
- package/dist/media/AudioWaveform/AudioWaveform.js +101 -0
- package/dist/media/AudioWaveform/AudioWaveform.module.js +9 -0
- package/dist/media/AudioWaveform/peaks.d.ts +14 -0
- package/dist/media/AudioWaveform/peaks.js +54 -0
- package/dist/media/MediaCard/MediaCard.css +229 -0
- package/dist/media/MediaCard/MediaCard.d.ts +38 -0
- package/dist/media/MediaCard/MediaCard.js +120 -0
- package/dist/media/MediaCard/MediaCard.module.js +18 -0
- package/dist/media/MediaCard/index.d.ts +2 -0
- package/dist/media/VideoPlayer/VideoPlayer.css +125 -0
- package/dist/media/VideoPlayer/VideoPlayer.d.ts +54 -0
- package/dist/media/VideoPlayer/VideoPlayer.js +193 -0
- package/dist/media/VideoPlayer/VideoPlayer.module.js +12 -0
- package/dist/media/VideoThumbnail/VideoThumbnail.css +139 -0
- package/dist/media/VideoThumbnail/VideoThumbnail.d.ts +34 -0
- package/dist/media/VideoThumbnail/VideoThumbnail.js +63 -0
- package/dist/media/VideoThumbnail/VideoThumbnail.module.js +10 -0
- package/dist/media/VideoThumbnail/VideoThumbnailLink.js +18 -0
- package/dist/media/_internal/clock.js +17 -0
- package/dist/media/_internal/consent/ConsentNotice.css +55 -0
- package/dist/media/_internal/consent/ConsentNotice.js +40 -0
- package/dist/media/_internal/consent/ConsentNotice.module.js +10 -0
- package/dist/media/_internal/icons.js +77 -0
- package/dist/media/_internal/range/Range.css +187 -0
- package/dist/media/_internal/range/Range.js +130 -0
- package/dist/media/_internal/range/Range.module.js +10 -0
- package/dist/media/_internal/transport/MediaTransport.css +90 -0
- package/dist/media/_internal/transport/MediaTransport.js +172 -0
- package/dist/media/_internal/transport/MediaTransport.module.js +14 -0
- package/dist/media/_internal/url.js +31 -0
- package/dist/media/_internal/useConsent.js +28 -0
- package/dist/media/_internal/useMedia.js +146 -0
- package/dist/media/index.d.ts +9 -0
- package/dist/media/index.js +7 -0
- package/dist/messages/messages.d.ts +488 -0
- package/dist/messages/messages.js +978 -2
- package/dist/site/AnnouncementBar/AnnouncementBar.css +132 -0
- package/dist/site/AnnouncementBar/AnnouncementBar.d.ts +28 -0
- package/dist/site/AnnouncementBar/AnnouncementBar.js +64 -0
- package/dist/site/AnnouncementBar/AnnouncementBar.module.js +11 -0
- package/dist/site/AnnouncementBar/index.d.ts +2 -0
- package/dist/site/MegaMenu/MegaMenu.css +324 -0
- package/dist/site/MegaMenu/MegaMenu.d.ts +51 -0
- package/dist/site/MegaMenu/MegaMenu.js +170 -0
- package/dist/site/MegaMenu/MegaMenu.module.js +28 -0
- package/dist/site/MegaMenu/index.d.ts +2 -0
- package/dist/site/SiteFooter/SiteFooter.css +129 -0
- package/dist/site/SiteFooter/SiteFooter.d.ts +38 -0
- package/dist/site/SiteFooter/SiteFooter.js +79 -0
- package/dist/site/SiteFooter/SiteFooter.module.js +20 -0
- package/dist/site/SiteFooter/index.d.ts +2 -0
- package/dist/site/SiteHeader/SiteHeader.css +213 -0
- package/dist/site/SiteHeader/SiteHeader.d.ts +40 -0
- package/dist/site/SiteHeader/SiteHeader.js +115 -0
- package/dist/site/SiteHeader/SiteHeader.module.js +18 -0
- package/dist/site/SiteHeader/index.d.ts +2 -0
- package/dist/site/StickyCta/StickyCta.css +112 -0
- package/dist/site/StickyCta/StickyCta.d.ts +27 -0
- package/dist/site/StickyCta/StickyCta.js +69 -0
- package/dist/site/StickyCta/StickyCta.module.js +10 -0
- package/dist/site/StickyCta/index.d.ts +2 -0
- package/dist/site/index.d.ts +11 -0
- package/dist/site/index.js +6 -0
- package/dist/styles.css +24991 -14440
- package/dist/text/text.d.ts +5 -1
- package/dist/text/text.js +8 -2
- package/package.json +45 -1
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
@layer sti.reset, sti.tokens, sti.base, sti.components, sti.variants, sti.utilities;
|
|
2
|
+
@layer sti.components {
|
|
3
|
+
.sti-TurkeyMap-root-ade81 {
|
|
4
|
+
--sti-turkey-map-w: calc(var(--sti-space-16) * 7.5);
|
|
5
|
+
--sti-turkey-map-tile: var(--sti-bg-surface-hover);
|
|
6
|
+
--sti-turkey-map-stroke: var(--sti-border);
|
|
7
|
+
--sti-turkey-map-fg: var(--sti-fg);
|
|
8
|
+
gap: var(--sti-space-3);
|
|
9
|
+
inline-size: 100%;
|
|
10
|
+
max-inline-size: var(--sti-turkey-map-w);
|
|
11
|
+
min-width: 0;
|
|
12
|
+
font-family: var(--sti-font-text);
|
|
13
|
+
grid-template-columns: minmax(0, 1fr);
|
|
14
|
+
display: grid;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.sti-TurkeyMap-root-ade81[data-size="sm"] {
|
|
18
|
+
--sti-turkey-map-w: calc(var(--sti-space-16) * 5);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.sti-TurkeyMap-root-ade81[data-size="lg"] {
|
|
22
|
+
--sti-turkey-map-w: calc(var(--sti-space-16) * 11.25);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.sti-TurkeyMap-svg-d03ea {
|
|
26
|
+
-webkit-user-select: none;
|
|
27
|
+
user-select: none;
|
|
28
|
+
block-size: auto;
|
|
29
|
+
inline-size: 100%;
|
|
30
|
+
display: block;
|
|
31
|
+
overflow: visible;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.sti-TurkeyMap-tile-b5bda {
|
|
35
|
+
--sti-turkey-fill: var(--sti-turkey-map-tile);
|
|
36
|
+
--sti-turkey-text: var(--sti-turkey-map-fg);
|
|
37
|
+
--sti-turkey-stroke: var(--sti-turkey-map-stroke);
|
|
38
|
+
--sti-turkey-stroke-w: var(--sti-border-width);
|
|
39
|
+
-webkit-tap-highlight-color: transparent;
|
|
40
|
+
outline: none;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.sti-TurkeyMap-tile-b5bda[data-step="1"] {
|
|
44
|
+
--sti-turkey-fill: var(--sti-ref-accent-2);
|
|
45
|
+
--sti-turkey-text: var(--sti-ref-accent-12);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.sti-TurkeyMap-tile-b5bda[data-step="2"] {
|
|
49
|
+
--sti-turkey-fill: var(--sti-ref-accent-4);
|
|
50
|
+
--sti-turkey-text: var(--sti-ref-accent-12);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.sti-TurkeyMap-tile-b5bda[data-step="3"] {
|
|
54
|
+
--sti-turkey-fill: var(--sti-ref-accent-6);
|
|
55
|
+
--sti-turkey-text: var(--sti-ref-accent-12);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.sti-TurkeyMap-tile-b5bda[data-step="4"] {
|
|
59
|
+
--sti-turkey-fill: var(--sti-ref-accent-8);
|
|
60
|
+
--sti-turkey-text: var(--sti-ref-accent-12);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.sti-TurkeyMap-tile-b5bda[data-step="5"] {
|
|
64
|
+
--sti-turkey-fill: var(--sti-fill-accent);
|
|
65
|
+
--sti-turkey-text: var(--sti-fg-on-accent);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.sti-TurkeyMap-shape-21351 {
|
|
69
|
+
fill: var(--sti-turkey-fill);
|
|
70
|
+
stroke: var(--sti-turkey-stroke);
|
|
71
|
+
stroke-width: var(--sti-turkey-stroke-w);
|
|
72
|
+
transition: fill var(--sti-duration-fast) var(--sti-ease-snap),
|
|
73
|
+
stroke var(--sti-duration-fast) var(--sti-ease-snap);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.sti-TurkeyMap-code-44eb1 {
|
|
77
|
+
fill: var(--sti-turkey-text);
|
|
78
|
+
font-family: var(--sti-font-numeric);
|
|
79
|
+
font-variant-numeric: tabular-nums;
|
|
80
|
+
font-weight: var(--sti-font-weight-medium);
|
|
81
|
+
text-anchor: middle;
|
|
82
|
+
dominant-baseline: central;
|
|
83
|
+
pointer-events: none;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.sti-TurkeyMap-ring-bf14f {
|
|
87
|
+
fill: none;
|
|
88
|
+
stroke: #0000;
|
|
89
|
+
stroke-width: var(--sti-focus-ring-width);
|
|
90
|
+
pointer-events: none;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.sti-TurkeyMap-tile-b5bda[data-interactive] {
|
|
94
|
+
cursor: pointer;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
@media (hover: hover) {
|
|
98
|
+
.sti-TurkeyMap-tile-b5bda[data-interactive]:hover {
|
|
99
|
+
--sti-turkey-stroke: var(--sti-border-accent);
|
|
100
|
+
--sti-turkey-stroke-w: var(--sti-border-width-strong);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.sti-TurkeyMap-tile-b5bda[data-selected] {
|
|
105
|
+
--sti-turkey-stroke: var(--sti-border-selected);
|
|
106
|
+
--sti-turkey-stroke-w: calc(var(--sti-border-width-strong) * 1.5);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.sti-TurkeyMap-tile-b5bda[data-selected] .sti-TurkeyMap-code-44eb1 {
|
|
110
|
+
font-weight: var(--sti-font-weight-bold);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.sti-TurkeyMap-tile-b5bda:focus-visible .sti-TurkeyMap-ring-bf14f {
|
|
114
|
+
stroke: var(--sti-focus-ring);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.sti-TurkeyMap-tile-b5bda[data-disabled] {
|
|
118
|
+
opacity: var(--sti-opacity-disabled);
|
|
119
|
+
cursor: not-allowed;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.sti-TurkeyMap-readout-d3394 {
|
|
123
|
+
min-block-size: var(--sti-line-height-sm);
|
|
124
|
+
color: var(--sti-fg);
|
|
125
|
+
font-size: var(--sti-font-size-sm);
|
|
126
|
+
font-weight: var(--sti-font-weight-medium);
|
|
127
|
+
line-height: var(--sti-line-height-sm);
|
|
128
|
+
overflow-wrap: anywhere;
|
|
129
|
+
margin: 0;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.sti-TurkeyMap-legend-e2a19 {
|
|
133
|
+
align-items: center;
|
|
134
|
+
gap: var(--sti-space-2);
|
|
135
|
+
color: var(--sti-fg-muted);
|
|
136
|
+
font-size: var(--sti-font-size-xs);
|
|
137
|
+
line-height: var(--sti-line-height-xs);
|
|
138
|
+
font-variant-numeric: tabular-nums;
|
|
139
|
+
display: flex;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.sti-TurkeyMap-legendValue-406af {
|
|
143
|
+
flex: none;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.sti-TurkeyMap-legendBar-78833 {
|
|
147
|
+
min-inline-size: 0;
|
|
148
|
+
max-inline-size: calc(var(--sti-space-16) * 3);
|
|
149
|
+
border: var(--sti-border-width) solid var(--sti-border);
|
|
150
|
+
border-radius: var(--sti-radius-pill);
|
|
151
|
+
flex: 1;
|
|
152
|
+
display: flex;
|
|
153
|
+
overflow: hidden;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.sti-TurkeyMap-legendStep-7312b {
|
|
157
|
+
block-size: var(--sti-space-2);
|
|
158
|
+
background: var(--sti-ref-accent-2);
|
|
159
|
+
flex: 1;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.sti-TurkeyMap-legendStep-7312b[data-step="2"] {
|
|
163
|
+
background: var(--sti-ref-accent-4);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.sti-TurkeyMap-legendStep-7312b[data-step="3"] {
|
|
167
|
+
background: var(--sti-ref-accent-6);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.sti-TurkeyMap-legendStep-7312b[data-step="4"] {
|
|
171
|
+
background: var(--sti-ref-accent-8);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.sti-TurkeyMap-legendStep-7312b[data-step="5"] {
|
|
175
|
+
background: var(--sti-fill-accent);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.sti-TurkeyMap-sr-d4fef {
|
|
179
|
+
clip-path: inset(50%);
|
|
180
|
+
white-space: nowrap;
|
|
181
|
+
border: 0;
|
|
182
|
+
block-size: 1px;
|
|
183
|
+
inline-size: 1px;
|
|
184
|
+
margin: -1px;
|
|
185
|
+
padding: 0;
|
|
186
|
+
position: absolute;
|
|
187
|
+
overflow: hidden;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
@media (prefers-reduced-motion: reduce) {
|
|
191
|
+
.sti-TurkeyMap-shape-21351 {
|
|
192
|
+
transition: none;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
@media (forced-colors: active) {
|
|
197
|
+
.sti-TurkeyMap-tile-b5bda {
|
|
198
|
+
--sti-turkey-fill: Canvas;
|
|
199
|
+
--sti-turkey-text: CanvasText;
|
|
200
|
+
--sti-turkey-stroke: CanvasText;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.sti-TurkeyMap-tile-b5bda[data-step="4"], .sti-TurkeyMap-tile-b5bda[data-step="5"] {
|
|
204
|
+
--sti-turkey-fill: Highlight;
|
|
205
|
+
--sti-turkey-text: HighlightText;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.sti-TurkeyMap-tile-b5bda[data-selected] {
|
|
209
|
+
--sti-turkey-stroke: Highlight;
|
|
210
|
+
--sti-turkey-stroke-w: calc(var(--sti-border-width-strong) * 2);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.sti-TurkeyMap-tile-b5bda:focus-visible .sti-TurkeyMap-ring-bf14f {
|
|
214
|
+
stroke: canvastext;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.sti-TurkeyMap-legendBar-78833 {
|
|
218
|
+
border-color: canvastext;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.sti-TurkeyMap-legendStep-7312b {
|
|
222
|
+
background: canvas;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.sti-TurkeyMap-legendStep-7312b[data-step="4"], .sti-TurkeyMap-legendStep-7312b[data-step="5"] {
|
|
226
|
+
background: highlight;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export type TurkeyMapSelectionMode = "none" | "single" | "multiple";
|
|
2
|
+
export interface TurkeyMapProps {
|
|
3
|
+
/** Haritanın adı (zorunlu): "İllere göre müşteri sayısı". */
|
|
4
|
+
label: string;
|
|
5
|
+
/**
|
|
6
|
+
* Seçim kipi: `none` (yalnız gösterim), `single` (varsayılan; seçili ile yeniden basmak seçimi
|
|
7
|
+
* kaldırır), `multiple`.
|
|
8
|
+
*/
|
|
9
|
+
selectionMode?: TurkeyMapSelectionMode;
|
|
10
|
+
/** Seçili illerin plaka kodları ("34", "06"); denetimli. */
|
|
11
|
+
selectedCodes?: readonly string[];
|
|
12
|
+
defaultSelectedCodes?: readonly string[];
|
|
13
|
+
onSelectionChange?: (codes: string[]) => void;
|
|
14
|
+
/** İl başına değer (anahtar plaka kodu); verilirse iller değere göre beş basamakta boyanır. */
|
|
15
|
+
values?: Readonly<Record<string, number>>;
|
|
16
|
+
/** Değerin metni; varsayılan sağlayıcının diliyle sayı. */
|
|
17
|
+
formatValue?: (value: number, code: string) => string;
|
|
18
|
+
/** Seçilemeyen illerin plaka kodları. */
|
|
19
|
+
disabledCodes?: readonly string[];
|
|
20
|
+
/** Değer ölçeği göstergesi; varsayılan açık (değer verilmişse). */
|
|
21
|
+
showLegend?: boolean;
|
|
22
|
+
/** Üzerine gelinen ya da odaktaki ilin adı ve değeri; varsayılan açık. */
|
|
23
|
+
showReadout?: boolean;
|
|
24
|
+
/** En büyük genişlik: `sm` 320, `md` 480, `lg` 720 piksel; küçük kapsayıcıda daralır. */
|
|
25
|
+
size?: "sm" | "md" | "lg";
|
|
26
|
+
className?: string;
|
|
27
|
+
id?: string;
|
|
28
|
+
}
|
|
29
|
+
interface Tile {
|
|
30
|
+
code: string;
|
|
31
|
+
name: string;
|
|
32
|
+
col: number;
|
|
33
|
+
row: number;
|
|
34
|
+
}
|
|
35
|
+
/** Değerin 1–`STEPS` arası basamağı; hepsi eşitse ortadaki basamak. */
|
|
36
|
+
export declare function valueStep(value: number, min: number, max: number): number;
|
|
37
|
+
/** `from` ilinden `key` yönündeki en yakın il (yoksa `null`). */
|
|
38
|
+
export declare function neighbor(tiles: readonly Tile[], from: Tile, key: "ArrowLeft" | "ArrowRight" | "ArrowUp" | "ArrowDown"): Tile | null;
|
|
39
|
+
/**
|
|
40
|
+
* Türkiye haritası (kare ızgara): her il aynı boyda bir kare; seçilebilir ve değere göre boyanabilir.
|
|
41
|
+
* Seçim, klavyeyle ok tuşları (yöne en yakın il), Home/End, baş harfle arama ve Enter/Boşlukla
|
|
42
|
+
* yapılır (APG seçenek listesi). Sınır çizimi değil gösterimdir: küçük iller de eşit alan kaplar.
|
|
43
|
+
*/
|
|
44
|
+
export declare function TurkeyMap(props: TurkeyMapProps): import("react").JSX.Element;
|
|
45
|
+
export {};
|
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useFormatter, useMessages } from "../../provider/UIProvider.js";
|
|
3
|
+
import { searchKey, template } from "../../text/text.js";
|
|
4
|
+
import { TR_PROVINCES } from "../../components/ProvinceSelect/provinces.js";
|
|
5
|
+
import { VisuallyHidden } from "../../components/VisuallyHidden/VisuallyHidden.js";
|
|
6
|
+
import { useControllable } from "../_internal/useControllable.js";
|
|
7
|
+
import TurkeyMap_module_default from "./TurkeyMap.module.js";
|
|
8
|
+
import { TILE_GRID } from "./tileGrid.js";
|
|
9
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
+
import { useId, useMemo, useRef, useState } from "react";
|
|
11
|
+
// src/maps/TurkeyMap/TurkeyMap.tsx
|
|
12
|
+
const CELL = 40;
|
|
13
|
+
const PAD = 2;
|
|
14
|
+
const VIEW_W = 600;
|
|
15
|
+
const VIEW_H = 280;
|
|
16
|
+
const STEPS = 5;
|
|
17
|
+
/** Okuma sırasında (satır, sütun) il listesi. */
|
|
18
|
+
const TILES = TR_PROVINCES.flatMap((p) => {
|
|
19
|
+
const pos = TILE_GRID[p.code];
|
|
20
|
+
return pos ? [{
|
|
21
|
+
code: p.code,
|
|
22
|
+
name: p.name,
|
|
23
|
+
col: pos[0],
|
|
24
|
+
row: pos[1]
|
|
25
|
+
}] : [];
|
|
26
|
+
}).sort((a, b) => a.row - b.row || a.col - b.col);
|
|
27
|
+
/** Değerin 1–`STEPS` arası basamağı; hepsi eşitse ortadaki basamak. */
|
|
28
|
+
function valueStep(value, min, max) {
|
|
29
|
+
if (!(max > min)) return Math.ceil(STEPS / 2);
|
|
30
|
+
const t = (value - min) / (max - min);
|
|
31
|
+
return Math.min(STEPS, Math.max(1, 1 + Math.floor(t * STEPS * .9999)));
|
|
32
|
+
}
|
|
33
|
+
/** `from` ilinden `key` yönündeki en yakın il (yoksa `null`). */
|
|
34
|
+
function neighbor(tiles, from, key) {
|
|
35
|
+
let best = null;
|
|
36
|
+
let bestScore = Number.POSITIVE_INFINITY;
|
|
37
|
+
for (const t of tiles) {
|
|
38
|
+
const dx = t.col - from.col;
|
|
39
|
+
const dy = t.row - from.row;
|
|
40
|
+
const along = key === "ArrowRight" ? dx : key === "ArrowLeft" ? -dx : key === "ArrowDown" ? dy : -dy;
|
|
41
|
+
if (along <= 0) continue;
|
|
42
|
+
const score = along + (key === "ArrowLeft" || key === "ArrowRight" ? Math.abs(dy) : Math.abs(dx)) * 2.5;
|
|
43
|
+
if (score < bestScore) {
|
|
44
|
+
best = t;
|
|
45
|
+
bestScore = score;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
return best;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Türkiye haritası (kare ızgara): her il aynı boyda bir kare; seçilebilir ve değere göre boyanabilir.
|
|
52
|
+
* Seçim, klavyeyle ok tuşları (yöne en yakın il), Home/End, baş harfle arama ve Enter/Boşlukla
|
|
53
|
+
* yapılır (APG seçenek listesi). Sınır çizimi değil gösterimdir: küçük iller de eşit alan kaplar.
|
|
54
|
+
*/
|
|
55
|
+
function TurkeyMap(props) {
|
|
56
|
+
const { label, selectionMode = "single", values, disabledCodes, showReadout = true, size = "md", className, id } = props;
|
|
57
|
+
const messages = useMessages();
|
|
58
|
+
const format = useFormatter();
|
|
59
|
+
const [selected, setSelected] = useControllable(props.selectedCodes, props.defaultSelectedCodes ?? [], props.onSelectionChange ? (c) => props.onSelectionChange?.([...c]) : void 0);
|
|
60
|
+
const [active, setActive] = useState(null);
|
|
61
|
+
const [hovered, setHovered] = useState(null);
|
|
62
|
+
const [focused, setFocused] = useState(null);
|
|
63
|
+
const [announcement, setAnnouncement] = useState("");
|
|
64
|
+
const buffer = useRef({
|
|
65
|
+
text: "",
|
|
66
|
+
at: 0
|
|
67
|
+
});
|
|
68
|
+
const nodes = useRef(/* @__PURE__ */ new Map());
|
|
69
|
+
const interactive = selectionMode !== "none";
|
|
70
|
+
const disabled = useMemo(() => new Set(disabledCodes ?? []), [disabledCodes]);
|
|
71
|
+
const chosen = useMemo(() => new Set(selected), [selected]);
|
|
72
|
+
const { min, max } = useMemo(() => {
|
|
73
|
+
const nums = Object.entries(values ?? {}).filter(([c, v]) => TILE_GRID[c] && Number.isFinite(v)).map(([, v]) => v);
|
|
74
|
+
return {
|
|
75
|
+
min: Math.min(...nums),
|
|
76
|
+
max: Math.max(...nums)
|
|
77
|
+
};
|
|
78
|
+
}, [values]);
|
|
79
|
+
const hasValues = Number.isFinite(min);
|
|
80
|
+
const showLegend = (props.showLegend ?? true) && hasValues;
|
|
81
|
+
const hintId = useId();
|
|
82
|
+
const valueFor = (code) => {
|
|
83
|
+
const v = values?.[code];
|
|
84
|
+
return v !== void 0 && Number.isFinite(v) ? v : void 0;
|
|
85
|
+
};
|
|
86
|
+
const text = (code, v) => props.formatValue ? props.formatValue(v, code) : format.number(v);
|
|
87
|
+
const describe = (t) => {
|
|
88
|
+
const v = valueFor(t.code);
|
|
89
|
+
const name = `${t.code} ${t.name}`;
|
|
90
|
+
if (!hasValues) return name;
|
|
91
|
+
return `${name}, ${v === void 0 ? messages.turkeyMapNoData : text(t.code, v)}`;
|
|
92
|
+
};
|
|
93
|
+
const enabled = TILES.filter((t) => !disabled.has(t.code));
|
|
94
|
+
const tabStop = TILES.find((t) => t.code === active && !disabled.has(t.code))?.code ?? enabled.find((t) => chosen.has(t.code))?.code ?? enabled[0]?.code ?? null;
|
|
95
|
+
const move = (to) => {
|
|
96
|
+
if (!to) return;
|
|
97
|
+
setActive(to.code);
|
|
98
|
+
nodes.current.get(to.code)?.focus();
|
|
99
|
+
};
|
|
100
|
+
const toggle = (t) => {
|
|
101
|
+
if (!interactive || disabled.has(t.code)) return;
|
|
102
|
+
const on = chosen.has(t.code);
|
|
103
|
+
let next;
|
|
104
|
+
if (selectionMode === "single") next = on ? [] : [t.code];
|
|
105
|
+
else next = on ? selected.filter((c) => c !== t.code) : [...selected, t.code].sort();
|
|
106
|
+
setSelected(next);
|
|
107
|
+
setActive(t.code);
|
|
108
|
+
setAnnouncement(template(on ? messages.turkeyMapDeselected : messages.turkeyMapSelected, { name: t.name }));
|
|
109
|
+
};
|
|
110
|
+
const onKeyDown = (e, t) => {
|
|
111
|
+
if (e.altKey || e.ctrlKey || e.metaKey) return;
|
|
112
|
+
switch (e.key) {
|
|
113
|
+
case "ArrowLeft":
|
|
114
|
+
case "ArrowRight":
|
|
115
|
+
case "ArrowUp":
|
|
116
|
+
case "ArrowDown":
|
|
117
|
+
e.preventDefault();
|
|
118
|
+
return move(neighbor(enabled, t, e.key));
|
|
119
|
+
case "Home":
|
|
120
|
+
e.preventDefault();
|
|
121
|
+
return move(enabled[0]);
|
|
122
|
+
case "End":
|
|
123
|
+
e.preventDefault();
|
|
124
|
+
return move(enabled[enabled.length - 1]);
|
|
125
|
+
case "Enter":
|
|
126
|
+
case " ":
|
|
127
|
+
e.preventDefault();
|
|
128
|
+
return toggle(t);
|
|
129
|
+
}
|
|
130
|
+
if (e.key.length === 1 && /\S/.test(e.key)) {
|
|
131
|
+
const now = Date.now();
|
|
132
|
+
const b = buffer.current;
|
|
133
|
+
b.text = now - b.at > 700 ? e.key : b.text + e.key;
|
|
134
|
+
b.at = now;
|
|
135
|
+
const q = searchKey(b.text);
|
|
136
|
+
const hit = enabled.find((x) => searchKey(x.name).startsWith(q));
|
|
137
|
+
if (hit) {
|
|
138
|
+
e.preventDefault();
|
|
139
|
+
move(hit);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
};
|
|
143
|
+
const shown = TILES.find((t) => t.code === (hovered ?? focused));
|
|
144
|
+
const selectedNames = TILES.filter((t) => chosen.has(t.code)).map((t) => t.name);
|
|
145
|
+
const readout = shown ? describe(shown) : interactive ? selectedNames.length > 0 ? template(messages.turkeyMapSelection, { names: format.list(selectedNames) }) : messages.turkeyMapNoSelection : null;
|
|
146
|
+
const legendSteps = Array.from({ length: STEPS }, (_, i) => i + 1);
|
|
147
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
148
|
+
id,
|
|
149
|
+
className: [TurkeyMap_module_default.root, className].filter(Boolean).join(" "),
|
|
150
|
+
"data-size": size,
|
|
151
|
+
children: [
|
|
152
|
+
/* @__PURE__ */ jsx("svg", {
|
|
153
|
+
className: TurkeyMap_module_default.svg,
|
|
154
|
+
viewBox: `0 0 ${VIEW_W} ${VIEW_H}`,
|
|
155
|
+
role: interactive ? "listbox" : hasValues ? void 0 : "img",
|
|
156
|
+
"aria-hidden": !interactive && hasValues ? true : void 0,
|
|
157
|
+
"aria-label": label,
|
|
158
|
+
"aria-describedby": interactive ? hintId : void 0,
|
|
159
|
+
"aria-multiselectable": selectionMode === "multiple" ? true : void 0,
|
|
160
|
+
focusable: "false",
|
|
161
|
+
"data-mode": selectionMode,
|
|
162
|
+
children: TILES.map((t) => {
|
|
163
|
+
const v = valueFor(t.code);
|
|
164
|
+
const isOff = disabled.has(t.code);
|
|
165
|
+
const on = chosen.has(t.code);
|
|
166
|
+
const x = t.col * CELL + PAD;
|
|
167
|
+
const y = t.row * CELL + PAD;
|
|
168
|
+
const w = 36;
|
|
169
|
+
return /* @__PURE__ */ jsxs("g", {
|
|
170
|
+
ref: (node) => {
|
|
171
|
+
if (node) nodes.current.set(t.code, node);
|
|
172
|
+
else nodes.current.delete(t.code);
|
|
173
|
+
},
|
|
174
|
+
className: TurkeyMap_module_default.tile,
|
|
175
|
+
role: interactive ? "option" : void 0,
|
|
176
|
+
"aria-label": interactive ? describe(t) : void 0,
|
|
177
|
+
"aria-selected": interactive ? on : void 0,
|
|
178
|
+
"aria-disabled": interactive && isOff ? true : void 0,
|
|
179
|
+
tabIndex: interactive && !isOff ? t.code === tabStop ? 0 : -1 : void 0,
|
|
180
|
+
"data-step": v === void 0 ? void 0 : valueStep(v, min, max),
|
|
181
|
+
"data-selected": on ? "" : void 0,
|
|
182
|
+
"data-disabled": isOff ? "" : void 0,
|
|
183
|
+
"data-interactive": interactive && !isOff ? "" : void 0,
|
|
184
|
+
onClick: () => toggle(t),
|
|
185
|
+
onKeyDown: (e) => onKeyDown(e, t),
|
|
186
|
+
onPointerEnter: () => setHovered(t.code),
|
|
187
|
+
onPointerLeave: () => setHovered((h) => h === t.code ? null : h),
|
|
188
|
+
onFocus: () => {
|
|
189
|
+
setActive(t.code);
|
|
190
|
+
setFocused(t.code);
|
|
191
|
+
},
|
|
192
|
+
onBlur: () => setFocused((f) => f === t.code ? null : f),
|
|
193
|
+
children: [
|
|
194
|
+
/* @__PURE__ */ jsx("rect", {
|
|
195
|
+
className: TurkeyMap_module_default.shape,
|
|
196
|
+
x,
|
|
197
|
+
y,
|
|
198
|
+
width: w,
|
|
199
|
+
height: w,
|
|
200
|
+
rx: 7
|
|
201
|
+
}),
|
|
202
|
+
/* @__PURE__ */ jsx("rect", {
|
|
203
|
+
className: TurkeyMap_module_default.ring,
|
|
204
|
+
x: x - 2,
|
|
205
|
+
y: y - 2,
|
|
206
|
+
width: 40,
|
|
207
|
+
height: 40,
|
|
208
|
+
rx: 9
|
|
209
|
+
}),
|
|
210
|
+
/* @__PURE__ */ jsx("text", {
|
|
211
|
+
className: TurkeyMap_module_default.code,
|
|
212
|
+
x: x + w / 2,
|
|
213
|
+
y: y + w / 2,
|
|
214
|
+
fontSize: 13,
|
|
215
|
+
children: t.code
|
|
216
|
+
})
|
|
217
|
+
]
|
|
218
|
+
}, t.code);
|
|
219
|
+
})
|
|
220
|
+
}),
|
|
221
|
+
showReadout && readout ? /* @__PURE__ */ jsx("p", {
|
|
222
|
+
className: TurkeyMap_module_default.readout,
|
|
223
|
+
children: readout
|
|
224
|
+
}) : null,
|
|
225
|
+
showLegend ? /* @__PURE__ */ jsxs("div", {
|
|
226
|
+
className: TurkeyMap_module_default.legend,
|
|
227
|
+
role: "group",
|
|
228
|
+
"aria-label": messages.turkeyMapLegend,
|
|
229
|
+
children: [
|
|
230
|
+
/* @__PURE__ */ jsx("span", {
|
|
231
|
+
className: TurkeyMap_module_default.legendValue,
|
|
232
|
+
children: text("", min)
|
|
233
|
+
}),
|
|
234
|
+
/* @__PURE__ */ jsx("span", {
|
|
235
|
+
className: TurkeyMap_module_default.legendBar,
|
|
236
|
+
"aria-hidden": "true",
|
|
237
|
+
children: legendSteps.map((s) => /* @__PURE__ */ jsx("span", {
|
|
238
|
+
className: TurkeyMap_module_default.legendStep,
|
|
239
|
+
"data-step": s
|
|
240
|
+
}, s))
|
|
241
|
+
}),
|
|
242
|
+
/* @__PURE__ */ jsx("span", {
|
|
243
|
+
className: TurkeyMap_module_default.legendValue,
|
|
244
|
+
children: text("", max)
|
|
245
|
+
})
|
|
246
|
+
]
|
|
247
|
+
}) : null,
|
|
248
|
+
interactive ? /* @__PURE__ */ jsx(VisuallyHidden, {
|
|
249
|
+
id: hintId,
|
|
250
|
+
children: messages.turkeyMapHint
|
|
251
|
+
}) : null,
|
|
252
|
+
!interactive && hasValues ? /* @__PURE__ */ jsx("div", {
|
|
253
|
+
className: TurkeyMap_module_default.sr,
|
|
254
|
+
children: /* @__PURE__ */ jsxs("table", { children: [
|
|
255
|
+
/* @__PURE__ */ jsx("caption", { children: label }),
|
|
256
|
+
/* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsxs("tr", { children: [/* @__PURE__ */ jsx("th", {
|
|
257
|
+
scope: "col",
|
|
258
|
+
children: messages.turkeyMapProvince
|
|
259
|
+
}), /* @__PURE__ */ jsx("th", {
|
|
260
|
+
scope: "col",
|
|
261
|
+
children: messages.turkeyMapValue
|
|
262
|
+
})] }) }),
|
|
263
|
+
/* @__PURE__ */ jsx("tbody", { children: TILES.map((t) => {
|
|
264
|
+
const v = valueFor(t.code);
|
|
265
|
+
return /* @__PURE__ */ jsxs("tr", { children: [/* @__PURE__ */ jsx("th", {
|
|
266
|
+
scope: "row",
|
|
267
|
+
children: t.name
|
|
268
|
+
}), /* @__PURE__ */ jsx("td", { children: v === void 0 ? messages.turkeyMapNoData : text(t.code, v) })] }, t.code);
|
|
269
|
+
}) })
|
|
270
|
+
] })
|
|
271
|
+
}) : null,
|
|
272
|
+
/* @__PURE__ */ jsx("span", {
|
|
273
|
+
className: TurkeyMap_module_default.sr,
|
|
274
|
+
role: "status",
|
|
275
|
+
children: announcement
|
|
276
|
+
})
|
|
277
|
+
]
|
|
278
|
+
});
|
|
279
|
+
}
|
|
280
|
+
export { TurkeyMap, neighbor, valueStep };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import './TurkeyMap.css';
|
|
2
|
+
// src/maps/TurkeyMap/TurkeyMap.module.css
|
|
3
|
+
var TurkeyMap_module_default = {
|
|
4
|
+
"root": "sti-TurkeyMap-root-ade81",
|
|
5
|
+
"svg": "sti-TurkeyMap-svg-d03ea",
|
|
6
|
+
"tile": "sti-TurkeyMap-tile-b5bda",
|
|
7
|
+
"shape": "sti-TurkeyMap-shape-21351",
|
|
8
|
+
"code": "sti-TurkeyMap-code-44eb1",
|
|
9
|
+
"ring": "sti-TurkeyMap-ring-bf14f",
|
|
10
|
+
"readout": "sti-TurkeyMap-readout-d3394",
|
|
11
|
+
"legend": "sti-TurkeyMap-legend-e2a19",
|
|
12
|
+
"legendValue": "sti-TurkeyMap-legendValue-406af",
|
|
13
|
+
"legendBar": "sti-TurkeyMap-legendBar-78833",
|
|
14
|
+
"legendStep": "sti-TurkeyMap-legendStep-7312b",
|
|
15
|
+
"sr": "sti-TurkeyMap-sr-d4fef"
|
|
16
|
+
};
|
|
17
|
+
export { TurkeyMap_module_default as default };
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
// src/maps/TurkeyMap/tileGrid.ts
|
|
2
|
+
const TILE_GRID = {
|
|
3
|
+
"01": [7, 6],
|
|
4
|
+
"02": [10, 5],
|
|
5
|
+
"03": [3, 4],
|
|
6
|
+
"04": [13, 2],
|
|
7
|
+
"05": [8, 1],
|
|
8
|
+
"06": [5, 2],
|
|
9
|
+
"07": [3, 6],
|
|
10
|
+
"08": [12, 0],
|
|
11
|
+
"09": [1, 5],
|
|
12
|
+
"10": [1, 2],
|
|
13
|
+
"11": [3, 2],
|
|
14
|
+
"12": [11, 3],
|
|
15
|
+
"13": [13, 4],
|
|
16
|
+
"14": [4, 2],
|
|
17
|
+
"15": [3, 5],
|
|
18
|
+
"16": [2, 2],
|
|
19
|
+
"17": [0, 2],
|
|
20
|
+
"18": [6, 1],
|
|
21
|
+
"19": [7, 1],
|
|
22
|
+
"20": [2, 4],
|
|
23
|
+
"21": [11, 4],
|
|
24
|
+
"22": [0, 0],
|
|
25
|
+
"23": [10, 4],
|
|
26
|
+
"24": [10, 2],
|
|
27
|
+
"25": [12, 2],
|
|
28
|
+
"26": [4, 3],
|
|
29
|
+
"27": [9, 5],
|
|
30
|
+
"28": [10, 1],
|
|
31
|
+
"29": [11, 1],
|
|
32
|
+
"30": [14, 5],
|
|
33
|
+
"31": [8, 6],
|
|
34
|
+
"32": [4, 5],
|
|
35
|
+
"33": [6, 6],
|
|
36
|
+
"34": [2, 0],
|
|
37
|
+
"35": [0, 4],
|
|
38
|
+
"36": [14, 1],
|
|
39
|
+
"37": [6, 0],
|
|
40
|
+
"38": [7, 3],
|
|
41
|
+
"39": [1, 0],
|
|
42
|
+
"40": [6, 3],
|
|
43
|
+
"41": [3, 0],
|
|
44
|
+
"42": [5, 4],
|
|
45
|
+
"43": [3, 3],
|
|
46
|
+
"44": [9, 4],
|
|
47
|
+
"45": [1, 4],
|
|
48
|
+
"46": [8, 4],
|
|
49
|
+
"47": [11, 5],
|
|
50
|
+
"48": [2, 5],
|
|
51
|
+
"49": [12, 3],
|
|
52
|
+
"50": [7, 4],
|
|
53
|
+
"51": [7, 5],
|
|
54
|
+
"52": [9, 1],
|
|
55
|
+
"53": [12, 1],
|
|
56
|
+
"54": [3, 1],
|
|
57
|
+
"55": [8, 0],
|
|
58
|
+
"56": [12, 5],
|
|
59
|
+
"57": [7, 0],
|
|
60
|
+
"58": [9, 2],
|
|
61
|
+
"59": [1, 1],
|
|
62
|
+
"60": [8, 2],
|
|
63
|
+
"61": [11, 0],
|
|
64
|
+
"62": [10, 3],
|
|
65
|
+
"63": [10, 6],
|
|
66
|
+
"64": [2, 3],
|
|
67
|
+
"65": [14, 4],
|
|
68
|
+
"66": [7, 2],
|
|
69
|
+
"67": [4, 0],
|
|
70
|
+
"68": [6, 4],
|
|
71
|
+
"69": [11, 2],
|
|
72
|
+
"70": [5, 5],
|
|
73
|
+
"71": [6, 2],
|
|
74
|
+
"72": [12, 4],
|
|
75
|
+
"73": [13, 5],
|
|
76
|
+
"74": [5, 0],
|
|
77
|
+
"75": [13, 1],
|
|
78
|
+
"76": [14, 2],
|
|
79
|
+
"77": [2, 1],
|
|
80
|
+
"78": [5, 1],
|
|
81
|
+
"79": [9, 6],
|
|
82
|
+
"80": [8, 5],
|
|
83
|
+
"81": [4, 1]
|
|
84
|
+
};
|
|
85
|
+
export { TILE_GRID };
|