aristid-ds 20.0.0 → 20.2.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/CHANGELOG.md +129 -0
- package/dist/Kit/App/index.js +1 -1
- package/dist/Kit/DataDisplay/Avatar/index.js +1 -1
- package/dist/Kit/DataDisplay/Badge/index.js +1 -1
- package/dist/Kit/DataDisplay/Card/index.js +1 -1
- package/dist/Kit/DataDisplay/Carousel/index.js +1 -1
- package/dist/Kit/DataDisplay/Comment/index.js +1 -1
- package/dist/Kit/DataDisplay/Empty/index.js +1 -1
- package/dist/Kit/DataDisplay/Error/index.js +1 -1
- package/dist/Kit/DataDisplay/IdCard/index.js +1 -1
- package/dist/Kit/DataDisplay/ItemCard/index.js +1 -1
- package/dist/Kit/DataDisplay/ItemList/index.js +1 -1
- package/dist/Kit/DataDisplay/Kanban/KanbanCard.d.ts +12 -0
- package/dist/Kit/DataDisplay/Kanban/KanbanColumn.d.ts +20 -0
- package/dist/Kit/DataDisplay/Kanban/KanbanItem.d.ts +14 -0
- package/dist/Kit/DataDisplay/Kanban/index.d.ts +8 -0
- package/dist/Kit/DataDisplay/Kanban/index.js +1 -0
- package/dist/Kit/DataDisplay/Kanban/types.d.ts +114 -0
- package/dist/Kit/DataDisplay/RedirectCard/index.js +1 -1
- package/dist/Kit/DataDisplay/Tab/TabDropdownButton.d.ts +7 -0
- package/dist/Kit/DataDisplay/Tab/index.d.ts +6 -1
- package/dist/Kit/DataDisplay/Tab/index.js +1 -1
- package/dist/Kit/DataDisplay/Tab/types.d.ts +8 -0
- package/dist/Kit/DataDisplay/Table/KitTableExpandButton.d.ts +2 -1
- package/dist/Kit/DataDisplay/Table/index.js +1 -1
- package/dist/Kit/DataDisplay/Tag/index.js +1 -1
- package/dist/Kit/DataDisplay/Tag/types.d.ts +12 -1
- package/dist/Kit/DataDisplay/ToolBar/index.d.ts +3 -0
- package/dist/Kit/DataDisplay/ToolBar/index.js +1 -0
- package/dist/Kit/DataDisplay/ToolBar/types.d.ts +11 -0
- package/dist/Kit/DataEntry/AutoComplete/index.js +2 -2
- package/dist/Kit/DataEntry/Checkbox/index.js +1 -1
- package/dist/Kit/DataEntry/ColorPicker/index.js +1 -1
- package/dist/Kit/DataEntry/DatePicker/DatePicker.d.ts +1 -1
- package/dist/Kit/DataEntry/DatePicker/RangePicker.d.ts +1 -1
- package/dist/Kit/DataEntry/DatePicker/index.js +1 -1
- package/dist/Kit/DataEntry/DatePicker/preset/useActiveDatePickerPreset.d.ts +1 -1
- package/dist/Kit/DataEntry/DatePicker/types.d.ts +2 -0
- package/dist/Kit/DataEntry/Filter/FilterButton.d.ts +1 -2
- package/dist/Kit/DataEntry/Filter/index.js +1 -1
- package/dist/Kit/DataEntry/Filter/types.d.ts +19 -3
- package/dist/Kit/DataEntry/Input/index.js +1 -1
- package/dist/Kit/DataEntry/Input/types.d.ts +1 -0
- package/dist/Kit/DataEntry/InputNumber/index.js +1 -1
- package/dist/Kit/DataEntry/InputNumber/types.d.ts +1 -0
- package/dist/Kit/DataEntry/InputWrapper/index.js +1 -1
- package/dist/Kit/DataEntry/Radio/index.js +1 -1
- package/dist/Kit/DataEntry/Rate/index.js +1 -1
- package/dist/Kit/DataEntry/RichText/MenuBar/FontSizeSelect/index.js +1 -1
- package/dist/Kit/DataEntry/RichText/MenuBar/LinkButton/index.js +1 -1
- package/dist/Kit/DataEntry/RichText/MenuBar/MenuActionList/index.d.ts +3 -3
- package/dist/Kit/DataEntry/RichText/MenuBar/MenuActionList/index.js +28 -18
- package/dist/Kit/DataEntry/RichText/MenuBar/MenuActionList/types.d.ts +4 -0
- package/dist/Kit/DataEntry/RichText/MenuBar/ShowMoreButton.d.ts +1 -1
- package/dist/Kit/DataEntry/RichText/MenuBar/index.d.ts +1 -1
- package/dist/Kit/DataEntry/RichText/MenuBar/index.js +1 -1
- package/dist/Kit/DataEntry/RichText/MenuBar/types.d.ts +2 -0
- package/dist/Kit/DataEntry/RichText/index.js +1 -1
- package/dist/Kit/DataEntry/SearchInput/index.js +1 -1
- package/dist/Kit/DataEntry/Select/LoadingSuffix.d.ts +2 -0
- package/dist/Kit/DataEntry/Select/index.js +1 -1
- package/dist/Kit/DataEntry/TreeSelect/index.js +1 -1
- package/dist/Kit/DataEntry/TreeSelect/useIcons.d.ts +4 -2
- package/dist/Kit/DataEntry/Upload/index.js +1 -1
- package/dist/Kit/Feedback/Alert/index.js +1 -1
- package/dist/Kit/Feedback/Modal/index.js +1 -1
- package/dist/Kit/Feedback/Notification/index.js +1 -1
- package/dist/Kit/Feedback/Progress/index.js +1 -1
- package/dist/Kit/Feedback/SnackBar/index.js +5 -1
- package/dist/Kit/General/Button/index.js +1 -1
- package/dist/Kit/General/DynamicActions/index.js +1 -1
- package/dist/Kit/General/Icon/index.js +1 -1
- package/dist/Kit/General/Typography/index.js +1 -1
- package/dist/Kit/Layout/PageLayout/index.js +1 -1
- package/dist/Kit/Navigation/DropDown/index.js +52 -38
- package/dist/Kit/Navigation/Header/index.js +1 -1
- package/dist/Kit/Navigation/PageHeader/index.js +1 -1
- package/dist/Kit/Navigation/Pagination/index.js +1 -1
- package/dist/Kit/Navigation/SideMenu/index.js +1 -1
- package/dist/Kit/Navigation/SidePanel/index.js +1 -1
- package/dist/Kit/index.d.ts +4 -0
- package/dist/Kit/index.js +62 -60
- package/dist/assets/App.css +1 -1
- package/dist/assets/Button.css +1 -1
- package/dist/assets/ColorPicker.css +1 -1
- package/dist/assets/DatePicker.css +1 -1
- package/dist/assets/Filter.css +1 -1
- package/dist/assets/Input.css +1 -1
- package/dist/assets/Kanban.css +1 -0
- package/dist/assets/LoadingSuffix.css +1 -0
- package/dist/assets/MenuBar.css +1 -1
- package/dist/assets/RichText.css +1 -1
- package/dist/assets/SideMenu.css +1 -1
- package/dist/assets/Tab.css +1 -1
- package/dist/assets/Tag.css +1 -1
- package/dist/assets/ToolBar.css +1 -0
- package/dist/assets/icons/loader/faKitLoader.d.ts +2 -0
- package/dist/chunks/{Alert.CQaVbuFR.js → Alert.CHcxwc-7.js} +2 -2
- package/dist/chunks/{App.D0rw9orm.js → App.DEAyG_cT.js} +4 -4
- package/dist/chunks/{Avatar.BHlNyW0q.js → Avatar.CHhPAXNx.js} +1 -1
- package/dist/chunks/{Avatar.DysCcyLq.js → Avatar.CPy-hK8w.js} +1 -1
- package/dist/chunks/{Badge.B__O4nmc.js → Badge.tu17MdMt.js} +1 -1
- package/dist/chunks/Button.Cf2t8x-g.js +152 -0
- package/dist/chunks/{Card.Cq08rN_s.js → Card.BifWds4Q.js} +1 -1
- package/dist/chunks/{Carousel.BlbPUDYo.js → Carousel.D_UPa7c6.js} +2 -1
- package/dist/chunks/{Checkbox.CklNShKc.js → Checkbox.C0E-Lf9F.js} +1 -1
- package/dist/chunks/{ColorPicker.gPY0qyUV.js → ColorPicker.CXPDOjlD.js} +5 -5
- package/dist/chunks/{Comment.DmUzK6J4.js → Comment.D3uQOVRA.js} +1 -1
- package/dist/chunks/DatePicker.CZ7uUpci.js +283 -0
- package/dist/chunks/{DynamicActions.DK0mupe6.js → DynamicActions.B0RCwP59.js} +1 -1
- package/dist/chunks/{Empty.kPH-hJ9V.js → Empty.C_H88Lwp.js} +1 -1
- package/dist/chunks/{Error.CYRnZXNg.js → Error.DtFtGSNd.js} +1 -1
- package/dist/chunks/Filter.bcFfECQ2.js +91 -0
- package/dist/chunks/{FontSizeSelect.CFAIqibs.js → FontSizeSelect.BEujUTOk.js} +1 -1
- package/dist/chunks/{Header.C7xrnZDI.js → Header.CjmOOvCM.js} +3 -3
- package/dist/chunks/{Icon.DRPmn7dQ.js → Icon.DbHbt0HM.js} +1 -1
- package/dist/chunks/{IdCard.Dx6_WU3t.js → IdCard.DcdzxJ6s.js} +1 -1
- package/dist/chunks/{Input.CNLvspAE.js → Input.NJ0gxOKB.js} +201 -177
- package/dist/chunks/InputNumber.ArmZWyjD.js +59 -0
- package/dist/chunks/{InputWrapper.DXw2Vcpa.js → InputWrapper.UG5UbUiq.js} +1 -1
- package/dist/chunks/{InternalSizeChanger.CvYkvotd.js → InternalSizeChanger.4uhUYdQf.js} +2 -2
- package/dist/chunks/{ItemCard.CyPAPDy2.js → ItemCard.I_EZWDr7.js} +4 -4
- package/dist/chunks/{ItemList.Cy8wRu3i.js → ItemList.ZRUcXI2B.js} +4 -4
- package/dist/chunks/Kanban.DlRMF3Pf.js +478 -0
- package/dist/chunks/{LinkButton.CzpCbe5U.js → LinkButton.VSCUoTOf.js} +3 -3
- package/dist/chunks/LoadingSuffix.DoHzo7nz.js +13 -0
- package/dist/chunks/MenuBar.BKo3YUWL.js +86 -0
- package/dist/chunks/{Modal.Bi8z9VE0.js → Modal.BGfgvCM-.js} +5 -5
- package/dist/chunks/{Notification.BrJDgjWr.js → Notification.BvB2WQpw.js} +4 -4
- package/dist/chunks/{PageHeader.CLKSCN4a.js → PageHeader.CK5neQHJ.js} +3 -3
- package/dist/chunks/{PageLayout.D4BnVUAq.js → PageLayout.CypWl6mK.js} +2 -2
- package/dist/chunks/{Pagination.Dqci6TDr.js → Pagination.D2RZjMJN.js} +1 -1
- package/dist/chunks/{Progress.DIpbT4Go.js → Progress.DGZSgm84.js} +1 -1
- package/dist/chunks/{Radio.Cik5u8WU.js → Radio.BpOV2_Ga.js} +1 -1
- package/dist/chunks/{Rate.DOR2Ky6x.js → Rate.ClZk2tCh.js} +1 -1
- package/dist/chunks/{RedirectCard.C-uKjgcb.js → RedirectCard.NBOpek7n.js} +3 -3
- package/dist/chunks/{RichText.D98AWkBw.js → RichText.D_VsFypi.js} +73 -73
- package/dist/chunks/{SearchInput.De_qSxro.js → SearchInput.C7EnHTpX.js} +1 -1
- package/dist/chunks/Select.DAAdVERs.js +247 -0
- package/dist/chunks/{SideMenu.DQiL42Il.js → SideMenu.Cd2GjK9u.js} +9 -9
- package/dist/chunks/{SidePanel.C5nMMMse.js → SidePanel.C-fXIhny.js} +3 -3
- package/dist/chunks/SnackBar.CEjyTWJG.js +82 -0
- package/dist/chunks/Tab.BQDQSuOg.js +281 -0
- package/dist/chunks/{Table.BN-UWSUv.js → Table.DPRSm9mV.js} +63 -55
- package/dist/chunks/{Tag.gcpIeECV.js → Tag.By8jS_2F.js} +9 -9
- package/dist/chunks/ToolBar.qYFzjJ3S.js +22 -0
- package/dist/chunks/{TreeSelect.BRaAmKyc.js → TreeSelect.DD8WhA4W.js} +97 -95
- package/dist/chunks/{Typography.MRyLnlCD.js → Typography.dSdY4EZz.js} +1 -1
- package/dist/chunks/{Upload.CXHhjlnm.js → Upload.DxszpKf4.js} +5 -5
- package/dist/chunks/faKitLoader.BJKbv-bm.js +13 -0
- package/dist/chunks/{functions.Cjvxsib3.js → functions.m4ADIGGk.js} +2 -2
- package/dist/chunks/useLoadingWidthLock.CzCPeVNp.js +13 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +56 -54
- package/dist/index.umd.js +4 -4
- package/dist/theme/aristid/general/utilities/index.js +12 -6
- package/dist/theme/types/utilities/index.d.ts +18 -0
- package/dist/theme/utils/tokens-mapper/DataEntry/DatePicker/index.d.ts +1 -0
- package/dist/theme/utils/tokens-mapper/DataEntry/DatePicker/index.js +1 -0
- package/dist/theme/utils/tokens-mapper/DataEntry/Input/index.d.ts +1 -0
- package/dist/theme/utils/tokens-mapper/DataEntry/Input/index.js +1 -0
- package/dist/theme/utils/tokens-mapper/DataEntry/InputNumber/index.d.ts +1 -0
- package/dist/theme/utils/tokens-mapper/DataEntry/InputNumber/index.js +1 -0
- package/dist/translation/en-US/components/DataDisplay/Kanban/index.d.ts +2 -0
- package/dist/translation/en-US/components/DataDisplay/Kanban/index.js +16 -0
- package/dist/translation/en-US/components/DataDisplay/Tab/index.js +5 -1
- package/dist/translation/en-US/index.js +34 -30
- package/dist/translation/fr-FR/components/DataDisplay/Kanban/index.d.ts +2 -0
- package/dist/translation/fr-FR/components/DataDisplay/Kanban/index.js +16 -0
- package/dist/translation/fr-FR/components/DataDisplay/Tab/index.js +5 -1
- package/dist/translation/fr-FR/index.js +34 -30
- package/dist/translation/pt-PT/components/DataDisplay/Kanban/index.d.ts +2 -0
- package/dist/translation/pt-PT/components/DataDisplay/Kanban/index.js +16 -0
- package/dist/translation/pt-PT/components/DataDisplay/Tab/index.js +5 -1
- package/dist/translation/pt-PT/index.js +34 -30
- package/dist/translation/types/components/DataDisplay/Kanban/index.d.ts +16 -0
- package/dist/translation/types/components/DataDisplay/Tab/index.d.ts +2 -0
- package/dist/translation/types/index.d.ts +2 -0
- package/dist/utils/functions/colorVariants.d.ts +18 -0
- package/dist/utils/functions/index.d.ts +1 -2
- package/dist/utils/functions/index.js +1 -1
- package/dist/utils/functions/types.d.ts +6 -0
- package/dist/utils/hooks/useLoadingWidthLock.d.ts +2 -0
- package/package.json +17 -19
- package/dist/assets/styles.css +0 -1
- package/dist/chunks/Button.mFkl13ue.js +0 -145
- package/dist/chunks/DatePicker.CtiOTI4X.js +0 -267
- package/dist/chunks/Filter.ByG4s-gy.js +0 -83
- package/dist/chunks/InputNumber.CtaH9tBG.js +0 -52
- package/dist/chunks/MenuBar.DigScTZX.js +0 -68
- package/dist/chunks/Select.S4xsr0eN.js +0 -248
- package/dist/chunks/SnackBar.CdNbNCdU.js +0 -83
- package/dist/chunks/Tab.BLLuv1ds.js +0 -188
- package/dist/chunks/styles.module.DRkuoXqe.js +0 -3
package/dist/assets/Tag.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
._kit-tag_htdt9_1{--kit-tag-medium-height:24;--kit-tag-border-total-width:2;--kit-tag-small-height:16;padding:calc(var(--general-spacing-none) * 1px) calc(var(--general-spacing-xs) * 1px);height:calc(var(--kit-tag-medium-height) * 1px);border-radius:calc(var(--general-border-radius-xxl) * 1px);color:var(--components-Tag-colors-default-typography-default,var(--general-utilities-text-primary));align-items:center;display:flex}._kit-tag_htdt9_1,._kit-tag_htdt9_1 a,._kit-tag_htdt9_1 *{font-size:calc(var(--components-Tag-typography-fontSize,var(--general-typography-fontSize7)) * 1px);font-family:var(--components-Tag-typography-fontFamily,var(--general-typography-fontFamily));font-weight:var(--components-Tag-typography-fontWeight,var(--general-typography-regularFontWeight));line-height:var(--general-typography-lineHeight7,1.2);box-sizing:border-box}._kit-tag_htdt9_1:focus-visible{outline:solid 3px var(--general-utilities-focus);border-color:#0000!important}._kit-tag_htdt9_1:has(>.kit-tag-content:focus-visible){outline:solid 3px var(--general-utilities-focus);border-color:#0000!important}._kit-tag_htdt9_1.kit-tag-disabled{background:var(--general-utilities-neutral-light);border-color:var(--general-utilities-border);cursor:not-allowed}._kit-tag_htdt9_1.kit-tag-disabled,._kit-tag_htdt9_1.kit-tag-disabled *{color:var(--components-Tag-colors-default-typography-disabled,var(--general-utilities-text-disabled))}._kit-tag_htdt9_1.kit-tag-disabled .ant-tag-close-icon{color:var(--general-utilities-text-disabled);cursor:not-allowed}._kit-tag_htdt9_1.kit-tag-small{height:calc(var(--kit-tag-small-height) * 1px);padding:calc(var(--general-spacing-none) * 1px) 6px}._kit-tag_htdt9_1.kit-tag-small>.ant-tag-close-icon{margin-left:2px;padding-inline:2px}._kit-tag_htdt9_1:not(.kit-tag-disabled).kit-tag-clickable{cursor:pointer}._kit-tag_htdt9_1:not(.kit-tag-disabled).kit-tag-primary{background:var(--general-utilities-main-default);border-color:var(--general-utilities-main-default)}._kit-tag_htdt9_1:not(.kit-tag-disabled).kit-tag-primary,._kit-tag_htdt9_1:not(.kit-tag-disabled).kit-tag-primary *{color:var(--general-utilities-text-light)}._kit-tag_htdt9_1:not(.kit-tag-disabled).kit-tag-primary.kit-tag-clickable:hover{background:var(--general-utilities-main-dark);border-color:var(--general-utilities-main-dark)}._kit-tag_htdt9_1:not(.kit-tag-disabled).kit-tag-primary .ant-tag-close-icon{color:var(--general-utilities-text-light)}._kit-tag_htdt9_1:not(.kit-tag-disabled).kit-tag-secondary{background:var(--general-utilities-main-light);border-color:var(--general-utilities-main-medium)}._kit-tag_htdt9_1:not(.kit-tag-disabled).kit-tag-secondary.kit-tag-clickable:hover{border-color:var(--general-utilities-main-default)}._kit-tag_htdt9_1:not(.kit-tag-disabled).kit-tag-secondary.kit-tag-clickable:active{border-color:var(--general-utilities-main-dark)}._kit-tag_htdt9_1:not(.kit-tag-disabled).kit-tag-neutral{background:var(--general-utilities-neutral-light);border-color:var(--general-utilities-neutral-medium)}._kit-tag_htdt9_1:not(.kit-tag-disabled).kit-tag-neutral.kit-tag-clickable:hover{border-color:var(--general-utilities-neutral-dark)}._kit-tag_htdt9_1:not(.kit-tag-disabled).kit-tag-neutral.kit-tag-clickable:active{border-color:var(--general-utilities-neutral-deepDark)}._kit-tag_htdt9_1:not(.kit-tag-disabled).kit-tag-error{background:var(--general-utilities-error-light);border-color:var(--general-utilities-error-medium)}._kit-tag_htdt9_1:not(.kit-tag-disabled).kit-tag-error.kit-tag-clickable:hover{border-color:var(--general-utilities-error-default)}._kit-tag_htdt9_1:not(.kit-tag-disabled).kit-tag-error.kit-tag-clickable:active{border-color:var(--general-utilities-error-dark)}._kit-tag_htdt9_1:not(.kit-tag-disabled).kit-tag-success{background:var(--general-utilities-success-light);border-color:var(--general-utilities-success-medium)}._kit-tag_htdt9_1:not(.kit-tag-disabled).kit-tag-success.kit-tag-clickable:hover{border-color:var(--general-utilities-success-default)}._kit-tag_htdt9_1:not(.kit-tag-disabled).kit-tag-success.kit-tag-clickable:active{border-color:var(--general-utilities-success-dark)}._kit-tag_htdt9_1:not(.kit-tag-disabled).kit-tag-warning{background:var(--general-utilities-warning-light);border-color:var(--general-utilities-warning-medium)}._kit-tag_htdt9_1:not(.kit-tag-disabled).kit-tag-warning.kit-tag-clickable:hover{border-color:var(--general-utilities-warning-default)}._kit-tag_htdt9_1:not(.kit-tag-disabled).kit-tag-warning.kit-tag-clickable:active{border-color:var(--general-utilities-warning-dark)}._kit-tag_htdt9_1:not(.kit-tag-disabled).kit-tag-ai{background:var(--general-utilities-AI-default);border-color:var(--general-utilities-AI-default)}._kit-tag_htdt9_1:not(.kit-tag-disabled).kit-tag-ai,._kit-tag_htdt9_1:not(.kit-tag-disabled).kit-tag-ai *{color:var(--general-utilities-text-light)}._kit-tag_htdt9_1:not(.kit-tag-disabled).kit-tag-ai.kit-tag-clickable:hover{background:var(--general-utilities-AI-dark);border-color:var(--general-utilities-AI-dark)}._kit-tag_htdt9_1:not(.kit-tag-disabled).kit-tag-ai.kit-tag-clickable:active{background:var(--general-utilities-AI-deepDark);border-color:var(--general-utilities-AI-deepDark)}._kit-tag_htdt9_1:not(.kit-tag-disabled).kit-tag-ai .ant-tag-close-icon{color:var(--general-utilities-text-light)}._kit-tag_htdt9_1:not(.kit-tag-disabled).kit-tag-ai-secondary{background:var(--general-utilities-AI-light);border-color:var(--general-utilities-AI-medium)}._kit-tag_htdt9_1:not(.kit-tag-disabled).kit-tag-ai-secondary.kit-tag-clickable:hover{border-color:var(--general-utilities-AI-default)}._kit-tag_htdt9_1:not(.kit-tag-disabled).kit-tag-ai-secondary.kit-tag-clickable:active{border-color:var(--general-utilities-AI-deepDark)}._kit-tag_htdt9_1:not(.kit-tag-disabled) .ant-tag-close-icon{color:var(--components-Tag-colors-default-typography-default,var(--general-utilities-text-primary))}._kit-tag_htdt9_1 .ant-tag-close-icon{margin-left:calc(var(--general-spacing-xxs) * 1px);padding:calc(var(--general-spacing-none) * 1px) calc(var(--general-spacing-xxs) * 1px);align-self:center}._kit-tag_htdt9_1.kit-tag-default-close-icon .ant-tag-close-icon{width:6px;height:6px;margin-left:calc(var(--general-spacing-xs) * 1px);padding-inline:0;line-height:0;display:flex;position:relative}._kit-tag_htdt9_1.kit-tag-default-close-icon .ant-tag-close-icon>span{display:flex}._kit-tag_htdt9_1.kit-tag-default-close-icon .ant-tag-close-icon:after{content:"";position:absolute;inset:-7px -5px}._kit-tag_htdt9_1.kit-tag-default-close-icon .ant-tag-close-icon .kit-tag-close-glyph{--fa-width:6px;z-index:1;width:6px;height:6px;position:relative}._kit-tag_htdt9_1.kit-tag-default-close-icon.kit-tag-small .ant-tag-close-icon{margin-left:calc(var(--general-spacing-xxs) * 1px)}._kit-tag_htdt9_1 .kit-tag-content:focus-visible{outline:none}._kit-tag_htdt9_1 .kit-tag-content{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}._kit-tag_htdt9_1>div{height:calc(var(--kit-tag-medium-height) * 1px);padding-left:calc(var(--general-spacing-none) * 1px);width:max-content}._kit-tag_htdt9_1>div .card-avatar{padding-bottom:1px}._kit-tag_htdt9_1>div .card-avatar .ant-avatar{width:20px;height:20px}._kit-tag-group_htdt9_196,._kit-tag-group-measure_htdt9_197{gap:calc(var(--general-spacing-xs) * 1px);flex-wrap:nowrap;display:flex}._kit-tag-group_htdt9_196 ._kit-tag_htdt9_1 .kit-tag-content,._kit-tag-group-measure_htdt9_197 ._kit-tag_htdt9_1 .kit-tag-content{flex:initial;overflow:initial;text-overflow:initial}._kit-tag-group-item_htdt9_209{display:flex}._kit-tag-group_htdt9_196{margin:0;padding:3px;list-style:none;position:relative;overflow:hidden}._kit-tag-group_htdt9_196.kit-tag-group-multi-row{flex-wrap:wrap}._kit-tag-group-modal-list_htdt9_224{gap:calc(var(--general-spacing-xs) * 1px);flex-wrap:wrap;margin:0;padding:0;list-style:none;display:flex}._kit-tag-group-measure_htdt9_197{width:max-content;position:absolute;top:12000px;left:0}._kit-tag-group-container_htdt9_240{flex:auto;min-width:0;position:relative;overflow:hidden}._kit-tag-group-tooltip-overlay_htdt9_247{max-width:320px;color:var(--general-utilities-text-light);white-space:normal;overflow-wrap:anywhere}._kit-tag-group-tooltip-overlay_htdt9_247 *{color:var(--general-utilities-text-light)!important}._kit-tag-group-tooltip-overlay_htdt9_247 [class*=kit-breadcrumb-path][class][class]{white-space:pre-wrap;display:inline;overflow:visible}
|
|
1
|
+
._kit-tag_mppkn_1{--kit-tag-medium-height:24;--kit-tag-border-total-width:2;--kit-tag-small-height:16;padding:calc(var(--general-spacing-none) * 1px) calc(var(--general-spacing-xs) * 1px);height:calc(var(--kit-tag-medium-height) * 1px);border-radius:calc(var(--general-border-radius-xxl) * 1px);color:var(--components-Tag-colors-default-typography-default,var(--general-utilities-text-primary));align-items:center;display:flex}._kit-tag_mppkn_1,._kit-tag_mppkn_1 a,._kit-tag_mppkn_1 *{font-size:calc(var(--components-Tag-typography-fontSize,var(--general-typography-fontSize7)) * 1px);font-family:var(--components-Tag-typography-fontFamily,var(--general-typography-fontFamily));font-weight:var(--components-Tag-typography-fontWeight,var(--general-typography-regularFontWeight));line-height:var(--general-typography-lineHeight7,1.2);box-sizing:border-box}._kit-tag_mppkn_1:focus-visible{outline:solid 3px var(--general-utilities-focus);border-color:#0000!important}._kit-tag_mppkn_1:has(>.kit-tag-content:focus-visible){outline:solid 3px var(--general-utilities-focus);border-color:#0000!important}._kit-tag_mppkn_1.kit-tag-disabled{background:var(--general-utilities-neutral-light);border-color:var(--general-utilities-border);cursor:not-allowed}._kit-tag_mppkn_1.kit-tag-disabled,._kit-tag_mppkn_1.kit-tag-disabled *{color:var(--components-Tag-colors-default-typography-disabled,var(--general-utilities-text-disabled))}._kit-tag_mppkn_1.kit-tag-disabled .ant-tag-close-icon{color:var(--general-utilities-text-disabled);cursor:not-allowed}._kit-tag_mppkn_1.kit-tag-small{height:calc(var(--kit-tag-small-height) * 1px);padding:calc(var(--general-spacing-none) * 1px) 6px}._kit-tag_mppkn_1.kit-tag-small>.ant-tag-close-icon{margin-left:2px;padding-inline:2px}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-clickable{cursor:pointer}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-primary{background:var(--general-utilities-main-default);border-color:var(--general-utilities-main-default)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-primary,._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-primary *{color:var(--general-utilities-text-light)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-primary.kit-tag-clickable:hover{background:var(--general-utilities-main-dark);border-color:var(--general-utilities-main-dark)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-primary.kit-tag-clickable:active{background:var(--general-utilities-main-deepDark);border-color:var(--general-utilities-main-deepDark)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-primary .ant-tag-close-icon{color:var(--general-utilities-text-light)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-secondary{background:var(--general-utilities-main-light);border-color:var(--general-utilities-main-medium)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-secondary.kit-tag-clickable:hover{border-color:var(--general-utilities-main-default)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-secondary.kit-tag-clickable:active{border-color:var(--general-utilities-main-dark)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-neutral{background:var(--general-utilities-neutral-light);border-color:var(--general-utilities-neutral-medium)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-neutral.kit-tag-clickable:hover{border-color:var(--general-utilities-neutral-dark)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-neutral.kit-tag-clickable:active{border-color:var(--general-utilities-neutral-deepDark)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-error{background:var(--general-utilities-error-light);border-color:var(--general-utilities-error-medium)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-error.kit-tag-clickable:hover{border-color:var(--general-utilities-error-default)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-error.kit-tag-clickable:active{border-color:var(--general-utilities-error-dark)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-success{background:var(--general-utilities-success-light);border-color:var(--general-utilities-success-medium)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-success.kit-tag-clickable:hover{border-color:var(--general-utilities-success-default)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-success.kit-tag-clickable:active{border-color:var(--general-utilities-success-dark)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-warning{background:var(--general-utilities-warning-light);border-color:var(--general-utilities-warning-medium)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-warning.kit-tag-clickable:hover{border-color:var(--general-utilities-warning-default)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-warning.kit-tag-clickable:active{border-color:var(--general-utilities-warning-dark)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-error-primary{background:var(--general-utilities-error-default);border-color:var(--general-utilities-error-default)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-error-primary,._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-error-primary *,._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-error-primary .ant-tag-close-icon{color:var(--general-utilities-text-light)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-error-primary.kit-tag-clickable:hover{background:var(--general-utilities-error-dark);border-color:var(--general-utilities-error-dark)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-error-primary.kit-tag-clickable:active{background:var(--general-utilities-error-deepDark);border-color:var(--general-utilities-error-deepDark)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-success-primary.kit-tag-clickable:is(:hover,:active),._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-success-primary.kit-tag-clickable:is(:hover,:active) *,._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-success-primary.kit-tag-clickable:is(:hover,:active) .ant-tag-close-icon,._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-warning-primary.kit-tag-clickable:is(:hover,:active),._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-warning-primary.kit-tag-clickable:is(:hover,:active) *,._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-warning-primary.kit-tag-clickable:is(:hover,:active) .ant-tag-close-icon{color:var(--general-utilities-text-light)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-success-primary{background:var(--general-utilities-success-default);border-color:var(--general-utilities-success-default)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-success-primary.kit-tag-clickable:hover{background:var(--general-utilities-success-dark);border-color:var(--general-utilities-success-dark)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-success-primary.kit-tag-clickable:active{background:var(--general-utilities-success-deepDark);border-color:var(--general-utilities-success-deepDark)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-warning-primary{background:var(--general-utilities-warning-default);border-color:var(--general-utilities-warning-default)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-warning-primary.kit-tag-clickable:hover{background:var(--general-utilities-warning-dark);border-color:var(--general-utilities-warning-dark)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-warning-primary.kit-tag-clickable:active{background:var(--general-utilities-warning-deepDark);border-color:var(--general-utilities-warning-deepDark)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-ai{background:var(--general-utilities-AI-default);border-color:var(--general-utilities-AI-default)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-ai,._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-ai *{color:var(--general-utilities-text-light)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-ai.kit-tag-clickable:hover{background:var(--general-utilities-AI-dark);border-color:var(--general-utilities-AI-dark)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-ai.kit-tag-clickable:active{background:var(--general-utilities-AI-deepDark);border-color:var(--general-utilities-AI-deepDark)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-ai .ant-tag-close-icon{color:var(--general-utilities-text-light)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-ai-secondary{background:var(--general-utilities-AI-light);border-color:var(--general-utilities-AI-medium)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-ai-secondary.kit-tag-clickable:hover{border-color:var(--general-utilities-AI-default)}._kit-tag_mppkn_1:not(.kit-tag-disabled).kit-tag-ai-secondary.kit-tag-clickable:active{border-color:var(--general-utilities-AI-deepDark)}._kit-tag_mppkn_1:not(.kit-tag-disabled) .ant-tag-close-icon{color:var(--components-Tag-colors-default-typography-default,var(--general-utilities-text-primary))}._kit-tag_mppkn_1 .ant-tag-close-icon{margin-left:calc(var(--general-spacing-xxs) * 1px);padding:calc(var(--general-spacing-none) * 1px) calc(var(--general-spacing-xxs) * 1px);align-self:center}._kit-tag_mppkn_1 .ant-tag-close-icon:focus-visible{outline:var(--general-utilities-focus) solid 3px;border-radius:50%;outline-offset:2px!important}._kit-tag_mppkn_1.kit-tag-default-close-icon .ant-tag-close-icon{width:6px;height:6px;margin-left:calc(var(--general-spacing-xs) * 1px);padding-inline:0;line-height:0;display:flex;position:relative}._kit-tag_mppkn_1.kit-tag-default-close-icon .ant-tag-close-icon>span{display:flex}._kit-tag_mppkn_1.kit-tag-default-close-icon .ant-tag-close-icon:after{content:"";position:absolute;inset:-7px -5px}._kit-tag_mppkn_1.kit-tag-default-close-icon .ant-tag-close-icon .kit-tag-close-glyph{--fa-width:6px;z-index:1;width:6px;height:6px;position:relative}._kit-tag_mppkn_1.kit-tag-default-close-icon.kit-tag-small .ant-tag-close-icon{margin-left:calc(var(--general-spacing-xxs) * 1px)}._kit-tag_mppkn_1.kit-tag-default-close-icon.kit-tag-small .ant-tag-close-icon:focus-visible{outline:var(--general-utilities-focus) solid 2px;border-radius:50%;outline-offset:1px!important}._kit-tag_mppkn_1 .kit-tag-content:focus-visible{outline:none}._kit-tag_mppkn_1 .kit-tag-content{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}._kit-tag_mppkn_1>div{height:calc(var(--kit-tag-medium-height) * 1px);padding-left:calc(var(--general-spacing-none) * 1px);width:max-content}._kit-tag_mppkn_1>div .card-avatar{padding-bottom:1px}._kit-tag_mppkn_1>div .card-avatar .ant-avatar{width:20px;height:20px}._kit-tag-group_mppkn_255,._kit-tag-group-measure_mppkn_256{gap:calc(var(--general-spacing-xs) * 1px);flex-wrap:nowrap;display:flex}._kit-tag-group_mppkn_255 ._kit-tag_mppkn_1 .kit-tag-content,._kit-tag-group-measure_mppkn_256 ._kit-tag_mppkn_1 .kit-tag-content{flex:initial;overflow:initial;text-overflow:initial}._kit-tag-group-item_mppkn_268{display:flex}._kit-tag-group_mppkn_255{margin:0;padding:3px;list-style:none;position:relative;overflow:hidden}._kit-tag-group_mppkn_255.kit-tag-group-multi-row{flex-wrap:wrap}._kit-tag-group-modal-list_mppkn_283{gap:calc(var(--general-spacing-xs) * 1px);flex-wrap:wrap;margin:0;padding:0;list-style:none;display:flex}._kit-tag-group-measure_mppkn_256{width:max-content;position:absolute;top:12000px;left:0}._kit-tag-group-container_mppkn_299{flex:auto;min-width:0;position:relative;overflow:hidden}._kit-tag-group-tooltip-overlay_mppkn_306{max-width:320px;color:var(--general-utilities-text-light);white-space:normal;overflow-wrap:anywhere}._kit-tag-group-tooltip-overlay_mppkn_306 *{color:var(--general-utilities-text-light)!important}._kit-tag-group-tooltip-overlay_mppkn_306 [class*=kit-breadcrumb-path][class][class]{white-space:pre-wrap;display:inline;overflow:visible}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._kit-toolbar_1m8f5_1{--kit-toolbar-gap:calc(var(--general-spacing-xs) * 1px);align-items:flex-start;gap:var(--kit-toolbar-gap);box-sizing:border-box;min-height:calc(calc(var(--general-height-m) * 1px) + 2 * calc(var(--general-spacing-xxs) * 1px));padding:calc(var(--general-spacing-xxs) * 1px) calc(var(--general-spacing-xs) * 1px);border-radius:calc(var(--general-border-radius-s) * 1px);background:var(--general-utilities-neutral-light);display:flex}._kit-toolbar_1m8f5_1.kit-toolbar-gap-xxs{--kit-toolbar-gap:calc(var(--general-spacing-xxs) * 1px)}._kit-toolbar_1m8f5_1 .kit-toolbar-content,._kit-toolbar_1m8f5_1 .kit-toolbar-actions{align-items:center;gap:var(--kit-toolbar-gap);min-height:calc(var(--general-height-m) * 1px);display:flex}._kit-toolbar_1m8f5_1 .kit-toolbar-content{flex-wrap:wrap;flex:1 1 0;min-width:0}._kit-toolbar_1m8f5_1 .kit-toolbar-actions{flex-wrap:nowrap;flex:none}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as e } from "./functions.
|
|
1
|
+
import { f as e } from "./functions.m4ADIGGk.js";
|
|
2
2
|
import { KitTooltip as t } from "../Kit/DataDisplay/Tooltip/index.js";
|
|
3
|
-
import { t as n } from "./Typography.
|
|
3
|
+
import { t as n } from "./Typography.dSdY4EZz.js";
|
|
4
4
|
import { n as r } from "./useKitTheme.P5Q2DIyI.js";
|
|
5
5
|
import { n as i } from "./useKitLocale.Y5XHnnYS.js";
|
|
6
6
|
import { t as a } from "./constants.BKxDbQ7D.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { t as e } from "./Empty.
|
|
2
|
-
import { t } from "./Badge.
|
|
3
|
-
import { t as n } from "./Button.
|
|
1
|
+
import { t as e } from "./Empty.C_H88Lwp.js";
|
|
2
|
+
import { t } from "./Badge.tu17MdMt.js";
|
|
3
|
+
import { t as n } from "./Button.Cf2t8x-g.js";
|
|
4
4
|
import { n as r, t as i } from "./useKitTheme.P5Q2DIyI.js";
|
|
5
5
|
import { n as a, t as o } from "./useKitLocale.Y5XHnnYS.js";
|
|
6
6
|
import { t as s } from "./constants.BKxDbQ7D.js";
|
|
7
7
|
import { t as c } from "./SnackBarProvider.3v41l7_l.js";
|
|
8
8
|
import { t as l } from "./useKitSpellCheckConfig.C4Kv50zT.js";
|
|
9
9
|
import { KitAristidThemeGeneral as u } from "../theme/aristid/general/index.js";
|
|
10
|
-
import { d, f } from "./functions.
|
|
10
|
+
import { d, f } from "./functions.m4ADIGGk.js";
|
|
11
11
|
import { antdThemeConfig as p } from "../theme/utils/tokens-mapper/index.js";
|
|
12
12
|
import { n as m, r as h, t as g } from "./utils.B7ekA9dF.js";
|
|
13
13
|
import { ConfigProvider as _ } from "antd";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { kitAvatarCssTokens as e } from "../theme/aristid/components/DataDisplay/Avatar/index.js";
|
|
2
2
|
import { n as t } from "./useKitTheme.P5Q2DIyI.js";
|
|
3
|
-
import { a as n, c as r, i, l as a, n as o, r as s, s as c, u as l } from "./functions.
|
|
3
|
+
import { a as n, c as r, i, l as a, n as o, r as s, s as c, u as l } from "./functions.m4ADIGGk.js";
|
|
4
4
|
import { Avatar as u } from "antd";
|
|
5
5
|
import { jsx as d } from "react/jsx-runtime";
|
|
6
6
|
import { useMemo as f } from "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { kitBadgeCssTokens as e } from "../theme/aristid/components/DataDisplay/Badge/index.js";
|
|
2
2
|
import { border as t } from "../theme/aristid/general/border/index.js";
|
|
3
3
|
import { n } from "./useKitTheme.P5Q2DIyI.js";
|
|
4
|
-
import { a as r, n as i, u as a } from "./functions.
|
|
4
|
+
import { a as r, n as i, u as a } from "./functions.m4ADIGGk.js";
|
|
5
5
|
import { Badge as o } from "antd";
|
|
6
6
|
import { jsx as s } from "react/jsx-runtime";
|
|
7
7
|
import { forwardRef as c, useMemo as l } from "react";
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import { KitTooltip as e } from "../Kit/DataDisplay/Tooltip/index.js";
|
|
2
|
+
import t from "../hooks/useSecureClick/index.js";
|
|
3
|
+
import { n } from "./useKitTheme.P5Q2DIyI.js";
|
|
4
|
+
import { t as r } from "./faKitLoader.BJKbv-bm.js";
|
|
5
|
+
import { KitDropDown as i } from "../Kit/Navigation/DropDown/index.js";
|
|
6
|
+
import { n as a } from "./useKitLocale.Y5XHnnYS.js";
|
|
7
|
+
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
8
|
+
import { cloneElement as c, forwardRef as l, useEffect as u, useMemo as d, useState as f } from "react";
|
|
9
|
+
import p from "classnames";
|
|
10
|
+
import { faArrowRight as m, faChevronDown as h, faWandMagicSparkles as g } from "@fortawesome/free-solid-svg-icons";
|
|
11
|
+
import { FontAwesomeIcon as _ } from "@fortawesome/react-fontawesome";
|
|
12
|
+
import '../assets/Button.css';// src/Kit/General/Button/styles.module.scss
|
|
13
|
+
var v = { "kit-btn": "_kit-btn_wf9ju_1" }, y = (e) => {
|
|
14
|
+
if (!e) return null;
|
|
15
|
+
let t = e;
|
|
16
|
+
return c(t, { className: `${t.props?.className ?? ""} kit-btn-icon` });
|
|
17
|
+
}, b = (e) => {
|
|
18
|
+
if (typeof e == "object" && e) {
|
|
19
|
+
let t = e?.delay;
|
|
20
|
+
return t = !Number.isNaN(t) && typeof t == "number" ? t : 0, {
|
|
21
|
+
loading: t <= 0,
|
|
22
|
+
delay: t
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
loading: !!e,
|
|
27
|
+
delay: 0
|
|
28
|
+
};
|
|
29
|
+
}, x = [
|
|
30
|
+
"primary",
|
|
31
|
+
"secondary",
|
|
32
|
+
"tertiary",
|
|
33
|
+
"segmented"
|
|
34
|
+
], S = x, C = x, w = l(({ iconSize: e, dangerModal: i, active: a, href: c, target: l, icon: h, danger: x, color: w, block: T, className: E, onClick: D, disableSecureClick: O, children: k, disabled: A, AI: j = !1, size: M = "l", type: N = "secondary", htmlType: P = "button", loading: F = !1, ...I }, L) => {
|
|
35
|
+
let { appId: R } = n(), [z, B] = f(!1), V = d(() => b(F), [F]), H = j && [
|
|
36
|
+
"primary",
|
|
37
|
+
"secondary",
|
|
38
|
+
"tertiary"
|
|
39
|
+
].includes(N), U = t(D), W = H && !h ? o(_, { icon: g }) : h, G = !k && W, K = p(R, v["kit-btn"], E, {
|
|
40
|
+
[`kit-btn-${N}`]: !i && N,
|
|
41
|
+
"kit-btn-ai": H,
|
|
42
|
+
"kit-btn-secondary": i || N === "secondary",
|
|
43
|
+
"kit-btn-disabled": A,
|
|
44
|
+
"kit-btn-danger-modal": i,
|
|
45
|
+
"kit-btn-danger": x,
|
|
46
|
+
"kit-btn-block": T,
|
|
47
|
+
"kit-btn-active": a && C.includes(N),
|
|
48
|
+
[`icon-${e ?? "m"}`]: e,
|
|
49
|
+
"kit-btn-icon-only": G,
|
|
50
|
+
[`kit-btn-color-${w}`]: w,
|
|
51
|
+
[`kit-btn-size-${M}`]: !!M && (!N || S.includes(N))
|
|
52
|
+
}), q = y(W);
|
|
53
|
+
u(() => {
|
|
54
|
+
let e = null;
|
|
55
|
+
V.delay > 0 ? e = setTimeout(() => {
|
|
56
|
+
e = null, B(!0);
|
|
57
|
+
}, V.delay) : B(V.loading);
|
|
58
|
+
function t() {
|
|
59
|
+
e &&= (clearTimeout(e), null);
|
|
60
|
+
}
|
|
61
|
+
return t;
|
|
62
|
+
}, [F, V]);
|
|
63
|
+
let J = (e) => {
|
|
64
|
+
e.preventDefault(), e.stopPropagation();
|
|
65
|
+
};
|
|
66
|
+
return s(N === "link" || N === "redirect" ? "a" : "button", {
|
|
67
|
+
onClick: A ? J : O ? D : U,
|
|
68
|
+
href: N === "link" || N === "redirect" ? c : void 0,
|
|
69
|
+
target: N === "link" || N === "redirect" ? l : void 0,
|
|
70
|
+
tabIndex: 0,
|
|
71
|
+
ref: L,
|
|
72
|
+
type: P,
|
|
73
|
+
role: N === "link" || N === "redirect" ? "link" : "button",
|
|
74
|
+
...I,
|
|
75
|
+
...A && { onAuxClick: J },
|
|
76
|
+
"aria-disabled": A || void 0,
|
|
77
|
+
"aria-busy": z || void 0,
|
|
78
|
+
className: K,
|
|
79
|
+
children: [
|
|
80
|
+
z ? o(_, {
|
|
81
|
+
icon: r,
|
|
82
|
+
spin: !0,
|
|
83
|
+
className: "kit-btn-icon kit-btn-loader"
|
|
84
|
+
}) : q,
|
|
85
|
+
k,
|
|
86
|
+
N === "redirect" && o(_, {
|
|
87
|
+
icon: m,
|
|
88
|
+
className: "kit-btn-icon-redirect"
|
|
89
|
+
})
|
|
90
|
+
]
|
|
91
|
+
});
|
|
92
|
+
}), T = { "kit-btn-split": "_kit-btn-split_14lph_1" }, E = l(({ items: e, onClick: t, children: r, icon: c, className: l, id: u, style: d, open: m, block: g, splitClassName: v, getPopupContainer: y, ...b }, x) => {
|
|
93
|
+
let { appId: S } = n(), { locale: C } = a(), [E, D] = f(m), O = p(S, T["kit-btn-split"], { "kit-btn-block": g }, l), k = p("kit-btn-split-main", v?.main), A = p("kit-btn-split-split", { "kit-btn-split-open": E }, v?.split), j = (e) => {
|
|
94
|
+
m || D(e);
|
|
95
|
+
};
|
|
96
|
+
return s("div", {
|
|
97
|
+
className: O,
|
|
98
|
+
style: d,
|
|
99
|
+
id: u,
|
|
100
|
+
children: [o(w, {
|
|
101
|
+
...b,
|
|
102
|
+
className: k,
|
|
103
|
+
ref: x,
|
|
104
|
+
icon: c,
|
|
105
|
+
onClick: t,
|
|
106
|
+
children: r
|
|
107
|
+
}), o(i, {
|
|
108
|
+
trigger: ["click"],
|
|
109
|
+
menu: { items: e },
|
|
110
|
+
placement: "bottomRight",
|
|
111
|
+
open: E,
|
|
112
|
+
getPopupContainer: y,
|
|
113
|
+
onOpenChange: j,
|
|
114
|
+
children: o(w, {
|
|
115
|
+
...b,
|
|
116
|
+
className: A,
|
|
117
|
+
loading: !1,
|
|
118
|
+
"aria-label": C.Button?.more,
|
|
119
|
+
icon: o(_, { icon: h })
|
|
120
|
+
})
|
|
121
|
+
})]
|
|
122
|
+
});
|
|
123
|
+
});
|
|
124
|
+
E.displayName = "SplitButton";
|
|
125
|
+
// src/Kit/General/Button/index.tsx
|
|
126
|
+
var D = [
|
|
127
|
+
"primary",
|
|
128
|
+
"secondary",
|
|
129
|
+
"tertiary"
|
|
130
|
+
], O = l(({ items: e = [], type: t = "secondary", tooltipText: n, ...r }, i) => {
|
|
131
|
+
if (e?.length > 0) {
|
|
132
|
+
let a = D.includes(t) ? t : "secondary";
|
|
133
|
+
return k(n, o(E, {
|
|
134
|
+
...r,
|
|
135
|
+
type: a,
|
|
136
|
+
items: e,
|
|
137
|
+
ref: i
|
|
138
|
+
}));
|
|
139
|
+
}
|
|
140
|
+
return k(n, o(w, {
|
|
141
|
+
...r,
|
|
142
|
+
type: t,
|
|
143
|
+
ref: i
|
|
144
|
+
}));
|
|
145
|
+
});
|
|
146
|
+
O.displayName = "KitButton";
|
|
147
|
+
var k = (t, n) => n.props.children || !t ? n : o(e, {
|
|
148
|
+
title: t,
|
|
149
|
+
placement: "bottom",
|
|
150
|
+
children: n
|
|
151
|
+
});
|
|
152
|
+
export { O as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e } from "./useKitTheme.P5Q2DIyI.js";
|
|
2
2
|
import { t } from "./useWindowSize.DYK_ESLw.js";
|
|
3
|
-
import { t as n } from "./Button.
|
|
3
|
+
import { t as n } from "./Button.Cf2t8x-g.js";
|
|
4
4
|
import { KitDropDown as r } from "../Kit/Navigation/DropDown/index.js";
|
|
5
5
|
import { n as i } from "./useKitLocale.Y5XHnnYS.js";
|
|
6
6
|
import { KitTooltip as a } from "../Kit/DataDisplay/Tooltip/index.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e } from "./useKitTheme.P5Q2DIyI.js";
|
|
2
2
|
import { n as t } from "./useKitLocale.Y5XHnnYS.js";
|
|
3
|
-
import { t as n } from "./Button.
|
|
3
|
+
import { t as n } from "./Button.Cf2t8x-g.js";
|
|
4
4
|
import { Carousel as r } from "antd";
|
|
5
5
|
import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
6
6
|
import { Children as s, forwardRef as c, isValidElement as l, useEffect as u, useImperativeHandle as d, useMemo as f, useRef as p, useState as m } from "react";
|
|
@@ -83,6 +83,7 @@ var x = { "kit-carousel": "_kit-carousel_175y3_1" }, S = 3, C = "0px", w = (e, t
|
|
|
83
83
|
slidesToShow: U,
|
|
84
84
|
centerMode: W,
|
|
85
85
|
centerPadding: C,
|
|
86
|
+
vertical: !1,
|
|
86
87
|
dots: !1,
|
|
87
88
|
arrows: !1,
|
|
88
89
|
beforeChange: X,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./CheckableTile.B_BbiYRf.js";
|
|
2
2
|
import { n as t } from "./useKitTheme.P5Q2DIyI.js";
|
|
3
|
-
import { t as n } from "./InputWrapper.
|
|
3
|
+
import { t as n } from "./InputWrapper.UG5UbUiq.js";
|
|
4
4
|
import { t as r } from "./useDeprecatedInputWrapper.CZ2-c80o.js";
|
|
5
5
|
import { Checkbox as i } from "antd";
|
|
6
6
|
import { jsx as a } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./InputWrapper.
|
|
1
|
+
import { t as e } from "./InputWrapper.UG5UbUiq.js";
|
|
2
2
|
import { n as t } from "./useKitTheme.P5Q2DIyI.js";
|
|
3
3
|
import { t as n } from "./useDeprecatedInputWrapper.CZ2-c80o.js";
|
|
4
4
|
import { t as r } from "./useGetPopupContainer.Bcn4zw7O.js";
|
|
@@ -11,10 +11,10 @@ import { faCircleXmark as h } from "@fortawesome/free-solid-svg-icons";
|
|
|
11
11
|
import { FontAwesomeIcon as g } from "@fortawesome/react-fontawesome";
|
|
12
12
|
import '../assets/ColorPicker.css';// src/Kit/DataEntry/ColorPicker/styles.module.scss
|
|
13
13
|
var _ = {
|
|
14
|
-
"kit-colorpicker": "_kit-
|
|
15
|
-
"kit-color-picker-clear": "_kit-color-picker-
|
|
16
|
-
"kit-color-picker-placeholder": "_kit-color-picker-
|
|
17
|
-
"kit-color-picker-text": "_kit-color-picker-
|
|
14
|
+
"kit-colorpicker": "_kit-colorpicker_uliy7_1",
|
|
15
|
+
"kit-color-picker-clear": "_kit-color-picker-clear_uliy7_45",
|
|
16
|
+
"kit-color-picker-placeholder": "_kit-color-picker-placeholder_uliy7_65",
|
|
17
|
+
"kit-color-picker-text": "_kit-color-picker-text_uliy7_70"
|
|
18
18
|
}, v = 9, y = 16, b = 255, x = (e) => {
|
|
19
19
|
if (e.length === v) {
|
|
20
20
|
let t = e.slice(-2), n = Math.round(parseInt(t, y) / b * 100);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as e } from "./useKitTheme.P5Q2DIyI.js";
|
|
2
2
|
import { n as t } from "./useKitLocale.Y5XHnnYS.js";
|
|
3
3
|
import { t as n } from "./utils.B7ekA9dF.js";
|
|
4
|
-
import { t as r } from "./IdCard.
|
|
4
|
+
import { t as r } from "./IdCard.DcdzxJ6s.js";
|
|
5
5
|
import { Card as i } from "antd";
|
|
6
6
|
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
7
7
|
import { Children as s, cloneElement as c, isValidElement as l, useMemo as u } from "react";
|
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
import { t as e } from "./InputWrapper.UG5UbUiq.js";
|
|
2
|
+
import { n as t } from "./useKitTheme.P5Q2DIyI.js";
|
|
3
|
+
import { n } from "./useKitLocale.Y5XHnnYS.js";
|
|
4
|
+
import { t as r } from "./useDeprecatedInputWrapper.CZ2-c80o.js";
|
|
5
|
+
import { t as i } from "./useGetPopupContainer.Bcn4zw7O.js";
|
|
6
|
+
import { t as a } from "./faKitLoader.BJKbv-bm.js";
|
|
7
|
+
import { t as o } from "./Typography.dSdY4EZz.js";
|
|
8
|
+
import { DatePicker as s } from "antd";
|
|
9
|
+
import { Fragment as c, jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
10
|
+
import { forwardRef as d, useCallback as f, useEffect as p, useMemo as m, useRef as h, useState as g } from "react";
|
|
11
|
+
import _ from "classnames";
|
|
12
|
+
import { faArrowRight as v, faCalendar as y, faCheck as b, faChevronLeft as x, faChevronRight as S, faCircleXmark as ee, faClock as C } from "@fortawesome/free-solid-svg-icons";
|
|
13
|
+
import { FontAwesomeIcon as w } from "@fortawesome/react-fontawesome";
|
|
14
|
+
import '../assets/DatePicker.css';// src/assets/icons/chevrons/LeftChevrons.tsx
|
|
15
|
+
var T = () => u("div", {
|
|
16
|
+
className: "double-chevron",
|
|
17
|
+
children: [l(w, {
|
|
18
|
+
className: "chevron-icon",
|
|
19
|
+
icon: x
|
|
20
|
+
}), l(w, {
|
|
21
|
+
className: "chevron-icon double-chevron-left-icon",
|
|
22
|
+
icon: x
|
|
23
|
+
})]
|
|
24
|
+
}), E = () => u("div", {
|
|
25
|
+
className: "double-chevron",
|
|
26
|
+
children: [l(w, {
|
|
27
|
+
className: "chevron-icon double-chevron-right-icon",
|
|
28
|
+
icon: S
|
|
29
|
+
}), l(w, {
|
|
30
|
+
className: "chevron-icon",
|
|
31
|
+
icon: S
|
|
32
|
+
})]
|
|
33
|
+
}), D = { "kit-preset-label": "_kit-preset-label_g6thk_1" }, O = ({ label: e, active: t }) => {
|
|
34
|
+
let n = _(D["kit-preset-label"], { "kit-preset-active": t });
|
|
35
|
+
return u("span", {
|
|
36
|
+
className: n,
|
|
37
|
+
children: [l(o.Text, {
|
|
38
|
+
size: "fontSize7",
|
|
39
|
+
children: e
|
|
40
|
+
}), t && l(w, {
|
|
41
|
+
icon: b,
|
|
42
|
+
color: "var(--general-utilities-main-default)"
|
|
43
|
+
})]
|
|
44
|
+
});
|
|
45
|
+
}, k = (e = "date", t) => (e === "date" || e === "week") && t ? "minute" : {
|
|
46
|
+
time: "minute",
|
|
47
|
+
date: "day",
|
|
48
|
+
week: "week",
|
|
49
|
+
month: "month",
|
|
50
|
+
quarter: "month",
|
|
51
|
+
year: "year"
|
|
52
|
+
}[e], A = (e, t, n) => !e || !t ? -1 : e.findIndex((e) => {
|
|
53
|
+
let r = typeof e.value == "function" ? e.value() : e.value;
|
|
54
|
+
return Array.isArray(t) || Array.isArray(r) ? !1 : t.isSame(r, n);
|
|
55
|
+
}), j = (e, t, n) => {
|
|
56
|
+
let r = t?.[0], i = t?.[1];
|
|
57
|
+
return !e || !r || !i ? -1 : e.findIndex((e) => {
|
|
58
|
+
let [t, a] = typeof e.value == "function" ? e.value() : e.value;
|
|
59
|
+
return !t || !a ? !1 : r.isSame(t, n) && i.isSame(a, n);
|
|
60
|
+
});
|
|
61
|
+
}, M = ({ presets: e, picker: t, showTime: n, onChange: r, onCalendarChange: i }) => {
|
|
62
|
+
let [a, o] = g(-1), s = k(t, n), c = f((t, n) => {
|
|
63
|
+
o(A(e, t, s)), r?.(t, n);
|
|
64
|
+
}, [
|
|
65
|
+
e,
|
|
66
|
+
s,
|
|
67
|
+
r
|
|
68
|
+
]), u = f((e, t, n) => {
|
|
69
|
+
o(-1), i?.(e, t, n);
|
|
70
|
+
}, [i]);
|
|
71
|
+
return {
|
|
72
|
+
enrichedPresets: m(() => e && e.map((e, t) => ({
|
|
73
|
+
...e,
|
|
74
|
+
label: l(O, {
|
|
75
|
+
label: e.label,
|
|
76
|
+
active: t === a
|
|
77
|
+
})
|
|
78
|
+
})), [e, a]),
|
|
79
|
+
onChange: c,
|
|
80
|
+
onCalendarChange: u
|
|
81
|
+
};
|
|
82
|
+
}, N = {
|
|
83
|
+
"kit-datepicker": "_kit-datepicker_2soyx_1",
|
|
84
|
+
"kit-rangepicker": "_kit-rangepicker_2soyx_237"
|
|
85
|
+
}, P = d(({ label: o, helper: c, htmlFor: u, suffixIcon: d, suffix: f, className: p, wrapperClassName: m, prefix: g, required: v, actions: b, extra: D, disabled: O, loading: k = !1, placeholder: A, getPopupContainer: j, picker: P = "date", size: F = "large", allowClear: I = !0, readonlyLight: L = !1, readonly: R = !1, presets: z, onChange: B, onCalendarChange: V, ...H }, U) => {
|
|
86
|
+
let { appId: W } = t(), { locale: G } = n(), K = h(null), q = i(U ?? K, j);
|
|
87
|
+
r("DatePicker", {
|
|
88
|
+
label: o,
|
|
89
|
+
helper: c,
|
|
90
|
+
htmlFor: u,
|
|
91
|
+
className: m,
|
|
92
|
+
actions: b,
|
|
93
|
+
extra: D,
|
|
94
|
+
...H
|
|
95
|
+
});
|
|
96
|
+
let { enrichedPresets: J, onChange: Y, onCalendarChange: X } = M({
|
|
97
|
+
presets: z,
|
|
98
|
+
picker: P,
|
|
99
|
+
showTime: H.showTime,
|
|
100
|
+
onChange: B,
|
|
101
|
+
onCalendarChange: V
|
|
102
|
+
}), Z = _(W, N["kit-datepicker"], p, {
|
|
103
|
+
"kit-picker-readonly-light": L,
|
|
104
|
+
"kit-picker-readonly": R
|
|
105
|
+
}), Q = g ?? (P === "time" ? l(w, { icon: C }) : l(w, { icon: y }));
|
|
106
|
+
return l(e, {
|
|
107
|
+
label: o,
|
|
108
|
+
helper: c,
|
|
109
|
+
htmlFor: u,
|
|
110
|
+
disabled: O,
|
|
111
|
+
status: H.status,
|
|
112
|
+
className: m,
|
|
113
|
+
required: v,
|
|
114
|
+
extra: D ?? b,
|
|
115
|
+
children: l(s, {
|
|
116
|
+
...H,
|
|
117
|
+
presets: J,
|
|
118
|
+
onChange: Y,
|
|
119
|
+
onCalendarChange: X,
|
|
120
|
+
id: H.id ?? u,
|
|
121
|
+
required: v,
|
|
122
|
+
picker: P,
|
|
123
|
+
disabled: L || R || O,
|
|
124
|
+
variant: L ? "borderless" : void 0,
|
|
125
|
+
ref: U ?? K,
|
|
126
|
+
size: F,
|
|
127
|
+
getPopupContainer: q,
|
|
128
|
+
placeholder: !L && !R ? A : void 0,
|
|
129
|
+
allowClear: !L && !R && !k && I && {
|
|
130
|
+
clearIcon: l(w, {
|
|
131
|
+
"aria-label": G.General?.clear,
|
|
132
|
+
icon: ee
|
|
133
|
+
}),
|
|
134
|
+
label: G.General?.clear
|
|
135
|
+
},
|
|
136
|
+
prefix: Q,
|
|
137
|
+
"aria-busy": k || void 0,
|
|
138
|
+
suffix: k ? l(w, {
|
|
139
|
+
icon: a,
|
|
140
|
+
spin: !0
|
|
141
|
+
}) : f ?? d ?? null,
|
|
142
|
+
className: Z,
|
|
143
|
+
prevIcon: l(w, {
|
|
144
|
+
className: "chevron-icon",
|
|
145
|
+
icon: x
|
|
146
|
+
}),
|
|
147
|
+
nextIcon: l(w, {
|
|
148
|
+
className: "chevron-icon",
|
|
149
|
+
icon: S
|
|
150
|
+
}),
|
|
151
|
+
superPrevIcon: l(T, {}),
|
|
152
|
+
superNextIcon: l(E, {})
|
|
153
|
+
})
|
|
154
|
+
});
|
|
155
|
+
}), F = ({ presets: e, picker: t, showTime: n, onChange: r, onCalendarChange: i }) => {
|
|
156
|
+
let [a, o] = g(-1), s = k(t, n), c = f((t, n) => {
|
|
157
|
+
o(j(e, t, s)), r?.(t, n);
|
|
158
|
+
}, [
|
|
159
|
+
e,
|
|
160
|
+
s,
|
|
161
|
+
r
|
|
162
|
+
]), u = f((e, t, n) => {
|
|
163
|
+
o(-1), i?.(e, t, n);
|
|
164
|
+
}, [i]);
|
|
165
|
+
return {
|
|
166
|
+
enrichedPresets: m(() => e && e.map((e, t) => ({
|
|
167
|
+
...e,
|
|
168
|
+
label: l(O, {
|
|
169
|
+
label: e.label,
|
|
170
|
+
active: t === a
|
|
171
|
+
})
|
|
172
|
+
})), [e, a]),
|
|
173
|
+
onChange: c,
|
|
174
|
+
onCalendarChange: u
|
|
175
|
+
};
|
|
176
|
+
}, I = d(({ label: o, className: d, helper: f, htmlFor: m, suffixIcon: b, suffix: D, picker: O, prefix: k, allowClear: A = !0, required: j, actions: M, extra: P, placeholder: I, readonlyLight: L = !1, readonly: R = !1, loading: z = !1, getPopupContainer: B, size: V = "large", presets: H, onChange: U, onCalendarChange: W, ...G }, K) => {
|
|
177
|
+
let { locale: q } = n(), [J, Y] = g(["", ""]), { appId: X } = t(), Z = h(null), Q = h(null), te = h(null), $ = K ?? Z, ne = i($, B);
|
|
178
|
+
r("RangePicker", {
|
|
179
|
+
label: o,
|
|
180
|
+
helper: f,
|
|
181
|
+
htmlFor: m,
|
|
182
|
+
actions: M,
|
|
183
|
+
extra: P,
|
|
184
|
+
...G
|
|
185
|
+
});
|
|
186
|
+
let { enrichedPresets: re, onChange: ie, onCalendarChange: ae } = F({
|
|
187
|
+
presets: H,
|
|
188
|
+
picker: O,
|
|
189
|
+
showTime: G.showTime,
|
|
190
|
+
onChange: U,
|
|
191
|
+
onCalendarChange: W
|
|
192
|
+
}), oe = () => G.disabled === void 0 ? !1 : typeof G.disabled == "boolean" ? G.disabled : G.disabled[0] && G.disabled[1], se = _(X, N["kit-rangepicker"], d, {
|
|
193
|
+
"kit-picker-readonly-light": L,
|
|
194
|
+
"kit-picker-readonly": R,
|
|
195
|
+
"kit-picker-loading": z
|
|
196
|
+
}), ce = k ?? (O === "time" ? l(w, { icon: C }) : l(w, { icon: y })), le = (e) => {
|
|
197
|
+
Y([e[0].value || e[0].placeholder || "", e[1].value || e[1].placeholder || ""]);
|
|
198
|
+
};
|
|
199
|
+
return p(() => {
|
|
200
|
+
let e = ($?.current)?.nativeElement.querySelectorAll(".ant-picker-input input");
|
|
201
|
+
if (!e || e.length < 2) return;
|
|
202
|
+
let t = [];
|
|
203
|
+
return e.forEach((n) => {
|
|
204
|
+
let r = new MutationObserver(() => le(e));
|
|
205
|
+
r.observe(n, {
|
|
206
|
+
attributes: !0,
|
|
207
|
+
attributeFilter: ["value"]
|
|
208
|
+
}), t.push(r);
|
|
209
|
+
}), le(e), () => {
|
|
210
|
+
t.forEach((e) => {
|
|
211
|
+
e.disconnect();
|
|
212
|
+
});
|
|
213
|
+
};
|
|
214
|
+
}, [$]), p(() => {
|
|
215
|
+
let e = ($?.current)?.nativeElement.querySelectorAll(".ant-picker-input");
|
|
216
|
+
!e || e.length < 2 || (e[0].style.flexBasis = `${Q.current?.offsetWidth}px`, e[1].style.flexBasis = `${te.current?.offsetWidth}px`);
|
|
217
|
+
}, [$, J]), u(c, { children: [u("div", {
|
|
218
|
+
className: _("range-mirror-wrapper", V, { "readonly-light": L }),
|
|
219
|
+
"aria-hidden": "true",
|
|
220
|
+
children: [l("span", {
|
|
221
|
+
className: "range-mirror-input",
|
|
222
|
+
ref: Q,
|
|
223
|
+
children: J[0]
|
|
224
|
+
}), l("span", {
|
|
225
|
+
className: "range-mirror-input",
|
|
226
|
+
ref: te,
|
|
227
|
+
children: J[1]
|
|
228
|
+
})]
|
|
229
|
+
}), l(e, {
|
|
230
|
+
label: o,
|
|
231
|
+
helper: f,
|
|
232
|
+
htmlFor: m,
|
|
233
|
+
disabled: oe(),
|
|
234
|
+
status: G.status,
|
|
235
|
+
required: j,
|
|
236
|
+
extra: P ?? M,
|
|
237
|
+
children: l(s.RangePicker, {
|
|
238
|
+
...G,
|
|
239
|
+
presets: re,
|
|
240
|
+
onChange: ie,
|
|
241
|
+
onCalendarChange: ae,
|
|
242
|
+
id: G.id ?? m,
|
|
243
|
+
picker: O,
|
|
244
|
+
ref: K ?? Z,
|
|
245
|
+
getPopupContainer: ne,
|
|
246
|
+
required: j,
|
|
247
|
+
size: V,
|
|
248
|
+
disabled: L || R || G.disabled,
|
|
249
|
+
variant: L ? "borderless" : void 0,
|
|
250
|
+
placeholder: !L && !R ? I : void 0,
|
|
251
|
+
suffix: z ? l(w, {
|
|
252
|
+
icon: a,
|
|
253
|
+
spin: !0
|
|
254
|
+
}) : D ?? b ?? null,
|
|
255
|
+
allowClear: A && !z && {
|
|
256
|
+
clearIcon: l(w, {
|
|
257
|
+
"aria-label": q.General?.clear,
|
|
258
|
+
icon: ee
|
|
259
|
+
}),
|
|
260
|
+
label: q.General?.clear
|
|
261
|
+
},
|
|
262
|
+
className: se,
|
|
263
|
+
prefix: ce,
|
|
264
|
+
"aria-busy": z || void 0,
|
|
265
|
+
separator: l(w, {
|
|
266
|
+
"aria-label": q.DatePicker?.to,
|
|
267
|
+
icon: v
|
|
268
|
+
}),
|
|
269
|
+
prevIcon: l(w, {
|
|
270
|
+
className: "chevron-icon",
|
|
271
|
+
icon: x
|
|
272
|
+
}),
|
|
273
|
+
nextIcon: l(w, {
|
|
274
|
+
className: "chevron-icon",
|
|
275
|
+
icon: S
|
|
276
|
+
}),
|
|
277
|
+
superPrevIcon: l(T, {}),
|
|
278
|
+
superNextIcon: l(E, {})
|
|
279
|
+
})
|
|
280
|
+
})] });
|
|
281
|
+
}), L = P;
|
|
282
|
+
L.displayName = "KitDatePicker", L.RangePicker = I;
|
|
283
|
+
export { L as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { KitTooltip as e } from "../Kit/DataDisplay/Tooltip/index.js";
|
|
2
|
-
import { t } from "./Button.
|
|
2
|
+
import { t } from "./Button.Cf2t8x-g.js";
|
|
3
3
|
import { KitDropDown as n } from "../Kit/Navigation/DropDown/index.js";
|
|
4
4
|
import { n as r } from "./useKitLocale.Y5XHnnYS.js";
|
|
5
5
|
import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { KitSpace as e } from "../Kit/General/Space/index.js";
|
|
2
|
-
import { t } from "./Typography.
|
|
2
|
+
import { t } from "./Typography.dSdY4EZz.js";
|
|
3
3
|
import { n } from "./useKitTheme.P5Q2DIyI.js";
|
|
4
4
|
import { Empty as r } from "antd";
|
|
5
5
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./Loader.B154m8Uo.js";
|
|
2
2
|
import { KitSpace as t } from "../Kit/General/Space/index.js";
|
|
3
|
-
import { t as n } from "./Typography.
|
|
3
|
+
import { t as n } from "./Typography.dSdY4EZz.js";
|
|
4
4
|
import { n as r } from "./useKitTheme.P5Q2DIyI.js";
|
|
5
5
|
import { n as i } from "./useKitLocale.Y5XHnnYS.js";
|
|
6
6
|
import { Empty as a } from "antd";
|