@chayns-components/core 5.0.0-beta.414 → 5.0.0-beta.415
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/lib/api/signature/delete.js +2 -2
- package/lib/api/signature/delete.js.map +1 -1
- package/lib/api/signature/get.js +2 -2
- package/lib/api/signature/get.js.map +1 -1
- package/lib/api/signature/put.js +2 -2
- package/lib/api/signature/put.js.map +1 -1
- package/lib/components/accordion/accordion-head/AccordionHead.js +3 -3
- package/lib/components/accordion/accordion-head/AccordionHead.js.map +1 -1
- package/lib/components/amount-control/AmountControl.js +4 -4
- package/lib/components/amount-control/AmountControl.js.map +1 -1
- package/lib/components/amount-control/AmountControl.styles.js.map +1 -1
- package/lib/components/color-scheme-provider/ColorSchemeProvider.js +1 -1
- package/lib/components/color-scheme-provider/ColorSchemeProvider.js.map +1 -1
- package/lib/components/combobox/ComboBox.js.map +1 -1
- package/lib/components/context-menu/ContextMenu.d.ts +1 -1
- package/lib/components/context-menu/ContextMenu.js +7 -7
- package/lib/components/context-menu/ContextMenu.js.map +1 -1
- package/lib/components/context-menu/context-menu-content/ContextMenuContent.d.ts +1 -1
- package/lib/components/context-menu/context-menu-content/ContextMenuContent.js +5 -5
- package/lib/components/context-menu/context-menu-content/ContextMenuContent.js.map +1 -1
- package/lib/components/context-menu/context-menu-content/ContextMenuContent.styles.d.ts +1 -1
- package/lib/components/context-menu/context-menu-content/ContextMenuContent.styles.js +5 -5
- package/lib/components/context-menu/context-menu-content/ContextMenuContent.styles.js.map +1 -1
- package/lib/components/date-info/DateInfo.js +7 -8
- package/lib/components/date-info/DateInfo.js.map +1 -1
- package/lib/components/file-input/FileInput.js.map +1 -1
- package/lib/components/filter-buttons/FilterButtons.d.ts +1 -1
- package/lib/components/filter-buttons/FilterButtons.js +4 -4
- package/lib/components/filter-buttons/FilterButtons.js.map +1 -1
- package/lib/components/filter-buttons/filter-button/FilterButton.d.ts +1 -1
- package/lib/components/filter-buttons/filter-button/FilterButton.js +3 -3
- package/lib/components/filter-buttons/filter-button/FilterButton.js.map +1 -1
- package/lib/components/filter-buttons/filter-button/FilterButton.styles.d.ts +1 -1
- package/lib/components/filter-buttons/filter-button/FilterButton.styles.js +4 -4
- package/lib/components/filter-buttons/filter-button/FilterButton.styles.js.map +1 -1
- package/lib/components/icon/Icon.js +3 -3
- package/lib/components/icon/Icon.js.map +1 -1
- package/lib/components/input/Input.styles.js +1 -0
- package/lib/components/input/Input.styles.js.map +1 -1
- package/lib/components/list/list-item/list-item-head/ListItemHead.js.map +1 -1
- package/lib/components/mention-finder/MentionFinder.d.ts +1 -1
- package/lib/components/mention-finder/MentionFinder.js.map +1 -1
- package/lib/components/mention-finder/MentionFinder.styles.js +3 -3
- package/lib/components/mention-finder/MentionFinder.styles.js.map +1 -1
- package/lib/components/number-input/NumberInput.js +8 -8
- package/lib/components/number-input/NumberInput.js.map +1 -1
- package/lib/components/popup/Popup.d.ts +1 -1
- package/lib/components/popup/Popup.js +6 -6
- package/lib/components/popup/Popup.js.map +1 -1
- package/lib/components/popup/popup-content/PopupContent.d.ts +1 -1
- package/lib/components/popup/popup-content/PopupContent.js +4 -4
- package/lib/components/popup/popup-content/PopupContent.js.map +1 -1
- package/lib/components/popup/popup-content/PopupContent.styles.d.ts +1 -1
- package/lib/components/popup/popup-content/PopupContent.styles.js +5 -5
- package/lib/components/popup/popup-content/PopupContent.styles.js.map +1 -1
- package/lib/components/radio-button/RadioButton.d.ts +1 -1
- package/lib/components/radio-button/RadioButton.js.map +1 -1
- package/lib/components/search-box/SearchBox.d.ts +1 -1
- package/lib/components/search-box/SearchBox.js +3 -3
- package/lib/components/search-box/SearchBox.js.map +1 -1
- package/lib/components/search-box/search-box-item/SearchBoxItem.d.ts +1 -1
- package/lib/components/search-box/search-box-item/SearchBoxItem.js.map +1 -1
- package/lib/components/select-button/SelectButton.d.ts +1 -1
- package/lib/components/select-button/SelectButton.js.map +1 -1
- package/lib/components/sharing-bar/SharingBar.d.ts +1 -1
- package/lib/components/sharing-bar/SharingBar.js.map +1 -1
- package/lib/components/signature/Signature.js.map +1 -1
- package/lib/components/tooltip/Tooltip.d.ts +1 -1
- package/lib/components/tooltip/Tooltip.js +1 -1
- package/lib/components/tooltip/Tooltip.js.map +1 -1
- package/lib/{components/date-info/constants/language.js → constants/dateInfo.js} +1 -1
- package/lib/constants/dateInfo.js.map +1 -0
- package/lib/{components/mention-finder/constants/alignment.js → constants/mentionFinder.js} +1 -1
- package/lib/constants/mentionFinder.js.map +1 -0
- package/lib/{components/number-input/constants/number.js → constants/numberInput.js} +1 -1
- package/lib/constants/numberInput.js.map +1 -0
- package/lib/constants/{serverUrls.js → signature.js} +1 -1
- package/lib/constants/signature.js.map +1 -0
- package/lib/index.d.ts +6 -5
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/lib/{components/context-menu/constants/alignment.js → types/contextMenu.js} +1 -1
- package/lib/types/contextMenu.js.map +1 -0
- package/lib/{components/filter-buttons/types.js → types/filterButtons.js} +1 -1
- package/lib/types/filterButtons.js.map +1 -0
- package/lib/{components/popup/types.js → types/popup.js} +1 -1
- package/lib/types/popup.js.map +1 -0
- package/lib/types/radioButton.js +2 -0
- package/lib/types/radioButton.js.map +1 -0
- package/lib/types/searchBox.js +2 -0
- package/lib/types/searchBox.js.map +1 -0
- package/lib/types/selectButton.js +2 -0
- package/lib/types/selectButton.js.map +1 -0
- package/lib/types/tooltip.js +2 -0
- package/lib/types/tooltip.js.map +1 -0
- package/lib/{components/accordion/utils.js → utils/accordion.js} +1 -1
- package/lib/utils/accordion.js.map +1 -0
- package/lib/{components/amount-control/utils.js → utils/amountControl.js} +1 -1
- package/lib/utils/amountControl.js.map +1 -0
- package/lib/{components/date-info/utils/format.d.ts → utils/dateInfo.d.ts} +7 -1
- package/lib/{components/date-info/utils/format.js → utils/dateInfo.js} +65 -16
- package/lib/utils/dateInfo.js.map +1 -0
- package/lib/utils/font.js.map +1 -0
- package/lib/{components/icon/utils.js → utils/icon.js} +1 -1
- package/lib/utils/icon.js.map +1 -0
- package/lib/{components/number-input/utils/number.js → utils/numberInput.js} +6 -6
- package/lib/utils/numberInput.js.map +1 -0
- package/lib/{components/search-box/utils.d.ts → utils/searchBox.d.ts} +1 -1
- package/lib/{components/search-box/utils.js → utils/searchBox.js} +1 -1
- package/lib/{components/search-box/utils.js.map → utils/searchBox.js.map} +1 -1
- package/package.json +2 -2
- package/lib/components/accordion/utils.js.map +0 -1
- package/lib/components/amount-control/utils.js.map +0 -1
- package/lib/components/color-scheme-provider/font.js.map +0 -1
- package/lib/components/context-menu/constants/alignment.js.map +0 -1
- package/lib/components/date-info/constants/language.js.map +0 -1
- package/lib/components/date-info/utils/format.js.map +0 -1
- package/lib/components/date-info/utils/language.d.ts +0 -7
- package/lib/components/date-info/utils/language.js +0 -57
- package/lib/components/date-info/utils/language.js.map +0 -1
- package/lib/components/filter-buttons/types.js.map +0 -1
- package/lib/components/icon/utils.js.map +0 -1
- package/lib/components/mention-finder/constants/alignment.js.map +0 -1
- package/lib/components/number-input/constants/number.js.map +0 -1
- package/lib/components/number-input/utils/number.js.map +0 -1
- package/lib/components/popup/types.js.map +0 -1
- package/lib/components/radio-button/types.js +0 -2
- package/lib/components/radio-button/types.js.map +0 -1
- package/lib/components/search-box/types.js +0 -2
- package/lib/components/search-box/types.js.map +0 -1
- package/lib/components/select-button/types.js +0 -2
- package/lib/components/select-button/types.js.map +0 -1
- package/lib/components/tooltip/interface.js +0 -2
- package/lib/components/tooltip/interface.js.map +0 -1
- package/lib/constants/serverUrls.js.map +0 -1
- /package/lib/{components/date-info/constants/language.d.ts → constants/dateInfo.d.ts} +0 -0
- /package/lib/{components/mention-finder/constants/alignment.d.ts → constants/mentionFinder.d.ts} +0 -0
- /package/lib/{components/number-input/constants/number.d.ts → constants/numberInput.d.ts} +0 -0
- /package/lib/constants/{serverUrls.d.ts → signature.d.ts} +0 -0
- /package/lib/{components/context-menu/constants/alignment.d.ts → types/contextMenu.d.ts} +0 -0
- /package/lib/{components/filter-buttons/types.d.ts → types/filterButtons.d.ts} +0 -0
- /package/lib/{components/popup/types.d.ts → types/popup.d.ts} +0 -0
- /package/lib/{components/radio-button/types.d.ts → types/radioButton.d.ts} +0 -0
- /package/lib/{components/search-box/types.d.ts → types/searchBox.d.ts} +0 -0
- /package/lib/{components/select-button/types.d.ts → types/selectButton.d.ts} +0 -0
- /package/lib/{components/tooltip/interface.d.ts → types/tooltip.d.ts} +0 -0
- /package/lib/{components/accordion/utils.d.ts → utils/accordion.d.ts} +0 -0
- /package/lib/{components/amount-control/utils.d.ts → utils/amountControl.d.ts} +0 -0
- /package/lib/{components/color-scheme-provider → utils}/font.d.ts +0 -0
- /package/lib/{components/color-scheme-provider → utils}/font.js +0 -0
- /package/lib/{components/icon/utils.d.ts → utils/icon.d.ts} +0 -0
- /package/lib/{components/number-input/utils/number.d.ts → utils/numberInput.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dateInfo.js","names":["TIME_TYPE_STRINGS","exports","de","past","seconds","singular","plural","minutes","hours","days","weeks","months","years","future","en","nl","fr","it","pl","pt","es","tr","uk"],"sources":["../../src/constants/dateInfo.ts"],"sourcesContent":["interface TimeTypeString {\n singular: string;\n plural: string;\n}\n\nexport interface TimeTypeStringCollection {\n seconds: TimeTypeString;\n minutes: TimeTypeString;\n hours: TimeTypeString;\n days: TimeTypeString;\n weeks: TimeTypeString;\n months: TimeTypeString;\n years: TimeTypeString;\n}\n\nexport interface TimeTypeStringsRecord {\n past: TimeTypeStringCollection;\n future: TimeTypeStringCollection;\n}\n\ninterface TimeTypeStrings {\n [key: string]: TimeTypeStringsRecord;\n}\n\nexport const TIME_TYPE_STRINGS: TimeTypeStrings = {\n de: {\n past: {\n seconds: {\n singular: 'Sekunde',\n plural: 'Sekunden',\n },\n minutes: {\n singular: 'Minute',\n plural: 'Minuten',\n },\n hours: {\n singular: 'Stunde',\n plural: 'Stunden',\n },\n days: {\n singular: 'Tag',\n plural: 'Tagen',\n },\n weeks: {\n singular: 'Woche',\n plural: 'Wochen',\n },\n months: {\n singular: 'Monat',\n plural: 'Monaten',\n },\n years: {\n singular: 'Jahr',\n plural: 'Jahren',\n },\n },\n future: {\n seconds: {\n singular: 'Sekunde',\n plural: 'Sekunden',\n },\n minutes: {\n singular: 'Minute',\n plural: 'Minuten',\n },\n hours: {\n singular: 'Stunde',\n plural: 'Stunden',\n },\n days: {\n singular: 'Tag',\n plural: 'Tagen',\n },\n weeks: {\n singular: 'Woche',\n plural: 'Wochen',\n },\n months: {\n singular: 'Monat',\n plural: 'Monaten',\n },\n years: {\n singular: 'Jahr',\n plural: 'Jahren',\n },\n },\n },\n en: {\n past: {\n seconds: {\n singular: 'second',\n plural: 'seconds',\n },\n minutes: {\n singular: 'minute',\n plural: 'minutes',\n },\n hours: {\n singular: 'hour',\n plural: 'hours',\n },\n days: {\n singular: 'day',\n plural: 'days',\n },\n weeks: {\n singular: 'week',\n plural: 'weeks',\n },\n months: {\n singular: 'month',\n plural: 'months',\n },\n years: {\n singular: 'year',\n plural: 'years',\n },\n },\n future: {\n seconds: {\n singular: 'second',\n plural: 'seconds',\n },\n minutes: {\n singular: 'minute',\n plural: 'minutes',\n },\n hours: {\n singular: 'hour',\n plural: 'hours',\n },\n days: {\n singular: 'day',\n plural: 'days',\n },\n weeks: {\n singular: 'week',\n plural: 'weeks',\n },\n months: {\n singular: 'month',\n plural: 'months',\n },\n years: {\n singular: 'year',\n plural: 'years',\n },\n },\n },\n nl: {\n past: {\n seconds: {\n singular: 'seconde',\n plural: 'seconden',\n },\n minutes: {\n singular: 'minuut',\n plural: 'minuten',\n },\n hours: {\n singular: 'uur',\n plural: 'uren',\n },\n days: {\n singular: 'dag',\n plural: 'dagen',\n },\n weeks: {\n singular: 'week',\n plural: 'weken',\n },\n months: {\n singular: 'maand',\n plural: 'maanden',\n },\n years: {\n singular: 'jaar',\n plural: 'jaren',\n },\n },\n future: {\n seconds: {\n singular: 'seconde',\n plural: 'seconden',\n },\n minutes: {\n singular: 'minuut',\n plural: 'minuten',\n },\n hours: {\n singular: 'uur',\n plural: 'uren',\n },\n days: {\n singular: 'dag',\n plural: 'dagen',\n },\n weeks: {\n singular: 'week',\n plural: 'weken',\n },\n months: {\n singular: 'maand',\n plural: 'maanden',\n },\n years: {\n singular: 'jaar',\n plural: 'jaren',\n },\n },\n },\n fr: {\n past: {\n seconds: {\n singular: 'seconde',\n plural: 'secondes',\n },\n minutes: {\n singular: 'minute',\n plural: 'minutes',\n },\n hours: {\n singular: 'heure',\n plural: 'heures',\n },\n days: {\n singular: 'jour',\n plural: 'jours',\n },\n weeks: {\n singular: 'semaine',\n plural: 'semaines',\n },\n months: {\n singular: 'mois',\n plural: 'mois',\n },\n years: {\n singular: 'an',\n plural: 'ans',\n },\n },\n future: {\n seconds: {\n singular: 'seconde',\n plural: 'secondes',\n },\n minutes: {\n singular: 'minute',\n plural: 'minutes',\n },\n hours: {\n singular: 'heure',\n plural: 'heures',\n },\n days: {\n singular: 'jour',\n plural: 'jours',\n },\n weeks: {\n singular: 'semaine',\n plural: 'semaines',\n },\n months: {\n singular: 'mois',\n plural: 'mois',\n },\n years: {\n singular: 'an',\n plural: 'ans',\n },\n },\n },\n it: {\n past: {\n seconds: {\n singular: 'secondo',\n plural: 'secondi',\n },\n minutes: {\n singular: 'minuto',\n plural: 'minuti',\n },\n hours: {\n singular: 'ora',\n plural: 'ore',\n },\n days: {\n singular: 'giorno',\n plural: 'giorni',\n },\n weeks: {\n singular: 'settimana',\n plural: 'settimane',\n },\n months: {\n singular: 'mese',\n plural: 'mesi',\n },\n years: {\n singular: 'anno',\n plural: 'anni',\n },\n },\n future: {\n seconds: {\n singular: 'secondo',\n plural: 'secondi',\n },\n minutes: {\n singular: 'minuto',\n plural: 'minuti',\n },\n hours: {\n singular: 'ora',\n plural: 'ore',\n },\n days: {\n singular: 'giorno',\n plural: 'giorni',\n },\n weeks: {\n singular: 'settimana',\n plural: 'settimane',\n },\n months: {\n singular: 'mese',\n plural: 'mesi',\n },\n years: {\n singular: 'anno',\n plural: 'anni',\n },\n },\n },\n pl: {\n past: {\n seconds: {\n singular: 'sekunda',\n plural: 'sekundy',\n },\n minutes: {\n singular: 'minuta',\n plural: 'minuty',\n },\n hours: {\n singular: 'godzina',\n plural: 'godziny',\n },\n days: {\n singular: 'dzień',\n plural: 'dni',\n },\n weeks: {\n singular: 'tydzień',\n plural: 'tygodnie',\n },\n months: {\n singular: 'miesiąc',\n plural: 'miesiące',\n },\n years: {\n singular: 'rok',\n plural: 'lata',\n },\n },\n future: {\n seconds: {\n singular: 'sekunda',\n plural: 'sekundy',\n },\n minutes: {\n singular: 'minuta',\n plural: 'minuty',\n },\n hours: {\n singular: 'godzina',\n plural: 'godziny',\n },\n days: {\n singular: 'dzień',\n plural: 'dni',\n },\n weeks: {\n singular: 'tydzień',\n plural: 'tygodnie',\n },\n months: {\n singular: 'miesiąc',\n plural: 'miesiące',\n },\n years: {\n singular: 'rok',\n plural: 'lata',\n },\n },\n },\n pt: {\n past: {\n seconds: {\n singular: 'segundo',\n plural: 'segundos',\n },\n minutes: {\n singular: 'minuto',\n plural: 'minutos',\n },\n hours: {\n singular: 'hora',\n plural: 'horas',\n },\n days: {\n singular: 'dia',\n plural: 'dias',\n },\n weeks: {\n singular: 'semana',\n plural: 'semanas',\n },\n months: {\n singular: 'mês',\n plural: 'meses',\n },\n years: {\n singular: 'ano',\n plural: 'anos',\n },\n },\n future: {\n seconds: {\n singular: 'segundo',\n plural: 'segundos',\n },\n minutes: {\n singular: 'minuto',\n plural: 'minutos',\n },\n hours: {\n singular: 'hora',\n plural: 'horas',\n },\n days: {\n singular: 'dia',\n plural: 'dias',\n },\n weeks: {\n singular: 'semana',\n plural: 'semanas',\n },\n months: {\n singular: 'mês',\n plural: 'meses',\n },\n years: {\n singular: 'ano',\n plural: 'anos',\n },\n },\n },\n es: {\n past: {\n seconds: {\n singular: 'segundo',\n plural: 'segundos',\n },\n minutes: {\n singular: 'minuto',\n plural: 'minutos',\n },\n hours: {\n singular: 'hora',\n plural: 'horas',\n },\n days: {\n singular: 'día',\n plural: 'días',\n },\n weeks: {\n singular: 'semana',\n plural: 'semanas',\n },\n months: {\n singular: 'mes',\n plural: 'meses',\n },\n years: {\n singular: 'año',\n plural: 'años',\n },\n },\n future: {\n seconds: {\n singular: 'segundo',\n plural: 'segundos',\n },\n minutes: {\n singular: 'minuto',\n plural: 'minutos',\n },\n hours: {\n singular: 'hora',\n plural: 'horas',\n },\n days: {\n singular: 'día',\n plural: 'días',\n },\n weeks: {\n singular: 'semana',\n plural: 'semanas',\n },\n months: {\n singular: 'mes',\n plural: 'meses',\n },\n years: {\n singular: 'año',\n plural: 'años',\n },\n },\n },\n tr: {\n past: {\n seconds: {\n singular: 'saniye',\n plural: 'saniye',\n },\n minutes: {\n singular: 'dakika',\n plural: 'dakika',\n },\n hours: {\n singular: 'saat',\n plural: 'saat',\n },\n days: {\n singular: 'gün',\n plural: 'gün',\n },\n weeks: {\n singular: 'hafta',\n plural: 'hafta',\n },\n months: {\n singular: 'ay',\n plural: 'ay',\n },\n years: {\n singular: 'yıl',\n plural: 'yıl',\n },\n },\n future: {\n seconds: {\n singular: 'saniye',\n plural: 'saniye',\n },\n minutes: {\n singular: 'dakika',\n plural: 'dakika',\n },\n hours: {\n singular: 'saat',\n plural: 'saat',\n },\n days: {\n singular: 'gün',\n plural: 'gün',\n },\n weeks: {\n singular: 'hafta',\n plural: 'hafta',\n },\n months: {\n singular: 'ay',\n plural: 'ay',\n },\n years: {\n singular: 'yıl',\n plural: 'yıl',\n },\n },\n },\n uk: {\n past: {\n seconds: {\n singular: 'секунда',\n plural: 'секунди',\n },\n minutes: {\n singular: 'хвилина',\n plural: 'хвилини',\n },\n hours: {\n singular: 'година',\n plural: 'години',\n },\n days: {\n singular: 'день',\n plural: 'дні',\n },\n weeks: {\n singular: 'тиждень',\n plural: 'тижні',\n },\n months: {\n singular: 'місяць',\n plural: 'місяці',\n },\n years: {\n singular: 'рік',\n plural: 'роки',\n },\n },\n future: {\n seconds: {\n singular: 'секунда',\n plural: 'секунди',\n },\n minutes: {\n singular: 'хвилина',\n plural: 'хвилини',\n },\n hours: {\n singular: 'година',\n plural: 'години',\n },\n days: {\n singular: 'день',\n plural: 'дні',\n },\n weeks: {\n singular: 'тиждень',\n plural: 'тижні',\n },\n months: {\n singular: 'місяць',\n plural: 'місяці',\n },\n years: {\n singular: 'рік',\n plural: 'роки',\n },\n },\n },\n};\n"],"mappings":";;;;;;AAwBO,MAAMA,iBAAkC,GAAAC,OAAA,CAAAD,iBAAA,GAAG;EAC9CE,EAAE,EAAE;IACAC,IAAI,EAAE;MACFC,OAAO,EAAE;QACLC,QAAQ,EAAE,SAAS;QACnBC,MAAM,EAAE;MACZ,CAAC;MACDC,OAAO,EAAE;QACLF,QAAQ,EAAE,QAAQ;QAClBC,MAAM,EAAE;MACZ,CAAC;MACDE,KAAK,EAAE;QACHH,QAAQ,EAAE,QAAQ;QAClBC,MAAM,EAAE;MACZ,CAAC;MACDG,IAAI,EAAE;QACFJ,QAAQ,EAAE,KAAK;QACfC,MAAM,EAAE;MACZ,CAAC;MACDI,KAAK,EAAE;QACHL,QAAQ,EAAE,OAAO;QACjBC,MAAM,EAAE;MACZ,CAAC;MACDK,MAAM,EAAE;QACJN,QAAQ,EAAE,OAAO;QACjBC,MAAM,EAAE;MACZ,CAAC;MACDM,KAAK,EAAE;QACHP,QAAQ,EAAE,MAAM;QAChBC,MAAM,EAAE;MACZ;IACJ,CAAC;IACDO,MAAM,EAAE;MACJT,OAAO,EAAE;QACLC,QAAQ,EAAE,SAAS;QACnBC,MAAM,EAAE;MACZ,CAAC;MACDC,OAAO,EAAE;QACLF,QAAQ,EAAE,QAAQ;QAClBC,MAAM,EAAE;MACZ,CAAC;MACDE,KAAK,EAAE;QACHH,QAAQ,EAAE,QAAQ;QAClBC,MAAM,EAAE;MACZ,CAAC;MACDG,IAAI,EAAE;QACFJ,QAAQ,EAAE,K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nBC,MAAM,EAAE;MACZ,CAAC;MACDC,OAAO,EAAE;QACLF,QAAQ,EAAE,SAAS;QACnBC,MAAM,EAAE;MACZ,CAAC;MACDE,KAAK,EAAE;QACHH,QAAQ,EAAE,QAAQ;QAClBC,MAAM,EAAE;MACZ,CAAC;MACDG,IAAI,EAAE;QACFJ,QAAQ,EAAE,MAAM;QAChBC,MAAM,EAAE;MACZ,CAAC;MACDI,KAAK,EAAE;QACHL,QAAQ,EAAE,SAAS;QACnBC,MAAM,EAAE;MACZ,CAAC;MACDK,MAAM,EAAE;QACJN,QAAQ,EAAE,QAAQ;QAClBC,MAAM,EAAE;MACZ,CAAC;MACDM,KAAK,EAAE;QACHP,QAAQ,EAAE,KAAK;QACfC,MAAM,EAAE;MACZ;IACJ;EACJ;AACJ,CAAC"}
|
|
@@ -9,4 +9,4 @@ let MentionFinderPopupAlignment = exports.MentionFinderPopupAlignment = /*#__PUR
|
|
|
9
9
|
MentionFinderPopupAlignment[MentionFinderPopupAlignment["Bottom"] = 1] = "Bottom";
|
|
10
10
|
return MentionFinderPopupAlignment;
|
|
11
11
|
}({});
|
|
12
|
-
//# sourceMappingURL=
|
|
12
|
+
//# sourceMappingURL=mentionFinder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mentionFinder.js","names":["MentionFinderPopupAlignment","exports"],"sources":["../../src/constants/mentionFinder.ts"],"sourcesContent":["export enum MentionFinderPopupAlignment {\n Top,\n Bottom,\n}\n"],"mappings":";;;;;;IAAYA,2BAA2B,GAAAC,OAAA,CAAAD,2BAAA,0BAA3BA,2BAA2B;EAA3BA,2BAA2B,CAA3BA,2BAA2B;EAA3BA,2BAA2B,CAA3BA,2BAA2B;EAAA,OAA3BA,2BAA2B;AAAA"}
|
|
@@ -9,4 +9,4 @@ const INTEGER_TEST = exports.INTEGER_TEST = /^[1-9][0-9]*$/;
|
|
|
9
9
|
const DECIMAL_TEST = exports.DECIMAL_TEST = /^(0|[1-9][0-9]*)?(\.[0-9]*)?$/;
|
|
10
10
|
const MONEY_TEST = exports.MONEY_TEST = /^(0|[1-9][0-9]*)?(\.[0-9]{0,2})?$/;
|
|
11
11
|
const TIME_TEST = exports.TIME_TEST = /^\d{1,2}(:\d{1,2})?$/;
|
|
12
|
-
//# sourceMappingURL=
|
|
12
|
+
//# sourceMappingURL=numberInput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"numberInput.js","names":["NUMBER_CLEAR_REGEX","exports","INTEGER_TEST","DECIMAL_TEST","MONEY_TEST","TIME_TEST"],"sources":["../../src/constants/numberInput.ts"],"sourcesContent":["export const NUMBER_CLEAR_REGEX = /[^\\d,.:]/gi;\nexport const INTEGER_TEST = /^[1-9][0-9]*$/;\nexport const DECIMAL_TEST = /^(0|[1-9][0-9]*)?(\\.[0-9]*)?$/;\nexport const MONEY_TEST = /^(0|[1-9][0-9]*)?(\\.[0-9]{0,2})?$/;\nexport const TIME_TEST = /^\\d{1,2}(:\\d{1,2})?$/;\n"],"mappings":";;;;;;AAAO,MAAMA,kBAAkB,GAAAC,OAAA,CAAAD,kBAAA,GAAG,YAAY;AACvC,MAAME,YAAY,GAAAD,OAAA,CAAAC,YAAA,GAAG,eAAe;AACpC,MAAMC,YAAY,GAAAF,OAAA,CAAAE,YAAA,GAAG,+BAA+B;AACpD,MAAMC,UAAU,GAAAH,OAAA,CAAAG,UAAA,GAAG,mCAAmC;AACtD,MAAMC,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAG,sBAAsB"}
|
|
@@ -5,4 +5,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.SIGNATURE_SERVER_URL = void 0;
|
|
7
7
|
const SIGNATURE_SERVER_URL = exports.SIGNATURE_SERVER_URL = 'https://webapi.tobit.com/AccountService/v1.0/General/PersonKeyValue/signature';
|
|
8
|
-
//# sourceMappingURL=
|
|
8
|
+
//# sourceMappingURL=signature.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signature.js","names":["SIGNATURE_SERVER_URL","exports"],"sources":["../../src/constants/signature.ts"],"sourcesContent":["export const SIGNATURE_SERVER_URL =\n 'https://webapi.tobit.com/AccountService/v1.0/General/PersonKeyValue/signature';\n"],"mappings":";;;;;;AAAO,MAAMA,oBAAoB,GAAAC,OAAA,CAAAD,oBAAA,GAC7B,+EAA+E"}
|
package/lib/index.d.ts
CHANGED
|
@@ -17,25 +17,25 @@ export { default as ContextMenu } from './components/context-menu/ContextMenu';
|
|
|
17
17
|
export { default as DateInfo } from './components/date-info/DateInfo';
|
|
18
18
|
export { default as FileInput } from './components/file-input/FileInput';
|
|
19
19
|
export { default as FilterButtons } from './components/filter-buttons/FilterButtons';
|
|
20
|
-
export type { FilterButtonItemShape, FilterButtonSize, IFilterButtonItem as FilterButtonItem, } from './
|
|
20
|
+
export type { FilterButtonItemShape, FilterButtonSize, IFilterButtonItem as FilterButtonItem, } from './types/filterButtons';
|
|
21
21
|
export { default as GridImage } from './components/grid-image/GridImage';
|
|
22
22
|
export { default as Icon } from './components/icon/Icon';
|
|
23
23
|
export { default as Input } from './components/input/Input';
|
|
24
24
|
export { default as List } from './components/list/List';
|
|
25
25
|
export { default as ListItemContent } from './components/list/list-item/list-item-content/ListItemContent';
|
|
26
26
|
export { default as ListItem } from './components/list/list-item/ListItem';
|
|
27
|
-
export { MentionFinderPopupAlignment } from './
|
|
27
|
+
export { MentionFinderPopupAlignment } from './constants/mentionFinder';
|
|
28
28
|
export { default as MentionFinder } from './components/mention-finder/MentionFinder';
|
|
29
29
|
export type { MentionMember } from './components/mention-finder/MentionFinder';
|
|
30
30
|
export { default as NumberInput } from './components/number-input/NumberInput';
|
|
31
31
|
export { default as Popup } from './components/popup/Popup';
|
|
32
|
-
export type { PopupRef } from './
|
|
32
|
+
export type { PopupRef } from './types/popup';
|
|
33
33
|
export { default as ProgressBar } from './components/progress-bar/ProgressBar';
|
|
34
34
|
export { default as RadioButtonGroup } from './components/radio-button/radio-button-group/RadioButtonGroup';
|
|
35
35
|
export { default as RadioButton } from './components/radio-button/RadioButton';
|
|
36
36
|
export { default as ScrollView } from './components/scroll-view/ScrollView';
|
|
37
37
|
export { default as SearchBox } from './components/search-box/SearchBox';
|
|
38
|
-
export type { ISearchBoxItem as SearchBoxItem } from './
|
|
38
|
+
export type { ISearchBoxItem as SearchBoxItem } from './types/searchBox';
|
|
39
39
|
export { default as SearchInput } from './components/search-input/SearchInput';
|
|
40
40
|
export { default as SetupWizardItem } from './components/setup-wizard/setup-wizard-item/SetupWizardItem';
|
|
41
41
|
export { default as SetupWizard } from './components/setup-wizard/SetupWizard';
|
|
@@ -54,7 +54,7 @@ export { getFileAsArrayBuffer, selectFiles } from './utils/fileDialog';
|
|
|
54
54
|
export { isTobitEmployee } from './utils/isTobitEmployee';
|
|
55
55
|
export { uploadFile } from './utils/uploadFile';
|
|
56
56
|
export { default as SelectButton } from './components/select-button/SelectButton';
|
|
57
|
-
export type { SelectButtonItem } from './
|
|
57
|
+
export type { SelectButtonItem } from './types/selectButton';
|
|
58
58
|
export { default as Signature } from './components/signature/Signature';
|
|
59
59
|
export type { SignatureRef } from './components/signature/Signature';
|
|
60
60
|
export { default as SliderButton } from './components/slider-button/SliderButton';
|
|
@@ -62,3 +62,4 @@ export type { SliderButtonItem } from './types/slider-button';
|
|
|
62
62
|
export { default as OpeningTimes } from './components/opening-times/OpeningTimes';
|
|
63
63
|
export type { Weekday, OpeningTime, Time } from './types/openingTimes';
|
|
64
64
|
export { default as PositionInput } from './components/position-input/PositionInput';
|
|
65
|
+
export type { PolygonOptions, IMarker as Marker, Position } from './types/positionInput';
|
package/lib/index.js
CHANGED
|
@@ -162,7 +162,7 @@ Object.defineProperty(exports, "MentionFinder", {
|
|
|
162
162
|
Object.defineProperty(exports, "MentionFinderPopupAlignment", {
|
|
163
163
|
enumerable: true,
|
|
164
164
|
get: function () {
|
|
165
|
-
return
|
|
165
|
+
return _mentionFinder.MentionFinderPopupAlignment;
|
|
166
166
|
}
|
|
167
167
|
});
|
|
168
168
|
Object.defineProperty(exports, "NumberInput", {
|
|
@@ -350,7 +350,7 @@ var _Input = _interopRequireDefault(require("./components/input/Input"));
|
|
|
350
350
|
var _List = _interopRequireDefault(require("./components/list/List"));
|
|
351
351
|
var _ListItemContent = _interopRequireDefault(require("./components/list/list-item/list-item-content/ListItemContent"));
|
|
352
352
|
var _ListItem = _interopRequireDefault(require("./components/list/list-item/ListItem"));
|
|
353
|
-
var
|
|
353
|
+
var _mentionFinder = require("./constants/mentionFinder");
|
|
354
354
|
var _MentionFinder = _interopRequireDefault(require("./components/mention-finder/MentionFinder"));
|
|
355
355
|
var _NumberInput = _interopRequireDefault(require("./components/number-input/NumberInput"));
|
|
356
356
|
var _Popup = _interopRequireDefault(require("./components/popup/Popup"));
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_Accordion","_interopRequireDefault","require","_AccordionContent","_AccordionGroup","_AccordionIntro","_AccordionItem","_AmountControl","_Badge","_Button","_Checkbox","_CodeHighlighter","_ColorSchemeProvider","_ComboBox","_ContentCard","_ContextMenu","_DateInfo","_FileInput","_FilterButtons","_GridImage","_Icon","_Input","_List","_ListItemContent","_ListItem","
|
|
1
|
+
{"version":3,"file":"index.js","names":["_Accordion","_interopRequireDefault","require","_AccordionContent","_AccordionGroup","_AccordionIntro","_AccordionItem","_AmountControl","_Badge","_Button","_Checkbox","_CodeHighlighter","_ColorSchemeProvider","_ComboBox","_ContentCard","_ContextMenu","_DateInfo","_FileInput","_FilterButtons","_GridImage","_Icon","_Input","_List","_ListItemContent","_ListItem","_mentionFinder","_MentionFinder","_NumberInput","_Popup","_ProgressBar","_RadioButtonGroup","_RadioButton","_ScrollView","_SearchBox","_SearchInput","_SetupWizardItem","_SetupWizard","_SharingBar","_Slider","_SmallWaitCursor","_interopRequireWildcard","_TextArea","_Tooltip","_Truncation","_codeHighlighter","_comboBox","_fileDialog","_isTobitEmployee","_uploadFile","_SelectButton","_Signature","_SliderButton","_OpeningTimes","_PositionInput","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","obj"],"sources":["../src/index.ts"],"sourcesContent":["// noinspection JSUnusedGlobalSymbols\nexport { default as Accordion } from './components/accordion/Accordion';\nexport { default as AccordionContent } from './components/accordion/accordion-content/AccordionContent';\nexport { default as AccordionGroup } from './components/accordion/accordion-group/AccordionGroup';\nexport { default as AccordionIntro } from './components/accordion/accordion-intro/AccordionIntro';\nexport { default as AccordionItem } from './components/accordion/accordion-item/AccordionItem';\nexport { default as AmountControl } from './components/amount-control/AmountControl';\nexport { default as Badge } from './components/badge/Badge';\nexport { default as Button } from './components/button/Button';\nexport { default as Checkbox } from './components/checkbox/Checkbox';\nexport { default as CodeHighlighter } from './components/code-highlighter/CodeHighlighter';\nexport { default as ColorSchemeProvider } from './components/color-scheme-provider/ColorSchemeProvider';\nexport type {\n FramerMotionBugFix,\n WithTheme,\n} from './components/color-scheme-provider/ColorSchemeProvider';\nexport { default as ComboBox } from './components/combobox/ComboBox';\nexport type { IComboBoxItem as ComboBoxItem } from './components/combobox/ComboBox';\nexport { default as ContentCard } from './components/content-card/ContentCard';\nexport { default as ContextMenu } from './components/context-menu/ContextMenu';\nexport { default as DateInfo } from './components/date-info/DateInfo';\nexport { default as FileInput } from './components/file-input/FileInput';\nexport { default as FilterButtons } from './components/filter-buttons/FilterButtons';\nexport type {\n FilterButtonItemShape,\n FilterButtonSize,\n IFilterButtonItem as FilterButtonItem,\n} from './types/filterButtons';\nexport { default as GridImage } from './components/grid-image/GridImage';\nexport { default as Icon } from './components/icon/Icon';\nexport { default as Input } from './components/input/Input';\nexport { default as List } from './components/list/List';\nexport { default as ListItemContent } from './components/list/list-item/list-item-content/ListItemContent';\nexport { default as ListItem } from './components/list/list-item/ListItem';\nexport { MentionFinderPopupAlignment } from './constants/mentionFinder';\nexport { default as MentionFinder } from './components/mention-finder/MentionFinder';\nexport type { MentionMember } from './components/mention-finder/MentionFinder';\nexport { default as NumberInput } from './components/number-input/NumberInput';\nexport { default as Popup } from './components/popup/Popup';\nexport type { PopupRef } from './types/popup';\nexport { default as ProgressBar } from './components/progress-bar/ProgressBar';\nexport { default as RadioButtonGroup } from './components/radio-button/radio-button-group/RadioButtonGroup';\nexport { default as RadioButton } from './components/radio-button/RadioButton';\nexport { default as ScrollView } from './components/scroll-view/ScrollView';\nexport { default as SearchBox } from './components/search-box/SearchBox';\nexport type { ISearchBoxItem as SearchBoxItem } from './types/searchBox';\nexport { default as SearchInput } from './components/search-input/SearchInput';\nexport { default as SetupWizardItem } from './components/setup-wizard/setup-wizard-item/SetupWizardItem';\nexport { default as SetupWizard } from './components/setup-wizard/SetupWizard';\nexport type { SetupWizardRef } from './components/setup-wizard/SetupWizard';\nexport { default as SharingBar } from './components/sharing-bar/SharingBar';\nexport { default as Slider } from './components/slider/Slider';\nexport {\n default as SmallWaitCursor,\n SmallWaitCursorSize,\n SmallWaitCursorSpeed,\n} from './components/small-wait-cursor/SmallWaitCursor';\nexport { default as TextArea } from './components/text-area/TextArea';\nexport { default as Tooltip } from './components/tooltip/Tooltip';\nexport { default as Truncation } from './components/truncation/Truncation';\nexport { CodeHighlighterTheme } from './types/codeHighlighter';\nexport type { CodeHighlighterLanguage, HighlightedLines } from './types/codeHighlighter';\nexport { ComboBoxDirection } from './types/comboBox';\nexport type { FileItem, Image, Meta, Video } from './types/file';\nexport { getFileAsArrayBuffer, selectFiles } from './utils/fileDialog';\nexport { isTobitEmployee } from './utils/isTobitEmployee';\nexport { uploadFile } from './utils/uploadFile';\nexport { default as SelectButton } from './components/select-button/SelectButton';\nexport type { SelectButtonItem } from './types/selectButton';\nexport { default as Signature } from './components/signature/Signature';\nexport type { SignatureRef } from './components/signature/Signature';\nexport { default as SliderButton } from './components/slider-button/SliderButton';\nexport type { SliderButtonItem } from './types/slider-button';\nexport { default as OpeningTimes } from './components/opening-times/OpeningTimes';\nexport type { Weekday, OpeningTime, Time } from './types/openingTimes';\nexport { default as PositionInput } from './components/position-input/PositionInput';\nexport type { PolygonOptions, IMarker as Marker, Position } from './types/positionInput';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,IAAAA,UAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,eAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,eAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,cAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,cAAA,GAAAN,sBAAA,CAAAC,OAAA;AACA,IAAAM,MAAA,GAAAP,sBAAA,CAAAC,OAAA;AACA,IAAAO,OAAA,GAAAR,sBAAA,CAAAC,OAAA;AACA,IAAAQ,SAAA,GAAAT,sBAAA,CAAAC,OAAA;AACA,IAAAS,gBAAA,GAAAV,sBAAA,CAAAC,OAAA;AACA,IAAAU,oBAAA,GAAAX,sBAAA,CAAAC,OAAA;AAKA,IAAAW,SAAA,GAAAZ,sBAAA,CAAAC,OAAA;AAEA,IAAAY,YAAA,GAAAb,sBAAA,CAAAC,OAAA;AACA,IAAAa,YAAA,GAAAd,sBAAA,CAAAC,OAAA;AACA,IAAAc,SAAA,G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AAA,EAAAc,CAAA,UAAAI,CAAA,KAAAA,CAAA,CAAAX,GAAA,IAAAW,CAAA,CAAAC,GAAA,IAAAR,MAAA,CAAAC,cAAA,CAAAJ,CAAA,EAAAM,CAAA,EAAAI,CAAA,IAAAV,CAAA,CAAAM,CAAA,IAAAd,CAAA,CAAAc,CAAA,YAAAN,CAAA,CAAAH,OAAA,GAAAL,CAAA,EAAAG,CAAA,IAAAA,CAAA,CAAAgB,GAAA,CAAAnB,CAAA,EAAAQ,CAAA,GAAAA,CAAA;AAAA,SAAA9D,uBAAA0E,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAhB,UAAA,GAAAgB,GAAA,KAAAf,OAAA,EAAAe,GAAA"}
|
|
@@ -13,4 +13,4 @@ let ContextMenuAlignment = exports.ContextMenuAlignment = /*#__PURE__*/function
|
|
|
13
13
|
ContextMenuAlignment[ContextMenuAlignment["BottomCenter"] = 5] = "BottomCenter";
|
|
14
14
|
return ContextMenuAlignment;
|
|
15
15
|
}({});
|
|
16
|
-
//# sourceMappingURL=
|
|
16
|
+
//# sourceMappingURL=contextMenu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contextMenu.js","names":["ContextMenuAlignment","exports"],"sources":["../../src/types/contextMenu.ts"],"sourcesContent":["export enum ContextMenuAlignment {\n TopLeft,\n BottomLeft,\n TopRight,\n BottomRight,\n TopCenter,\n BottomCenter,\n}\n"],"mappings":";;;;;;IAAYA,oBAAoB,GAAAC,OAAA,CAAAD,oBAAA,0BAApBA,oBAAoB;EAApBA,oBAAoB,CAApBA,oBAAoB;EAApBA,oBAAoB,CAApBA,oBAAoB;EAApBA,oBAAoB,CAApBA,oBAAoB;EAApBA,oBAAoB,CAApBA,oBAAoB;EAApBA,oBAAoB,CAApBA,oBAAoB;EAApBA,oBAAoB,CAApBA,oBAAoB;EAAA,OAApBA,oBAAoB;AAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filterButtons.js","names":["FilterButtonItemShape","exports","FilterButtonSize"],"sources":["../../src/types/filterButtons.ts"],"sourcesContent":["import type { CSSProperties } from 'react';\n\nexport enum FilterButtonItemShape {\n Round,\n Rectangular,\n}\nexport enum FilterButtonSize {\n Small,\n Normal,\n}\n\nexport interface IFilterButtonItem {\n id: string;\n text: string;\n color?: CSSProperties['color'];\n icons?: string[];\n}\n"],"mappings":";;;;;;IAEYA,qBAAqB,GAAAC,OAAA,CAAAD,qBAAA,0BAArBA,qBAAqB;EAArBA,qBAAqB,CAArBA,qBAAqB;EAArBA,qBAAqB,CAArBA,qBAAqB;EAAA,OAArBA,qBAAqB;AAAA;AAAA,IAIrBE,gBAAgB,GAAAD,OAAA,CAAAC,gBAAA,0BAAhBA,gBAAgB;EAAhBA,gBAAgB,CAAhBA,gBAAgB;EAAhBA,gBAAgB,CAAhBA,gBAAgB;EAAA,OAAhBA,gBAAgB;AAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popup.js","names":["PopupAlignment","exports"],"sources":["../../src/types/popup.ts"],"sourcesContent":["export enum PopupAlignment {\n TopLeft,\n TopCenter,\n TopRight,\n BottomLeft,\n BottomCenter,\n BottomRight,\n}\n\nexport type PopupCoordinates = {\n x: number;\n y: number;\n};\n\nexport type PopupRef = {\n hide: VoidFunction;\n show: VoidFunction;\n};\n"],"mappings":";;;;;;IAAYA,cAAc,GAAAC,OAAA,CAAAD,cAAA,0BAAdA,cAAc;EAAdA,cAAc,CAAdA,cAAc;EAAdA,cAAc,CAAdA,cAAc;EAAdA,cAAc,CAAdA,cAAc;EAAdA,cAAc,CAAdA,cAAc;EAAdA,cAAc,CAAdA,cAAc;EAAdA,cAAc,CAAdA,cAAc;EAAA,OAAdA,cAAc;AAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radioButton.js","names":[],"sources":["../../src/types/radioButton.ts"],"sourcesContent":["export interface RadioButtonItem {\n id: string;\n isChecked: boolean;\n}\n"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"searchBox.js","names":[],"sources":["../../src/types/searchBox.ts"],"sourcesContent":["export interface ISearchBoxItem {\n text: string;\n id: string;\n}\n"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selectButton.js","names":[],"sources":["../../src/types/selectButton.ts"],"sourcesContent":["export interface SelectButtonItem {\n text: string;\n id: number;\n}\n"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip.js","names":[],"sources":["../../src/types/tooltip.ts"],"sourcesContent":["export interface ITooltipItem {\n headline?: string;\n text: string;\n imageUrl?: string;\n button?: { text: string; onClick: () => void };\n}\n"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accordion.js","names":["getAccordionHeadHeight","_ref","isWrapped","title","width","element","document","createElement","style","fontSize","opacity","pointerEvents","whiteSpace","innerText","body","appendChild","closedHeight","Math","max","clientHeight","fontWeight","openHeight","removeChild","closed","open","exports"],"sources":["../../src/utils/accordion.ts"],"sourcesContent":["interface GetAccordionHeadHeightOptions {\n isWrapped?: boolean;\n title: string;\n width: number;\n}\n\ninterface GetAccordionHeadHeightResult {\n closed: number;\n open: number;\n}\n\nexport const getAccordionHeadHeight = ({\n isWrapped,\n title,\n width,\n}: GetAccordionHeadHeightOptions): GetAccordionHeadHeightResult => {\n const element = document.createElement('div');\n\n element.style.fontSize = '1rem';\n element.style.opacity = '0';\n element.style.pointerEvents = 'none';\n element.style.whiteSpace = 'nowrap';\n element.style.width = `${width}px`;\n\n element.innerText = title;\n\n document.body.appendChild(element);\n\n const closedHeight = Math.max(element.clientHeight + 8, isWrapped ? 40 : 33);\n\n if (isWrapped) {\n element.style.fontWeight = 'bold';\n } else {\n element.style.fontSize = '1.3rem';\n }\n\n element.style.whiteSpace = 'normal';\n\n const openHeight = Math.max(element.clientHeight + 8, isWrapped ? 40 :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AzB,sBAAA,GAAAA,sBAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"amountControl.js","names":["checkForValidAmount","_ref","amount","maxAmount","minAmount","exports"],"sources":["../../src/utils/amountControl.ts"],"sourcesContent":["interface CheckForValidAmount {\n amount: number;\n maxAmount?: number;\n minAmount: number;\n}\n\nexport const checkForValidAmount = ({ amount, maxAmount, minAmount }: CheckForValidAmount) => {\n if (maxAmount && amount > maxAmount) {\n return maxAmount;\n }\n\n if (amount < minAmount) {\n return minAmount;\n }\n\n return amount;\n};\n"],"mappings":";;;;;;AAMO,MAAMA,mBAAmB,GAAGC,IAAA,IAA2D;EAAA,IAA1D;IAAEC,MAAM;IAAEC,SAAS;IAAEC;EAA+B,CAAC,GAAAH,IAAA;EACrF,IAAIE,SAAS,IAAID,MAAM,GAAGC,SAAS,EAAE;IACjC,OAAOA,SAAS;EACpB;EAEA,IAAID,MAAM,GAAGE,SAAS,EAAE;IACpB,OAAOA,SAAS;EACpB;EAEA,OAAOF,MAAM;AACjB,CAAC;AAACG,OAAA,CAAAL,mBAAA,GAAAA,mBAAA"}
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
import { type TimeTypeStringsRecord } from '../constants/
|
|
1
|
+
import { type TimeTypeStringsRecord } from '../constants/dateInfo';
|
|
2
|
+
export declare const getLanguage: () => Locale;
|
|
3
|
+
interface GetTimeStringProps {
|
|
4
|
+
language?: string;
|
|
5
|
+
isMorning?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const getTimeString: ({ language, isMorning }: GetTimeStringProps) => "" | "uur" | "heures" | "AM" | "PM" | "Uhr" | "h";
|
|
2
8
|
interface GetFormattedYearOptions {
|
|
3
9
|
date: Date;
|
|
4
10
|
shouldShowThisYear?: boolean;
|
|
@@ -3,39 +3,88 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.isMorning = exports.getYearFormat = exports.getTimeTypeStrings = exports.getTimeTillNow = exports.getMonthFormat = exports.getFormattedTime = exports.getFormattedPastTimeString = exports.getFormattedFutureTimeString = exports.getFormattedDayOfWeek = exports.TimeType = void 0;
|
|
6
|
+
exports.isMorning = exports.getYearFormat = exports.getTimeTypeStrings = exports.getTimeTillNow = exports.getTimeString = exports.getMonthFormat = exports.getLanguage = exports.getFormattedTime = exports.getFormattedPastTimeString = exports.getFormattedFutureTimeString = exports.getFormattedDayOfWeek = exports.TimeType = void 0;
|
|
7
7
|
var _dateFns = require("date-fns");
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
|
|
8
|
+
var _dateInfo = require("../constants/dateInfo");
|
|
9
|
+
var _chaynsApi = require("chayns-api");
|
|
10
|
+
var _locale = require("date-fns/locale");
|
|
11
|
+
const getLanguage = () => {
|
|
12
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
|
13
|
+
switch ((0, _chaynsApi.getLanguage)().translation || (0, _chaynsApi.getLanguage)().site) {
|
|
14
|
+
case 'en':
|
|
15
|
+
return _locale.enGB;
|
|
16
|
+
case 'nl':
|
|
17
|
+
return _locale.nl;
|
|
18
|
+
case 'fr':
|
|
19
|
+
return _locale.fr;
|
|
20
|
+
case 'it':
|
|
21
|
+
return _locale.it;
|
|
22
|
+
case 'pl':
|
|
23
|
+
return _locale.pl;
|
|
24
|
+
case 'pt':
|
|
25
|
+
return _locale.pt;
|
|
26
|
+
case 'es':
|
|
27
|
+
return _locale.es;
|
|
28
|
+
case 'tr':
|
|
29
|
+
return _locale.tr;
|
|
30
|
+
case 'uk':
|
|
31
|
+
return _locale.uk;
|
|
32
|
+
default:
|
|
33
|
+
return _locale.de;
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
exports.getLanguage = getLanguage;
|
|
37
|
+
const getTimeString = _ref => {
|
|
38
|
+
let {
|
|
39
|
+
language,
|
|
40
|
+
isMorning
|
|
41
|
+
} = _ref;
|
|
42
|
+
switch (language) {
|
|
43
|
+
case 'en-GB':
|
|
44
|
+
case 'pt':
|
|
45
|
+
return isMorning ? 'AM' : 'PM';
|
|
46
|
+
case 'nl':
|
|
47
|
+
return 'uur';
|
|
48
|
+
case 'fr':
|
|
49
|
+
return 'heures';
|
|
50
|
+
case 'de':
|
|
51
|
+
return 'Uhr';
|
|
52
|
+
case 'es':
|
|
53
|
+
return 'h';
|
|
54
|
+
default:
|
|
55
|
+
return '';
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
exports.getTimeString = getTimeString;
|
|
59
|
+
const getYearFormat = _ref2 => {
|
|
11
60
|
let {
|
|
12
61
|
date,
|
|
13
62
|
shouldShowThisYear
|
|
14
|
-
} =
|
|
63
|
+
} = _ref2;
|
|
15
64
|
if (shouldShowThisYear) {
|
|
16
65
|
return ' yyyy';
|
|
17
66
|
}
|
|
18
67
|
return (0, _dateFns.isThisYear)(date) ? '' : ' yyyy';
|
|
19
68
|
};
|
|
20
69
|
exports.getYearFormat = getYearFormat;
|
|
21
|
-
const getMonthFormat =
|
|
70
|
+
const getMonthFormat = _ref3 => {
|
|
22
71
|
let {
|
|
23
72
|
shouldUseShortText
|
|
24
|
-
} =
|
|
73
|
+
} = _ref3;
|
|
25
74
|
if (shouldUseShortText) {
|
|
26
75
|
return 'LLL.';
|
|
27
76
|
}
|
|
28
77
|
return 'LLLL';
|
|
29
78
|
};
|
|
30
79
|
exports.getMonthFormat = getMonthFormat;
|
|
31
|
-
const getFormattedDayOfWeek =
|
|
80
|
+
const getFormattedDayOfWeek = _ref4 => {
|
|
32
81
|
let {
|
|
33
82
|
shouldShowRelativeDayOfWeek,
|
|
34
83
|
shouldShowDayOfWeek,
|
|
35
84
|
shouldUseShortText,
|
|
36
85
|
date,
|
|
37
86
|
language
|
|
38
|
-
} =
|
|
87
|
+
} = _ref4;
|
|
39
88
|
if (!shouldShowDayOfWeek && !shouldShowRelativeDayOfWeek) {
|
|
40
89
|
return '';
|
|
41
90
|
}
|
|
@@ -123,12 +172,12 @@ const getFormattedDayOfWeek = _ref3 => {
|
|
|
123
172
|
});
|
|
124
173
|
};
|
|
125
174
|
exports.getFormattedDayOfWeek = getFormattedDayOfWeek;
|
|
126
|
-
const getFormattedTime =
|
|
175
|
+
const getFormattedTime = _ref5 => {
|
|
127
176
|
let {
|
|
128
177
|
shouldShowTime,
|
|
129
178
|
date,
|
|
130
179
|
language
|
|
131
|
-
} =
|
|
180
|
+
} = _ref5;
|
|
132
181
|
if (!shouldShowTime) {
|
|
133
182
|
return '';
|
|
134
183
|
}
|
|
@@ -136,7 +185,7 @@ const getFormattedTime = _ref4 => {
|
|
|
136
185
|
if (language.code === 'en-GB' || language.code === 'pt') {
|
|
137
186
|
timeFormat = 'KK:mm';
|
|
138
187
|
}
|
|
139
|
-
return `, ${(0, _dateFns.format)(date, timeFormat)} ${
|
|
188
|
+
return `, ${(0, _dateFns.format)(date, timeFormat)} ${getTimeString({
|
|
140
189
|
language: language.code,
|
|
141
190
|
isMorning: isMorning(date)
|
|
142
191
|
})}`;
|
|
@@ -157,14 +206,14 @@ let TimeType = exports.TimeType = /*#__PURE__*/function (TimeType) {
|
|
|
157
206
|
TimeType[TimeType["Years"] = 6] = "Years";
|
|
158
207
|
return TimeType;
|
|
159
208
|
}({});
|
|
160
|
-
const getTimeTypeStrings = language =>
|
|
209
|
+
const getTimeTypeStrings = language => _dateInfo.TIME_TYPE_STRINGS[language === 'en-GB' ? 'en' : language];
|
|
161
210
|
exports.getTimeTypeStrings = getTimeTypeStrings;
|
|
162
|
-
const getTimeTillNow =
|
|
211
|
+
const getTimeTillNow = _ref6 => {
|
|
163
212
|
let {
|
|
164
213
|
date,
|
|
165
214
|
currentDate,
|
|
166
215
|
language
|
|
167
|
-
} =
|
|
216
|
+
} = _ref6;
|
|
168
217
|
const time = {
|
|
169
218
|
value: 0,
|
|
170
219
|
type: TimeType.Years,
|
|
@@ -312,4 +361,4 @@ const getFormattedFutureTimeString = (time, language) => {
|
|
|
312
361
|
}
|
|
313
362
|
};
|
|
314
363
|
exports.getFormattedFutureTimeString = getFormattedFutureTimeString;
|
|
315
|
-
//# sourceMappingURL=
|
|
364
|
+
//# sourceMappingURL=dateInfo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dateInfo.js","names":["_dateFns","require","_dateInfo","_chaynsApi","_locale","getLanguage","getChaynsLanguage","translation","site","enGB","nl","fr","it","pl","pt","es","tr","uk","de","exports","getTimeString","_ref","language","isMorning","getYearFormat","_ref2","date","shouldShowThisYear","isThisYear","getMonthFormat","_ref3","shouldUseShortText","getFormattedDayOfWeek","_ref4","shouldShowRelativeDayOfWeek","shouldShowDayOfWeek","isToday","code","isTomorrow","isYesterday","format","locale","getFormattedTime","_ref5","shouldShowTime","timeFormat","hours","getHours","TimeType","getTimeTypeStrings","TIME_TYPE_STRINGS","getTimeTillNow","_ref6","currentDate","time","value","type","Years","isPast","elapsedMilliseconds","getTime","Math","floor","Seconds","Minutes","Hours","Days","Weeks","Months","getFormattedPastTimeString","remainingMilliseconds","getFormattedFutureTimeString","timeTypeStrings","isSingular","seconds","days","weeks","months","years","minutes","past","singular","plural","future"],"sources":["../../src/utils/dateInfo.ts"],"sourcesContent":["import { format, isPast, isThisYear, isToday, isTomorrow, isYesterday } from 'date-fns';\nimport { TIME_TYPE_STRINGS, type TimeTypeStringsRecord } from '../constants/dateInfo';\nimport { getLanguage as getChaynsLanguage } from 'chayns-api';\nimport { de, enGB, es, fr, it, nl, pl, pt, tr, uk } from 'date-fns/locale';\n\nexport const getLanguage = (): Locale => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n switch (getChaynsLanguage().translation || getChaynsLanguage().site) {\n case 'en':\n return enGB;\n case 'nl':\n return nl;\n case 'fr':\n return fr;\n case 'it':\n return it;\n case 'pl':\n return pl;\n case 'pt':\n return pt;\n case 'es':\n return es;\n case 'tr':\n return tr;\n case 'uk':\n return uk;\n default:\n return de;\n }\n};\n\ninterface GetTimeStringProps {\n language?: string;\n isMorning?: boolean;\n}\n\nexport const getTimeString = ({ language, isMorning }: GetTimeStringProps) => {\n switch (language) {\n case 'en-GB':\n case 'pt':\n return isMorning ? 'AM' : 'PM';\n case 'nl':\n return 'uur';\n case 'fr':\n return 'heures';\n case 'de':\n return 'Uhr';\n case 'es':\n return 'h';\n default:\n return '';\n }\n};\n\ninterface GetFormattedYearOptions {\n date: Date;\n shouldShowThisYear?: boolean;\n}\n\nexport const getYearFormat = ({ date, shouldShowThisYear }: GetFormattedYearOptions) => {\n if (shouldShowThisYear) {\n return ' yyyy';\n }\n\n return isThisYear(date) ? '' : ' yyyy';\n};\n\ninterface GetFormattedMonthOptions {\n shouldUseShortText?: boolean;\n}\n\nexport const getMonthFormat = ({ shouldUseShortText }: GetFormattedMonthOptions) => {\n if (shouldUseShortText) {\n return 'LLL.';\n }\n\n return 'LLLL';\n};\n\ninterface GetFormattedDayOfWeekOptions {\n shouldShowDayOfWeek?: boolean;\n shouldShowRelativeDayOfWeek?: boolean;\n shouldUseShortText?: boolean;\n date: Date;\n language?: Locale;\n}\n\nexport const getFormattedDayOfWeek = ({\n shouldShowRelativeDayOfWeek,\n shouldShowDayOfWeek,\n shouldUseShortText,\n date,\n language,\n}: GetFormattedDayOfWeekOptions) => {\n if (!shouldShowDayOfWeek && !shouldShowRelativeDayOfWeek) {\n return '';\n }\n\n if (shouldShowRelativeDayOfWeek) {\n if (isToday(date)) {\n switch (language?.code) {\n case 'en-GB':\n return 'Today, ';\n case 'nl':\n return 'Vandaag, ';\n case 'fr':\n return \"Aujourd'hui, \";\n case 'it':\n return 'Oggi, ';\n case 'pl':\n return 'Dzisiaj, ';\n case 'pt':\n return 'Hoje, ';\n case 'es':\n return 'Hoy, ';\n case 'tr':\n return 'Bugün, ';\n case 'uk':\n return 'Сьогодні, ';\n default:\n return 'Heute, ';\n }\n }\n\n if (isTomorrow(date)) {\n switch (language?.code) {\n case 'en-GB':\n return 'Tomorrow, ';\n case 'nl':\n return 'Morgen, ';\n case 'fr':\n return 'Demain, ';\n case 'it':\n return 'Domani, ';\n case 'pl':\n return 'Jutro, ';\n case 'pt':\n return 'Amanhã, ';\n case 'es':\n return 'Mañana, ';\n case 'tr':\n return 'Yarın, ';\n case 'uk':\n return 'Завтра, ';\n default:\n return 'Morgen, ';\n }\n }\n\n if (isYesterday(date)) {\n switch (language?.code) {\n case 'en-GB':\n return 'Yesterday, ';\n case 'nl':\n return 'Gisteren, ';\n case 'fr':\n return 'Hier, ';\n case 'it':\n return 'Ieri, ';\n case 'pl':\n return 'Wczoraj, ';\n case 'pt':\n return 'Ontem, ';\n case 'es':\n return 'Ayer, ';\n case 'tr':\n return 'Dün, ';\n case 'uk':\n return 'Вчора, ';\n default:\n return 'Gestern, ';\n }\n }\n }\n\n if (shouldUseShortText) {\n return format(date, 'E., ', { locale: language });\n }\n\n return format(date, 'EEEE, ', { locale: language });\n};\n\ninterface GetFormattedTimeOptions {\n shouldShowTime?: boolean;\n date: Date;\n language: Locale;\n}\n\nexport const getFormattedTime = ({ shouldShowTime, date, language }: GetFormattedTimeOptions) => {\n if (!shouldShowTime) {\n return '';\n }\n\n let timeFormat = 'HH:mm';\n\n if (language.code === 'en-GB' || language.code === 'pt') {\n timeFormat = 'KK:mm';\n }\n\n return `, ${format(date, timeFormat)} ${getTimeString({\n language: language.code,\n isMorning: isMorning(date),\n })}`;\n};\n\nexport const isMorning = (date: Date) => {\n const hours = date.getHours();\n\n return hours >= 0 && hours < 12;\n};\n\nexport interface Time {\n value: number;\n type: TimeType;\n isPast: boolean;\n}\n\nexport enum TimeType {\n Seconds,\n Minutes,\n Hours,\n Days,\n Weeks,\n Months,\n Years,\n}\n\nexport const getTimeTypeStrings = (language: string): TimeTypeStringsRecord | undefined =>\n TIME_TYPE_STRINGS[language === 'en-GB' ? 'en' : language];\n\ninterface GetTimeTillNowOptions {\n date: Date;\n currentDate: Date;\n language: Locale;\n}\n\nexport const getTimeTillNow = ({ date, currentDate, language }: GetTimeTillNowOptions): string => {\n const time: Time = {\n value: 0,\n type: TimeType.Years,\n isPast: false,\n };\n\n if (isPast(date)) {\n const elapsedMilliseconds = currentDate.getTime() - date.getTime();\n\n switch (true) {\n case elapsedMilliseconds < 60000:\n time.value = Math.floor(elapsedMilliseconds / 1000);\n time.type = TimeType.Seconds;\n break;\n case elapsedMilliseconds < 3600000:\n time.value = Math.floor(elapsedMilliseconds / 60000);\n time.type = TimeType.Minutes;\n break;\n case elapsedMilliseconds < 86400000:\n time.value = Math.floor(elapsedMilliseconds / 3600000);\n time.type = TimeType.Hours;\n break;\n case elapsedMilliseconds < 604800000:\n time.value = Math.floor(elapsedMilliseconds / 86400000);\n time.type = TimeType.Days;\n break;\n case elapsedMilliseconds < 2592000000:\n time.value = Math.floor(elapsedMilliseconds / 604800000);\n time.type = TimeType.Weeks;\n break;\n case elapsedMilliseconds < 31536000000:\n time.value = Math.floor(elapsedMilliseconds / 2592000000);\n time.type = TimeType.Months;\n break;\n default:\n time.value = Math.floor(elapsedMilliseconds / 31536000000);\n time.type = TimeType.Years;\n break;\n }\n\n return `${time.value} ${getFormattedPastTimeString(time, language)}`;\n }\n\n const remainingMilliseconds = date.getTime() - currentDate.getTime();\n\n switch (true) {\n case remainingMilliseconds < 60000:\n time.value = Math.floor(remainingMilliseconds / 1000);\n time.type = TimeType.Seconds;\n break;\n case remainingMilliseconds < 3600000:\n time.value = Math.floor(remainingMilliseconds / 60000);\n time.type = TimeType.Minutes;\n break;\n case remainingMilliseconds < 86400000:\n time.value = Math.floor(remainingMilliseconds / 3600000);\n time.type = TimeType.Hours;\n break;\n case remainingMilliseconds < 604800000:\n time.value = Math.floor(remainingMilliseconds / 86400000);\n time.type = TimeType.Days;\n break;\n case remainingMilliseconds < 2592000000:\n time.value = Math.floor(remainingMilliseconds / 604800000);\n time.type = TimeType.Weeks;\n break;\n case remainingMilliseconds < 31536000000:\n time.value = Math.floor(remainingMilliseconds / 2592000000);\n time.type = TimeType.Months;\n break;\n default:\n time.value = Math.floor(remainingMilliseconds / 31536000000);\n time.type = TimeType.Years;\n break;\n }\n\n return `${time.value} ${getFormattedFutureTimeString(time, language)}`;\n};\n\nexport const getFormattedPastTimeString = (time: Time, language: Locale): string => {\n const { value, type } = time;\n\n const timeTypeStrings = getTimeTypeStrings(language.code ?? 'de');\n const isSingular = value === 1;\n\n if (!timeTypeStrings) {\n return '';\n }\n\n const { seconds, days, weeks, months, years, minutes, hours } = timeTypeStrings.past;\n\n switch (true) {\n case type === TimeType.Seconds:\n return isSingular ? seconds.singular : seconds.plural;\n case type === TimeType.Minutes:\n return isSingular ? minutes.singular : minutes.plural;\n case type === TimeType.Hours:\n return isSingular ? hours.singular : hours.plural;\n case type === TimeType.Days:\n return isSingular ? days.singular : days.plural;\n case type === TimeType.Weeks:\n return isSingular ? weeks.singular : weeks.plural;\n case type === TimeType.Months:\n return isSingular ? months.singular : months.plural;\n default:\n return isSingular ? years.singular : years.plural;\n }\n};\n\nexport const getFormattedFutureTimeString = (time: Time, language: Locale): string => {\n const { value, type } = time;\n const timeTypeStrings = getTimeTypeStrings(language.code ?? 'de');\n const isSingular = value === 1;\n\n if (!timeTypeStrings) {\n return '';\n }\n\n const { seconds, days, weeks, months, years, minutes, hours } = timeTypeStrings.future;\n\n switch (true) {\n case type === TimeType.Seconds:\n return isSingular ? seconds.singular : seconds.plural;\n case type === TimeType.Minutes:\n return isSingular ? minutes.singular : minutes.plural;\n case type === TimeType.Hours:\n return isSingular ? hours.singular : hours.plural;\n case type === TimeType.Days:\n return isSingular ? days.singular : days.plural;\n case type === TimeType.Weeks:\n return isSingular ? weeks.singular : weeks.plural;\n case type === TimeType.Months:\n return isSingular ? months.singular : months.plural;\n default:\n return isSingular ? years.singular : years.plural;\n }\n};\n"],"mappings":";;;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AAEO,MAAMI,WAAW,GAAGA,C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;IACrD,KAAK1B,IAAI,KAAKR,QAAQ,CAACkB,IAAI;MACvB,OAAOO,UAAU,GAAGE,IAAI,CAACM,QAAQ,GAAGN,IAAI,CAACO,MAAM;IACnD,KAAK1B,IAAI,KAAKR,QAAQ,CAACmB,KAAK;MACxB,OAAOM,UAAU,GAAGG,KAAK,CAACK,QAAQ,GAAGL,KAAK,CAACM,MAAM;IACrD,KAAK1B,IAAI,KAAKR,QAAQ,CAACoB,MAAM;MACzB,OAAOK,UAAU,GAAGI,MAAM,CAACI,QAAQ,GAAGJ,MAAM,CAACK,MAAM;IACvD;MACI,OAAOT,UAAU,GAAGK,KAAK,CAACG,QAAQ,GAAGH,KAAK,CAACI,MAAM;EACzD;AACJ,CAAC;AAAC/D,OAAA,CAAAoD,4BAAA,GAAAA,4BAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"font.js","names":["fonts","family","src","unicodeRange","generateFontFaces","map","font","join","exports"],"sources":["../../src/utils/font.ts"],"sourcesContent":["export interface Font {\n family: string;\n src: string;\n unicodeRange?: string;\n}\n\nconst fonts: Font[] = [\n {\n family: 'Noto Color Emoji',\n src: 'https://api.chayns-static.space/font/NotoColorEmoji/v24/Yq6P-KqIXTD0t4D9z1ESnKM3-HpFabsE4tq3luCC7p-aXxcn.0.woff2',\n unicodeRange: 'U+1f1e6-1f1ff',\n },\n {\n family: 'Noto Color Emoji',\n src: 'https://api.chayns-static.space/font/NotoColorEmoji/v24/Yq6P-KqIXTD0t4D9z1ESnKM3-HpFabsE4tq3luCC7p-aXxcn.1.woff2',\n unicodeRange:\n 'U+200d, U+2620, U+26a7, U+fe0f, U+1f308, U+1f38c, U+1f3c1, U+1f3f3-1f3f4, U+1f6a9, U+e0062-e0063, U+e0065, U+e0067, U+e006c, U+e006e, U+e0073-e0074, U+e0077, U+e007f',\n },\n {\n family: 'Noto Color Emoji',\n src: 'https://api.chayns-static.space/font/NotoColorEmoji/v24/Yq6P-KqIXTD0t4D9z1ESnKM3-HpFabsE4tq3luCC7p-aXxcn.2.woff2',\n unicodeRange:\n 'U+23, U+2a, U+30-39, U+a9, U+ae, U+200d, U+203c, U+2049, U+20e3, U+2122, U+2139, U+2194-2199, U+21a9-21aa, U+23cf, U+23e9-23ef, U+23f8-23fa, U+24c2, U+25aa-25ab, U+25b6, U+25c0, U+25fb-25fe, U+2611, U+2622-2623, U+2626, U+262a, U+262e-262f, U+2638, U+2640, U+2642, U+2648-2653, U+2660, U+2663, U+2665-2666, U+2668, U+267b, U+267e-267f, U+2695, U+269b-269c, U+26a0, U+26a7, U+26aa-26ab, U+26ce, U+26d4, U+2705, U+2714, U+2716, U+271d, U+2721, U+2733-2734, U+2747, U+274c, U+274e, U+2753-2755, U+2757, U+2764, U+2795-2797, U+27a1, U+27b0, U+27bf, U+2934-2935, U+2b05-2b07, U+2b1b-2b1c, U+2b55, U+3030, U+303d, U+3297, U+3299, U+fe0f, U+1f170-1f171, U+1f17e-1f17f, U+1f18e, U+1f191-1f19a, U+1f201-1f202, U+1f21a, U+1f22f, U+1f232-1f23a, U+1f250-1f251, U+1f310, U+1f3a6, U+1f3b5-1f3b6, U+1f3bc, U+1f3e7, U+1f441, U+1f499-1f49c, U+1f49f-1f4a0, U+1f4a2, U+1f4ac-1f4ad, U+1f4b1-1f4b2, U+1f4b9, U+1f4db, U+1f4f2-1f4f6, U+1f500-1f50a, U+1f515, U+1f518-1f524, U+1f52f-1f53d, U+1f549, U+1f54e, U+1f5a4, U+1f5e8, U+1f5ef, U+1f6ab, U+1f6ad-1f6b1, U+1f6b3, U+1f6b7-1f6bc, U+1f6be, U+1f6c2-1f6c5, U+1f6d0-1f6d1, U+1f6d7, U+1f6dc, U+1f7e0-1f7eb, U+1f7f0, U+1f90d-1f90e, U+1f9e1, U+1fa75-1fa77, U+1faaf',\n },\n {\n family: 'Noto Color Emoji',\n src: 'https://api.chayns-static.space/font/NotoColorEmoji/v24/Yq6P-KqIXTD0t4D9z1ESnKM3-HpFabsE4tq3luCC7p-aXxcn.3.woff2',\n unicodeRange:\n 'U+231a-231b, U+2328, U+23f0-23f3, U+2602, U+260e, U+2692, U+2694, U+2696-2697, U+2699, U+26b0-26b1, U+26cf, U+26d1, U+26d3, U+2702, U+2709, U+270f, U+2712, U+fe0f, U+1f302, U+1f321, U+1f392-1f393, U+1f3a9, U+1f3bd, U+1f3ee, U+1f3f7, U+1f3fa, U+1f451-1f462, U+1f484, U+1f489-1f48a, U+1f48c-1f48e, U+1f4a1, U+1f4a3, U+1f4b0, U+1f4b3-1f4b8, U+1f4bb-1f4da, U+1f4dc-1f4f1, U+1f4ff, U+1f50b-1f514, U+1f516-1f517, U+1f526-1f529, U+1f52c-1f52e, U+1f550-1f567, U+1f56f-1f570, U+1f576, U+1f587, U+1f58a-1f58d, U+1f5a5, U+1f5a8, U+1f5b1-1f5b2, U+1f5c2-1f5c4, U+1f5d1-1f5d3, U+1f5dc-1f5de, U+1f5e1, U+1f5f3, U+1f6aa, U+1f6ac, U+1f6bd, U+1f6bf, U+1f6c1, U+1f6cb, U+1f6cd-1f6cf, U+1f6d2, U+1f6e0-1f6e1, U+1f6f0, U+1f97b-1f97f, U+1f9af, U+1f9ba, U+1f9e2-1f9e6, U+1f9ea-1f9ec, U+1f9ee-1f9f4, U+1f9f7-1f9ff, U+1fa71-1fa74, U+1fa79-1fa7b, U+1fa86, U+1fa91-1fa93, U+1fa96, U+1fa99-1faa0, U+1faa2-1faa7, U+1faaa-1faae',\n },\n {\n family: 'Noto Color Emoji',\n src: 'https://api.chayns-static.space/font/NotoColorEmoji/v24/Yq6P-KqIXTD0t4D9z1ESnKM3-HpFabsE4tq3luCC7p-aXxcn.4.woff2',\n unicodeRange:\n 'U+265f, U+26bd-26be, U+26f3, U+26f8, U+fe0f, U+1f004, U+1f0cf, U+1f380-1f384, U+1f386-1f38b, U+1f38d-1f391, U+1f396-1f397, U+1f399-1f39b, U+1f39e-1f39f, U+1f3a3-1f3a5, U+1f3a7-1f3a9, U+1f3ab-1f3b4, U+1f3b7-1f3bb, U+1f3bd-1f3c0, U+1f3c5-1f3c6, U+1f3c8-1f3c9, U+1f3cf-1f3d3, U+1f3f8-1f3f9, U+1f47e, U+1f4e2, U+1f4f7-1f4fd, U+1f52b, U+1f579, U+1f58c-1f58d, U+1f5bc, U+1f6f7, U+1f6f9, U+1f6fc, U+1f93f, U+1f941, U+1f945, U+1f947-1f94f, U+1f9e7-1f9e9, U+1f9f5-1f9f6, U+1fa70-1fa71, U+1fa80-1fa81, U+1fa83-1fa85, U+1fa87-1fa88, U+1fa94-1fa95, U+1fa97-1fa98, U+1faa1, U+1faa9',\n },\n {\n family: 'Noto Color Emoji',\n src: 'https://api.chayns-static.space/font/NotoColorEmoji/v24/Yq6P-KqIXTD0t4D9z1ESnKM3-HpFabsE4tq3luCC7p-aXxcn.5.woff2',\n unicodeRange:\n 'U+2693, U+26e9-26ea, U+26f1-26f2, U+26f4-26f5, U+26fa, U+26fd, U+2708, U+fe0f, U+1f301, U+1f303, U+1f306-1f307, U+1f309, U+1f310, U+1f3a0-1f3a2, U+1f3aa, U+1f3cd-1f3ce, U+1f3d5, U+1f3d7-1f3db, U+1f3df-1f3e6, U+1f3e8-1f3ed, U+1f3ef-1f3f0, U+1f488, U+1f492, U+1f4ba, U+1f54b-1f54d, U+1f5fa-1f5ff, U+1f680-1f6a2, U+1f6a4-1f6a8, U+1f6b2, U+1f6d1, U+1f6d5-1f6d6, U+1f6dd-1f6df, U+1f6e2-1f6e5, U+1f6e9, U+1f6eb-1f6ec, U+1f6f3-1f6f6, U+1f6f8, U+1f6fa-1f6fb, U+1f9bc-1f9bd, U+1f9ed, U+1f9f3, U+1fa7c',\n },\n {\n family: 'Noto Color Emoji',\n src: 'https://api.chayns-static.space/font/NotoColorEmoji/v24/Yq6P-KqIXTD0t4D9z1ESnKM3-HpFabsE4tq3luCC7p-aXxcn.6.woff2',\n unicodeRange:\n 'U+2615, U+fe0f, U+1f32d-1f330, U+1f336, U+1f33d, U+1f345-1f37f, U+1f382, U+1f52a, U+1f942-1f944, U+1f950-1f96f, U+1f99e, U+1f9aa, U+1f9c0-1f9cb, U+1fad0-1fadb',\n },\n {\n family: 'Noto Color Emoji',\n src: 'https://api.chayns-static.space/font/NotoColorEmoji/v24/Yq6P-KqIXTD0t4D9z1ESnKM3-HpFabsE4tq3luCC7p-aXxcn.7.woff2',\n unicodeRange:\n 'U+200d, U+2600-2601, U+2603-2604, U+2614, U+2618, U+26a1, U+26c4-26c5, U+26c8, U+26f0, U+2728, U+2744, U+2b1b, U+2b50, U+fe0f, U+1f300, U+1f304-1f305, U+1f308, U+1f30a-1f30f, U+1f311-1f321, U+1f324-1f32c, U+1f331-1f335, U+1f337-1f33c, U+1f33e-1f344, U+1f3d4, U+1f3d6, U+1f3dc-1f3de, U+1f3f5, U+1f400-1f43f, U+1f490, U+1f4a7, U+1f4ab, U+1f4ae, U+1f525, U+1f54a, U+1f573, U+1f577-1f578, U+1f648-1f64a, U+1f940, U+1f980-1f9ae, U+1f9ba, U+1fa90, U+1faa8, U+1fab0-1fabd, U+1fabf, U+1face-1facf, U+1fae7',\n },\n {\n family: 'Noto Color Emoji',\n src: 'https://api.chayns-static.space/font/NotoColorEmoji/v24/Yq6P-KqIXTD0t4D9z1ESnKM3-HpFabsE4tq3luCC7p-aXxcn.8.woff2',\n unicodeRange:\n 'U+200d, U+2640, U+2642, U+2695-2696, U+26f7, U+26f9, U+2708, U+2764, U+fe0f, U+1f33e, U+1f373, U+1f37c, U+1f384-1f385, U+1f393, U+1f3a4, U+1f3a8, U+1f3c2-1f3c4, U+1f3c7, U+1f3ca-1f3cc, U+1f3eb, U+1f3ed, U+1f3fb-1f3ff, U+1f466-1f478, U+1f47c, U+1f481-1f483, U+1f486-1f487, U+1f48b, U+1f48f, U+1f491, U+1f4bb-1f4bc, U+1f527, U+1f52c, U+1f574-1f575, U+1f57a, U+1f645-1f647, U+1f64b, U+1f64d-1f64e, U+1f680, U+1f692, U+1f6a3, U+1f6b4-1f6b6, U+1f6c0, U+1f6cc, U+1f91d, U+1f926, U+1f930-1f931, U+1f934-1f93a, U+1f93c-1f93e, U+1f977, U+1f9af-1f9b3, U+1f9b8-1f9b9, U+1f9bc-1f9bd, U+1f9cc-1f9cf, U+1f9d1-1f9df, U+1fa82, U+1fac3-1fac5',\n },\n {\n family: 'Noto Color Emoji',\n src: 'https://api.chayns-static.space/font/NotoColorEmoji/v24/Yq6P-KqIXTD0t4D9z1ESnKM3-HpFabsE4tq3luCC7p-aXxcn.9.woff2',\n unicodeRange:\n 'U+200d, U+261d, U+2620, U+2639-263a, U+2665, U+270a-270d, U+2728, U+2763-2764, U+2b50, U+fe0f, U+1f31a-1f31f, U+1f32b, U+1f383, U+1f389, U+1f3fb-1f3ff, U+1f440-1f450, U+1f463-1f465, U+1f479-1f47b, U+1f47d-1f480, U+1f485, U+1f48b-1f48c, U+1f493-1f49f, U+1f4a4-1f4a6, U+1f4a8-1f4ab, U+1f4af, U+1f525, U+1f573, U+1f590, U+1f595-1f596, U+1f5a4, U+1f5e3, U+1f600-1f644, U+1f648-1f64a, U+1f64c, U+1f64f, U+1f90c-1f925, U+1f927-1f92f, U+1f932-1f933, U+1f970-1f976, U+1f978-1f97a, U+1f9a0, U+1f9b4-1f9b7, U+1f9bb, U+1f9be-1f9bf, U+1f9d0, U+1f9e0-1f9e1, U+1fa75-1fa79, U+1fac0-1fac2, U+1fae0-1fae6, U+1fae8, U+1faf0-1faf8',\n },\n];\n\nexport const generateFontFaces = () =>\n fonts\n .map(\n (font) => `\n @font-face {\n font-display: swap;\n font-family: \"${font.family}\";\n font-style: normal;\n font-weight: 400;\n src: url(\"${font.src}\") format(\"woff2\");\n ${font.unicodeRange ? `unicode-range: ${font.unicodeRange};` : ''}\n }\n`\n )\n .join('');\n"],"mappings":";;;;;;AAMA,MAAMA,KAAa,GAAG,CAClB;EACIC,MAAM,EAAE,kBAAkB;EAC1BC,GAAG,EAAE,kHAAkH;EACvHC,YAAY,EAAE;AAClB,CAAC,EACD;EACIF,MAAM,EAAE,kBAAkB;EAC1BC,GAAG,EAAE,kHAAkH;EACvHC,YAAY,EACR;AACR,CAAC,EACD;EACIF,MAAM,EAAE,kBAAkB;EAC1BC,GAAG,EAAE,kHAAkH;EACvHC,YAAY,EACR;AACR,CAAC,EACD;EACIF,MAAM,EAAE,kBAAkB;EAC1BC,GAAG,EAAE,kHAAkH;EACvHC,YAAY,EACR;AACR,CAAC,EACD;EACIF,MAAM,EAAE,kBAAkB;EAC1BC,GAAG,EAAE,kHAAkH;EACvHC,YAAY,EACR;AACR,CAAC,EACD;EACIF,MAAM,EAAE,kBAAkB;EAC1BC,GAAG,EAAE,kHAAkH;EACvHC,YAAY,EACR;AACR,CAAC,EACD;EACIF,MAAM,EAAE,kBAAkB;EAC1BC,GAAG,EAAE,kHAAkH;EACvHC,YAAY,EACR;AACR,CAAC,EACD;EACIF,MAAM,EAAE,kBAAkB;EAC1BC,GAAG,EAAE,kHAAkH;EACvHC,YAAY,EACR;AACR,CAAC,EACD;EACIF,MAAM,EAAE,kBAAkB;EAC1BC,GAAG,EAAE,kHAAkH;EACvHC,YAAY,EACR;AACR,CAAC,EACD;EACIF,MAAM,EAAE,kBAAkB;EAC1BC,GAAG,EAAE,kHAAkH;EACvHC,YAAY,EACR;AACR,CAAC,CACJ;AAEM,MAAMC,iBAAiB,GAAGA,CAAA,KAC7BJ,KAAK,CACAK,GAAG,CACCC,IAAI,IAAM;AACvB;AACA;AACA,oBAAoBA,IAAI,CAACL,MAAO;AAChC;AACA;AACA,gBAAgBK,IAAI,CAACJ,GAAI;AACzB,MAAMI,IAAI,CAACH,YAAY,GAAI,kBAAiBG,IAAI,CAACH,YAAa,GAAE,GAAG,EAAG;AACtE;AACA,CACQ,CAAC,CACAI,IAAI,CAAC,EAAE,CAAC;AAACC,OAAA,CAAAJ,iBAAA,GAAAA,iBAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon.js","names":["getStackSizeFactor","icon","sizeFactorString","match","parseInt","undefined","exports"],"sources":["../../src/utils/icon.ts"],"sourcesContent":["export const getStackSizeFactor = (icon: string) => {\n const sizeFactorString = icon.match(/fa-stack-([\\d])x/)?.[1];\n\n return typeof sizeFactorString === 'string' ? parseInt(sizeFactorString, 10) : undefined;\n};\n"],"mappings":";;;;;;AAAO,MAAMA,kBAAkB,GAAIC,IAAY,IAAK;EAChD,MAAMC,gBAAgB,GAAGD,IAAI,CAACE,KAAK,CAAC,kBAAkB,CAAC,GAAG,CAAC,CAAC;EAE5D,OAAO,OAAOD,gBAAgB,KAAK,QAAQ,GAAGE,QAAQ,CAACF,gBAAgB,EAAE,EAAE,CAAC,GAAGG,SAAS;AAC5F,CAAC;AAACC,OAAA,CAAAN,kBAAA,GAAAA,kBAAA"}
|