@axinom/mosaic-ui 0.72.0-rc.8 → 0.72.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/Badge/Badge.d.ts +13 -0
- package/dist/cjs/components/Badge/Badge.d.ts.map +1 -0
- package/dist/cjs/components/Badge/Badge.model.d.ts +42 -0
- package/dist/cjs/components/Badge/Badge.model.d.ts.map +1 -0
- package/dist/cjs/components/Badge/index.d.ts +3 -0
- package/dist/cjs/components/Badge/index.d.ts.map +1 -0
- package/dist/cjs/components/Explorer/Explorer.d.ts.map +1 -1
- package/dist/cjs/components/Explorer/helpers/useActions.d.ts +1 -4
- package/dist/cjs/components/Explorer/helpers/useActions.d.ts.map +1 -1
- package/dist/cjs/components/Explorer/helpers/useFilters.d.ts +0 -2
- package/dist/cjs/components/Explorer/helpers/useFilters.d.ts.map +1 -1
- package/dist/cjs/components/Filters/Filters.d.ts +12 -10
- package/dist/cjs/components/Filters/Filters.d.ts.map +1 -1
- package/dist/cjs/components/Filters/index.d.ts +1 -0
- package/dist/cjs/components/Filters/index.d.ts.map +1 -1
- package/dist/cjs/components/Icons/Icons.d.ts.map +1 -1
- package/dist/cjs/components/Icons/Icons.models.d.ts +17 -16
- package/dist/cjs/components/Icons/Icons.models.d.ts.map +1 -1
- package/dist/cjs/components/index.d.ts +1 -0
- package/dist/cjs/components/index.d.ts.map +1 -1
- package/dist/cjs/index.js +4 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/components/Badge/Badge.d.ts +13 -0
- package/dist/esm/components/Badge/Badge.d.ts.map +1 -0
- package/dist/esm/components/Badge/Badge.model.d.ts +42 -0
- package/dist/esm/components/Badge/Badge.model.d.ts.map +1 -0
- package/dist/esm/components/Badge/index.d.ts +3 -0
- package/dist/esm/components/Badge/index.d.ts.map +1 -0
- package/dist/esm/components/Explorer/Explorer.d.ts.map +1 -1
- package/dist/esm/components/Explorer/helpers/useActions.d.ts +1 -4
- package/dist/esm/components/Explorer/helpers/useActions.d.ts.map +1 -1
- package/dist/esm/components/Explorer/helpers/useFilters.d.ts +0 -2
- package/dist/esm/components/Explorer/helpers/useFilters.d.ts.map +1 -1
- package/dist/esm/components/Filters/Filters.d.ts +12 -10
- package/dist/esm/components/Filters/Filters.d.ts.map +1 -1
- package/dist/esm/components/Filters/index.d.ts +1 -0
- package/dist/esm/components/Filters/index.d.ts.map +1 -1
- package/dist/esm/components/Icons/Icons.d.ts.map +1 -1
- package/dist/esm/components/Icons/Icons.models.d.ts +17 -16
- package/dist/esm/components/Icons/Icons.models.d.ts.map +1 -1
- package/dist/esm/components/index.d.ts +1 -0
- package/dist/esm/components/index.d.ts.map +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/index.js.map +1 -1
- package/package.json +5 -10
- package/src/components/Accordion/Accordion.tsx +1 -1
- package/src/components/Accordion/AccordionItem/AccordionItem.tsx +1 -1
- package/src/components/Actions/Action/Action.tsx +1 -1
- package/src/components/Actions/Actions.tsx +1 -1
- package/src/components/Badge/Badge.model.ts +46 -0
- package/src/components/Badge/Badge.scss +62 -0
- package/src/components/Badge/Badge.spec.tsx +40 -0
- package/src/components/Badge/Badge.stories.tsx +43 -0
- package/src/components/Badge/Badge.tsx +59 -0
- package/src/components/Badge/index.ts +2 -0
- package/src/components/Buttons/Button/Button.tsx +1 -1
- package/src/components/Buttons/CompositeButton/CompositeButton.tsx +1 -1
- package/src/components/Buttons/TextButton/TextButton.tsx +1 -1
- package/src/components/ConfirmDialog/ConfirmDialog.stories.tsx +1 -1
- package/src/components/ConfirmDialog/ConfirmDialog.tsx +1 -1
- package/src/components/DateTime/DatePicker/DatePicker.tsx +1 -1
- package/src/components/DateTime/DateTimePicker.tsx +1 -1
- package/src/components/DateTime/TimePicker/ScrollColumn/ScrollColumn.tsx +1 -1
- package/src/components/DateTime/TimePicker/TimePicker.tsx +1 -1
- package/src/components/DynamicDataList/DynamicDataList.tsx +1 -1
- package/src/components/DynamicDataList/DynamicListDataEntry/DynamicListDataEntry.tsx +1 -1
- package/src/components/DynamicDataList/DynamicListDataEntry/Renderers/createInputRenderer/createInputRenderer.tsx +1 -1
- package/src/components/DynamicDataList/DynamicListDataEntry/Renderers/createSelectRenderer/createSelectRenderer.tsx +1 -1
- package/src/components/DynamicDataList/DynamicListHeader/DynamicListHeader.tsx +1 -1
- package/src/components/DynamicDataList/DynamicListRow/DynamicListRow.tsx +1 -1
- package/src/components/EmptyStation/EmptyStation.tsx +1 -1
- package/src/components/Explorer/BulkEdit/helpers/FieldWrapper.tsx +1 -1
- package/src/components/Explorer/Explorer.tsx +41 -56
- package/src/components/Explorer/helpers/useActions.ts +0 -29
- package/src/components/Explorer/helpers/useFilters.spec.tsx +9 -25
- package/src/components/Explorer/helpers/useFilters.tsx +17 -21
- package/src/components/FieldSelection/FieldSelection.tsx +1 -1
- package/src/components/Filters/Filter/Filter.tsx +1 -1
- package/src/components/Filters/Filters.module.scss +59 -0
- package/src/components/Filters/Filters.tsx +103 -11
- package/src/components/Filters/SelectionTypes/DateTimeFilter/{DateTimeFilter.scss → DateTimeFilter.module.scss} +1 -1
- package/src/components/Filters/SelectionTypes/DateTimeFilter/DateTimeFilter.tsx +1 -1
- package/src/components/Filters/SelectionTypes/FreeTextFilter/FreeTextFilter.tsx +1 -1
- package/src/components/Filters/SelectionTypes/MultiOptionFilter/MultiOptionFilter.tsx +1 -1
- package/src/components/Filters/SelectionTypes/NumericTextFilter/NumericTextFilter.tsx +1 -1
- package/src/components/Filters/SelectionTypes/OptionsFilter/OptionsFilter.tsx +1 -1
- package/src/components/Filters/SelectionTypes/SearcheableOptionsFilter/SearcheableOptionsFilter.tsx +1 -1
- package/src/components/Filters/index.ts +1 -0
- package/src/components/FormElements/BooleanView/BooleanViewField.tsx +1 -1
- package/src/components/FormElements/Checkbox/Checkbox.tsx +1 -1
- package/src/components/FormElements/CustomTags/CustomTags.tsx +1 -1
- package/src/components/FormElements/DateTimeField/DateTimeText.tsx +1 -1
- package/src/components/FormElements/Divider/Divider.tsx +1 -1
- package/src/components/FormElements/FileUploadControl/FileUploadControl.tsx +1 -1
- package/src/components/FormElements/FormElementContainer/FormElementContainer.tsx +1 -1
- package/src/components/FormElements/FormGroup/FormGroup.stories.tsx +1 -1
- package/src/components/FormElements/FormGroup/FormGroup.tsx +1 -1
- package/src/components/FormElements/FormGroupTitle/FormGroupTitle.tsx +1 -1
- package/src/components/FormElements/FormikDebug/FormikDebug.tsx +1 -1
- package/src/components/FormElements/Link/LinkField.tsx +1 -1
- package/src/components/FormElements/Radio/Radio.tsx +1 -1
- package/src/components/FormElements/ReadOnly/ReadOnlyField.tsx +1 -1
- package/src/components/FormElements/ReadOnlyText/ReadOnlyTextField.tsx +1 -1
- package/src/components/FormElements/Select/Select.tsx +1 -1
- package/src/components/FormElements/SingleLineText/SingleLineText.tsx +1 -1
- package/src/components/FormElements/Tags/Tags.tsx +1 -1
- package/src/components/FormElements/TextArea/TextArea.tsx +1 -1
- package/src/components/FormElements/ToggleButton/ToggleButton.tsx +1 -1
- package/src/components/FormStation/FormGrid/FormGrid.tsx +1 -1
- package/src/components/FormStation/FormStation.tsx +1 -1
- package/src/components/FormStation/FormStationContentWrapper/FormStationContentWrapper.tsx +1 -1
- package/src/components/Hub/Hub.tsx +1 -1
- package/src/components/Hub/Tile/Tile.tsx +1 -1
- package/src/components/Icons/Icons.models.ts +1 -0
- package/src/components/Icons/Icons.stories.tsx +1 -1
- package/src/components/Icons/Icons.tsx +11 -1
- package/src/components/InfoPanel/InfoImage/InfoImage.tsx +1 -1
- package/src/components/InfoPanel/InfoPanel.tsx +1 -1
- package/src/components/InfoPanel/Paragraph/Paragraph.tsx +1 -1
- package/src/components/InfoPanel/Section/Section.tsx +1 -1
- package/src/components/InfoTooltip/InfoTooltip.tsx +1 -1
- package/src/components/InlineMenu/InlineMenu.stories.tsx +1 -1
- package/src/components/InlineMenu/InlineMenu.tsx +2 -2
- package/src/components/LandingPageHeader/LandingPageHeader.tsx +1 -1
- package/src/components/LandingPageTiles/LandingPageTiles.tsx +1 -1
- package/src/components/LandingPageTiles/TileLarge/TileLarge.tsx +1 -1
- package/src/components/LandingPageTiles/TileSmall/TileSmall.tsx +1 -1
- package/src/components/List/List.tsx +1 -1
- package/src/components/List/ListCheckBox/ListCheckBox.tsx +1 -1
- package/src/components/List/ListHeader/ColumnLabel/ColumnLabel.tsx +1 -1
- package/src/components/List/ListHeader/ListHeader.tsx +1 -1
- package/src/components/List/ListRow/ListRow.tsx +1 -1
- package/src/components/List/ListRow/ListRowCell/ListRowCell.tsx +1 -1
- package/src/components/List/ListRow/ListRowLoader.tsx +1 -1
- package/src/components/List/ListRow/Renderers/BooleanDotRenderer/BooleanDotRenderer.tsx +1 -1
- package/src/components/List/ListRow/Renderers/ExternalLinkRenderer/ExternalLinkRenderer.tsx +1 -1
- package/src/components/List/ListRow/Renderers/StateRenderer/StateRenderer.tsx +1 -1
- package/src/components/List/ListRow/Renderers/TagsRenderer/TagsRenderer.tsx +1 -1
- package/src/components/Loaders/ImageLoader/ImageLoader.tsx +1 -1
- package/src/components/Loaders/Loader/Loader.tsx +1 -1
- package/src/components/Message/Message.tsx +1 -1
- package/src/components/MessageBar/MessageBar.tsx +1 -1
- package/src/components/Modal/Modal.stories.tsx +1 -1
- package/src/components/Modal/Modal.tsx +1 -1
- package/src/components/PageHeader/PageHeader.tsx +1 -1
- package/src/components/PageHeader/PageHeaderAction/PageHeaderAction.tsx +1 -1
- package/src/components/PageHeader/PageHeaderActionsGroup/PageHeaderActionsGroup.tsx +1 -1
- package/src/components/ProgressBar/ProgressBar.tsx +1 -1
- package/src/components/Tabs/Tab/CustomTab.tsx +1 -1
- package/src/components/Tabs/TabList/CustomTabList.tsx +1 -1
- package/src/components/Tabs/TabList/ScrollContainer/ScrollContainer.tsx +1 -1
- package/src/components/Tabs/TabPanel/CustomTabPanel.tsx +1 -1
- package/src/components/index.ts +1 -0
- package/src/docs/Intro.mdx +1 -1
- package/src/hooks/useResize/ResizeIndicator.tsx +1 -1
- package/src/components/Filters/Filters.scss +0 -20
- /package/src/components/Accordion/{Accordion.scss → Accordion.module.scss} +0 -0
- /package/src/components/Accordion/AccordionItem/{AccordionItem.scss → AccordionItem.module.scss} +0 -0
- /package/src/components/Actions/Action/{Action.scss → Action.module.scss} +0 -0
- /package/src/components/Actions/{Actions.scss → Actions.module.scss} +0 -0
- /package/src/components/Buttons/Button/{Button.scss → Button.module.scss} +0 -0
- /package/src/components/Buttons/CompositeButton/{CompositeButton.scss → CompositeButton.module.scss} +0 -0
- /package/src/components/Buttons/TextButton/{TextButton.scss → TextButton.module.scss} +0 -0
- /package/src/components/ConfirmDialog/{ConfirmDialog.scss → ConfirmDialog.module.scss} +0 -0
- /package/src/components/DateTime/DatePicker/{Calendar.scss → Calendar.module.scss} +0 -0
- /package/src/components/DateTime/DatePicker/{DatePicker.scss → DatePicker.module.scss} +0 -0
- /package/src/components/DateTime/{DateTimePicker.scss → DateTimePicker.module.scss} +0 -0
- /package/src/components/DateTime/TimePicker/ScrollColumn/{ScrollColumn.scss → ScrollColumn.module.scss} +0 -0
- /package/src/components/DateTime/TimePicker/{TimePicker.scss → TimePicker.module.scss} +0 -0
- /package/src/components/DynamicDataList/{DynamicDataList.scss → DynamicDataList.module.scss} +0 -0
- /package/src/components/DynamicDataList/DynamicListDataEntry/{DynamicListDataEntry.scss → DynamicListDataEntry.module.scss} +0 -0
- /package/src/components/DynamicDataList/DynamicListDataEntry/Renderers/createInputRenderer/{createInputRenderer.scss → createInputRenderer.module.scss} +0 -0
- /package/src/components/DynamicDataList/DynamicListDataEntry/Renderers/createSelectRenderer/{createSelectRenderer.scss → createSelectRenderer.module.scss} +0 -0
- /package/src/components/DynamicDataList/DynamicListHeader/{DynamicListHeader.scss → DynamicListHeader.module.scss} +0 -0
- /package/src/components/DynamicDataList/DynamicListRow/{DynamicListRow.scss → DynamicListRow.module.scss} +0 -0
- /package/src/components/EmptyStation/{EmptyStation.scss → EmptyStation.module.scss} +0 -0
- /package/src/components/Explorer/BulkEdit/helpers/{FieldWrapper.scss → FieldWrapper.module.scss} +0 -0
- /package/src/components/Explorer/{Explorer.scss → Explorer.module.scss} +0 -0
- /package/src/components/FieldSelection/{FieldSelection.scss → FieldSelection.module.scss} +0 -0
- /package/src/components/Filters/Filter/{Filter.scss → Filter.module.scss} +0 -0
- /package/src/components/Filters/SelectionTypes/FreeTextFilter/{FreeTextFilter.scss → FreeTextFilter.module.scss} +0 -0
- /package/src/components/Filters/SelectionTypes/MultiOptionFilter/{MultiOptionFilter.scss → MultiOptionFilter.module.scss} +0 -0
- /package/src/components/Filters/SelectionTypes/NumericTextFilter/{NumericTextFilter.scss → NumericTextFilter.module.scss} +0 -0
- /package/src/components/Filters/SelectionTypes/OptionsFilter/{OptionsFilter.scss → OptionsFilter.module.scss} +0 -0
- /package/src/components/Filters/SelectionTypes/SearcheableOptionsFilter/{SearcheableOptionsFilter.scss → SearcheableOptionsFilter.module.scss} +0 -0
- /package/src/components/FormElements/BooleanView/{BooleanViewField.scss → BooleanViewField.module.scss} +0 -0
- /package/src/components/FormElements/Checkbox/{Checkbox.scss → Checkbox.module.scss} +0 -0
- /package/src/components/FormElements/CustomTags/{CustomTags.scss → CustomTags.module.scss} +0 -0
- /package/src/components/FormElements/DateTimeField/{DateTimeText.scss → DateTimeText.module.scss} +0 -0
- /package/src/components/FormElements/Divider/{Divider.scss → Divider.module.scss} +0 -0
- /package/src/components/FormElements/FileUploadControl/{FileUploadControl.scss → FileUploadControl.module.scss} +0 -0
- /package/src/components/FormElements/FormElementContainer/{FormElementContainer.scss → FormElementContainer.module.scss} +0 -0
- /package/src/components/FormElements/FormGroup/{FormGroup.scss → FormGroup.module.scss} +0 -0
- /package/src/components/FormElements/FormGroupTitle/{FormGroupTitle.scss → FormGroupTitle.module.scss} +0 -0
- /package/src/components/FormElements/FormikDebug/{FormikDebug.scss → FormikDebug.module.scss} +0 -0
- /package/src/components/FormElements/Link/{LinkField.scss → LinkField.module.scss} +0 -0
- /package/src/components/FormElements/Radio/{Radio.scss → Radio.module.scss} +0 -0
- /package/src/components/FormElements/ReadOnly/{ReadOnlyField.scss → ReadOnlyField.module.scss} +0 -0
- /package/src/components/FormElements/ReadOnlyText/{ReadOnlyTextField.scss → ReadOnlyTextField.module.scss} +0 -0
- /package/src/components/FormElements/Select/{Select.scss → Select.module.scss} +0 -0
- /package/src/components/FormElements/SingleLineText/{SingleLineText.scss → SingleLineText.module.scss} +0 -0
- /package/src/components/FormElements/Tags/{Tags.scss → Tags.module.scss} +0 -0
- /package/src/components/FormElements/TextArea/{TextArea.scss → TextArea.module.scss} +0 -0
- /package/src/components/FormElements/ToggleButton/{ToggleButton.scss → ToggleButton.module.scss} +0 -0
- /package/src/components/FormStation/FormGrid/{FormGrid.scss → FormGrid.module.scss} +0 -0
- /package/src/components/FormStation/{FormStation.scss → FormStation.module.scss} +0 -0
- /package/src/components/FormStation/FormStationContentWrapper/{FormStationContentWrapper.scss → FormStationContentWrapper.module.scss} +0 -0
- /package/src/components/Hub/{Hub.scss → Hub.module.scss} +0 -0
- /package/src/components/Hub/Tile/{Tile.scss → Tile.module.scss} +0 -0
- /package/src/components/Icons/{Icons.scss → Icons.module.scss} +0 -0
- /package/src/components/InfoPanel/InfoImage/{InfoImage.scss → InfoImage.module.scss} +0 -0
- /package/src/components/InfoPanel/{InfoPanel.scss → InfoPanel.module.scss} +0 -0
- /package/src/components/InfoPanel/Paragraph/{Paragraph.scss → Paragraph.module.scss} +0 -0
- /package/src/components/InfoPanel/Section/{Section.scss → Section.module.scss} +0 -0
- /package/src/components/InfoTooltip/{InfoTooltip.scss → InfoTooltip.module.scss} +0 -0
- /package/src/components/InlineMenu/{InlineMenu.scss → InlineMenu.module.scss} +0 -0
- /package/src/components/LandingPageHeader/{LandingPageHeader.scss → LandingPageHeader.module.scss} +0 -0
- /package/src/components/LandingPageTiles/{LandingPageTiles.scss → LandingPageTiles.module.scss} +0 -0
- /package/src/components/LandingPageTiles/TileLarge/{TileLarge.scss → TileLarge.module.scss} +0 -0
- /package/src/components/LandingPageTiles/TileSmall/{TileSmall.scss → TileSmall.module.scss} +0 -0
- /package/src/components/List/{List.scss → List.module.scss} +0 -0
- /package/src/components/List/ListCheckBox/{ListCheckBox.scss → ListCheckBox.module.scss} +0 -0
- /package/src/components/List/ListHeader/ColumnLabel/{ColumnLabel.scss → ColumnLabel.module.scss} +0 -0
- /package/src/components/List/ListHeader/{ListHeader.scss → ListHeader.module.scss} +0 -0
- /package/src/components/List/ListRow/{ListRow.scss → ListRow.module.scss} +0 -0
- /package/src/components/List/ListRow/ListRowCell/{ListRowCell.scss → ListRowCell.module.scss} +0 -0
- /package/src/components/List/ListRow/Renderers/BooleanDotRenderer/{BooleanDotRenderer.scss → BooleanDotRenderer.module.scss} +0 -0
- /package/src/components/List/ListRow/Renderers/ExternalLinkRenderer/{ExternalLinkRenderer.scss → ExternalLinkRenderer.module.scss} +0 -0
- /package/src/components/List/ListRow/Renderers/StateRenderer/{StateRenderer.scss → StateRenderer.module.scss} +0 -0
- /package/src/components/List/ListRow/Renderers/TagsRenderer/{TagsRenderer.scss → TagsRenderer.module.scss} +0 -0
- /package/src/components/Loaders/ImageLoader/{ImageLoader.scss → ImageLoader.module.scss} +0 -0
- /package/src/components/Loaders/Loader/{Loader.scss → Loader.module.scss} +0 -0
- /package/src/components/Message/{Message.scss → Message.module.scss} +0 -0
- /package/src/components/MessageBar/{MessageBar.scss → MessageBar.module.scss} +0 -0
- /package/src/components/Modal/{Modal.scss → Modal.module.scss} +0 -0
- /package/src/components/PageHeader/{PageHeader.scss → PageHeader.module.scss} +0 -0
- /package/src/components/PageHeader/PageHeaderAction/{PageHeaderAction.scss → PageHeaderAction.module.scss} +0 -0
- /package/src/components/PageHeader/PageHeaderActionsGroup/{PageHeaderActionsGroup.scss → PageHeaderActionsGroup.module.scss} +0 -0
- /package/src/components/ProgressBar/{ProgressBar.scss → ProgressBar.module.scss} +0 -0
- /package/src/components/Tabs/Tab/{CustomTab.scss → CustomTab.module.scss} +0 -0
- /package/src/components/Tabs/TabList/{CustomTabList.scss → CustomTabList.module.scss} +0 -0
- /package/src/components/Tabs/TabList/ScrollContainer/{ScrollContainer.scss → ScrollContainer.module.scss} +0 -0
- /package/src/components/Tabs/TabPanel/{CustomTabPanel.scss → CustomTabPanel.module.scss} +0 -0
- /package/src/docs/{intro.scss → intro.module.scss} +0 -0
- /package/src/hooks/useResize/{ResizeIndicator.scss → ResizeIndicator.module.scss} +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { BadgeProps } from './Badge.model';
|
|
3
|
+
/**
|
|
4
|
+
* A small badge that attaches to a corner of the element it wraps, typically
|
|
5
|
+
* used to display a notification counter.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* <Badge content={5} position="top-right">
|
|
9
|
+
* <Icons icon={IconName.Bell} />
|
|
10
|
+
* </Badge>
|
|
11
|
+
*/
|
|
12
|
+
export declare const Badge: React.FC<BadgeProps>;
|
|
13
|
+
//# sourceMappingURL=Badge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../src/components/Badge/Badge.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAiB,UAAU,EAAE,MAAM,eAAe,CAAC;AAU/D;;;;;;;;GAQG;AACH,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAqCtC,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The corner of the wrapped component that the badge attaches to.
|
|
3
|
+
*/
|
|
4
|
+
export type BadgePosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
5
|
+
export interface BadgeProps {
|
|
6
|
+
/**
|
|
7
|
+
* The value shown inside the badge, typically a notification counter.
|
|
8
|
+
* When `null`, `undefined` or an empty string, the badge is not rendered
|
|
9
|
+
* (only the children are shown).
|
|
10
|
+
*/
|
|
11
|
+
content?: string | number;
|
|
12
|
+
/**
|
|
13
|
+
* The corner of the wrapped component the badge attaches to.
|
|
14
|
+
*
|
|
15
|
+
* @default 'top-right'
|
|
16
|
+
*/
|
|
17
|
+
position?: BadgePosition;
|
|
18
|
+
/**
|
|
19
|
+
* When `true`, the badge sits on the corner and half-overflows outside the
|
|
20
|
+
* bounds of the wrapped component (typical for notification counters). When
|
|
21
|
+
* `false`, the badge sits flush inside the corner.
|
|
22
|
+
*
|
|
23
|
+
* @default true
|
|
24
|
+
*/
|
|
25
|
+
overlap?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Caps a numeric `content`. When the number is greater than `max`, `${max}+`
|
|
28
|
+
* is displayed (e.g. `max={99}` renders `99+` for `100`). Ignored when
|
|
29
|
+
* `content` is a string.
|
|
30
|
+
*/
|
|
31
|
+
max?: number;
|
|
32
|
+
/**
|
|
33
|
+
* The element the badge attaches to. The badge is positioned relative to
|
|
34
|
+
* this content.
|
|
35
|
+
*/
|
|
36
|
+
children?: React.ReactNode;
|
|
37
|
+
/** Value for the `data-test-id` attribute on the badge element. */
|
|
38
|
+
dataTestId?: string;
|
|
39
|
+
/** CSS Class name for additional styles. */
|
|
40
|
+
className?: string;
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=Badge.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Badge.model.d.ts","sourceRoot":"","sources":["../../../../src/components/Badge/Badge.model.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,aAAa,GACrB,UAAU,GACV,WAAW,GACX,aAAa,GACb,cAAc,CAAC;AAEnB,MAAM,WAAW,UAAU;IACzB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,mEAAmE;IACnE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,4CAA4C;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Badge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Explorer.d.ts","sourceRoot":"","sources":["../../../../src/components/Explorer/Explorer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,EAEL,OAAO,IAAI,KAAK,EAIjB,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAG7C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EACL,KAAK,MAAM,EAIX,cAAc,EACd,KAAK,QAAQ,EACd,MAAM,SAAS,CAAC;AACjB,OAAO,EAAc,KAAK,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAKvE,OAAO,KAAK,EACV,oBAAoB,EACpB,kBAAkB,EAClB,oBAAoB,EACpB,8BAA8B,EAC9B,oBAAoB,EAEpB,eAAe,EACf,qBAAqB,EACtB,MAAM,kBAAkB,CAAC;AAY1B,MAAM,WAAW,aAAa,CAAC,CAAC,SAAS,IAAI;IAC3C,i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CAAC;IAE/C;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,kBAAkB,CAAC,OAAO,CAAC,CAAC;IAE5D;;;;OAIG;IACH,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,cAAc,KAAK,IAAI,CAAC;IAEzD;;;OAGG;IACH,oBAAoB,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAEnD,4EAA4E;IAC5E,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,UAAU,EAAE,CAAC;CAC/C;AAED;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,QAAQ,GAAsC,CAAC,SAAS,IAAI,gHAyTvE,CAAC"}
|
|
@@ -11,8 +11,6 @@ interface UseActionsProps<T extends Data> {
|
|
|
11
11
|
quickEditAction?: PageHeaderActionItemProps;
|
|
12
12
|
bulkEditAction?: ExplorerBulkAction<T>;
|
|
13
13
|
openBulkActionsOnStart: boolean | undefined;
|
|
14
|
-
filtersVisible: boolean;
|
|
15
|
-
hasFilters: boolean;
|
|
16
14
|
resultCount: ResultCounts;
|
|
17
15
|
activeFilterCount: number;
|
|
18
16
|
itemSelection: ItemSelectEventArgs<T>;
|
|
@@ -21,12 +19,11 @@ interface UseActionsProps<T extends Data> {
|
|
|
21
19
|
setStationMessage: (value: React.SetStateAction<StationMessage | undefined>) => void;
|
|
22
20
|
onBulkActionsToggled: (expanded: boolean) => void;
|
|
23
21
|
setIsBulkOpen: (value: React.SetStateAction<boolean>) => void;
|
|
24
|
-
toggleFiltersVisible: () => void;
|
|
25
22
|
closeBulkEdit: () => void;
|
|
26
23
|
}
|
|
27
24
|
interface UseActionsReturnType {
|
|
28
25
|
readonly actions: PageHeaderActionItemProps[];
|
|
29
26
|
}
|
|
30
|
-
export declare const useActions: <T extends Data>({ getBulkActionSelection, onReloadData, setStationMessage, actions, itemSelection, onBulkActionsToggled, openBulkActionsOnStart, resultCount, setIsBulkOpen,
|
|
27
|
+
export declare const useActions: <T extends Data>({ getBulkActionSelection, onReloadData, setStationMessage, actions, itemSelection, onBulkActionsToggled, openBulkActionsOnStart, resultCount, setIsBulkOpen, quickEditAction, bulkActions, closeBulkEdit, bulkEditAction, }: UseActionsProps<T>) => UseActionsReturnType;
|
|
31
28
|
export {};
|
|
32
29
|
//# sourceMappingURL=useActions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useActions.d.ts","sourceRoot":"","sources":["../../../../../src/components/Explorer/helpers/useActions.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAG3C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACtD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,EACL,KAAK,qBAAqB,
|
|
1
|
+
{"version":3,"file":"useActions.d.ts","sourceRoot":"","sources":["../../../../../src/components/Explorer/helpers/useActions.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAG3C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACtD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,EACL,KAAK,qBAAqB,EAG3B,MAAM,mCAAmC,CAAC;AAE3C,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE1D,UAAU,eAAe,CAAC,CAAC,SAAS,IAAI;IACtC,OAAO,CAAC,EAAE,qBAAqB,EAAE,CAAC;IAClC,WAAW,CAAC,EAAE,kBAAkB,CAAC,CAAC,CAAC,EAAE,CAAC;IACtC,eAAe,CAAC,EAAE,yBAAyB,CAAC;IAC5C,cAAc,CAAC,EAAE,kBAAkB,CAAC,CAAC,CAAC,CAAC;IACvC,sBAAsB,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5C,WAAW,EAAE,YAAY,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,aAAa,EAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC;IACtC,sBAAsB,EAAE,MAAM,aAAa,CAAC,CAAC,CAAC,CAAC;IAC/C,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,iBAAiB,EAAE,CACjB,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,cAAc,GAAG,SAAS,CAAC,KACpD,IAAI,CAAC;IACV,oBAAoB,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAClD,aAAa,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,KAAK,IAAI,CAAC;IAC9D,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,UAAU,oBAAoB;IAC5B,QAAQ,CAAC,OAAO,EAAE,yBAAyB,EAAE,CAAC;CAC/C;AAED,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,IAAI,EAAE,6NAcxC,eAAe,CAAC,CAAC,CAAC,KAAG,oBAkIvB,CAAC"}
|
|
@@ -11,8 +11,6 @@ interface UseFiltersProps<T extends Data> {
|
|
|
11
11
|
interface UseFiltersReturnType<T extends Data> {
|
|
12
12
|
readonly Filters: JSX.Element;
|
|
13
13
|
readonly activeFilters: FilterValues<T>;
|
|
14
|
-
readonly filtersVisible: boolean;
|
|
15
|
-
readonly toggleFiltersVisible: () => void;
|
|
16
14
|
readonly collapseFilters: () => void;
|
|
17
15
|
}
|
|
18
16
|
export declare const useFilters: <T extends Data>({ stationKey, globalStateOptions, filterOptions, defaultFilterValues, onFiltersChange, }: UseFiltersProps<T>) => UseFiltersReturnType<T>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFilters.d.ts","sourceRoot":"","sources":["../../../../../src/components/Explorer/helpers/useFilters.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useFilters.d.ts","sourceRoot":"","sources":["../../../../../src/components/Explorer/helpers/useFilters.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAG9D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAE9D,UAAU,eAAe,CAAC,CAAC,SAAS,IAAI;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,EAAE,oBAAoB,CAAC;IACzC,aAAa,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC;IAChC,mBAAmB,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC;IACtC,eAAe,EAAE,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;CACrD;AAED,UAAU,oBAAoB,CAAC,CAAC,SAAS,IAAI;IAC3C,QAAQ,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC;IAC9B,QAAQ,CAAC,aAAa,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC;IACxC,QAAQ,CAAC,eAAe,EAAE,MAAM,IAAI,CAAC;CACtC;AAED,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,IAAI,EAAE,0FAMxC,eAAe,CAAC,CAAC,CAAC,KAAG,oBAAoB,CAAC,CAAC,CA8C7C,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type PropsWithChildren } from 'react';
|
|
1
|
+
import React, { type PropsWithChildren } from 'react';
|
|
2
2
|
import type { Data } from '../../types/data';
|
|
3
3
|
import type { FilterType, FilterValues } from './Filters.model';
|
|
4
4
|
export interface FiltersProps<T extends Data> {
|
|
@@ -8,14 +8,16 @@ export interface FiltersProps<T extends Data> {
|
|
|
8
8
|
className?: string;
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* filters with filter type of CustomFilter
|
|
14
|
-
* @param array - filters: Array of FilterControl elements to define all the filters
|
|
15
|
-
* @Param object - filters: Object of currently active filters
|
|
16
|
-
* @param function - onFiltersChange: callBack function to invoke when the selected value for filter is changed
|
|
17
|
-
* @example
|
|
18
|
-
* <Filter filters={[freeTextFilter, optionsFilter, customFilter]} onFiltersChange={callBackFn} />
|
|
11
|
+
* Imperative handle exposed to consumers of the {@link Filters} component
|
|
12
|
+
* through a ref, allowing them to control the component programmatically.
|
|
19
13
|
*/
|
|
20
|
-
export
|
|
14
|
+
export interface FiltersHandle {
|
|
15
|
+
/** Collapses the currently expanded filter, if any. */
|
|
16
|
+
collapse: () => void;
|
|
17
|
+
/** Toggles the expanded state of the filter. */
|
|
18
|
+
toggleExpanded: () => void;
|
|
19
|
+
/** Returns whether any filter is currently expanded. */
|
|
20
|
+
isExpanded: boolean;
|
|
21
|
+
}
|
|
22
|
+
export declare const Filters: <T extends Data>(props: PropsWithChildren<FiltersProps<T>> & React.RefAttributes<FiltersHandle>) => JSX.Element | null;
|
|
21
23
|
//# sourceMappingURL=Filters.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Filters.d.ts","sourceRoot":"","sources":["../../../../src/components/Filters/Filters.tsx"],"names":[],"mappings":"AACA,
|
|
1
|
+
{"version":3,"file":"Filters.d.ts","sourceRoot":"","sources":["../../../../src/components/Filters/Filters.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAGZ,KAAK,iBAAiB,EAMvB,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAK7C,OAAO,KAAK,EAAE,UAAU,EAAe,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAG7E,MAAM,WAAW,YAAY,CAAC,CAAC,SAAS,IAAI;IAC1C,OAAO,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1B,aAAa,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC;IAChC,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IACrD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B,uDAAuD;IACvD,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,gDAAgD;IAChD,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,wDAAwD;IACxD,UAAU,EAAE,OAAO,CAAC;CACrB;AAwND,eAAO,MAAM,OAAO,EAAmC,CAAC,CAAC,SAAS,IAAI,EACpE,KAAK,EAAE,iBAAiB,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,GACvC,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,KACjC,GAAG,CAAC,OAAO,GAAG,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Filters/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Filters/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC7D,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icons.d.ts","sourceRoot":"","sources":["../../../../src/components/Icons/Icons.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAChF,OAAO,EAAY,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AA6F3D,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAOlD,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAQlD,CAAC;
|
|
1
|
+
{"version":3,"file":"Icons.d.ts","sourceRoot":"","sources":["../../../../src/components/Icons/Icons.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAChF,OAAO,EAAY,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AA6F3D,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAOlD,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAQlD,CAAC;AAmcF,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CA8EtC,CAAC"}
|
|
@@ -46,22 +46,23 @@ export declare enum IconName {
|
|
|
46
46
|
QuickEdit = 40,
|
|
47
47
|
QuickEditStation = 41,
|
|
48
48
|
RemoveFilter = 42,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
49
|
+
RemoveAllFilters = 43,
|
|
50
|
+
Replace = 44,
|
|
51
|
+
Retry = 45,
|
|
52
|
+
Save = 46,
|
|
53
|
+
Snapshot = 47,
|
|
54
|
+
Stop = 48,
|
|
55
|
+
Subtitles = 49,
|
|
56
|
+
Success = 50,
|
|
57
|
+
Unarchive = 51,
|
|
58
|
+
Undo = 52,
|
|
59
|
+
Unmute = 53,
|
|
60
|
+
Unpublish = 54,
|
|
61
|
+
Upload = 55,
|
|
62
|
+
Video = 56,
|
|
63
|
+
Warning = 57,
|
|
64
|
+
X = 58,
|
|
65
|
+
Axi = 59
|
|
65
66
|
}
|
|
66
67
|
export interface IconsProps extends SvgElementProps {
|
|
67
68
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icons.models.d.ts","sourceRoot":"","sources":["../../../../src/components/Icons/Icons.models.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD;;GAEG;AACH,oBAAY,QAAQ;IAClB,OAAO,IAAA;IACP,KAAK,IAAA;IACL,gBAAgB,IAAA;IAChB,cAAc,IAAA;IACd,WAAW,IAAA;IACX,WAAW,IAAA;IACX,KAAK,IAAA;IACL,IAAI,IAAA;IACJ,QAAQ,IAAA;IACR,QAAQ,IAAA;IACR,SAAS,KAAA;IACT,WAAW,KAAA;IACX,WAAW,KAAA;IACX,YAAY,KAAA;IACZ,SAAS,KAAA;IACT,YAAY,KAAA;IACZ,aAAa,KAAA;IACb,QAAQ,KAAA;IACR,aAAa,KAAA;IACb,IAAI,KAAA;IACJ,MAAM,KAAA;IACN,OAAO,KAAA;IACP,IAAI,KAAA;IACJ,QAAQ,KAAA;IACR,KAAK,KAAA;IACL,QAAQ,KAAA;IACR,IAAI,KAAA;IACJ,OAAO,KAAA;IACP,UAAU,KAAA;IACV,UAAU,KAAA;IACV,UAAU,KAAA;IACV,IAAI,KAAA;IACJ,eAAe,KAAA;IACf,KAAK,KAAA;IACL,IAAI,KAAA;IACJ,aAAa,KAAA;IACb,KAAK,KAAA;IACL,IAAI,KAAA;IACJ,IAAI,KAAA;IACJ,OAAO,KAAA;IACP,SAAS,KAAA;IACT,gBAAgB,KAAA;IAChB,YAAY,KAAA;IACZ,OAAO,KAAA;IACP,KAAK,KAAA;IACL,IAAI,KAAA;IACJ,QAAQ,KAAA;IACR,IAAI,KAAA;IACJ,SAAS,KAAA;IACT,OAAO,KAAA;IACP,SAAS,KAAA;IACT,IAAI,KAAA;IACJ,MAAM,KAAA;IACN,SAAS,KAAA;IACT,MAAM,KAAA;IACN,KAAK,KAAA;IACL,OAAO,KAAA;IACP,CAAC,KAAA;IACD,GAAG,KAAA;CACJ;AAED,MAAM,WAAW,UAAW,SAAQ,eAAe;IACjD;;;;;;;;;;;;;;OAcG;IACH,IAAI,CAAC,EAAE,aAAa,CAAC;CACtB;AAED,MAAM,MAAM,aAAa,GAAG,KAAK,CAAC,EAAE,CAAC,eAAe,CAAC,GAAG,QAAQ,CAAC"}
|
|
1
|
+
{"version":3,"file":"Icons.models.d.ts","sourceRoot":"","sources":["../../../../src/components/Icons/Icons.models.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD;;GAEG;AACH,oBAAY,QAAQ;IAClB,OAAO,IAAA;IACP,KAAK,IAAA;IACL,gBAAgB,IAAA;IAChB,cAAc,IAAA;IACd,WAAW,IAAA;IACX,WAAW,IAAA;IACX,KAAK,IAAA;IACL,IAAI,IAAA;IACJ,QAAQ,IAAA;IACR,QAAQ,IAAA;IACR,SAAS,KAAA;IACT,WAAW,KAAA;IACX,WAAW,KAAA;IACX,YAAY,KAAA;IACZ,SAAS,KAAA;IACT,YAAY,KAAA;IACZ,aAAa,KAAA;IACb,QAAQ,KAAA;IACR,aAAa,KAAA;IACb,IAAI,KAAA;IACJ,MAAM,KAAA;IACN,OAAO,KAAA;IACP,IAAI,KAAA;IACJ,QAAQ,KAAA;IACR,KAAK,KAAA;IACL,QAAQ,KAAA;IACR,IAAI,KAAA;IACJ,OAAO,KAAA;IACP,UAAU,KAAA;IAC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