intergalactic 15.126.0-prerelease.11 → 15.126.0-prerelease.12
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 +240 -1
- package/accordion/lib/cjs/Accordion.js +5 -2
- package/accordion/lib/cjs/Accordion.js.map +1 -1
- package/accordion/lib/es6/Accordion.js +5 -2
- package/accordion/lib/es6/Accordion.js.map +1 -1
- package/accordion/lib/esm/Accordion.mjs +223 -0
- package/accordion/lib/esm/index.mjs +6 -0
- package/accordion/package.json +1 -1
- package/add-filter/lib/esm/AddFilter.mjs +254 -0
- package/add-filter/lib/esm/components/AddFilterDropdown.mjs +74 -0
- package/add-filter/lib/esm/components/AddFilterInput.mjs +68 -0
- package/add-filter/lib/esm/components/AddFilterSelect.mjs +86 -0
- package/add-filter/lib/esm/index.mjs +4 -0
- package/add-filter/lib/esm/translations/__intergalactic-dynamic-locales.mjs +33 -0
- package/add-filter/lib/esm/translations/de.json.mjs +7 -0
- package/add-filter/lib/esm/translations/en.json.mjs +8 -0
- package/add-filter/lib/esm/translations/es.json.mjs +7 -0
- package/add-filter/lib/esm/translations/fr.json.mjs +7 -0
- package/add-filter/lib/esm/translations/it.json.mjs +7 -0
- package/add-filter/lib/esm/translations/ja.json.mjs +7 -0
- package/add-filter/lib/esm/translations/ko.json.mjs +7 -0
- package/add-filter/lib/esm/translations/nl.json.mjs +7 -0
- package/add-filter/lib/esm/translations/pl.json.mjs +7 -0
- package/add-filter/lib/esm/translations/pt.json.mjs +7 -0
- package/add-filter/lib/esm/translations/sv.json.mjs +7 -0
- package/add-filter/lib/esm/translations/tr.json.mjs +7 -0
- package/add-filter/lib/esm/translations/vi.json.mjs +7 -0
- package/add-filter/lib/esm/translations/zh.json.mjs +7 -0
- package/add-filter/package.json +1 -1
- package/animation/package.json +1 -1
- package/badge/package.json +1 -1
- package/base-trigger/lib/esm/BaseTrigger.mjs +109 -0
- package/base-trigger/lib/esm/ButtonTrigger.mjs +78 -0
- package/base-trigger/lib/esm/FilterTrigger.mjs +205 -0
- package/base-trigger/lib/esm/LinkTrigger.mjs +88 -0
- package/base-trigger/lib/esm/index.mjs +10 -0
- package/base-trigger/lib/esm/translations/__intergalactic-dynamic-locales.mjs +33 -0
- package/base-trigger/lib/esm/translations/de.json.mjs +9 -0
- package/base-trigger/lib/esm/translations/en.json.mjs +10 -0
- package/base-trigger/lib/esm/translations/es.json.mjs +9 -0
- package/base-trigger/lib/esm/translations/fr.json.mjs +9 -0
- package/base-trigger/lib/esm/translations/it.json.mjs +9 -0
- package/base-trigger/lib/esm/translations/ja.json.mjs +9 -0
- package/base-trigger/lib/esm/translations/ko.json.mjs +9 -0
- package/base-trigger/lib/esm/translations/nl.json.mjs +9 -0
- package/base-trigger/lib/esm/translations/pl.json.mjs +9 -0
- package/base-trigger/lib/esm/translations/pt.json.mjs +9 -0
- package/base-trigger/lib/esm/translations/sv.json.mjs +9 -0
- package/base-trigger/lib/esm/translations/tr.json.mjs +9 -0
- package/base-trigger/lib/esm/translations/vi.json.mjs +9 -0
- package/base-trigger/lib/esm/translations/zh.json.mjs +9 -0
- package/base-trigger/package.json +1 -1
- package/breadcrumbs/lib/esm/Breadcrumbs.mjs +95 -0
- package/breadcrumbs/lib/esm/index.mjs +4 -0
- package/breadcrumbs/lib/esm/translations/__intergalactic-dynamic-locales.mjs +33 -0
- package/breadcrumbs/lib/esm/translations/de.json.mjs +7 -0
- package/breadcrumbs/lib/esm/translations/en.json.mjs +7 -0
- package/breadcrumbs/lib/esm/translations/es.json.mjs +7 -0
- package/breadcrumbs/lib/esm/translations/fr.json.mjs +7 -0
- package/breadcrumbs/lib/esm/translations/it.json.mjs +7 -0
- package/breadcrumbs/lib/esm/translations/ja.json.mjs +7 -0
- package/breadcrumbs/lib/esm/translations/ko.json.mjs +7 -0
- package/breadcrumbs/lib/esm/translations/nl.json.mjs +7 -0
- package/breadcrumbs/lib/esm/translations/pl.json.mjs +7 -0
- package/breadcrumbs/lib/esm/translations/pt.json.mjs +7 -0
- package/breadcrumbs/lib/esm/translations/sv.json.mjs +7 -0
- package/breadcrumbs/lib/esm/translations/tr.json.mjs +7 -0
- package/breadcrumbs/lib/esm/translations/vi.json.mjs +7 -0
- package/breadcrumbs/lib/esm/translations/zh.json.mjs +7 -0
- package/breadcrumbs/package.json +1 -1
- package/breakpoints/lib/esm/Breakpoints.mjs +69 -0
- package/breakpoints/lib/esm/index.mjs +7 -0
- package/breakpoints/package.json +1 -1
- package/bulk-textarea/BulkTextarea.types.d.ts +1 -1
- package/bulk-textarea/components/InputField/InputField.d.ts +1 -0
- package/bulk-textarea/components/InputField/InputField.types.d.ts +4 -3
- package/bulk-textarea/lib/cjs/BulkTextarea.js +9 -7
- package/bulk-textarea/lib/cjs/BulkTextarea.js.map +1 -1
- package/bulk-textarea/lib/cjs/BulkTextarea.types.js.map +1 -1
- package/bulk-textarea/lib/cjs/components/InputField/InputField.js +42 -28
- package/bulk-textarea/lib/cjs/components/InputField/InputField.js.map +1 -1
- package/bulk-textarea/lib/cjs/components/InputField/InputField.types.js.map +1 -1
- package/bulk-textarea/lib/cjs/components/InputField/inputField.shadow.css +1 -0
- package/bulk-textarea/lib/es6/BulkTextarea.js +9 -7
- package/bulk-textarea/lib/es6/BulkTextarea.js.map +1 -1
- package/bulk-textarea/lib/es6/BulkTextarea.types.js.map +1 -1
- package/bulk-textarea/lib/es6/components/InputField/InputField.js +42 -28
- package/bulk-textarea/lib/es6/components/InputField/InputField.js.map +1 -1
- package/bulk-textarea/lib/es6/components/InputField/InputField.types.js.map +1 -1
- package/bulk-textarea/lib/es6/components/InputField/inputField.shadow.css +1 -0
- package/bulk-textarea/lib/esm/BulkTextarea.mjs +212 -0
- package/bulk-textarea/lib/esm/components/ClearAll.mjs +16 -0
- package/bulk-textarea/lib/esm/components/Counter.mjs +18 -0
- package/bulk-textarea/lib/esm/components/ErrorsNavigation.mjs +43 -0
- package/bulk-textarea/lib/esm/components/InputField/InputField.mjs +625 -0
- package/bulk-textarea/lib/esm/index.mjs +4 -0
- package/bulk-textarea/lib/esm/translations/__intergalactic-dynamic-locales.mjs +33 -0
- package/bulk-textarea/lib/esm/translations/de.json.mjs +13 -0
- package/bulk-textarea/lib/esm/translations/en.json.mjs +13 -0
- package/bulk-textarea/lib/esm/translations/es.json.mjs +13 -0
- package/bulk-textarea/lib/esm/translations/fr.json.mjs +13 -0
- package/bulk-textarea/lib/esm/translations/it.json.mjs +13 -0
- package/bulk-textarea/lib/esm/translations/ja.json.mjs +13 -0
- package/bulk-textarea/lib/esm/translations/ko.json.mjs +13 -0
- package/bulk-textarea/lib/esm/translations/nl.json.mjs +13 -0
- package/bulk-textarea/lib/esm/translations/pl.json.mjs +13 -0
- package/bulk-textarea/lib/esm/translations/pt.json.mjs +13 -0
- package/bulk-textarea/lib/esm/translations/sv.json.mjs +13 -0
- package/bulk-textarea/lib/esm/translations/tr.json.mjs +13 -0
- package/bulk-textarea/lib/esm/translations/vi.json.mjs +13 -0
- package/bulk-textarea/lib/esm/translations/zh.json.mjs +13 -0
- package/bulk-textarea/lib/types/BulkTextarea.types.d.ts +1 -1
- package/bulk-textarea/lib/types/components/InputField/InputField.d.ts +1 -0
- package/bulk-textarea/lib/types/components/InputField/InputField.types.d.ts +4 -3
- package/bulk-textarea/package.json +1 -1
- package/button/package.json +1 -1
- package/card/lib/esm/Card.mjs +84 -0
- package/card/lib/esm/index.mjs +4 -0
- package/card/package.json +1 -1
- package/carousel/lib/esm/Carousel.mjs +517 -0
- package/carousel/lib/esm/index.mjs +4 -0
- package/carousel/lib/esm/translations/__intergalactic-dynamic-locales.mjs +33 -0
- package/carousel/lib/esm/translations/de.json.mjs +13 -0
- package/carousel/lib/esm/translations/en.json.mjs +13 -0
- package/carousel/lib/esm/translations/es.json.mjs +13 -0
- package/carousel/lib/esm/translations/fr.json.mjs +13 -0
- package/carousel/lib/esm/translations/it.json.mjs +13 -0
- package/carousel/lib/esm/translations/ja.json.mjs +13 -0
- package/carousel/lib/esm/translations/ko.json.mjs +13 -0
- package/carousel/lib/esm/translations/nl.json.mjs +13 -0
- package/carousel/lib/esm/translations/pl.json.mjs +13 -0
- package/carousel/lib/esm/translations/pt.json.mjs +13 -0
- package/carousel/lib/esm/translations/sv.json.mjs +13 -0
- package/carousel/lib/esm/translations/tr.json.mjs +13 -0
- package/carousel/lib/esm/translations/vi.json.mjs +13 -0
- package/carousel/lib/esm/translations/zh.json.mjs +13 -0
- package/carousel/package.json +1 -1
- package/checkbox/lib/esm/Checkbox.mjs +229 -0
- package/checkbox/lib/esm/index.mjs +6 -0
- package/checkbox/package.json +1 -1
- package/color-picker/lib/cjs/ColorPicker.js +24 -24
- package/color-picker/lib/cjs/PaletteManager.js +24 -24
- package/color-picker/lib/cjs/components/InputColor.js +24 -24
- package/color-picker/lib/es6/ColorPicker.js +24 -24
- package/color-picker/lib/es6/PaletteManager.js +24 -24
- package/color-picker/lib/es6/components/InputColor.js +24 -24
- package/color-picker/lib/esm/ColorPicker.mjs +205 -0
- package/color-picker/lib/esm/PaletteManager.mjs +145 -0
- package/color-picker/lib/esm/components/InputColor.mjs +151 -0
- package/color-picker/lib/esm/components/Item.mjs +57 -0
- package/color-picker/lib/esm/components/colors.mjs +42 -0
- package/color-picker/lib/esm/index.mjs +8 -0
- package/color-picker/lib/esm/translations/__intergalactic-dynamic-locales.mjs +33 -0
- package/color-picker/lib/esm/translations/de.json.mjs +27 -0
- package/color-picker/lib/esm/translations/en.json.mjs +27 -0
- package/color-picker/lib/esm/translations/es.json.mjs +27 -0
- package/color-picker/lib/esm/translations/fr.json.mjs +27 -0
- package/color-picker/lib/esm/translations/it.json.mjs +27 -0
- package/color-picker/lib/esm/translations/ja.json.mjs +27 -0
- package/color-picker/lib/esm/translations/ko.json.mjs +27 -0
- package/color-picker/lib/esm/translations/nl.json.mjs +27 -0
- package/color-picker/lib/esm/translations/pl.json.mjs +27 -0
- package/color-picker/lib/esm/translations/pt.json.mjs +27 -0
- package/color-picker/lib/esm/translations/sv.json.mjs +27 -0
- package/color-picker/lib/esm/translations/tr.json.mjs +27 -0
- package/color-picker/lib/esm/translations/vi.json.mjs +27 -0
- package/color-picker/lib/esm/translations/zh.json.mjs +27 -0
- package/color-picker/package.json +1 -1
- package/components.json +11 -11
- package/core/package.json +1 -1
- package/counter/lib/esm/AnimatedNumber.mjs +41 -0
- package/counter/lib/esm/Counter.mjs +55 -0
- package/counter/lib/esm/index.mjs +6 -0
- package/counter/package.json +1 -1
- package/d3-chart/lib/esm/semcore/d3-chart/src/AnimatedClipPath.mjs +49 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/Area.mjs +170 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/Axis.mjs +333 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/Bar.mjs +160 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/Bubble.mjs +177 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/CompactHorizontalBar.mjs +416 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/Donut.mjs +326 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/Dots.mjs +99 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/GroupBar.mjs +75 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/HorizontalBar.mjs +145 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/Hover.mjs +156 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/Line.mjs +172 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/Pattern.mjs +493 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/Plot.mjs +107 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/Radar.mjs +581 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/RadialTree.mjs +443 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/Reference.mjs +195 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/ResponsiveContainer.mjs +76 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/ScatterPlot.mjs +158 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/StackBar.mjs +139 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/StackedArea.mjs +73 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/Tooltip.mjs +199 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/Venn.mjs +207 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/DataAccessibilityTable.mjs +77 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/PlotA11yModule.mjs +86 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/PlotA11yView.mjs +120 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/bezier.mjs +23 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/focus.mjs +32 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/hints.mjs +98 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/insights.mjs +523 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/intl.mjs +14 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/locale.mjs +26 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/serialize.mjs +277 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/summarize.mjs +13 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/module/__intergalactic-dynamic-locales.mjs +33 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/module/de.json.mjs +11 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/module/en.json.mjs +11 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/module/es.json.mjs +11 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/module/fr.json.mjs +11 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/module/it.json.mjs +11 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/module/ja.json.mjs +11 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/module/ko.json.mjs +11 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/module/nl.json.mjs +11 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/module/pl.json.mjs +11 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/module/pt.json.mjs +11 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/module/sv.json.mjs +11 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/module/tr.json.mjs +11 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/module/vi.json.mjs +11 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/module/zh.json.mjs +11 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/view/__intergalactic-dynamic-locales.mjs +33 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/view/de.json.mjs +47 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/view/en.json.mjs +47 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/view/es.json.mjs +47 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/view/fr.json.mjs +47 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/view/it.json.mjs +47 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/view/ja.json.mjs +47 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/view/ko.json.mjs +47 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/view/nl.json.mjs +47 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/view/pl.json.mjs +47 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/view/pt.json.mjs +47 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/view/sv.json.mjs +47 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/view/tr.json.mjs +47 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/view/vi.json.mjs +47 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/view/zh.json.mjs +47 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/color.mjs +127 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/Chart/AbstractChart.mjs +292 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/Chart/AreaChart.mjs +120 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/Chart/BarChart.mjs +187 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/Chart/BubbleChart.mjs +118 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/Chart/CigaretteChart.mjs +256 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/Chart/CompactHorizontalBarChart.mjs +107 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/Chart/DonutChart.mjs +97 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/Chart/HistogramChart.mjs +138 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/Chart/LineChart.mjs +111 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/Chart/RadarChart.mjs +103 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/Chart/ScatterPlotChart.mjs +121 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/Chart/VennChart.mjs +119 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/Chart/index.mjs +27 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/BaseLegend.mjs +80 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendFlex/LegendFlex.mjs +77 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendItem/LegendItem.mjs +203 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendItem/LegendItem.type.mjs +4 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendTable/LegendTable.mjs +79 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/index.mjs +5 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/Cigarette/Cigarette.mjs +96 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/StackGroupBar/StackGroupBar.mjs +104 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/createElement.mjs +85 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/index.mjs +70 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/translations/__intergalactic-dynamic-locales.mjs +31 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/translations/en.json.mjs +10 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/translations/es.json.mjs +9 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/translations/fr.json.mjs +9 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/translations/it.json.mjs +9 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/translations/ja.json.mjs +9 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/translations/ko.json.mjs +9 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/translations/nl.json.mjs +9 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/translations/pl.json.mjs +9 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/translations/pt.json.mjs +9 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/translations/sv.json.mjs +9 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/translations/tr.json.mjs +9 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/translations/vi.json.mjs +9 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/translations/zh.json.mjs +9 -0
- package/d3-chart/lib/esm/semcore/d3-chart/src/utils.mjs +156 -0
- package/d3-chart/package.json +1 -1
- package/data-table/lib/esm/Body.mjs +320 -0
- package/data-table/lib/esm/DataTable.mjs +442 -0
- package/data-table/lib/esm/Head.mjs +257 -0
- package/data-table/lib/esm/index.mjs +8 -0
- package/data-table/lib/esm/translations/__intergalactic-dynamic-locales.mjs +33 -0
- package/data-table/lib/esm/translations/de.json.mjs +7 -0
- package/data-table/lib/esm/translations/en.json.mjs +7 -0
- package/data-table/lib/esm/translations/es.json.mjs +7 -0
- package/data-table/lib/esm/translations/fr.json.mjs +7 -0
- package/data-table/lib/esm/translations/it.json.mjs +7 -0
- package/data-table/lib/esm/translations/ja.json.mjs +7 -0
- package/data-table/lib/esm/translations/ko.json.mjs +7 -0
- package/data-table/lib/esm/translations/nl.json.mjs +7 -0
- package/data-table/lib/esm/translations/pl.json.mjs +7 -0
- package/data-table/lib/esm/translations/pt.json.mjs +7 -0
- package/data-table/lib/esm/translations/sv.json.mjs +7 -0
- package/data-table/lib/esm/translations/tr.json.mjs +7 -0
- package/data-table/lib/esm/translations/vi.json.mjs +7 -0
- package/data-table/lib/esm/translations/zh.json.mjs +7 -0
- package/data-table/lib/esm/utils.mjs +37 -0
- package/data-table/package.json +1 -1
- package/date-picker/index.d.ts +8 -3
- package/date-picker/lib/cjs/components/Calendar.js +21 -21
- package/date-picker/lib/cjs/components/DateRangeComparatorAbstract.js +29 -29
- package/date-picker/lib/cjs/components/InputTrigger.js +29 -29
- package/date-picker/lib/cjs/components/PickerAbstract.js +29 -29
- package/date-picker/lib/cjs/components/RangePickerAbstract.js +29 -29
- package/date-picker/lib/cjs/index.d.js.map +1 -1
- package/date-picker/lib/es6/components/Calendar.js +21 -21
- package/date-picker/lib/es6/components/DateRangeComparatorAbstract.js +29 -29
- package/date-picker/lib/es6/components/InputTrigger.js +29 -29
- package/date-picker/lib/es6/components/PickerAbstract.js +29 -29
- package/date-picker/lib/es6/components/RangePickerAbstract.js +29 -29
- package/date-picker/lib/es6/index.d.js.map +1 -1
- package/date-picker/lib/esm/_virtual/_commonjsHelpers.mjs +8 -0
- package/date-picker/lib/esm/_virtual/isBetween.mjs +4 -0
- package/date-picker/lib/esm/semcore/date-picker/src/DatePicker.mjs +147 -0
- package/date-picker/lib/esm/semcore/date-picker/src/DateRangeComparator.mjs +213 -0
- package/date-picker/lib/esm/semcore/date-picker/src/DateRangePicker.mjs +111 -0
- package/date-picker/lib/esm/semcore/date-picker/src/MonthDateRangeComparator.mjs +249 -0
- package/date-picker/lib/esm/semcore/date-picker/src/MonthPicker.mjs +99 -0
- package/date-picker/lib/esm/semcore/date-picker/src/MonthRangePicker.mjs +122 -0
- package/date-picker/lib/esm/semcore/date-picker/src/components/ButtonTrigger.mjs +19 -0
- package/date-picker/lib/esm/semcore/date-picker/src/components/Calendar.mjs +407 -0
- package/date-picker/lib/esm/semcore/date-picker/src/components/DateRangeComparatorAbstract.mjs +500 -0
- package/date-picker/lib/esm/semcore/date-picker/src/components/InputTrigger.mjs +650 -0
- package/date-picker/lib/esm/semcore/date-picker/src/components/PickerAbstract.mjs +231 -0
- package/date-picker/lib/esm/semcore/date-picker/src/components/RangePickerAbstract.mjs +352 -0
- package/date-picker/lib/esm/semcore/date-picker/src/components/index.mjs +130 -0
- package/date-picker/lib/esm/semcore/date-picker/src/index.mjs +15 -0
- package/date-picker/lib/esm/semcore/date-picker/src/translations/__intergalactic-dynamic-locales.mjs +35 -0
- package/date-picker/lib/esm/semcore/date-picker/src/translations/de.json.mjs +62 -0
- package/date-picker/lib/esm/semcore/date-picker/src/translations/en.json.mjs +70 -0
- package/date-picker/lib/esm/semcore/date-picker/src/translations/es.json.mjs +62 -0
- package/date-picker/lib/esm/semcore/date-picker/src/translations/fr.json.mjs +62 -0
- package/date-picker/lib/esm/semcore/date-picker/src/translations/it.json.mjs +62 -0
- package/date-picker/lib/esm/semcore/date-picker/src/translations/ja.json.mjs +62 -0
- package/date-picker/lib/esm/semcore/date-picker/src/translations/ko.json.mjs +62 -0
- package/date-picker/lib/esm/semcore/date-picker/src/translations/nl.json.mjs +62 -0
- package/date-picker/lib/esm/semcore/date-picker/src/translations/pl.json.mjs +62 -0
- package/date-picker/lib/esm/semcore/date-picker/src/translations/pt.json.mjs +62 -0
- package/date-picker/lib/esm/semcore/date-picker/src/translations/ru.json.mjs +27 -0
- package/date-picker/lib/esm/semcore/date-picker/src/translations/sv.json.mjs +62 -0
- package/date-picker/lib/esm/semcore/date-picker/src/translations/tr.json.mjs +62 -0
- package/date-picker/lib/esm/semcore/date-picker/src/translations/vi.json.mjs +62 -0
- package/date-picker/lib/esm/semcore/date-picker/src/translations/zh.json.mjs +62 -0
- package/date-picker/lib/esm/semcore/date-picker/src/utils/cronTabScheduler.mjs +84 -0
- package/date-picker/lib/esm/semcore/date-picker/src/utils/datesIntersects.mjs +16 -0
- package/date-picker/lib/esm/semcore/date-picker/src/utils/formatDate.mjs +21 -0
- package/date-picker/lib/esm/semcore/date-picker/src/utils/includesDate.mjs +14 -0
- package/date-picker/lib/esm/semcore/date-picker/src/utils/shortDateRangeFormat.mjs +38 -0
- package/date-picker/lib/types/index.d.ts +8 -3
- package/date-picker/package.json +1 -1
- package/divider/lib/esm/Divider.mjs +57 -0
- package/divider/lib/esm/index.mjs +4 -0
- package/divider/package.json +1 -1
- package/dot/lib/esm/Dot.mjs +93 -0
- package/dot/lib/esm/index.mjs +4 -0
- package/dot/package.json +1 -1
- package/drag-and-drop/lib/esm/DragAndDrop.mjs +490 -0
- package/drag-and-drop/lib/esm/index.mjs +4 -0
- package/drag-and-drop/lib/esm/translations/__intergalactic-dynamic-locales.mjs +33 -0
- package/drag-and-drop/lib/esm/translations/de.json.mjs +25 -0
- package/drag-and-drop/lib/esm/translations/en.json.mjs +25 -0
- package/drag-and-drop/lib/esm/translations/es.json.mjs +25 -0
- package/drag-and-drop/lib/esm/translations/fr.json.mjs +25 -0
- package/drag-and-drop/lib/esm/translations/it.json.mjs +25 -0
- package/drag-and-drop/lib/esm/translations/ja.json.mjs +25 -0
- package/drag-and-drop/lib/esm/translations/ko.json.mjs +25 -0
- package/drag-and-drop/lib/esm/translations/nl.json.mjs +25 -0
- package/drag-and-drop/lib/esm/translations/pl.json.mjs +25 -0
- package/drag-and-drop/lib/esm/translations/pt.json.mjs +25 -0
- package/drag-and-drop/lib/esm/translations/sv.json.mjs +25 -0
- package/drag-and-drop/lib/esm/translations/tr.json.mjs +25 -0
- package/drag-and-drop/lib/esm/translations/vi.json.mjs +25 -0
- package/drag-and-drop/lib/esm/translations/zh.json.mjs +25 -0
- package/drag-and-drop/package.json +1 -1
- package/dropdown/lib/cjs/Dropdown.js +16 -16
- package/dropdown/lib/es6/Dropdown.js +16 -16
- package/dropdown/lib/esm/AbstractDropdown.mjs +253 -0
- package/dropdown/lib/esm/Dropdown.mjs +179 -0
- package/dropdown/lib/esm/DropdownItem.mjs +11 -0
- package/dropdown/lib/esm/index.mjs +8 -0
- package/dropdown/lib/esm/translations/__intergalactic-dynamic-locales.mjs +33 -0
- package/dropdown/lib/esm/translations/de.json.mjs +7 -0
- package/dropdown/lib/esm/translations/en.json.mjs +7 -0
- package/dropdown/lib/esm/translations/es.json.mjs +7 -0
- package/dropdown/lib/esm/translations/fr.json.mjs +7 -0
- package/dropdown/lib/esm/translations/it.json.mjs +7 -0
- package/dropdown/lib/esm/translations/ja.json.mjs +7 -0
- package/dropdown/lib/esm/translations/ko.json.mjs +7 -0
- package/dropdown/lib/esm/translations/nl.json.mjs +7 -0
- package/dropdown/lib/esm/translations/pl.json.mjs +7 -0
- package/dropdown/lib/esm/translations/pt.json.mjs +7 -0
- package/dropdown/lib/esm/translations/sv.json.mjs +7 -0
- package/dropdown/lib/esm/translations/tr.json.mjs +7 -0
- package/dropdown/lib/esm/translations/vi.json.mjs +7 -0
- package/dropdown/lib/esm/translations/zh.json.mjs +7 -0
- package/dropdown/package.json +1 -1
- package/dropdown-menu/lib/cjs/DropdownMenu.js +18 -18
- package/dropdown-menu/lib/es6/DropdownMenu.js +18 -18
- package/dropdown-menu/lib/esm/DropdownMenu.mjs +386 -0
- package/dropdown-menu/lib/esm/index.mjs +4 -0
- package/dropdown-menu/lib/esm/translations/__intergalactic-dynamic-locales.mjs +33 -0
- package/dropdown-menu/lib/esm/translations/de.json.mjs +7 -0
- package/dropdown-menu/lib/esm/translations/en.json.mjs +4 -0
- package/dropdown-menu/lib/esm/translations/es.json.mjs +7 -0
- package/dropdown-menu/lib/esm/translations/fr.json.mjs +7 -0
- package/dropdown-menu/lib/esm/translations/it.json.mjs +7 -0
- package/dropdown-menu/lib/esm/translations/ja.json.mjs +7 -0
- package/dropdown-menu/lib/esm/translations/ko.json.mjs +7 -0
- package/dropdown-menu/lib/esm/translations/nl.json.mjs +7 -0
- package/dropdown-menu/lib/esm/translations/pl.json.mjs +7 -0
- package/dropdown-menu/lib/esm/translations/pt.json.mjs +7 -0
- package/dropdown-menu/lib/esm/translations/sv.json.mjs +7 -0
- package/dropdown-menu/lib/esm/translations/tr.json.mjs +7 -0
- package/dropdown-menu/lib/esm/translations/vi.json.mjs +7 -0
- package/dropdown-menu/lib/esm/translations/zh.json.mjs +7 -0
- package/dropdown-menu/package.json +1 -1
- package/ellipsis/lib/esm/Ellipsis.mjs +204 -0
- package/ellipsis/lib/esm/index.mjs +6 -0
- package/ellipsis/lib/esm/useResizeObserver.mjs +24 -0
- package/ellipsis/package.json +1 -1
- package/errors/lib/esm/AccessDenied/index.mjs +49 -0
- package/errors/lib/esm/AccessDenied/translations/__intergalactic-dynamic-locales.mjs +35 -0
- package/errors/lib/esm/AccessDenied/translations/de.json.mjs +11 -0
- package/errors/lib/esm/AccessDenied/translations/en.json.mjs +11 -0
- package/errors/lib/esm/AccessDenied/translations/es.json.mjs +11 -0
- package/errors/lib/esm/AccessDenied/translations/fr.json.mjs +11 -0
- package/errors/lib/esm/AccessDenied/translations/it.json.mjs +11 -0
- package/errors/lib/esm/AccessDenied/translations/ja.json.mjs +11 -0
- package/errors/lib/esm/AccessDenied/translations/ko.json.mjs +11 -0
- package/errors/lib/esm/AccessDenied/translations/nl.json.mjs +11 -0
- package/errors/lib/esm/AccessDenied/translations/pl.json.mjs +11 -0
- package/errors/lib/esm/AccessDenied/translations/pt.json.mjs +11 -0
- package/errors/lib/esm/AccessDenied/translations/ru.json.mjs +12 -0
- package/errors/lib/esm/AccessDenied/translations/sv.json.mjs +11 -0
- package/errors/lib/esm/AccessDenied/translations/tr.json.mjs +11 -0
- package/errors/lib/esm/AccessDenied/translations/vi.json.mjs +11 -0
- package/errors/lib/esm/AccessDenied/translations/zh.json.mjs +11 -0
- package/errors/lib/esm/Error.mjs +74 -0
- package/errors/lib/esm/Maintenance/index.mjs +47 -0
- package/errors/lib/esm/Maintenance/translations/__intergalactic-dynamic-locales.mjs +35 -0
- package/errors/lib/esm/Maintenance/translations/de.json.mjs +11 -0
- package/errors/lib/esm/Maintenance/translations/en.json.mjs +11 -0
- package/errors/lib/esm/Maintenance/translations/es.json.mjs +11 -0
- package/errors/lib/esm/Maintenance/translations/fr.json.mjs +11 -0
- package/errors/lib/esm/Maintenance/translations/it.json.mjs +11 -0
- package/errors/lib/esm/Maintenance/translations/ja.json.mjs +11 -0
- package/errors/lib/esm/Maintenance/translations/ko.json.mjs +11 -0
- package/errors/lib/esm/Maintenance/translations/nl.json.mjs +11 -0
- package/errors/lib/esm/Maintenance/translations/pl.json.mjs +11 -0
- package/errors/lib/esm/Maintenance/translations/pt.json.mjs +11 -0
- package/errors/lib/esm/Maintenance/translations/ru.json.mjs +11 -0
- package/errors/lib/esm/Maintenance/translations/sv.json.mjs +11 -0
- package/errors/lib/esm/Maintenance/translations/tr.json.mjs +11 -0
- package/errors/lib/esm/Maintenance/translations/vi.json.mjs +11 -0
- package/errors/lib/esm/Maintenance/translations/zh.json.mjs +11 -0
- package/errors/lib/esm/PageError/index.mjs +54 -0
- package/errors/lib/esm/PageError/translations/__intergalactic-dynamic-locales.mjs +35 -0
- package/errors/lib/esm/PageError/translations/de.json.mjs +11 -0
- package/errors/lib/esm/PageError/translations/en.json.mjs +11 -0
- package/errors/lib/esm/PageError/translations/es.json.mjs +11 -0
- package/errors/lib/esm/PageError/translations/fr.json.mjs +11 -0
- package/errors/lib/esm/PageError/translations/it.json.mjs +11 -0
- package/errors/lib/esm/PageError/translations/ja.json.mjs +11 -0
- package/errors/lib/esm/PageError/translations/ko.json.mjs +11 -0
- package/errors/lib/esm/PageError/translations/nl.json.mjs +11 -0
- package/errors/lib/esm/PageError/translations/pl.json.mjs +11 -0
- package/errors/lib/esm/PageError/translations/pt.json.mjs +11 -0
- package/errors/lib/esm/PageError/translations/ru.json.mjs +11 -0
- package/errors/lib/esm/PageError/translations/sv.json.mjs +11 -0
- package/errors/lib/esm/PageError/translations/tr.json.mjs +11 -0
- package/errors/lib/esm/PageError/translations/vi.json.mjs +11 -0
- package/errors/lib/esm/PageError/translations/zh.json.mjs +11 -0
- package/errors/lib/esm/PageNotFound/index.mjs +47 -0
- package/errors/lib/esm/PageNotFound/translations/__intergalactic-dynamic-locales.mjs +35 -0
- package/errors/lib/esm/PageNotFound/translations/de.json.mjs +11 -0
- package/errors/lib/esm/PageNotFound/translations/en.json.mjs +11 -0
- package/errors/lib/esm/PageNotFound/translations/es.json.mjs +11 -0
- package/errors/lib/esm/PageNotFound/translations/fr.json.mjs +11 -0
- package/errors/lib/esm/PageNotFound/translations/it.json.mjs +11 -0
- package/errors/lib/esm/PageNotFound/translations/ja.json.mjs +11 -0
- package/errors/lib/esm/PageNotFound/translations/ko.json.mjs +11 -0
- package/errors/lib/esm/PageNotFound/translations/nl.json.mjs +11 -0
- package/errors/lib/esm/PageNotFound/translations/pl.json.mjs +11 -0
- package/errors/lib/esm/PageNotFound/translations/pt.json.mjs +11 -0
- package/errors/lib/esm/PageNotFound/translations/ru.json.mjs +11 -0
- package/errors/lib/esm/PageNotFound/translations/sv.json.mjs +11 -0
- package/errors/lib/esm/PageNotFound/translations/tr.json.mjs +11 -0
- package/errors/lib/esm/PageNotFound/translations/vi.json.mjs +11 -0
- package/errors/lib/esm/PageNotFound/translations/zh.json.mjs +11 -0
- package/errors/lib/esm/ProjectNotFound/index.mjs +63 -0
- package/errors/lib/esm/ProjectNotFound/translations/__intergalactic-dynamic-locales.mjs +35 -0
- package/errors/lib/esm/ProjectNotFound/translations/de.json.mjs +13 -0
- package/errors/lib/esm/ProjectNotFound/translations/en.json.mjs +13 -0
- package/errors/lib/esm/ProjectNotFound/translations/es.json.mjs +13 -0
- package/errors/lib/esm/ProjectNotFound/translations/fr.json.mjs +13 -0
- package/errors/lib/esm/ProjectNotFound/translations/it.json.mjs +13 -0
- package/errors/lib/esm/ProjectNotFound/translations/ja.json.mjs +13 -0
- package/errors/lib/esm/ProjectNotFound/translations/ko.json.mjs +13 -0
- package/errors/lib/esm/ProjectNotFound/translations/nl.json.mjs +13 -0
- package/errors/lib/esm/ProjectNotFound/translations/pl.json.mjs +13 -0
- package/errors/lib/esm/ProjectNotFound/translations/pt.json.mjs +13 -0
- package/errors/lib/esm/ProjectNotFound/translations/ru.json.mjs +14 -0
- package/errors/lib/esm/ProjectNotFound/translations/sv.json.mjs +13 -0
- package/errors/lib/esm/ProjectNotFound/translations/tr.json.mjs +13 -0
- package/errors/lib/esm/ProjectNotFound/translations/vi.json.mjs +13 -0
- package/errors/lib/esm/ProjectNotFound/translations/zh.json.mjs +13 -0
- package/errors/lib/esm/index.mjs +15 -0
- package/errors/package.json +1 -1
- package/feature-popover/lib/esm/FeaturePopover.mjs +178 -0
- package/feature-popover/lib/esm/index.mjs +4 -0
- package/feature-popover/lib/esm/translations/__intergalactic-dynamic-locales.mjs +33 -0
- package/feature-popover/lib/esm/translations/de.json.mjs +7 -0
- package/feature-popover/lib/esm/translations/en.json.mjs +7 -0
- package/feature-popover/lib/esm/translations/es.json.mjs +7 -0
- package/feature-popover/lib/esm/translations/fr.json.mjs +7 -0
- package/feature-popover/lib/esm/translations/it.json.mjs +7 -0
- package/feature-popover/lib/esm/translations/ja.json.mjs +7 -0
- package/feature-popover/lib/esm/translations/ko.json.mjs +7 -0
- package/feature-popover/lib/esm/translations/nl.json.mjs +7 -0
- package/feature-popover/lib/esm/translations/pl.json.mjs +7 -0
- package/feature-popover/lib/esm/translations/pt.json.mjs +7 -0
- package/feature-popover/lib/esm/translations/sv.json.mjs +7 -0
- package/feature-popover/lib/esm/translations/tr.json.mjs +7 -0
- package/feature-popover/lib/esm/translations/vi.json.mjs +7 -0
- package/feature-popover/lib/esm/translations/zh.json.mjs +7 -0
- package/feature-popover/package.json +1 -1
- package/feedback-form/lib/esm/FeedbackForm.mjs +137 -0
- package/feedback-form/lib/esm/component/checkbox-button/CheckboxButton.mjs +50 -0
- package/feedback-form/lib/esm/component/feedback-item/FeedbackItem.mjs +45 -0
- package/feedback-form/lib/esm/component/feedback-rating/FeedbackRating.mjs +310 -0
- package/feedback-form/lib/esm/component/slider-rating/SliderRating.mjs +173 -0
- package/feedback-form/lib/esm/component/submit-button/SubmitButton.mjs +15 -0
- package/feedback-form/lib/esm/index.mjs +6 -0
- package/feedback-form/lib/esm/translations/__intergalactic-dynamic-locales.mjs +33 -0
- package/feedback-form/lib/esm/translations/de.json.mjs +21 -0
- package/feedback-form/lib/esm/translations/en.json.mjs +21 -0
- package/feedback-form/lib/esm/translations/es.json.mjs +21 -0
- package/feedback-form/lib/esm/translations/fr.json.mjs +21 -0
- package/feedback-form/lib/esm/translations/it.json.mjs +21 -0
- package/feedback-form/lib/esm/translations/ja.json.mjs +21 -0
- package/feedback-form/lib/esm/translations/ko.json.mjs +21 -0
- package/feedback-form/lib/esm/translations/nl.json.mjs +21 -0
- package/feedback-form/lib/esm/translations/pl.json.mjs +21 -0
- package/feedback-form/lib/esm/translations/pt.json.mjs +21 -0
- package/feedback-form/lib/esm/translations/sv.json.mjs +21 -0
- package/feedback-form/lib/esm/translations/tr.json.mjs +21 -0
- package/feedback-form/lib/esm/translations/vi.json.mjs +21 -0
- package/feedback-form/lib/esm/translations/zh.json.mjs +21 -0
- package/feedback-form/package.json +1 -1
- package/flags/package.json +1 -1
- package/flex-box/package.json +1 -1
- package/format-text/package.json +1 -1
- package/fullscreen-modal/lib/esm/FullscreenModal.mjs +180 -0
- package/fullscreen-modal/lib/esm/index.mjs +4 -0
- package/fullscreen-modal/lib/esm/translations/__intergalactic-dynamic-locales.mjs +33 -0
- package/fullscreen-modal/lib/esm/translations/de.json.mjs +9 -0
- package/fullscreen-modal/lib/esm/translations/en.json.mjs +9 -0
- package/fullscreen-modal/lib/esm/translations/es.json.mjs +9 -0
- package/fullscreen-modal/lib/esm/translations/fr.json.mjs +9 -0
- package/fullscreen-modal/lib/esm/translations/it.json.mjs +9 -0
- package/fullscreen-modal/lib/esm/translations/ja.json.mjs +9 -0
- package/fullscreen-modal/lib/esm/translations/ko.json.mjs +9 -0
- package/fullscreen-modal/lib/esm/translations/nl.json.mjs +9 -0
- package/fullscreen-modal/lib/esm/translations/pl.json.mjs +9 -0
- package/fullscreen-modal/lib/esm/translations/pt.json.mjs +9 -0
- package/fullscreen-modal/lib/esm/translations/sv.json.mjs +9 -0
- package/fullscreen-modal/lib/esm/translations/tr.json.mjs +9 -0
- package/fullscreen-modal/lib/esm/translations/vi.json.mjs +9 -0
- package/fullscreen-modal/lib/esm/translations/zh.json.mjs +9 -0
- package/fullscreen-modal/package.json +1 -1
- package/grid/lib/esm/Grid.mjs +192 -0
- package/grid/lib/esm/index.mjs +6 -0
- package/grid/package.json +1 -1
- package/i18n-unplugin/package.json +1 -1
- package/icon/ChatAlt/l/index.d.ts +6 -0
- package/icon/ChatAlt/l/index.js +38 -0
- package/icon/ChatAlt/l/index.mjs +27 -0
- package/icon/ChatAlt/l/index.mjs.d.ts +6 -0
- package/icon/ChatAlt/m/index.d.ts +6 -0
- package/icon/ChatAlt/m/index.js +38 -0
- package/icon/ChatAlt/m/index.mjs +27 -0
- package/icon/ChatAlt/m/index.mjs.d.ts +6 -0
- package/icon/color/Confluence/l/index.js +4 -4
- package/icon/color/Confluence/l/index.mjs +4 -4
- package/icon/color/Confluence/m/index.js +4 -4
- package/icon/color/Confluence/m/index.mjs +4 -4
- package/icon/color/MetaColored/l/index.js +4 -4
- package/icon/color/MetaColored/l/index.mjs +4 -4
- package/icon/color/MetaColored/m/index.js +4 -4
- package/icon/color/MetaColored/m/index.mjs +4 -4
- package/icon/color/MicrosoftOffice/l/index.js +10 -10
- package/icon/color/MicrosoftOffice/l/index.mjs +10 -10
- package/icon/color/MicrosoftOffice/m/index.js +10 -10
- package/icon/color/MicrosoftOffice/m/index.mjs +10 -10
- package/icon/lib/cjs/Icon.js +5 -5
- package/icon/lib/es6/Icon.js +5 -5
- package/icon/lib/esm/Icon.mjs +32 -32
- package/icon/package.json +1 -1
- package/icon/pay/Discover/l/index.js +1 -1
- package/icon/pay/Discover/l/index.mjs +1 -1
- package/icon/pay/Discover/m/index.js +1 -1
- package/icon/pay/Discover/m/index.mjs +1 -1
- package/icon/pay/JCB/l/index.js +10 -10
- package/icon/pay/JCB/l/index.mjs +10 -10
- package/icon/pay/JCB/m/index.js +10 -10
- package/icon/pay/JCB/m/index.mjs +10 -10
- package/icon/pay/Visa/l/index.js +2 -2
- package/icon/pay/Visa/l/index.mjs +2 -2
- package/icon/pay/Visa/m/index.js +2 -2
- package/icon/pay/Visa/m/index.mjs +2 -2
- package/icon/platform/AdsToolkit/index.d.ts +6 -0
- package/icon/platform/AdsToolkit/index.js +42 -0
- package/icon/platform/AdsToolkit/index.mjs +31 -0
- package/icon/platform/AdsToolkit/index.mjs.d.ts +6 -0
- package/icon/platform/AppCenter/index.d.ts +6 -0
- package/icon/platform/AppCenter/index.js +41 -0
- package/icon/platform/AppCenter/index.mjs +30 -0
- package/icon/platform/AppCenter/index.mjs.d.ts +6 -0
- package/icon/platform/ContentToolkit/index.d.ts +6 -0
- package/icon/platform/ContentToolkit/index.js +36 -0
- package/icon/platform/ContentToolkit/index.mjs +25 -0
- package/icon/platform/ContentToolkit/index.mjs.d.ts +6 -0
- package/icon/platform/HomePlatform/index.d.ts +6 -0
- package/icon/platform/HomePlatform/index.js +39 -0
- package/icon/platform/HomePlatform/index.mjs +28 -0
- package/icon/platform/HomePlatform/index.mjs.d.ts +6 -0
- package/icon/platform/LocalToolkit/index.d.ts +6 -0
- package/icon/platform/LocalToolkit/index.js +38 -0
- package/icon/platform/LocalToolkit/index.mjs +27 -0
- package/icon/platform/LocalToolkit/index.mjs.d.ts +6 -0
- package/icon/platform/ReportsToolkit/index.d.ts +6 -0
- package/icon/platform/ReportsToolkit/index.js +41 -0
- package/icon/platform/ReportsToolkit/index.mjs +30 -0
- package/icon/platform/ReportsToolkit/index.mjs.d.ts +6 -0
- package/icon/platform/SEOToolkit/index.d.ts +6 -0
- package/icon/platform/SEOToolkit/index.js +41 -0
- package/icon/platform/SEOToolkit/index.mjs +30 -0
- package/icon/platform/SEOToolkit/index.mjs.d.ts +6 -0
- package/icon/platform/SocialToolkit/index.d.ts +6 -0
- package/icon/platform/SocialToolkit/index.js +38 -0
- package/icon/platform/SocialToolkit/index.mjs +27 -0
- package/icon/platform/SocialToolkit/index.mjs.d.ts +6 -0
- package/icon/platform/TrafficMarketToolkit/index.d.ts +6 -0
- package/icon/platform/TrafficMarketToolkit/index.js +36 -0
- package/icon/platform/TrafficMarketToolkit/index.mjs +25 -0
- package/icon/platform/TrafficMarketToolkit/index.mjs.d.ts +6 -0
- package/illustration/package.json +1 -1
- package/inline-edit/lib/esm/InlineEdit.mjs +140 -0
- package/inline-edit/lib/esm/index.mjs +4 -0
- package/inline-edit/lib/esm/translations/__intergalactic-dynamic-locales.mjs +33 -0
- package/inline-edit/lib/esm/translations/de.json.mjs +7 -0
- package/inline-edit/lib/esm/translations/en.json.mjs +7 -0
- package/inline-edit/lib/esm/translations/es.json.mjs +7 -0
- package/inline-edit/lib/esm/translations/fr.json.mjs +7 -0
- package/inline-edit/lib/esm/translations/it.json.mjs +7 -0
- package/inline-edit/lib/esm/translations/ja.json.mjs +7 -0
- package/inline-edit/lib/esm/translations/ko.json.mjs +7 -0
- package/inline-edit/lib/esm/translations/nl.json.mjs +7 -0
- package/inline-edit/lib/esm/translations/pl.json.mjs +7 -0
- package/inline-edit/lib/esm/translations/pt.json.mjs +7 -0
- package/inline-edit/lib/esm/translations/sv.json.mjs +7 -0
- package/inline-edit/lib/esm/translations/tr.json.mjs +7 -0
- package/inline-edit/lib/esm/translations/vi.json.mjs +7 -0
- package/inline-edit/lib/esm/translations/zh.json.mjs +7 -0
- package/inline-edit/package.json +1 -1
- package/inline-input/lib/esm/InlineInput.mjs +305 -0
- package/inline-input/lib/esm/index.mjs +4 -0
- package/inline-input/lib/esm/translations/__intergalactic-dynamic-locales.mjs +33 -0
- package/inline-input/lib/esm/translations/de.json.mjs +9 -0
- package/inline-input/lib/esm/translations/en.json.mjs +9 -0
- package/inline-input/lib/esm/translations/es.json.mjs +9 -0
- package/inline-input/lib/esm/translations/fr.json.mjs +9 -0
- package/inline-input/lib/esm/translations/it.json.mjs +9 -0
- package/inline-input/lib/esm/translations/ja.json.mjs +9 -0
- package/inline-input/lib/esm/translations/ko.json.mjs +9 -0
- package/inline-input/lib/esm/translations/nl.json.mjs +9 -0
- package/inline-input/lib/esm/translations/pl.json.mjs +9 -0
- package/inline-input/lib/esm/translations/pt.json.mjs +9 -0
- package/inline-input/lib/esm/translations/sv.json.mjs +9 -0
- package/inline-input/lib/esm/translations/tr.json.mjs +9 -0
- package/inline-input/lib/esm/translations/vi.json.mjs +9 -0
- package/inline-input/lib/esm/translations/zh.json.mjs +9 -0
- package/inline-input/package.json +1 -1
- package/input/lib/esm/Input.mjs +185 -0
- package/input/lib/esm/index.mjs +4 -0
- package/input/package.json +1 -1
- package/input-mask/lib/esm/InputMask.mjs +263 -0
- package/input-mask/lib/esm/index.mjs +5 -0
- package/input-mask/package.json +1 -1
- package/input-number/index.d.ts +4 -1
- package/input-number/lib/cjs/index.d.js.map +1 -1
- package/input-number/lib/es6/index.d.js.map +1 -1
- package/input-number/lib/esm/InputNumber.mjs +322 -0
- package/input-number/lib/esm/buttons.mjs +24 -0
- package/input-number/lib/esm/index.mjs +8 -0
- package/input-number/lib/esm/translations/__intergalactic-dynamic-locales.mjs +33 -0
- package/input-number/lib/esm/translations/de.json.mjs +9 -0
- package/input-number/lib/esm/translations/en.json.mjs +9 -0
- package/input-number/lib/esm/translations/es.json.mjs +9 -0
- package/input-number/lib/esm/translations/fr.json.mjs +9 -0
- package/input-number/lib/esm/translations/it.json.mjs +9 -0
- package/input-number/lib/esm/translations/ja.json.mjs +9 -0
- package/input-number/lib/esm/translations/ko.json.mjs +9 -0
- package/input-number/lib/esm/translations/nl.json.mjs +9 -0
- package/input-number/lib/esm/translations/pl.json.mjs +9 -0
- package/input-number/lib/esm/translations/pt.json.mjs +9 -0
- package/input-number/lib/esm/translations/sv.json.mjs +9 -0
- package/input-number/lib/esm/translations/tr.json.mjs +9 -0
- package/input-number/lib/esm/translations/vi.json.mjs +9 -0
- package/input-number/lib/esm/translations/zh.json.mjs +9 -0
- package/input-number/lib/types/index.d.ts +4 -1
- package/input-number/package.json +1 -1
- package/input-tags/lib/esm/InputTags.mjs +296 -0
- package/input-tags/lib/esm/index.mjs +4 -0
- package/input-tags/lib/esm/translations/__intergalactic-dynamic-locales.mjs +33 -0
- package/input-tags/lib/esm/translations/de.json.mjs +7 -0
- package/input-tags/lib/esm/translations/en.json.mjs +7 -0
- package/input-tags/lib/esm/translations/es.json.mjs +7 -0
- package/input-tags/lib/esm/translations/fr.json.mjs +7 -0
- package/input-tags/lib/esm/translations/it.json.mjs +7 -0
- package/input-tags/lib/esm/translations/ja.json.mjs +7 -0
- package/input-tags/lib/esm/translations/ko.json.mjs +7 -0
- package/input-tags/lib/esm/translations/nl.json.mjs +7 -0
- package/input-tags/lib/esm/translations/pl.json.mjs +7 -0
- package/input-tags/lib/esm/translations/pt.json.mjs +7 -0
- package/input-tags/lib/esm/translations/sv.json.mjs +7 -0
- package/input-tags/lib/esm/translations/tr.json.mjs +7 -0
- package/input-tags/lib/esm/translations/vi.json.mjs +7 -0
- package/input-tags/lib/esm/translations/zh.json.mjs +7 -0
- package/input-tags/package.json +1 -1
- package/link/lib/esm/Link.mjs +136 -0
- package/link/lib/esm/index.mjs +4 -0
- package/link/package.json +1 -1
- package/mini-chart/lib/esm/component/score/Donut.mjs +103 -0
- package/mini-chart/lib/esm/component/score/Line.mjs +104 -0
- package/mini-chart/lib/esm/component/trend/Bar.mjs +106 -0
- package/mini-chart/lib/esm/component/trend/Line.mjs +140 -0
- package/mini-chart/lib/esm/component/trend/Trend.mjs +66 -0
- package/mini-chart/lib/esm/index.mjs +16 -0
- package/mini-chart/package.json +1 -1
- package/modal/lib/esm/Modal.mjs +196 -0
- package/modal/lib/esm/index.mjs +4 -0
- package/modal/lib/esm/translations/__intergalactic-dynamic-locales.mjs +33 -0
- package/modal/lib/esm/translations/de.json.mjs +9 -0
- package/modal/lib/esm/translations/en.json.mjs +9 -0
- package/modal/lib/esm/translations/es.json.mjs +9 -0
- package/modal/lib/esm/translations/fr.json.mjs +9 -0
- package/modal/lib/esm/translations/it.json.mjs +9 -0
- package/modal/lib/esm/translations/ja.json.mjs +9 -0
- package/modal/lib/esm/translations/ko.json.mjs +9 -0
- package/modal/lib/esm/translations/nl.json.mjs +9 -0
- package/modal/lib/esm/translations/pl.json.mjs +9 -0
- package/modal/lib/esm/translations/pt.json.mjs +9 -0
- package/modal/lib/esm/translations/sv.json.mjs +9 -0
- package/modal/lib/esm/translations/tr.json.mjs +9 -0
- package/modal/lib/esm/translations/vi.json.mjs +9 -0
- package/modal/lib/esm/translations/zh.json.mjs +9 -0
- package/modal/package.json +1 -1
- package/neighbor-location/package.json +1 -1
- package/notice/lib/esm/Notice.mjs +182 -0
- package/notice/lib/esm/NoticeSmart.mjs +35 -0
- package/notice/lib/esm/index.mjs +6 -0
- package/notice/lib/esm/translations/__intergalactic-dynamic-locales.mjs +33 -0
- package/notice/lib/esm/translations/de.json.mjs +11 -0
- package/notice/lib/esm/translations/en.json.mjs +11 -0
- package/notice/lib/esm/translations/es.json.mjs +11 -0
- package/notice/lib/esm/translations/fr.json.mjs +11 -0
- package/notice/lib/esm/translations/it.json.mjs +11 -0
- package/notice/lib/esm/translations/ja.json.mjs +11 -0
- package/notice/lib/esm/translations/ko.json.mjs +11 -0
- package/notice/lib/esm/translations/nl.json.mjs +11 -0
- package/notice/lib/esm/translations/pl.json.mjs +11 -0
- package/notice/lib/esm/translations/pt.json.mjs +11 -0
- package/notice/lib/esm/translations/sv.json.mjs +11 -0
- package/notice/lib/esm/translations/tr.json.mjs +11 -0
- package/notice/lib/esm/translations/vi.json.mjs +11 -0
- package/notice/lib/esm/translations/zh.json.mjs +11 -0
- package/notice/package.json +1 -1
- package/notice-bubble/index.d.ts +1 -1
- package/notice-bubble/lib/cjs/index.d.js.map +1 -1
- package/notice-bubble/lib/es6/index.d.js.map +1 -1
- package/notice-bubble/lib/esm/NoticeBubble.mjs +298 -0
- package/notice-bubble/lib/esm/NoticeBubbleManager.mjs +91 -0
- package/notice-bubble/lib/esm/index.mjs +11 -0
- package/notice-bubble/lib/esm/translations/__intergalactic-dynamic-locales.mjs +33 -0
- package/notice-bubble/lib/esm/translations/de.json.mjs +9 -0
- package/notice-bubble/lib/esm/translations/en.json.mjs +9 -0
- package/notice-bubble/lib/esm/translations/es.json.mjs +9 -0
- package/notice-bubble/lib/esm/translations/fr.json.mjs +9 -0
- package/notice-bubble/lib/esm/translations/it.json.mjs +9 -0
- package/notice-bubble/lib/esm/translations/ja.json.mjs +9 -0
- package/notice-bubble/lib/esm/translations/ko.json.mjs +9 -0
- package/notice-bubble/lib/esm/translations/nl.json.mjs +9 -0
- package/notice-bubble/lib/esm/translations/pl.json.mjs +9 -0
- package/notice-bubble/lib/esm/translations/pt.json.mjs +9 -0
- package/notice-bubble/lib/esm/translations/sv.json.mjs +9 -0
- package/notice-bubble/lib/esm/translations/tr.json.mjs +9 -0
- package/notice-bubble/lib/esm/translations/vi.json.mjs +9 -0
- package/notice-bubble/lib/esm/translations/zh.json.mjs +9 -0
- package/notice-bubble/lib/esm/utils.mjs +31 -0
- package/notice-bubble/lib/types/index.d.ts +1 -1
- package/notice-bubble/package.json +1 -1
- package/notice-global/lib/esm/NoticeGlobal.mjs +107 -0
- package/notice-global/lib/esm/index.mjs +4 -0
- package/notice-global/lib/esm/translations/__intergalactic-dynamic-locales.mjs +33 -0
- package/notice-global/lib/esm/translations/de.json.mjs +11 -0
- package/notice-global/lib/esm/translations/en.json.mjs +11 -0
- package/notice-global/lib/esm/translations/es.json.mjs +11 -0
- package/notice-global/lib/esm/translations/fr.json.mjs +11 -0
- package/notice-global/lib/esm/translations/it.json.mjs +11 -0
- package/notice-global/lib/esm/translations/ja.json.mjs +11 -0
- package/notice-global/lib/esm/translations/ko.json.mjs +11 -0
- package/notice-global/lib/esm/translations/nl.json.mjs +11 -0
- package/notice-global/lib/esm/translations/pl.json.mjs +11 -0
- package/notice-global/lib/esm/translations/pt.json.mjs +11 -0
- package/notice-global/lib/esm/translations/sv.json.mjs +11 -0
- package/notice-global/lib/esm/translations/tr.json.mjs +11 -0
- package/notice-global/lib/esm/translations/vi.json.mjs +11 -0
- package/notice-global/lib/esm/translations/zh.json.mjs +11 -0
- package/notice-global/package.json +1 -1
- package/outside-click/package.json +1 -1
- package/package.json +1 -1
- package/pagination/lib/esm/Pagination.mjs +346 -0
- package/pagination/lib/esm/index.mjs +4 -0
- package/pagination/lib/esm/translations/__intergalactic-dynamic-locales.mjs +35 -0
- package/pagination/lib/esm/translations/de.json.mjs +19 -0
- package/pagination/lib/esm/translations/en.json.mjs +19 -0
- package/pagination/lib/esm/translations/es.json.mjs +19 -0
- package/pagination/lib/esm/translations/fr.json.mjs +19 -0
- package/pagination/lib/esm/translations/it.json.mjs +19 -0
- package/pagination/lib/esm/translations/ja.json.mjs +19 -0
- package/pagination/lib/esm/translations/ko.json.mjs +19 -0
- package/pagination/lib/esm/translations/nl.json.mjs +19 -0
- package/pagination/lib/esm/translations/pl.json.mjs +19 -0
- package/pagination/lib/esm/translations/pt.json.mjs +19 -0
- package/pagination/lib/esm/translations/ru.json.mjs +13 -0
- package/pagination/lib/esm/translations/sv.json.mjs +19 -0
- package/pagination/lib/esm/translations/tr.json.mjs +19 -0
- package/pagination/lib/esm/translations/vi.json.mjs +19 -0
- package/pagination/lib/esm/translations/zh.json.mjs +19 -0
- package/pagination/package.json +1 -1
- package/pills/lib/esm/Pills.mjs +158 -0
- package/pills/lib/esm/index.mjs +5 -0
- package/pills/package.json +1 -1
- package/popper/package.json +1 -1
- package/portal/package.json +1 -1
- package/product-head/lib/esm/Info.mjs +54 -0
- package/product-head/lib/esm/ProductHead.mjs +58 -0
- package/product-head/lib/esm/Title.mjs +50 -0
- package/product-head/lib/esm/index.mjs +8 -0
- package/product-head/package.json +1 -1
- package/progress-bar/lib/esm/ProgressBar.mjs +96 -0
- package/progress-bar/lib/esm/index.mjs +4 -0
- package/progress-bar/package.json +1 -1
- package/radio/lib/esm/Radio.mjs +273 -0
- package/radio/lib/esm/index.mjs +8 -0
- package/radio/package.json +1 -1
- package/scroll-area/lib/esm/ScrollArea.mjs +272 -0
- package/scroll-area/lib/esm/ScrollBar.mjs +260 -0
- package/scroll-area/lib/esm/index.mjs +8 -0
- package/scroll-area/package.json +1 -1
- package/select/lib/cjs/InputSearch.js +6 -6
- package/select/lib/cjs/Select.js +9 -9
- package/select/lib/cjs/Select.js.map +1 -1
- package/select/lib/es6/InputSearch.js +6 -6
- package/select/lib/es6/Select.js +9 -9
- package/select/lib/es6/Select.js.map +1 -1
- package/select/lib/esm/InputSearch.mjs +120 -0
- package/select/lib/esm/Select.mjs +313 -0
- package/select/lib/esm/context.mjs +5 -0
- package/select/lib/esm/index.mjs +7 -0
- package/select/lib/esm/translations/__intergalactic-dynamic-locales.mjs +33 -0
- package/select/lib/esm/translations/de.json.mjs +11 -0
- package/select/lib/esm/translations/en.json.mjs +11 -0
- package/select/lib/esm/translations/es.json.mjs +11 -0
- package/select/lib/esm/translations/fr.json.mjs +11 -0
- package/select/lib/esm/translations/it.json.mjs +11 -0
- package/select/lib/esm/translations/ja.json.mjs +11 -0
- package/select/lib/esm/translations/ko.json.mjs +11 -0
- package/select/lib/esm/translations/nl.json.mjs +11 -0
- package/select/lib/esm/translations/pl.json.mjs +11 -0
- package/select/lib/esm/translations/pt.json.mjs +11 -0
- package/select/lib/esm/translations/sv.json.mjs +11 -0
- package/select/lib/esm/translations/tr.json.mjs +11 -0
- package/select/lib/esm/translations/vi.json.mjs +11 -0
- package/select/lib/esm/translations/zh.json.mjs +11 -0
- package/select/package.json +1 -1
- package/side-panel/lib/esm/SidePanel.mjs +223 -0
- package/side-panel/lib/esm/index.mjs +4 -0
- package/side-panel/lib/esm/translations/__intergalactic-dynamic-locales.mjs +33 -0
- package/side-panel/lib/esm/translations/de.json.mjs +7 -0
- package/side-panel/lib/esm/translations/en.json.mjs +7 -0
- package/side-panel/lib/esm/translations/es.json.mjs +7 -0
- package/side-panel/lib/esm/translations/fr.json.mjs +7 -0
- package/side-panel/lib/esm/translations/it.json.mjs +7 -0
- package/side-panel/lib/esm/translations/ja.json.mjs +7 -0
- package/side-panel/lib/esm/translations/ko.json.mjs +7 -0
- package/side-panel/lib/esm/translations/nl.json.mjs +7 -0
- package/side-panel/lib/esm/translations/pl.json.mjs +7 -0
- package/side-panel/lib/esm/translations/pt.json.mjs +7 -0
- package/side-panel/lib/esm/translations/sv.json.mjs +7 -0
- package/side-panel/lib/esm/translations/tr.json.mjs +7 -0
- package/side-panel/lib/esm/translations/vi.json.mjs +7 -0
- package/side-panel/lib/esm/translations/zh.json.mjs +7 -0
- package/side-panel/package.json +1 -1
- package/skeleton/lib/esm/Charts/Area.mjs +37 -0
- package/skeleton/lib/esm/Charts/Bar.mjs +46 -0
- package/skeleton/lib/esm/Charts/Bubble.mjs +34 -0
- package/skeleton/lib/esm/Charts/CompactHorizontalBar.mjs +34 -0
- package/skeleton/lib/esm/Charts/Donut.mjs +40 -0
- package/skeleton/lib/esm/Charts/Histogram.mjs +46 -0
- package/skeleton/lib/esm/Charts/Line.mjs +37 -0
- package/skeleton/lib/esm/Charts/RadialTree.mjs +34 -0
- package/skeleton/lib/esm/Charts/ScatterPlot.mjs +34 -0
- package/skeleton/lib/esm/Charts/Venn.mjs +34 -0
- package/skeleton/lib/esm/Skeleton.mjs +153 -0
- package/skeleton/lib/esm/index.mjs +24 -0
- package/skeleton/lib/esm/translations/__intergalactic-dynamic-locales.mjs +33 -0
- package/skeleton/lib/esm/translations/de.json.mjs +7 -0
- package/skeleton/lib/esm/translations/en.json.mjs +7 -0
- package/skeleton/lib/esm/translations/es.json.mjs +7 -0
- package/skeleton/lib/esm/translations/fr.json.mjs +7 -0
- package/skeleton/lib/esm/translations/it.json.mjs +7 -0
- package/skeleton/lib/esm/translations/ja.json.mjs +7 -0
- package/skeleton/lib/esm/translations/ko.json.mjs +7 -0
- package/skeleton/lib/esm/translations/nl.json.mjs +7 -0
- package/skeleton/lib/esm/translations/pl.json.mjs +7 -0
- package/skeleton/lib/esm/translations/pt.json.mjs +7 -0
- package/skeleton/lib/esm/translations/sv.json.mjs +7 -0
- package/skeleton/lib/esm/translations/tr.json.mjs +7 -0
- package/skeleton/lib/esm/translations/vi.json.mjs +7 -0
- package/skeleton/lib/esm/translations/zh.json.mjs +7 -0
- package/skeleton/package.json +1 -1
- package/slider/lib/esm/Slider.mjs +218 -0
- package/slider/lib/esm/index.mjs +5 -0
- package/slider/package.json +1 -1
- package/spin/package.json +1 -1
- package/spin-container/lib/esm/SpinContainer.mjs +133 -0
- package/spin-container/lib/esm/index.mjs +4 -0
- package/spin-container/package.json +1 -1
- package/sticky/lib/esm/Sticky.mjs +42 -0
- package/sticky/lib/esm/index.mjs +4 -0
- package/sticky/package.json +1 -1
- package/switch/lib/esm/Switch.mjs +216 -0
- package/switch/lib/esm/index.mjs +6 -0
- package/switch/package.json +1 -1
- package/tab-line/lib/esm/TabLine.mjs +204 -0
- package/tab-line/lib/esm/index.mjs +5 -0
- package/tab-line/package.json +1 -1
- package/tab-panel/lib/esm/TabPanel.mjs +125 -0
- package/tab-panel/lib/esm/index.mjs +5 -0
- package/tab-panel/package.json +1 -1
- package/tag/lib/esm/Tag.mjs +339 -0
- package/tag/lib/esm/index.mjs +5 -0
- package/tag/lib/esm/translations/__intergalactic-dynamic-locales.mjs +33 -0
- package/tag/lib/esm/translations/de.json.mjs +7 -0
- package/tag/lib/esm/translations/en.json.mjs +7 -0
- package/tag/lib/esm/translations/es.json.mjs +7 -0
- package/tag/lib/esm/translations/fr.json.mjs +7 -0
- package/tag/lib/esm/translations/it.json.mjs +7 -0
- package/tag/lib/esm/translations/ja.json.mjs +7 -0
- package/tag/lib/esm/translations/ko.json.mjs +7 -0
- package/tag/lib/esm/translations/nl.json.mjs +7 -0
- package/tag/lib/esm/translations/pl.json.mjs +7 -0
- package/tag/lib/esm/translations/pt.json.mjs +7 -0
- package/tag/lib/esm/translations/sv.json.mjs +7 -0
- package/tag/lib/esm/translations/tr.json.mjs +7 -0
- package/tag/lib/esm/translations/vi.json.mjs +7 -0
- package/tag/lib/esm/translations/zh.json.mjs +7 -0
- package/tag/package.json +1 -1
- package/textarea/lib/esm/Textarea.mjs +119 -0
- package/textarea/lib/esm/index.mjs +4 -0
- package/textarea/package.json +1 -1
- package/time-picker/lib/cjs/TimePicker.js +12 -12
- package/time-picker/lib/es6/TimePicker.js +12 -12
- package/time-picker/lib/esm/PickerFormat.mjs +60 -0
- package/time-picker/lib/esm/PickerInput.mjs +196 -0
- package/time-picker/lib/esm/TimePicker.mjs +234 -0
- package/time-picker/lib/esm/index.mjs +9 -0
- package/time-picker/lib/esm/translations/__intergalactic-dynamic-locales.mjs +33 -0
- package/time-picker/lib/esm/translations/de.json.mjs +17 -0
- package/time-picker/lib/esm/translations/en.json.mjs +17 -0
- package/time-picker/lib/esm/translations/es.json.mjs +17 -0
- package/time-picker/lib/esm/translations/fr.json.mjs +17 -0
- package/time-picker/lib/esm/translations/it.json.mjs +17 -0
- package/time-picker/lib/esm/translations/ja.json.mjs +17 -0
- package/time-picker/lib/esm/translations/ko.json.mjs +17 -0
- package/time-picker/lib/esm/translations/nl.json.mjs +17 -0
- package/time-picker/lib/esm/translations/pl.json.mjs +17 -0
- package/time-picker/lib/esm/translations/pt.json.mjs +17 -0
- package/time-picker/lib/esm/translations/sv.json.mjs +17 -0
- package/time-picker/lib/esm/translations/tr.json.mjs +17 -0
- package/time-picker/lib/esm/translations/vi.json.mjs +17 -0
- package/time-picker/lib/esm/translations/zh.json.mjs +17 -0
- package/time-picker/package.json +1 -1
- package/tooltip/lib/cjs/Tooltip.js +9 -9
- package/tooltip/lib/es6/Tooltip.js +9 -9
- package/tooltip/lib/esm/Tooltip.mjs +82 -82
- package/tooltip/package.json +1 -1
- package/typography/lib/esm/Blockquote.mjs +30 -0
- package/typography/lib/esm/Hint.mjs +69 -0
- package/typography/lib/esm/List.mjs +89 -0
- package/typography/lib/esm/Text.mjs +69 -0
- package/typography/lib/esm/index.mjs +10 -0
- package/typography/package.json +1 -1
- package/utils/lib/CSSinJS.mjs +1 -1
- package/utils/lib/ScreenReaderOnly.mjs +1 -1
- package/utils/lib/ThemeProvider.mjs +4 -4
- package/utils/lib/addonTextChildren.mjs +1 -1
- package/utils/lib/assignProps.mjs +1 -1
- package/utils/lib/color.mjs +2 -2
- package/utils/lib/components/invalid-state-pattern/InvalidStatePattern.js +2 -2
- package/utils/lib/components/invalid-state-pattern/InvalidStatePattern.mjs +5 -4
- package/utils/lib/components/invalid-state-pattern/InvalidStatePattern.mjs.map +1 -1
- package/utils/lib/core/enhancement/Children.mjs +4 -4
- package/utils/lib/core/enhancement/Root.mjs +3 -3
- package/utils/lib/core/enhancement/dataName.mjs +1 -1
- package/utils/lib/core/enhancement/hoistProps.mjs +4 -4
- package/utils/lib/core/enhancement/i18n.mjs +2 -2
- package/utils/lib/core/enhancement/inheritedName.mjs +2 -2
- package/utils/lib/core/enhancement/staticChildren.mjs +3 -3
- package/utils/lib/core/enhancement/style.mjs +3 -3
- package/utils/lib/core/enhancement/uncontrolledProps.mjs +7 -7
- package/utils/lib/core/index.mjs +12 -12
- package/utils/lib/core/register.mjs +3 -3
- package/utils/lib/core/styled/reshadow-core.mjs +2 -2
- package/utils/lib/core/styled/sstyled.mjs +2 -2
- package/utils/lib/core/types/Component.mjs +6 -6
- package/utils/lib/createHoc.mjs +8 -8
- package/utils/lib/enhances/WithAutoFocus.mjs +6 -6
- package/utils/lib/enhances/WithCSS.mjs +6 -6
- package/utils/lib/enhances/WithI18n.mjs +6 -6
- package/utils/lib/enhances/WithKeyboardFocus.mjs +6 -6
- package/utils/lib/enhances/WithRef.mjs +1 -1
- package/utils/lib/enhances/a11yEnhance.mjs +2 -2
- package/utils/lib/enhances/animatedSizeEnhance.mjs +3 -3
- package/utils/lib/enhances/autoFocusEnhance.mjs +2 -2
- package/utils/lib/enhances/contextEnhance.mjs +4 -4
- package/utils/lib/enhances/i18nEnhance.mjs +6 -6
- package/utils/lib/enhances/keyboardFocusEnhance.mjs +1 -1
- package/utils/lib/eventEmitter.mjs +3 -3
- package/utils/lib/focus-lock/isFocusable.mjs +1 -1
- package/utils/lib/getAccessibleName.mjs +1 -1
- package/utils/lib/getEventTarget.mjs +1 -1
- package/utils/lib/hasLabels.mjs +1 -1
- package/utils/lib/injectStyle.js +1 -1
- package/utils/lib/injectStyle.mjs +2 -2
- package/utils/lib/isNode.mjs +1 -1
- package/utils/lib/logger.mjs +3 -3
- package/utils/lib/propsForElement.mjs +1 -1
- package/utils/lib/ref.mjs +2 -2
- package/utils/lib/syncScroll.mjs +1 -1
- package/utils/lib/uncontroll.mjs +1 -1
- package/utils/lib/uniqueID.mjs +2 -2
- package/utils/lib/use/useFocusLock.mjs +2 -2
- package/utils/lib/useCssVariable.mjs +3 -3
- package/utils/lib/zIndexStacking.mjs +3 -3
- package/widget-empty/lib/esm/Error/index.mjs +36 -0
- package/widget-empty/lib/esm/Error/translations/__intergalactic-dynamic-locales.mjs +35 -0
- package/widget-empty/lib/esm/Error/translations/de.json.mjs +9 -0
- package/widget-empty/lib/esm/Error/translations/en.json.mjs +9 -0
- package/widget-empty/lib/esm/Error/translations/es.json.mjs +9 -0
- package/widget-empty/lib/esm/Error/translations/fr.json.mjs +9 -0
- package/widget-empty/lib/esm/Error/translations/it.json.mjs +9 -0
- package/widget-empty/lib/esm/Error/translations/ja.json.mjs +9 -0
- package/widget-empty/lib/esm/Error/translations/ko.json.mjs +9 -0
- package/widget-empty/lib/esm/Error/translations/nl.json.mjs +9 -0
- package/widget-empty/lib/esm/Error/translations/pl.json.mjs +9 -0
- package/widget-empty/lib/esm/Error/translations/pt.json.mjs +9 -0
- package/widget-empty/lib/esm/Error/translations/ru.json.mjs +9 -0
- package/widget-empty/lib/esm/Error/translations/sv.json.mjs +9 -0
- package/widget-empty/lib/esm/Error/translations/tr.json.mjs +9 -0
- package/widget-empty/lib/esm/Error/translations/vi.json.mjs +9 -0
- package/widget-empty/lib/esm/Error/translations/zh.json.mjs +9 -0
- package/widget-empty/lib/esm/NoData/index.mjs +37 -0
- package/widget-empty/lib/esm/NoData/translations/__intergalactic-dynamic-locales.mjs +35 -0
- package/widget-empty/lib/esm/NoData/translations/de.json.mjs +9 -0
- package/widget-empty/lib/esm/NoData/translations/en.json.mjs +9 -0
- package/widget-empty/lib/esm/NoData/translations/es.json.mjs +9 -0
- package/widget-empty/lib/esm/NoData/translations/fr.json.mjs +9 -0
- package/widget-empty/lib/esm/NoData/translations/it.json.mjs +9 -0
- package/widget-empty/lib/esm/NoData/translations/ja.json.mjs +9 -0
- package/widget-empty/lib/esm/NoData/translations/ko.json.mjs +9 -0
- package/widget-empty/lib/esm/NoData/translations/nl.json.mjs +9 -0
- package/widget-empty/lib/esm/NoData/translations/pl.json.mjs +9 -0
- package/widget-empty/lib/esm/NoData/translations/pt.json.mjs +9 -0
- package/widget-empty/lib/esm/NoData/translations/ru.json.mjs +9 -0
- package/widget-empty/lib/esm/NoData/translations/sv.json.mjs +9 -0
- package/widget-empty/lib/esm/NoData/translations/tr.json.mjs +9 -0
- package/widget-empty/lib/esm/NoData/translations/vi.json.mjs +9 -0
- package/widget-empty/lib/esm/NoData/translations/zh.json.mjs +9 -0
- package/widget-empty/lib/esm/WidgetEmpty.mjs +64 -0
- package/widget-empty/lib/esm/index.mjs +9 -0
- package/widget-empty/package.json +1 -1
- package/wizard/lib/esm/Wizard.mjs +258 -0
- package/wizard/lib/esm/index.mjs +5 -0
- package/wizard/lib/esm/translations/__intergalactic-dynamic-locales.mjs +33 -0
- package/wizard/lib/esm/translations/de.json.mjs +11 -0
- package/wizard/lib/esm/translations/en.json.mjs +11 -0
- package/wizard/lib/esm/translations/es.json.mjs +11 -0
- package/wizard/lib/esm/translations/fr.json.mjs +11 -0
- package/wizard/lib/esm/translations/it.json.mjs +11 -0
- package/wizard/lib/esm/translations/ja.json.mjs +11 -0
- package/wizard/lib/esm/translations/ko.json.mjs +11 -0
- package/wizard/lib/esm/translations/nl.json.mjs +11 -0
- package/wizard/lib/esm/translations/pl.json.mjs +11 -0
- package/wizard/lib/esm/translations/pt.json.mjs +11 -0
- package/wizard/lib/esm/translations/sv.json.mjs +11 -0
- package/wizard/lib/esm/translations/tr.json.mjs +11 -0
- package/wizard/lib/esm/translations/vi.json.mjs +11 -0
- package/wizard/lib/esm/translations/zh.json.mjs +11 -0
- package/wizard/package.json +1 -1
- package/modal/lib/cjs/modal.vo-test.js +0 -102
- package/modal/lib/cjs/modal.vo-test.js.map +0 -1
- package/modal/lib/es6/modal.vo-test.js +0 -99
- package/modal/lib/es6/modal.vo-test.js.map +0 -1
@@ -0,0 +1,625 @@
|
|
1
|
+
import ae from "@babel/runtime/helpers/esm/objectSpread2";
|
2
|
+
import ne from "@babel/runtime/helpers/esm/createForOfIteratorHelper";
|
3
|
+
import U from "@babel/runtime/helpers/esm/toConsumableArray";
|
4
|
+
import le from "@babel/runtime/helpers/esm/classCallCheck";
|
5
|
+
import oe from "@babel/runtime/helpers/esm/createClass";
|
6
|
+
import f from "@babel/runtime/helpers/esm/assertThisInitialized";
|
7
|
+
import se from "@babel/runtime/helpers/esm/inherits";
|
8
|
+
import de from "@babel/runtime/helpers/esm/createSuper";
|
9
|
+
import L from "@babel/runtime/helpers/esm/defineProperty";
|
10
|
+
import { sstyled as ve } from 'intergalactic/utils/lib/core/index';
|
11
|
+
import { sstyled as ue, assignProps as he, Component as ce } from 'intergalactic/core';
|
12
|
+
import R from "react";
|
13
|
+
import { Box as ge } from 'intergalactic/flex-box';
|
14
|
+
import N from 'intergalactic/tooltip';
|
15
|
+
import { extractAriaProps as $ } from 'intergalactic/utils/lib/ariaProps';
|
16
|
+
import pe from 'intergalactic/utils/lib/uniqueID';
|
17
|
+
import fe from "dompurify";
|
18
|
+
var me = (
|
19
|
+
/*__reshadow_css_start__*/
|
20
|
+
(ve.insert(
|
21
|
+
/*__inner_css_start__*/
|
22
|
+
'.___SInputField_11fze_gg_>div{box-sizing:content-box;outline:0;border-radius:var(--intergalactic-control-rounded, 6px);border-color:var(--intergalactic-border-primary, #c4c7cf);border-style:solid;border-width:1px;overflow:auto;position:relative;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);color:var(--intergalactic-text-primary, #191b23);word-wrap:break-word;word-break:break-word;font-family:inherit}.___SInputField_11fze_gg_>div:empty::before{content:"1. "attr(placeholder);color:var(--intergalactic-text-placeholder, #8a8e9b);position:absolute}.___SInputField_11fze_gg_>div:nth-child(even){color:red;counter-increment:row;margin-bottom:var(--intergalactic-spacing-1x, 4px);position:relative;word-break:break-all}.___SInputField_11fze_gg_>div:nth-child(even)::before{content:counter(row)".";display:inline-block;white-space:nowrap;text-align:right;color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-1x, 4px)}.___SInputField_11fze_gg_>div>p{counter-increment:row;display:flex;margin:0 0 var(--intergalactic-spacing-1x, 4px)0;position:relative;word-break:break-all;white-space:pre-wrap;padding-right:20px}.___SInputField_11fze_gg_>div>p:last-of-type{margin-bottom:0}.___SInputField_11fze_gg_>div>p:not(:empty)::before{content:counter(row)".";display:inline-block;white-space:nowrap;text-align:right;color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-1x, 4px)}.___SInputField_11fze_gg_>div>p[data-over-max-rows=true]{background-color:var(--intergalactic-bg-secondary-critical, #fff0f7)}.___SInputField_11fze_gg_>div:has(p:nth-child(n+10))>p:nth-child(-n+9)::before{padding-left:8px}.___SInputField_11fze_gg_>div:has(p:nth-child(n+100))>p:nth-child(-n+9)::before{padding-left:16px}.___SInputField_11fze_gg_>div:has(p:nth-child(n+100))>p:nth-child(n+10)::before{padding-left:8px}.___SInputField_11fze_gg_>div:has(p:nth-child(n+100))>p:nth-child(n+100)::before{padding-left:0}.___SInputField_11fze_gg_.__showErrors_11fze_gg_>div[aria-invalid]>p[aria-invalid]:after{content:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBmaWxsPSIjZDEwMDJmIj48cGF0aCBkPSJNNyA2aDJ2NEg3VjZabTIgN3YtMkg3djJoMloiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTYuMTUyIDEuMTcyYy43MTktMS41NjMgMi45NzctMS41NjMgMy42OTYgMGw2LjA0MyAxMy4xNDFjLjM2My43OTEtLjIyNSAxLjY4Ny0xLjEwOSAxLjY4N0gxLjIxOGMtLjg4NCAwLTEuNDcyLS44OTYtMS4xMDktMS42ODdMNi4xNTIgMS4xNzJabTcuMzc0IDEyLjgzN0w4IDEuOTkgMi40NzQgMTQuMDFoMTEuMDUyWiIvPjwvc3ZnPgo=\\ );position:absolute;right:0}.___SInputField_11fze_gg_._size_m_11fze_gg_>div{padding:var(--intergalactic-spacing-2x, 8px) var(--intergalactic-spacing-4x, 16px);font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);min-height:calc(var(--minRows_11fze)*20px);max-height:calc((var(--maxRows_11fze) - 1)*(20px + var(--intergalactic-spacing-1x, 4px)) + 18px)}.___SInputField_11fze_gg_._size_l_11fze_gg_>div:empty,.___SInputField_11fze_gg_._size_m_11fze_gg_>div:empty{padding-left:var(--intergalactic-spacing-8x, 32px)}.___SInputField_11fze_gg_._size_m_11fze_gg_>div:empty::before{left:var(--intergalactic-spacing-4x, 16px)}.___SInputField_11fze_gg_._size_l_11fze_gg_>div{padding:var(--intergalactic-spacing-3x, 12px) var(--intergalactic-spacing-4x, 16px);font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);min-height:calc(var(--minRows_11fze)*24px);max-height:calc((var(--maxRows_11fze) - 1)*(24px + var(--intergalactic-spacing-1x, 4px)) + 20px)}.___SInputField_11fze_gg_._size_l_11fze_gg_>div:empty::before{left:calc(var(--intergalactic-spacing-4x, 16px) - var(--intergalactic-spacing-05x, 2px))}.___SInputField_11fze_gg_._state_normal_11fze_gg_:not(.__disabled_11fze_gg_)>div:focus:focus{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5));border-color:var(--intergalactic-border-info-active, #006dca)}.___SInputField_11fze_gg_._state_valid_11fze_gg_>div{border-color:var(--intergalactic-border-success-active, #007c65)}.___SInputField_11fze_gg_._state_valid_11fze_gg_>div:focus{box-shadow:var(--intergalactic-keyboard-focus-valid, 0px 0px 0px 3px rgba(0, 159, 129, 0.5))}.___SInputField_11fze_gg_._state_invalid_11fze_gg_>div{border-color:var(--intergalactic-border-critical-active, #d1002f);background-image:var(--intergalactic-border-critical-pattern, repeating-linear-gradient(315deg, rgba(209, 0, 47, 1) 0, rgba(209, 0, 47, 1) 2px, transparent 0, transparent 50%));background-size:6px 6px;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);border-bottom-left-radius:var(--intergalactic-control-rounded, 6px);border-top-left-radius:var(--intergalactic-control-rounded, 6px);background-repeat:repeat-y}.___SInputField_11fze_gg_._state_invalid_11fze_gg_>div:focus{box-shadow:var(--intergalactic-keyboard-focus-invalid, 0px 0px 0px 3px rgba(255, 73, 83, 0.5))}.___SInputField_11fze_gg_.__readonly_11fze_gg_>div{background-color:var(--intergalactic-bg-secondary-neutral, #f4f5f9)}.___SInputField_11fze_gg_.__disabled_11fze_gg_>div{opacity:var(--intergalactic-disabled-opacity, 0.3)}',
|
23
|
+
"11fze_gg_"
|
24
|
+
), {
|
25
|
+
__SInputField: "___SInputField_11fze_gg_",
|
26
|
+
_showErrors: "__showErrors_11fze_gg_",
|
27
|
+
_readonly: "__readonly_11fze_gg_",
|
28
|
+
_disabled: "__disabled_11fze_gg_",
|
29
|
+
_size_m: "_size_m_11fze_gg_",
|
30
|
+
"--minRows": "--minRows_11fze",
|
31
|
+
"--maxRows": "--maxRows_11fze",
|
32
|
+
_size_l: "_size_l_11fze_gg_",
|
33
|
+
_state_normal: "_state_normal_11fze_gg_",
|
34
|
+
_state_valid: "_state_valid_11fze_gg_",
|
35
|
+
_state_invalid: "_state_invalid_11fze_gg_"
|
36
|
+
})
|
37
|
+
), G = /* @__PURE__ */ function(ee) {
|
38
|
+
se(O, ee);
|
39
|
+
var ie = de(O);
|
40
|
+
function O(o) {
|
41
|
+
var e;
|
42
|
+
return le(this, O), e = ie.call(this, o), L(f(e), "delimiter", `
|
43
|
+
`), L(f(e), "skipEmptyLines", !0), L(f(e), "emptyLineValue", ""), L(f(e), "spaceLineValue", " "), L(f(e), "containerRef", /* @__PURE__ */ R.createRef()), L(f(e), "textarea", void 0), L(f(e), "popper", null), L(f(e), "setPopperTrigger", null), L(f(e), "errorByInteraction", null), L(f(e), "changeTriggerTimeout", 0), L(f(e), "isScrolling", !1), L(f(e), "scrollingTimeout", 0), L(f(e), "toggleErrorsPopperTimeout", 0), L(f(e), "isFocusing", !1), L(f(e), "linesCountTimeout", 0), L(f(e), "state", {
|
44
|
+
visibleErrorPopper: !1,
|
45
|
+
keyboardLineIndex: -1,
|
46
|
+
mouseLineIndex: -1
|
47
|
+
}), e.handlePaste = e.handlePaste.bind(f(e)), e.handleChange = e.handleChange.bind(f(e)), e.handleFocus = e.handleFocus.bind(f(e)), e.handleBlur = e.handleBlur.bind(f(e)), e.handleKeyDown = e.handleKeyDown.bind(f(e)), e.handleMouseDown = e.handleMouseDown.bind(f(e)), e.handleMouseMove = e.handleMouseMove.bind(f(e)), e.handleMouseLeave = e.handleMouseLeave.bind(f(e)), e.handleScroll = e.handleScroll.bind(f(e)), e.handleSelectAll = e.handleSelectAll.bind(f(e)), e.textarea = e.createContentEditableElement(o), e;
|
48
|
+
}
|
49
|
+
return oe(O, [{
|
50
|
+
key: "uncontrolledProps",
|
51
|
+
value: function() {
|
52
|
+
return {
|
53
|
+
value: null,
|
54
|
+
linesCount: null,
|
55
|
+
errorIndex: null
|
56
|
+
};
|
57
|
+
}
|
58
|
+
}, {
|
59
|
+
key: "componentDidMount",
|
60
|
+
value: function() {
|
61
|
+
var e;
|
62
|
+
(e = this.containerRef.current) === null || e === void 0 || e.append(this.textarea), this.handleValueOutChange();
|
63
|
+
}
|
64
|
+
}, {
|
65
|
+
key: "componentDidUpdate",
|
66
|
+
value: function(e, i) {
|
67
|
+
var r = this, t = this.props, a = t.value, n = t.errors, l = t.errorIndex, d = t.showErrors, g = t.disabled, m = t.readonly, h = t.highlightErrorIndex, v = t.lineProcessing, s = t["aria-describedby"], I = s === void 0 ? "" : s;
|
68
|
+
e.value !== a && a !== this.getValues().join(this.delimiter) && this.handleValueOutChange(), (e.showErrors !== d || e.errors.length !== n.length) && (this.toggleAriaInvalid(d, n.length), d === !1 && this.textarea.setAttribute("aria-describedby", I)), e.errorIndex !== l && h && this.handleChangeErrorIndex(l), (e.disabled !== g || e.readonly !== m) && (this.isDisabled ? (this.textarea.setAttribute("contenteditable", "false"), this.removeEventListeners(this.textarea)) : (this.textarea.setAttribute("contenteditable", "true"), this.addEventListeners(this.textarea)), g ? this.textarea.setAttribute("tabindex", "-1") : this.textarea.setAttribute("tabindex", "0"));
|
69
|
+
var c = this.state.keyboardLineIndex;
|
70
|
+
if (i.keyboardLineIndex !== -1 && i.keyboardLineIndex !== c) {
|
71
|
+
if (v) {
|
72
|
+
var y, b = this.getValues(), E = v((y = b[i.keyboardLineIndex]) !== null && y !== void 0 ? y : "", b), x = document.createTextNode(E), k = this.textarea.childNodes.item(i.keyboardLineIndex);
|
73
|
+
k instanceof HTMLParagraphElement && (E === "" ? k.innerHTML = this.emptyLineValue : k.replaceChild(x, k.childNodes.item(0))), this.validateLine(k), setTimeout(function() {
|
74
|
+
var M = r.textarea.childNodes.item(c);
|
75
|
+
M && r.setErrorIndex(M);
|
76
|
+
}, 0);
|
77
|
+
}
|
78
|
+
d || this.recalculateErrors(), this.recalculateLinesCount(), this.asProps.onChangeLineIndex(c);
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}, {
|
82
|
+
key: "componentWillUnmount",
|
83
|
+
value: function() {
|
84
|
+
this.removeEventListeners(this.textarea);
|
85
|
+
}
|
86
|
+
}, {
|
87
|
+
key: "isDisabled",
|
88
|
+
get: function() {
|
89
|
+
var e = this.asProps, i = e.disabled, r = e.readonly;
|
90
|
+
return !!(i || r);
|
91
|
+
}
|
92
|
+
}, {
|
93
|
+
key: "popperDescribedId",
|
94
|
+
get: function() {
|
95
|
+
var e = this.asProps.uid;
|
96
|
+
return "bulk-textarea-".concat(e, "-popper-describedby");
|
97
|
+
}
|
98
|
+
}, {
|
99
|
+
key: "errorMessage",
|
100
|
+
get: function() {
|
101
|
+
var e, i, r, t = this.asProps, a = t.errors, n = t.errorIndex, l = t.commonErrorMessage, d = t.prevError, g = this.state, m = g.mouseLineIndex, h = g.keyboardLineIndex, v = this.errorByInteraction === "keyboard" ? h : this.errorByInteraction === "mouse" ? m : -1, s = a[n];
|
102
|
+
v !== -1 && (s = a.find(function(y) {
|
103
|
+
return (y == null ? void 0 : y.lineIndex) === v;
|
104
|
+
}));
|
105
|
+
var I = a.length === 0 && !d ? null : (e = (i = s) === null || i === void 0 ? void 0 : i.errorMessage) !== null && e !== void 0 ? e : l === "" || a.length === 0 ? d == null ? void 0 : d.errorMessage : l, c = !((r = s) !== null && r !== void 0 && r.errorMessage) && (l === "" || a.length === 0 ? !(d != null && d.errorMessage) : !0);
|
106
|
+
return {
|
107
|
+
errorMessage: I,
|
108
|
+
isCommonError: c
|
109
|
+
};
|
110
|
+
}
|
111
|
+
}, {
|
112
|
+
key: "createContentEditableElement",
|
113
|
+
value: function(e) {
|
114
|
+
var i = document.createElement("div");
|
115
|
+
i.setAttribute("contentEditable", e.disabled || e.readonly ? "false" : "true"), i.setAttribute("role", "textbox"), i.setAttribute("classname", "editable"), e.id && i.setAttribute("id", e.id), e.placeholder && i.setAttribute("placeholder", e.placeholder);
|
116
|
+
var r = $(e), t = r.extractedAriaProps;
|
117
|
+
for (var a in t) {
|
118
|
+
var n = e[a];
|
119
|
+
n && i.setAttribute(a, n);
|
120
|
+
}
|
121
|
+
return e.disabled ? i.setAttribute("tabIndex", "-1") : i.setAttribute("tabIndex", "0"), !e.disabled && !e.readonly ? this.addEventListeners(i) : i.addEventListener("keydown", this.handleSelectAll.bind(this)), i;
|
122
|
+
}
|
123
|
+
}, {
|
124
|
+
key: "handleValueOutChange",
|
125
|
+
value: function() {
|
126
|
+
var e = this.props, i = e.value, r = e.onChangeLinesCount;
|
127
|
+
if (i === "")
|
128
|
+
this.textarea.textContent = "", r(0);
|
129
|
+
else {
|
130
|
+
var t, a = this.prepareNodesForPaste(i);
|
131
|
+
(t = this.textarea).replaceChildren.apply(t, U(a)), this.recalculateLinesCount(), this.recalculateErrors();
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}, {
|
135
|
+
key: "handleScroll",
|
136
|
+
value: function() {
|
137
|
+
var e = this;
|
138
|
+
this.scrollingTimeout && clearTimeout(this.scrollingTimeout), this.isScrolling = !0, this.scrollingTimeout = window.setTimeout(function() {
|
139
|
+
e.isScrolling = !1;
|
140
|
+
}, 50);
|
141
|
+
}
|
142
|
+
}, {
|
143
|
+
key: "handleMouseDown",
|
144
|
+
value: function(e) {
|
145
|
+
this.errorByInteraction = "keyboard";
|
146
|
+
var i = e.target;
|
147
|
+
i instanceof HTMLElement && (this.toggleErrorsPopper("keyboardLineIndex", i), this.setErrorIndex(i));
|
148
|
+
}
|
149
|
+
}, {
|
150
|
+
key: "handleMouseMove",
|
151
|
+
value: function(e) {
|
152
|
+
this.errorByInteraction = "mouse";
|
153
|
+
var i = e.target;
|
154
|
+
i !== this.textarea && (this.isFocusing || i instanceof HTMLElement && i.getAttribute("aria-invalid") === "true" ? this.toggleErrorsPopper("mouseLineIndex", i) : this.setState({
|
155
|
+
visibleErrorPopper: !1
|
156
|
+
}));
|
157
|
+
}
|
158
|
+
}, {
|
159
|
+
key: "handleMouseLeave",
|
160
|
+
value: function(e) {
|
161
|
+
if (this.changeTriggerTimeout && clearTimeout(this.changeTriggerTimeout), this.isFocusing) {
|
162
|
+
this.errorByInteraction = "keyboard";
|
163
|
+
var i = this.getNodeFromSelection();
|
164
|
+
this.toggleErrorsPopper("keyboardLineIndex", i, 0), this.setState({
|
165
|
+
mouseLineIndex: -1
|
166
|
+
});
|
167
|
+
} else
|
168
|
+
this.setState({
|
169
|
+
visibleErrorPopper: !1
|
170
|
+
});
|
171
|
+
}
|
172
|
+
}, {
|
173
|
+
key: "handlePaste",
|
174
|
+
value: function(e) {
|
175
|
+
var i;
|
176
|
+
e.preventDefault();
|
177
|
+
var r = this.asProps.validateOn, t = (i = e.clipboardData) === null || i === void 0 ? void 0 : i.getData("text/plain"), a = t ? this.prepareNodesForPaste(t) : [], n = document.getSelection();
|
178
|
+
if (n != null && n.anchorNode && n !== null && n !== void 0 && n.focusNode) {
|
179
|
+
var l = n.anchorOffset, d = n.focusOffset, g = n.anchorNode.compareDocumentPosition(n.focusNode), m = this.getSelectionDirection(), h = m === "forward" ? n.anchorNode : n.focusNode, v = m === "forward" ? n.focusNode : n.anchorNode, s = m === "forward" ? l : d, I = m === "forward" ? d : l, c = h instanceof Text ? h.parentElement : h, y = v instanceof Text ? v.parentElement : v, b = null, E = null;
|
180
|
+
if (v === this.textarea) {
|
181
|
+
var x, k;
|
182
|
+
(x = this.textarea).replaceChildren.apply(x, U(a));
|
183
|
+
var M = a[a.length - 1];
|
184
|
+
b = M.childNodes.item(0), E = ((k = M.textContent) !== null && k !== void 0 ? k : "").length;
|
185
|
+
} else if (y instanceof HTMLParagraphElement && c instanceof HTMLParagraphElement) {
|
186
|
+
var z, A, P, C, w, F = (z = c == null || (A = c.textContent) === null || A === void 0 ? void 0 : A.substring(0, s)) !== null && z !== void 0 ? z : "", D = (P = y == null || (C = y.textContent) === null || C === void 0 ? void 0 : C.substring(I)) !== null && P !== void 0 ? P : "";
|
187
|
+
n.deleteFromDocument(), g !== 0 && this.textarea.removeChild(y);
|
188
|
+
var T = a.splice(0, 1)[0], u = a[a.length - 1];
|
189
|
+
if (c.textContent = (w = F + (T == null ? void 0 : T.textContent)) !== null && w !== void 0 ? w : "", c.after.apply(c, U(a)), u) {
|
190
|
+
var S, _;
|
191
|
+
u.textContent = ((S = u.textContent) !== null && S !== void 0 ? S : "") + D, b = u.childNodes.item(0), E = ((_ = u.textContent) !== null && _ !== void 0 ? _ : "").length, this.validateLine(u), this.setErrorIndex(u);
|
192
|
+
} else {
|
193
|
+
var p, H;
|
194
|
+
E = ((p = c.textContent) !== null && p !== void 0 ? p : "").length, c.textContent = ((H = c.textContent) !== null && H !== void 0 ? H : "") + D, b = c.childNodes.item(0), this.validateLine(c), this.setErrorIndex(c);
|
195
|
+
}
|
196
|
+
}
|
197
|
+
if (b instanceof Text) {
|
198
|
+
var B, K;
|
199
|
+
this.setSelection(b, (B = E) !== null && B !== void 0 ? B : 1, (K = E) !== null && K !== void 0 ? K : 1), this.toggleErrorsPopper("keyboardLineIndex", b.parentNode);
|
200
|
+
} else {
|
201
|
+
var V;
|
202
|
+
console.warn("incorrect child type", b, (V = b) === null || V === void 0 ? void 0 : V.parentNode);
|
203
|
+
}
|
204
|
+
}
|
205
|
+
this.recalculateLinesCount(), (r.includes("paste") || this.asProps.showErrors) && this.recalculateErrors();
|
206
|
+
}
|
207
|
+
}, {
|
208
|
+
key: "handleChange",
|
209
|
+
value: function(e) {
|
210
|
+
var i = e.target;
|
211
|
+
if (i instanceof HTMLDivElement && e instanceof InputEvent) {
|
212
|
+
var r, t = this.textarea.childNodes, a = t.item(0), n = t.item(1), l = document.getSelection();
|
213
|
+
if (a instanceof Text) {
|
214
|
+
var d, g = (d = a.textContent) !== null && d !== void 0 ? d : "", m = document.createElement("p"), h = document.createTextNode(g);
|
215
|
+
m.append(h), a.replaceWith(m), l == null || l.setPosition(m, g.length);
|
216
|
+
} else !a || a instanceof HTMLBRElement && t.length === 1 ? (this.textarea.textContent = "", this.setState({
|
217
|
+
keyboardLineIndex: 0
|
218
|
+
})) : a instanceof HTMLParagraphElement && !((r = a.textContent) !== null && r !== void 0 && r.trim()) && (t.length <= 1 || n instanceof HTMLBRElement) && (this.textarea.textContent = "", this.setState({
|
219
|
+
keyboardLineIndex: 0
|
220
|
+
}));
|
221
|
+
for (var v = 10, s = l == null ? void 0 : l.focusNode; ((I = s) === null || I === void 0 ? void 0 : I.parentNode) !== this.textarea && v > 0; ) {
|
222
|
+
var I, c;
|
223
|
+
s = (c = s) === null || c === void 0 ? void 0 : c.parentNode, v--;
|
224
|
+
}
|
225
|
+
if (s instanceof HTMLParagraphElement) {
|
226
|
+
var y, b, E = s.childNodes, x = (y = s.textContent) !== null && y !== void 0 ? y : "";
|
227
|
+
if (E.length > 1) {
|
228
|
+
var k, M = (k = E.item(0).textContent) === null || k === void 0 ? void 0 : k.length;
|
229
|
+
s.textContent = x, M && this.setSelection(s.childNodes.item(0), M, M);
|
230
|
+
}
|
231
|
+
if (x.length > 0) {
|
232
|
+
var z = x.at(0), A = x.at(x.length - 1);
|
233
|
+
if (z === this.getEmptyParagraph().textContent || A === this.getEmptyParagraph().textContent) {
|
234
|
+
var P = null;
|
235
|
+
z === this.getEmptyParagraph().textContent ? (s.textContent = x.substring(1), P = e.inputType === "deleteContentBackward" || e.inputType === "deleteContentForward" ? 0 : s.textContent.length) : A === this.getEmptyParagraph().textContent && (s.textContent = x.substring(0, x.length - 1), P = s.textContent.length), P && this.setSelection(s.childNodes.item(0), P, P);
|
236
|
+
}
|
237
|
+
} else E.length === 1 && E[0] instanceof HTMLBRElement && (s.innerHTML = this.emptyLineValue);
|
238
|
+
var C = this.asProps, w = C.errors, F = C.showErrors, D = this.validateLine(s);
|
239
|
+
this.recalculateErrors(), this.setErrorIndex(s), !D && F && this.toggleErrorsPopper("keyboardLineIndex", s, 0);
|
240
|
+
var T = !D || D && w.length === 1 && w[0].lineNode === s ? s : this.textarea;
|
241
|
+
if (F && ((b = this.popper) === null || b === void 0 ? void 0 : b.current.state.elements.reference) !== T)
|
242
|
+
if (this.shouldChangePopperTrigger(T)) {
|
243
|
+
var u;
|
244
|
+
(u = this.setPopperTrigger) === null || u === void 0 || u.call(this, T);
|
245
|
+
} else
|
246
|
+
this.setState({
|
247
|
+
visibleErrorPopper: !1
|
248
|
+
});
|
249
|
+
} else if (s === null) {
|
250
|
+
var S;
|
251
|
+
if ((S = this.setPopperTrigger) === null || S === void 0 || S.call(this, this.textarea), (l == null ? void 0 : l.focusNode) === this.textarea && this.textarea.childNodes.length > 1) {
|
252
|
+
var _ = l.focusOffset, p = this.textarea.childNodes.item(_ - 1), H = this.textarea.childNodes.item(_);
|
253
|
+
this.textarea.removeChild(H), p instanceof HTMLParagraphElement && (p.innerHTML = this.emptyLineValue), p && this.setSelection(p, 0, 0);
|
254
|
+
} else
|
255
|
+
this.setSelection(this.textarea, 0, 0);
|
256
|
+
}
|
257
|
+
this.recalculateLinesCount();
|
258
|
+
}
|
259
|
+
}
|
260
|
+
}, {
|
261
|
+
key: "handleFocus",
|
262
|
+
value: function(e) {
|
263
|
+
this.isFocusing = !0, this.errorByInteraction = "keyboard", this.asProps.showErrors ? this.toggleErrorsPopperByKeyboard(150) : this.toggleErrorsPopper("keyboardLineIndex", this.textarea);
|
264
|
+
}
|
265
|
+
}, {
|
266
|
+
key: "handleBlur",
|
267
|
+
value: function(e) {
|
268
|
+
var i = this;
|
269
|
+
this.isFocusing = !1, this.setState({
|
270
|
+
visibleErrorPopper: !1
|
271
|
+
});
|
272
|
+
var r = this.asProps, t = r.validateOn, a = r.onBlur;
|
273
|
+
t.includes("blur") && this.recalculateErrors(), a(this.getValues().join(this.delimiter), e), setTimeout(function() {
|
274
|
+
i.setState({
|
275
|
+
keyboardLineIndex: -1
|
276
|
+
});
|
277
|
+
}, 200);
|
278
|
+
}
|
279
|
+
}, {
|
280
|
+
key: "handleKeyDown",
|
281
|
+
value: function(e) {
|
282
|
+
var i = this;
|
283
|
+
this.errorByInteraction = "keyboard";
|
284
|
+
var r = this.asProps.linesDelimiters, t = this.getNodeFromSelection();
|
285
|
+
if (e.key === "Enter" || r != null && r.includes(e.key)) {
|
286
|
+
if (t === this.textarea && e.preventDefault(), t instanceof HTMLParagraphElement) {
|
287
|
+
var a, n = (a = t.textContent) === null || a === void 0 ? void 0 : a.trim();
|
288
|
+
if (!n)
|
289
|
+
e.preventDefault();
|
290
|
+
else {
|
291
|
+
var l, d, g, m;
|
292
|
+
e.preventDefault();
|
293
|
+
var h = document.getSelection(), v = (h == null ? void 0 : h.focusNode) instanceof Text ? h.focusNode : h == null || (l = h.focusNode) === null || l === void 0 ? void 0 : l.childNodes.item(0), s = h == null ? void 0 : h.focusOffset, I = "";
|
294
|
+
if (v instanceof Text && s !== void 0 && s !== ((d = v.textContent) === null || d === void 0 ? void 0 : d.length)) {
|
295
|
+
var c, y;
|
296
|
+
I = (c = (y = v.textContent) === null || y === void 0 ? void 0 : y.substring(s)) !== null && c !== void 0 ? c : this.emptyLineValue, v.textContent && (v.textContent = v.textContent.substring(0, s));
|
297
|
+
}
|
298
|
+
((g = t.textContent) === null || g === void 0 ? void 0 : g.trim()) === "" && (t.innerHTML = this.emptyLineValue);
|
299
|
+
var b = document.createElement("p");
|
300
|
+
I ? b.textContent = I : b.innerHTML = this.emptyLineValue, t.after(b), this.setSelection(b, 0, 0), this.validateLine(t), this.validateLine(b), t.previousSibling && this.validateLine(t.previousSibling), this.setErrorIndex(b), ((m = b.textContent) === null || m === void 0 ? void 0 : m.trim()) !== "" && this.recalculateLinesCount(), setTimeout(function() {
|
301
|
+
i.recalculateErrors();
|
302
|
+
}, 0), this.toggleErrorsPopperByKeyboard(0);
|
303
|
+
}
|
304
|
+
}
|
305
|
+
} else if (e.key === "ArrowDown" || e.key === "ArrowUp" || e.key === "ArrowLeft" || e.key === "ArrowRight")
|
306
|
+
t instanceof HTMLParagraphElement && this.handleCursorMovement(t, e), this.toggleErrorsPopperByKeyboard(200);
|
307
|
+
else if (this.isDeleteKey(e) && t instanceof HTMLParagraphElement) {
|
308
|
+
var E;
|
309
|
+
if (((E = t.textContent) === null || E === void 0 ? void 0 : E.trim()) === "" && !this.isRangeSelection()) {
|
310
|
+
var x = t.previousSibling;
|
311
|
+
if (x instanceof HTMLParagraphElement) {
|
312
|
+
var k;
|
313
|
+
if (e.preventDefault(), this.textarea.removeChild(t), this.toggleErrorsPopperByKeyboard(0), ((k = x.textContent) === null || k === void 0 ? void 0 : k.trim()) === "" && x.previousSibling === null && this.textarea.childNodes.length === 1)
|
314
|
+
this.textarea.textContent = "", this.setSelection(this.textarea, 0, 0);
|
315
|
+
else if (x instanceof HTMLParagraphElement) {
|
316
|
+
var M, z, A = x.childNodes.item(0), P = (M = (z = A.textContent) === null || z === void 0 ? void 0 : z.length) !== null && M !== void 0 ? M : 0;
|
317
|
+
this.setSelection(A, P, P);
|
318
|
+
} else
|
319
|
+
console.warn("incorrect prevNode type", x);
|
320
|
+
setTimeout(function() {
|
321
|
+
i.recalculateErrors();
|
322
|
+
}, 0), this.toggleErrorsPopperByKeyboard(0);
|
323
|
+
}
|
324
|
+
} else if (this.isRangeSelection()) {
|
325
|
+
var C, w, F, D, T, u = document.getSelection(), S = this.getSelectionDirection(), _ = S === "backward" ? u == null ? void 0 : u.focusNode : u == null ? void 0 : u.anchorNode, p = S === "backward" ? u == null ? void 0 : u.anchorNode : u == null ? void 0 : u.focusNode, H = S === "backward" ? u == null ? void 0 : u.focusOffset : u == null ? void 0 : u.anchorOffset, B = S === "backward" ? u == null ? void 0 : u.anchorOffset : u == null ? void 0 : u.focusOffset;
|
326
|
+
if (_ === p && H === 0 && (p === t && B === 1 || B === ((C = t.textContent) === null || C === void 0 ? void 0 : C.length))) {
|
327
|
+
e.preventDefault();
|
328
|
+
var K = _ == null ? void 0 : _.parentElement, V = p == null ? void 0 : p.parentElement, W = this.textarea.childNodes;
|
329
|
+
K === W.item(0) && V === W.item(W.length - 1) ? (this.textarea.textContent = "", this.setSelection(this.textarea, 0, 0)) : (t.innerHTML = this.emptyLineValue, this.validateLine(t)), this.setErrorIndex(t), this.recalculateLinesCount(), setTimeout(function() {
|
330
|
+
i.recalculateErrors();
|
331
|
+
}, 0), this.toggleErrorsPopperByKeyboard(0);
|
332
|
+
} else if (p !== _ && p instanceof Text && _ instanceof Text && (p == null ? void 0 : p.textContent) === (p == null || (w = p.parentNode) === null || w === void 0 ? void 0 : w.textContent) && (_ == null ? void 0 : _.textContent) === (_ == null || (F = _.parentNode) === null || F === void 0 ? void 0 : F.textContent) && H === 0 && B === (p == null || (D = p.parentNode) === null || D === void 0 || (T = D.textContent) === null || T === void 0 ? void 0 : T.length)) {
|
333
|
+
e.preventDefault();
|
334
|
+
var te = Array.from(this.textarea.children), X = _.parentElement, j = p.parentElement, Y = this.textarea.childNodes;
|
335
|
+
if (X === Y.item(0) && j === Y.item(Y.length - 1))
|
336
|
+
this.textarea.textContent = "", this.setSelection(this.textarea, 0, 0);
|
337
|
+
else {
|
338
|
+
var Q = !1, Z = ne(te), q;
|
339
|
+
try {
|
340
|
+
for (Z.s(); !(q = Z.n()).done; ) {
|
341
|
+
var J = q.value;
|
342
|
+
if (J === X || Q)
|
343
|
+
if (Q = !0, J === j) {
|
344
|
+
j.innerHTML = this.emptyLineValue, this.setSelection(j, 0, 0);
|
345
|
+
break;
|
346
|
+
} else
|
347
|
+
this.textarea.removeChild(J);
|
348
|
+
}
|
349
|
+
} catch (re) {
|
350
|
+
Z.e(re);
|
351
|
+
} finally {
|
352
|
+
Z.f();
|
353
|
+
}
|
354
|
+
this.validateLine(t);
|
355
|
+
}
|
356
|
+
this.setErrorIndex(t), this.recalculateLinesCount(), setTimeout(function() {
|
357
|
+
i.recalculateErrors();
|
358
|
+
}, 0), this.toggleErrorsPopperByKeyboard(0);
|
359
|
+
}
|
360
|
+
}
|
361
|
+
} else e.key === "z" && (e.ctrlKey || e.metaKey) && e.preventDefault();
|
362
|
+
}
|
363
|
+
}, {
|
364
|
+
key: "render",
|
365
|
+
value: function() {
|
366
|
+
var e = this.asProps, i, r, t = this, a = ge, n = this.asProps, l = n.styles, d = n.showErrors, g = this.state.visibleErrorPopper, m = this.errorMessage, h = m.errorMessage, v = m.isCommonError, s = d && g && !!h && !this.isDisabled, I = $(this.asProps), c = I.__excludeProps;
|
367
|
+
return i = ue(l), /* @__PURE__ */ R.createElement(R.Fragment, null, /* @__PURE__ */ R.createElement(N, i.cn("Tooltip", {
|
368
|
+
interaction: "none",
|
369
|
+
placement: v ? "right-start" : "right",
|
370
|
+
visible: s,
|
371
|
+
theme: "warning",
|
372
|
+
offset: v ? void 0 : [0, 26],
|
373
|
+
preventOverflow: {
|
374
|
+
boundary: (r = this.containerRef.current) !== null && r !== void 0 ? r : void 0,
|
375
|
+
tether: !1
|
376
|
+
}
|
377
|
+
}), function(y) {
|
378
|
+
var b = y.popper, E = y.setTrigger;
|
379
|
+
return t.popper || (t.setPopperTrigger = E, t.popper = b), /* @__PURE__ */ R.createElement(N.Popper, {
|
380
|
+
id: t.popperDescribedId
|
381
|
+
}, h);
|
382
|
+
}), /* @__PURE__ */ R.createElement(a, i.cn("SInputField", ae({}, he({
|
383
|
+
ref: this.containerRef,
|
384
|
+
__excludeProps: ["onBlur", "value"].concat(U(c))
|
385
|
+
}, e)))));
|
386
|
+
}
|
387
|
+
}, {
|
388
|
+
key: "prepareNodesForPaste",
|
389
|
+
value: function(e) {
|
390
|
+
var i, r, t, a = this, n = [], l = this.asProps.pasteProps, d = (i = l == null ? void 0 : l.lineProcessing) !== null && i !== void 0 ? i : function(h) {
|
391
|
+
var v = h.trim();
|
392
|
+
return v === "" ? h : v;
|
393
|
+
}, g = (r = l == null ? void 0 : l.skipEmptyLines) !== null && r !== void 0 ? r : this.skipEmptyLines, m = (t = l == null ? void 0 : l.delimiter) !== null && t !== void 0 ? t : this.delimiter;
|
394
|
+
return e.split(m).forEach(function(h) {
|
395
|
+
var v = d(h);
|
396
|
+
if (v === "" && g === !1 || v !== "") {
|
397
|
+
var s = document.createElement("p");
|
398
|
+
if (v === "")
|
399
|
+
s.innerHTML = a.emptyLineValue;
|
400
|
+
else if (v.trim() === "") {
|
401
|
+
var I = new RegExp("\\s", "g");
|
402
|
+
s.innerHTML = fe.sanitize(v.replace(I, a.spaceLineValue));
|
403
|
+
} else
|
404
|
+
s.append(document.createTextNode(v));
|
405
|
+
n.push(s), a.validateLine(s);
|
406
|
+
}
|
407
|
+
}), n;
|
408
|
+
}
|
409
|
+
}, {
|
410
|
+
key: "recalculateErrors",
|
411
|
+
value: function() {
|
412
|
+
var e = [];
|
413
|
+
this.textarea.childNodes.forEach(function(i, r) {
|
414
|
+
if (i instanceof HTMLParagraphElement && i.getAttribute("aria-invalid") === "true") {
|
415
|
+
var t, a = {
|
416
|
+
errorMessage: (t = i.dataset.errormessage) !== null && t !== void 0 ? t : "",
|
417
|
+
lineNode: i,
|
418
|
+
lineIndex: r
|
419
|
+
};
|
420
|
+
e.push(a);
|
421
|
+
}
|
422
|
+
}), this.asProps.onErrorsChange(e);
|
423
|
+
}
|
424
|
+
}, {
|
425
|
+
key: "recalculateLinesCount",
|
426
|
+
value: function() {
|
427
|
+
var e = this;
|
428
|
+
this.linesCountTimeout && clearTimeout(this.linesCountTimeout), this.linesCountTimeout = window.setTimeout(function() {
|
429
|
+
var i = 0, r = e.asProps, t = r.maxLines, a = r.linesCount;
|
430
|
+
e.textarea.childNodes.forEach(function(n, l) {
|
431
|
+
n instanceof HTMLParagraphElement && (n.dataset.overMaxRows = "false", n.textContent !== e.getEmptyParagraph().textContent && n.textContent !== "" && (i++, i > t && (n.dataset.overMaxRows = "true")));
|
432
|
+
}), a !== i && e.asProps.onChangeLinesCount(i);
|
433
|
+
}, 100);
|
434
|
+
}
|
435
|
+
}, {
|
436
|
+
key: "getValues",
|
437
|
+
value: function() {
|
438
|
+
var e = [];
|
439
|
+
return this.textarea.childNodes.forEach(function(i) {
|
440
|
+
var r;
|
441
|
+
e.push((r = i.textContent) !== null && r !== void 0 ? r : "");
|
442
|
+
}), e;
|
443
|
+
}
|
444
|
+
}, {
|
445
|
+
key: "shouldChangePopperTrigger",
|
446
|
+
value: function(e) {
|
447
|
+
return this.textarea !== e || this.textarea === e && !!this.asProps.commonErrorMessage;
|
448
|
+
}
|
449
|
+
}, {
|
450
|
+
key: "toggleErrorsPopperByKeyboard",
|
451
|
+
value: function(e) {
|
452
|
+
var i = this;
|
453
|
+
this.toggleErrorsPopperTimeout && clearTimeout(this.toggleErrorsPopperTimeout), this.isScrolling ? this.toggleErrorsPopperTimeout = window.setTimeout(function() {
|
454
|
+
i.toggleErrorsPopperByKeyboard(e);
|
455
|
+
}, 50) : setTimeout(function() {
|
456
|
+
var r = i.getNodeFromSelection();
|
457
|
+
i.toggleErrorsPopper("keyboardLineIndex", r, e);
|
458
|
+
}, 0);
|
459
|
+
}
|
460
|
+
}, {
|
461
|
+
key: "toggleErrorsPopper",
|
462
|
+
value: function(e, i, r) {
|
463
|
+
var t = this;
|
464
|
+
i instanceof HTMLDivElement || i instanceof HTMLParagraphElement ? (this.changeTriggerTimeout && clearTimeout(this.changeTriggerTimeout), this.changeTriggerTimeout = window.setTimeout(function() {
|
465
|
+
var a = i === t.textarea ? t.getNodeFromSelection() : i, n = -1, l = !1;
|
466
|
+
a instanceof HTMLParagraphElement ? (l = a.getAttribute("aria-invalid") === "true", n = Array.from(t.textarea.childNodes).indexOf(a)) : a === t.textarea && (n = 0), a instanceof HTMLElement && t.setState(function(d) {
|
467
|
+
var g = {
|
468
|
+
visibleErrorPopper: t.isFocusing && t.asProps.commonErrorMessage ? !0 : l,
|
469
|
+
mouseLineIndex: d.mouseLineIndex,
|
470
|
+
keyboardLineIndex: d.keyboardLineIndex
|
471
|
+
};
|
472
|
+
return (t.isFocusing || e === "mouseLineIndex" && l) && (g[e] = n), g;
|
473
|
+
}, function() {
|
474
|
+
var d = l ? a : t.textarea;
|
475
|
+
if (t.shouldChangePopperTrigger(d)) {
|
476
|
+
var g;
|
477
|
+
(g = t.setPopperTrigger) === null || g === void 0 || g.call(t, d), t.forceUpdate();
|
478
|
+
}
|
479
|
+
});
|
480
|
+
}, r ?? 50)) : this.setState({
|
481
|
+
visibleErrorPopper: !1
|
482
|
+
});
|
483
|
+
}
|
484
|
+
}, {
|
485
|
+
key: "toggleAriaInvalid",
|
486
|
+
value: function(e, i) {
|
487
|
+
e && i > 0 ? (this.textarea.setAttribute("aria-describedby", this.popperDescribedId), this.textarea.setAttribute("aria-invalid", "true")) : (this.textarea.removeAttribute("aria-invalid"), this.textarea.removeAttribute("aria-describedby"));
|
488
|
+
}
|
489
|
+
}, {
|
490
|
+
key: "handleChangeErrorIndex",
|
491
|
+
value: function(e) {
|
492
|
+
var i, r = this, t = this.asProps.errors[e], a = this.textarea.childNodes, n = t ? (i = t.lineNode) !== null && i !== void 0 ? i : a.item(t.lineIndex) : null, l = document.getSelection();
|
493
|
+
l && n instanceof HTMLParagraphElement && (this.setState({
|
494
|
+
visibleErrorPopper: !1
|
495
|
+
}), setTimeout(function() {
|
496
|
+
var d = n.childNodes.item(0);
|
497
|
+
d instanceof Text ? r.setSelection(d, 0, d.length) : r.setSelection(n, 0, 1);
|
498
|
+
}, 150));
|
499
|
+
}
|
500
|
+
}, {
|
501
|
+
key: "validateLine",
|
502
|
+
value: function(e) {
|
503
|
+
var i = this.asProps.lineValidation;
|
504
|
+
if (i && e instanceof HTMLElement) {
|
505
|
+
var r, t = i((r = e.textContent) !== null && r !== void 0 ? r : "", this.getValues()), a = t.isValid, n = t.errorMessage;
|
506
|
+
return a ? (e.removeAttribute("aria-invalid"), e.dataset.errormessage = void 0) : (e.setAttribute("aria-invalid", "true"), e.dataset.errormessage = n), a;
|
507
|
+
}
|
508
|
+
return !0;
|
509
|
+
}
|
510
|
+
}, {
|
511
|
+
key: "setSelection",
|
512
|
+
value: function(e, i, r) {
|
513
|
+
var t = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "center", a = document.getSelection(), n = document.createRange();
|
514
|
+
n.setStart(e, i), n.setEnd(e, r), a == null || a.removeAllRanges(), a == null || a.addRange(n);
|
515
|
+
var l = e instanceof Text ? e.parentNode : e;
|
516
|
+
l instanceof HTMLElement && l.scrollIntoView({
|
517
|
+
block: t,
|
518
|
+
inline: t,
|
519
|
+
behavior: "smooth"
|
520
|
+
});
|
521
|
+
}
|
522
|
+
}, {
|
523
|
+
key: "getNodeFromSelection",
|
524
|
+
value: function() {
|
525
|
+
var e = document.getSelection(), i = (e == null ? void 0 : e.focusNode) instanceof Text ? e.focusNode.parentNode : e == null ? void 0 : e.focusNode;
|
526
|
+
return i ?? null;
|
527
|
+
}
|
528
|
+
}, {
|
529
|
+
key: "handleCursorMovement",
|
530
|
+
value: function(e, i) {
|
531
|
+
var r = null;
|
532
|
+
switch (i.key) {
|
533
|
+
case "ArrowUp":
|
534
|
+
i.preventDefault(), r = e.previousSibling;
|
535
|
+
break;
|
536
|
+
case "ArrowDown":
|
537
|
+
i.preventDefault(), r = e.nextSibling;
|
538
|
+
break;
|
539
|
+
case "ArrowLeft": {
|
540
|
+
e.textContent === this.getEmptyParagraph().textContent && (i.preventDefault(), r = e.previousSibling);
|
541
|
+
break;
|
542
|
+
}
|
543
|
+
case "ArrowRight":
|
544
|
+
e.textContent === this.getEmptyParagraph().textContent && (i.preventDefault(), r = e.nextSibling);
|
545
|
+
}
|
546
|
+
if (r instanceof HTMLParagraphElement) {
|
547
|
+
var t, a, n, l = document.getSelection(), d = r.childNodes.item(0), g = d instanceof Text ? d : r, m = (t = (a = r.textContent) === null || a === void 0 ? void 0 : a.trim()) !== null && t !== void 0 ? t : "", h = (n = l == null ? void 0 : l.focusOffset) !== null && n !== void 0 ? n : 0, v = h <= m.length ? h : m.length;
|
548
|
+
i.key === "ArrowLeft" ? v = m.length : i.key === "ArrowRight" && (v = 0), this.setSelection(g, v, v, "nearest");
|
549
|
+
}
|
550
|
+
}
|
551
|
+
}, {
|
552
|
+
key: "setErrorIndex",
|
553
|
+
value: function(e) {
|
554
|
+
var i = Array.from(this.textarea.childNodes).filter(function(r) {
|
555
|
+
return r instanceof Element && r.getAttribute("aria-invalid") === "true";
|
556
|
+
}).findIndex(function(r) {
|
557
|
+
return r === e;
|
558
|
+
});
|
559
|
+
this.handlers.errorIndex(i);
|
560
|
+
}
|
561
|
+
}, {
|
562
|
+
key: "isDeleteKey",
|
563
|
+
value: function(e) {
|
564
|
+
return e.key === "Backspace" || e.key === "x" && (e.ctrlKey || e.metaKey);
|
565
|
+
}
|
566
|
+
}, {
|
567
|
+
key: "getEmptyParagraph",
|
568
|
+
value: function() {
|
569
|
+
var e = document.createElement("p");
|
570
|
+
return e.innerHTML = this.emptyLineValue, e;
|
571
|
+
}
|
572
|
+
}, {
|
573
|
+
key: "addEventListeners",
|
574
|
+
value: function(e) {
|
575
|
+
e.addEventListener("paste", this.handlePaste), e.addEventListener("input", this.handleChange), e.addEventListener("focus", this.handleFocus), e.addEventListener("blur", this.handleBlur), e.addEventListener("keydown", this.handleKeyDown), e.addEventListener("mousedown", this.handleMouseDown), e.addEventListener("mousemove", this.handleMouseMove), e.addEventListener("mouseleave", this.handleMouseLeave), e.addEventListener("scroll", this.handleScroll), e.removeEventListener("keydown", this.handleSelectAll);
|
576
|
+
}
|
577
|
+
}, {
|
578
|
+
key: "removeEventListeners",
|
579
|
+
value: function(e) {
|
580
|
+
e.removeEventListener("paste", this.handlePaste), e.removeEventListener("input", this.handleChange), e.removeEventListener("focus", this.handleFocus), e.removeEventListener("blur", this.handleBlur), e.removeEventListener("keydown", this.handleKeyDown), e.removeEventListener("mousedown", this.handleMouseDown), e.removeEventListener("mousemove", this.handleMouseMove), e.removeEventListener("mouseleave", this.handleMouseLeave), e.removeEventListener("scroll", this.handleScroll), e.addEventListener("keydown", this.handleSelectAll);
|
581
|
+
}
|
582
|
+
}, {
|
583
|
+
key: "handleSelectAll",
|
584
|
+
value: function(e) {
|
585
|
+
if (e.key === "a" && (e.metaKey || e.ctrlKey)) {
|
586
|
+
e.preventDefault();
|
587
|
+
var i = e.target;
|
588
|
+
i instanceof HTMLElement && i === this.textarea && this.setSelection(i, 0, i.childNodes.length);
|
589
|
+
}
|
590
|
+
}
|
591
|
+
}, {
|
592
|
+
key: "isRangeSelection",
|
593
|
+
value: function() {
|
594
|
+
var e = document.getSelection();
|
595
|
+
return (e == null ? void 0 : e.focusNode) !== (e == null ? void 0 : e.anchorNode) || (e == null ? void 0 : e.focusOffset) !== (e == null ? void 0 : e.anchorOffset);
|
596
|
+
}
|
597
|
+
}, {
|
598
|
+
key: "getSelectionDirection",
|
599
|
+
value: function() {
|
600
|
+
var e = document.getSelection();
|
601
|
+
if (e != null && e.anchorNode && e !== null && e !== void 0 && e.focusNode) {
|
602
|
+
var i = e.anchorNode.compareDocumentPosition(e.focusNode);
|
603
|
+
return i === 0 && e.anchorOffset > e.focusOffset || // if nodes are the same
|
604
|
+
i === Node.DOCUMENT_POSITION_PRECEDING ? "backward" : "forward";
|
605
|
+
}
|
606
|
+
return null;
|
607
|
+
}
|
608
|
+
}]), O;
|
609
|
+
}(ce);
|
610
|
+
L(G, "displayName", "Textarea");
|
611
|
+
L(G, "style", me);
|
612
|
+
L(G, "enhance", [pe()]);
|
613
|
+
L(G, "defaultProps", {
|
614
|
+
defaultValue: "",
|
615
|
+
size: "m",
|
616
|
+
state: "normal",
|
617
|
+
minRows: 2,
|
618
|
+
maxRows: 10,
|
619
|
+
defaultShowErrors: !1,
|
620
|
+
defaultErrorIndex: -1,
|
621
|
+
defaultLinesCount: 0
|
622
|
+
});
|
623
|
+
export {
|
624
|
+
G as InputField
|
625
|
+
};
|