1mpacto-react-ui 1.0.0 → 2.0.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/assets/_mixins.scss +43 -43
- package/dist/assets/core.css +1 -1
- package/dist/assets/fontfamily.css +1 -1
- package/dist/assets/icons/arrow-narrow-down.svg +3 -3
- package/dist/assets/style.css +1 -1
- package/dist/assets/toast.css +194 -98
- package/dist/index.cjs +154 -145
- package/dist/index.d.ts +2 -1
- package/dist/index.mjs +26996 -26119
- package/dist/package.json.d.ts +132 -131
- package/dist/src/components/Alert/index.d.ts +0 -1
- package/dist/src/components/Badges/Badges.d.ts +0 -1
- package/dist/src/components/Badges/Badges.stories.d.ts +1 -2
- package/dist/src/components/Breadcrumbs/Breadcrumbs.d.ts +0 -1
- package/dist/src/components/Breadcrumbs/Breadcrumbs.stories.d.ts +1 -2
- package/dist/src/components/Button/Button.d.ts +0 -1
- package/dist/src/components/Button/Button.stories.d.ts +1 -2
- package/dist/src/components/ButtonIcon/ButtonIcon.d.ts +0 -1
- package/dist/src/components/ButtonIcon/ButtonIcon.stories.d.ts +1 -2
- package/dist/src/components/ButtonPopover/ButtonPopover.d.ts +0 -1
- package/dist/src/components/ButtonPopover/ButtonPopover.stories.d.ts +1 -2
- package/dist/src/components/Calendar/Calendar.d.ts +0 -1
- package/dist/src/components/Calendar/Calendar.stories.d.ts +1 -2
- package/dist/src/components/Calendar/CalendarButton.d.ts +0 -1
- package/dist/src/components/Calendar/CalendarCell.d.ts +0 -1
- package/dist/src/components/Calendar/CalendarMonth.d.ts +0 -1
- package/dist/src/components/Calendar/CalendarRange.d.ts +0 -1
- package/dist/src/components/Calendar/CalendarYear.d.ts +0 -1
- package/dist/src/components/Chart/DoughnutChart.d.ts +0 -1
- package/dist/src/components/Chart/GradientBarChart.d.ts +0 -1
- package/dist/src/components/Chart/GradientBarChart.stories.d.ts +3 -4
- package/dist/src/components/Chart/GradientLineChart.d.ts +0 -1
- package/dist/src/components/Chart/GradientLineChart.stories.d.ts +3 -4
- package/dist/src/components/Chart/LineChart.d.ts +0 -1
- package/dist/src/components/Chart/LineChart.stories.d.ts +1 -2
- package/dist/src/components/Chips/Chips.d.ts +0 -1
- package/dist/src/components/Chips/Chips.stories.d.ts +1 -2
- package/dist/src/components/Collapse/Collapse.d.ts +0 -1
- package/dist/src/components/Collapse/Collapse.stories.d.ts +1 -2
- package/dist/src/components/Collapse/CollapseV2.d.ts +0 -1
- package/dist/src/components/Collapse/CollapseV2.stories.d.ts +1 -2
- package/dist/src/components/Colors/Colors.stories.d.ts +1 -2
- package/dist/src/components/DatePicker/DatePicker.d.ts +0 -1
- package/dist/src/components/DatePicker/DatePicker.stories.d.ts +1 -2
- package/dist/src/components/DatePicker/DateRangePicker.d.ts +0 -1
- package/dist/src/components/DatePicker/FilterDate.d.ts +0 -1
- package/dist/src/components/DatePicker/FilterDate.stories.d.ts +1 -2
- package/dist/src/components/DatePicker/MonthYearPicker.d.ts +0 -1
- package/dist/src/components/DatePicker/MonthYearPicker.stories.d.ts +1 -2
- package/dist/src/components/ErrorMessage/ErrorMessage.d.ts +0 -1
- package/dist/src/components/ErrorMessage/ErrorMessage.stories.d.ts +1 -2
- package/dist/src/components/FilterContainer/FilterContainer.d.ts +0 -1
- package/dist/src/components/FilterContainer/FilterContainer.stories.d.ts +1 -2
- package/dist/src/components/Input/InputFloatingInner.d.ts +0 -1
- package/dist/src/components/Input/InputFloatingInner.stories.d.ts +1 -2
- package/dist/src/components/Input/InputInnerLabel.d.ts +0 -1
- package/dist/src/components/Input/InputInnerLabel.stories.d.ts +1 -2
- package/dist/src/components/Input/InputNative.d.ts +0 -1
- package/dist/src/components/Input/InputNative.stories.d.ts +1 -2
- package/dist/src/components/Input/InputReguler.d.ts +0 -1
- package/dist/src/components/Input/InputReguler.stories.d.ts +1 -2
- package/dist/src/components/Modal/ModalDialog.d.ts +0 -1
- package/dist/src/components/Modal/ModalDialog.stories.d.ts +1 -2
- package/dist/src/components/NumberFormat/NumberFormat.d.ts +0 -1
- package/dist/src/components/NumberFormat/NumberFormat.stories.d.ts +1 -2
- package/dist/src/components/Pagination/Pagination.d.ts +0 -1
- package/dist/src/components/Pagination/Pagination.stories.d.ts +1 -2
- package/dist/src/components/Popover/Popover.d.ts +0 -1
- package/dist/src/components/Popover/Popover.stories.d.ts +3 -4
- package/dist/src/components/PortalComponent/PortalComponent.d.ts +0 -1
- package/dist/src/components/PortalComponent/PortalComponent.stories.d.ts +1 -2
- package/dist/src/components/RadioCheckbox/CheckboxTable.d.ts +0 -1
- package/dist/src/components/RadioCheckbox/RadioCheckbox.d.ts +0 -1
- package/dist/src/components/RadioCheckbox/RadioCheckbox.stories.d.ts +1 -2
- package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.d.ts +0 -1
- package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.stories.d.ts +1 -2
- package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.d.ts +1 -2
- package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.stories.d.ts +4 -5
- package/dist/src/components/SelectDropdownContainer/styleConfig.d.ts +0 -1
- package/dist/src/components/Sidebar/ItemSidebar.d.ts +0 -1
- package/dist/src/components/Sidebar/Sidebar.d.ts +1 -2
- package/dist/src/components/Sidebar/Sidebar.stories.d.ts +5 -6
- package/dist/src/components/Step/Step.d.ts +0 -1
- package/dist/src/components/Step/Step.stories.d.ts +1 -2
- package/dist/src/components/Step/StepIndicator.d.ts +0 -1
- package/dist/src/components/Step/StepIndicator.stories.d.ts +1 -2
- package/dist/src/components/Switch/Switch.d.ts +0 -1
- package/dist/src/components/Switch/Switch.stories.d.ts +1 -2
- package/dist/src/components/Table/Table.config.d.ts +0 -1
- package/dist/src/components/Table/Table.d.ts +0 -1
- package/dist/src/components/Table/Table.stories.d.ts +1 -2
- package/dist/src/components/Table/TableSubMobile.d.ts +0 -1
- package/dist/src/components/Tabs/TabPanel.d.ts +0 -1
- package/dist/src/components/Tabs/Tabs.d.ts +0 -1
- package/dist/src/components/Tabs/Tabs.stories.d.ts +1 -2
- package/dist/src/components/TextEditor/TextEditor.d.ts +0 -1
- package/dist/src/components/TextEditor/TextEditor.stories.d.ts +1 -2
- package/dist/src/components/Textarea/Textarea.d.ts +0 -1
- package/dist/src/components/Textarea/Textarea.stories.d.ts +1 -2
- package/dist/src/components/Textarea/TextareaFloatingInner.d.ts +0 -1
- package/dist/src/components/Textarea/TextareaFloatingInner.stories.d.ts +1 -2
- package/dist/src/components/Textarea/TextareaInnerLabel.d.ts +0 -1
- package/dist/src/components/Textarea/TextareaInnerLabel.stories.d.ts +1 -2
- package/dist/src/components/TimeRange/TimeRange.d.ts +0 -1
- package/dist/src/components/TimeRange/TimeRange.stories.d.ts +1 -2
- package/dist/src/components/Timeline/Timeline.d.ts +0 -1
- package/dist/src/components/Timeline/Timeline.stories.d.ts +1 -2
- package/dist/src/components/Tooltip/Tooltip.d.ts +0 -1
- package/dist/src/components/Tooltip/Tooltip.stories.d.ts +1 -2
- package/dist/src/components/TruncateComponent/TruncateComponent.d.ts +0 -1
- package/dist/src/components/TruncateComponent/TruncateComponent.stories.d.ts +1 -2
- package/dist/src/components/Typography/Typography.stories.d.ts +1 -2
- package/dist/src/components/Upload/UploadFile.d.ts +0 -1
- package/dist/src/components/Upload/UploadFile.stories.d.ts +1 -2
- package/dist/src/components/Upload/UploadImage.d.ts +0 -1
- package/dist/src/components/Upload/UploadImage.stories.d.ts +1 -2
- package/dist/src/components/Upload/UploadMultipleFile.d.ts +0 -1
- package/dist/src/components/Upload/UploadMultipleFile.stories.d.ts +1 -2
- package/dist/src/components/Virtualization/ListVirtualization.d.ts +0 -1
- package/dist/src/components/Virtualization/ListVirtualization.stories.d.ts +1 -2
- package/dist/src/components/Virtualization/TableVirtualization.d.ts +0 -1
- package/dist/src/components/Virtualization/TableVirtualization.stories.d.ts +1 -2
- package/dist/src/components/index.d.ts +0 -1
- package/dist/src/components/screens/Screens.stories.d.ts +1 -2
- package/dist/src/config/bigNumber/index.d.ts +0 -1
- package/dist/src/config/components/tinymce.d.ts +0 -1
- package/dist/src/config/tailwind/index.d.ts +0 -1
- package/dist/src/hooks/index.d.ts +0 -1
- package/dist/src/hooks/useAsyncDebounce.d.ts +9 -0
- package/dist/src/hooks/useCombinedResizeObserver.d.ts +66 -1
- package/dist/src/hooks/useCountdown.d.ts +61 -0
- package/dist/src/hooks/useDeepCompareEffect.d.ts +13 -1
- package/dist/src/hooks/useElementOrWindowMediaQuery.d.ts +9 -0
- package/dist/src/hooks/useEventListener.d.ts +27 -1
- package/dist/src/hooks/useMasonry.d.ts +79 -1
- package/dist/src/hooks/useMergeRefs.d.ts +26 -1
- package/dist/src/hooks/useOtpInput.d.ts +157 -1
- package/dist/src/hooks/useStateRef.d.ts +8 -1
- package/dist/src/interfaces/components/Alert/index.d.ts +8 -1
- package/dist/src/interfaces/components/Badges/index.d.ts +28 -1
- package/dist/src/interfaces/components/Breadcrumbs/index.d.ts +79 -1
- package/dist/src/interfaces/components/Button/index.d.ts +44 -1
- package/dist/src/interfaces/components/ButtonIcon/index.d.ts +36 -1
- package/dist/src/interfaces/components/ButtonPopover/index.d.ts +78 -1
- package/dist/src/interfaces/components/Calendar/index.d.ts +364 -1
- package/dist/src/interfaces/components/Chart/index.d.ts +460 -1
- package/dist/src/interfaces/components/Checkbox/index.d.ts +12 -1
- package/dist/src/interfaces/components/Chips/index.d.ts +36 -1
- package/dist/src/interfaces/components/Collapse/index.d.ts +60 -1
- package/dist/src/interfaces/components/DatePicker/index.d.ts +274 -1
- package/dist/src/interfaces/components/ErrorMessage/index.d.ts +16 -0
- package/dist/src/interfaces/components/FilterContainer/index.d.ts +102 -1
- package/dist/src/interfaces/components/Input/index.d.ts +180 -1
- package/dist/src/interfaces/components/Modal/index.d.ts +45 -1
- package/dist/src/interfaces/components/NumberFormat/index.d.ts +25 -1
- package/dist/src/interfaces/components/Pagination/index.d.ts +81 -1
- package/dist/src/interfaces/components/Popover/index.d.ts +95 -1
- package/dist/src/interfaces/components/RadioCheckbox/RadioCheckbox.d.ts +56 -1
- package/dist/src/interfaces/components/RadioCheckbox/RadioCheckboxLabel.d.ts +44 -1
- package/dist/src/interfaces/components/SelectDropdownContainer/index.d.ts +195 -2
- package/dist/src/interfaces/components/Sidebar/index.d.ts +226 -1
- package/dist/src/interfaces/components/Step/index.d.ts +153 -1
- package/dist/src/interfaces/components/Switch/index.d.ts +53 -0
- package/dist/src/interfaces/components/Table/index.d.ts +364 -1
- package/dist/src/interfaces/components/Tabs/index.d.ts +126 -1
- package/dist/src/interfaces/components/TextEditor/index.d.ts +12 -1
- package/dist/src/interfaces/components/Textarea/index.d.ts +156 -1
- package/dist/src/interfaces/components/TimeRange/index.d.ts +100 -1
- package/dist/src/interfaces/components/Timeline/index.d.ts +36 -1
- package/dist/src/interfaces/components/Tooltip/index.d.ts +56 -1
- package/dist/src/interfaces/components/TruncateComponent/index.d.ts +34 -0
- package/dist/src/interfaces/components/UploadFile/index.d.ts +184 -2
- package/dist/src/interfaces/components/Virtualization/ListVirtualization.d.ts +138 -1
- package/dist/src/interfaces/components/Virtualization/TableVirtualization.d.ts +143 -1
- package/dist/src/main.d.ts +0 -1
- package/dist/src/utils/common.d.ts +0 -1
- package/dist/tinymce/CHANGELOG.md +3785 -3785
- package/dist/tinymce/js/tinymce/langs/README.md +3 -3
- package/dist/tinymce/js/tinymce/license.md +6 -6
- package/dist/tinymce/js/tinymce/notices.txt +21 -21
- package/dist/tinymce/js/tinymce/plugins/codesample/plugin.min.js +8 -8
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ar.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/bg_BG.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ca.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/cs.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/da.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/de.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/el.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/en.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/es.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/eu.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/fa.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/fi.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/fr_FR.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/he_IL.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/hi.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/hr.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/hu_HU.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/id.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/it.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ja.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/kk.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ko_KR.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ms.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/nb_NO.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/nl.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/pl.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/pt_BR.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/pt_PT.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ro.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ru.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/sk.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/sl_SI.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/sv_SE.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/th_TH.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/tr.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/uk.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/vi.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/zh_CN.js +86 -86
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/zh_TW.js +92 -92
- package/dist/tinymce/js/tinymce/skins/content/dark/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/content/dark/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/content/default/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/content/default/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/content/document/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/content/document/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/content/tinymce-5/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/content/tinymce-5/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/content/tinymce-5-dark/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/content/tinymce-5-dark/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/content/writer/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/content/writer/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/oxide/content.inline.js +9 -9
- package/dist/tinymce/js/tinymce/skins/ui/oxide/content.inline.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/oxide/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/ui/oxide/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/oxide/skin.min.css +1 -1
- package/dist/tinymce/js/tinymce/skins/ui/oxide/skin.shadowdom.min.css +1 -1
- package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/content.inline.js +9 -9
- package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/content.inline.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/skin.min.css +1 -1
- package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +1 -1
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/content.inline.js +9 -9
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/content.inline.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/skin.min.css +1 -1
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +1 -1
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/content.inline.js +9 -9
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/skin.min.css +1 -1
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +1 -1
- package/dist/tinymce/js/tinymce/tinymce.d.ts +3350 -3350
- package/dist/tinymce/js/tinymce/tinymce.min.js +10 -10
- package/dist/types-external/table.d.ts +15 -15
- package/package.json +132 -131
|
@@ -1,45 +1,197 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* [ID] : Interface untuk data daftar langkah.
|
|
4
|
+
* [EN] : Interface for step list data.
|
|
5
|
+
*/
|
|
3
6
|
export interface IDataStepList {
|
|
7
|
+
/**
|
|
8
|
+
* [ID] : Nomor langkah.
|
|
9
|
+
* [EN] : Step number.
|
|
10
|
+
*/
|
|
4
11
|
step: number;
|
|
12
|
+
/**
|
|
13
|
+
* [ID] : Nilai langkah (opsional).
|
|
14
|
+
* [EN] : Step value (optional).
|
|
15
|
+
*/
|
|
5
16
|
value?: string | number | React.ReactNode | React.ReactNode[];
|
|
17
|
+
/**
|
|
18
|
+
* [ID] : Nilai saat selesai (opsional).
|
|
19
|
+
* [EN] : Value when done (optional).
|
|
20
|
+
*/
|
|
6
21
|
valueDone?: string | number | React.ReactNode | React.ReactNode[];
|
|
22
|
+
/**
|
|
23
|
+
* [ID] : Deskripsi langkah (opsional).
|
|
24
|
+
* [EN] : Step description (optional).
|
|
25
|
+
*/
|
|
7
26
|
desc?: string;
|
|
27
|
+
/**
|
|
28
|
+
* [ID] : Nama kelas CSS (opsional).
|
|
29
|
+
* [EN] : CSS class name (optional).
|
|
30
|
+
*/
|
|
8
31
|
className?: string;
|
|
32
|
+
/**
|
|
33
|
+
* [ID] : Properti dinamis lainnya.
|
|
34
|
+
* [EN] : Other dynamic properties.
|
|
35
|
+
*/
|
|
9
36
|
[key: string]: unknown;
|
|
10
37
|
}
|
|
38
|
+
/**
|
|
39
|
+
* [ID] : Interface untuk komponen Step.
|
|
40
|
+
* [EN] : Interface for Step component.
|
|
41
|
+
*/
|
|
11
42
|
export interface IStep {
|
|
43
|
+
/**
|
|
44
|
+
* [ID] : Langkah yang aktif.
|
|
45
|
+
* [EN] : Active step.
|
|
46
|
+
*/
|
|
12
47
|
activeStep: number;
|
|
48
|
+
/**
|
|
49
|
+
* [ID] : Daftar langkah.
|
|
50
|
+
* [EN] : Step list.
|
|
51
|
+
*/
|
|
13
52
|
stepList: IDataStepList[];
|
|
53
|
+
/**
|
|
54
|
+
* [ID] : Lebar garis (opsional).
|
|
55
|
+
* [EN] : Line width (optional).
|
|
56
|
+
*/
|
|
14
57
|
widthLine?: number;
|
|
58
|
+
/**
|
|
59
|
+
* [ID] : Nama kelas CSS kontainer (opsional).
|
|
60
|
+
* [EN] : Container CSS class name (optional).
|
|
61
|
+
*/
|
|
15
62
|
classNameContainer?: string;
|
|
63
|
+
/**
|
|
64
|
+
* [ID] : Nama kelas CSS konten (opsional).
|
|
65
|
+
* [EN] : Content CSS class name (optional).
|
|
66
|
+
*/
|
|
16
67
|
classNameContent?: string;
|
|
68
|
+
/**
|
|
69
|
+
* [ID] : Nama kelas CSS deskripsi (opsional).
|
|
70
|
+
* [EN] : Description CSS class name (optional).
|
|
71
|
+
*/
|
|
17
72
|
classNameDesc?: string;
|
|
73
|
+
/**
|
|
74
|
+
* [ID] : Handler perubahan langkah (opsional).
|
|
75
|
+
* [EN] : Step change handler (optional).
|
|
76
|
+
* @param e - [ID] : Data langkah. [EN] : Step data.
|
|
77
|
+
*/
|
|
18
78
|
onChange?: (e: IDataStepList) => void;
|
|
79
|
+
/**
|
|
80
|
+
* [ID] : Tipe garis sebelum aktif (opsional).
|
|
81
|
+
* [EN] : Line type before active (optional).
|
|
82
|
+
*/
|
|
19
83
|
beforeActiveType?: 'solid' | 'dashed';
|
|
84
|
+
/**
|
|
85
|
+
* [ID] : Tipe garis setelah aktif (opsional).
|
|
86
|
+
* [EN] : Line type after active (optional).
|
|
87
|
+
*/
|
|
20
88
|
afterActiveType?: 'solid' | 'dashed';
|
|
89
|
+
/**
|
|
90
|
+
* [ID] : Warna saat aktif (opsional).
|
|
91
|
+
* [EN] : Active color (optional).
|
|
92
|
+
*/
|
|
21
93
|
colorActive?: string;
|
|
94
|
+
/**
|
|
95
|
+
* [ID] : Warna saat tidak aktif (opsional).
|
|
96
|
+
* [EN] : Inactive color (optional).
|
|
97
|
+
*/
|
|
22
98
|
colorInactive?: string;
|
|
23
99
|
}
|
|
100
|
+
/**
|
|
101
|
+
* [ID] : Interface untuk garis putus-putus langkah.
|
|
102
|
+
* [EN] : Interface for step dashed line.
|
|
103
|
+
*/
|
|
24
104
|
export interface IStepLineDashed {
|
|
105
|
+
/**
|
|
106
|
+
* [ID] : Lebar garis.
|
|
107
|
+
* [EN] : Line width.
|
|
108
|
+
*/
|
|
25
109
|
widthLine: number;
|
|
110
|
+
/**
|
|
111
|
+
* [ID] : Warna garis.
|
|
112
|
+
* [EN] : Line color.
|
|
113
|
+
*/
|
|
26
114
|
color: string;
|
|
27
115
|
}
|
|
116
|
+
/**
|
|
117
|
+
* [ID] : Interface untuk garis solid langkah.
|
|
118
|
+
* [EN] : Interface for step solid line.
|
|
119
|
+
*/
|
|
28
120
|
export interface IStepLineSolid {
|
|
121
|
+
/**
|
|
122
|
+
* [ID] : Lebar garis.
|
|
123
|
+
* [EN] : Line width.
|
|
124
|
+
*/
|
|
29
125
|
widthLine: number;
|
|
126
|
+
/**
|
|
127
|
+
* [ID] : Warna garis.
|
|
128
|
+
* [EN] : Line color.
|
|
129
|
+
*/
|
|
30
130
|
color: string;
|
|
31
131
|
}
|
|
132
|
+
/**
|
|
133
|
+
* [ID] : Interface untuk indikator langkah.
|
|
134
|
+
* [EN] : Interface for step indicator.
|
|
135
|
+
*/
|
|
32
136
|
export interface IStepIndicator {
|
|
137
|
+
/**
|
|
138
|
+
* [ID] : Langkah yang aktif.
|
|
139
|
+
* [EN] : Active step.
|
|
140
|
+
*/
|
|
33
141
|
activeStep: number;
|
|
142
|
+
/**
|
|
143
|
+
* [ID] : Jumlah langkah.
|
|
144
|
+
* [EN] : Step count.
|
|
145
|
+
*/
|
|
34
146
|
countStep: number;
|
|
147
|
+
/**
|
|
148
|
+
* [ID] : Nama kelas CSS kontainer (opsional).
|
|
149
|
+
* [EN] : Container CSS class name (optional).
|
|
150
|
+
*/
|
|
35
151
|
classNameContainer?: string;
|
|
152
|
+
/**
|
|
153
|
+
* [ID] : Nama kelas CSS indikator langkah (opsional).
|
|
154
|
+
* [EN] : Step indicator CSS class name (optional).
|
|
155
|
+
*/
|
|
36
156
|
classNameStepIndicator?: string;
|
|
157
|
+
/**
|
|
158
|
+
* [ID] : Nama kelas CSS deskripsi (opsional).
|
|
159
|
+
* [EN] : Description CSS class name (optional).
|
|
160
|
+
*/
|
|
37
161
|
classNameDesc?: string;
|
|
162
|
+
/**
|
|
163
|
+
* [ID] : Nama kelas CSS indikator langkah aktif (opsional).
|
|
164
|
+
* [EN] : Active step indicator CSS class name (optional).
|
|
165
|
+
*/
|
|
38
166
|
classNameActiveStepIndicator?: string;
|
|
167
|
+
/**
|
|
168
|
+
* [ID] : ID elemen (opsional).
|
|
169
|
+
* [EN] : Element ID (optional).
|
|
170
|
+
*/
|
|
39
171
|
id?: string;
|
|
172
|
+
/**
|
|
173
|
+
* [ID] : Lokasi indikator langkah (opsional).
|
|
174
|
+
* [EN] : Step indicator location (optional).
|
|
175
|
+
*/
|
|
40
176
|
locationStepIndicator?: 'left' | 'right';
|
|
177
|
+
/**
|
|
178
|
+
* [ID] : Lebar indikator langkah (opsional).
|
|
179
|
+
* [EN] : Step indicator width (optional).
|
|
180
|
+
*/
|
|
41
181
|
widthStepIndicator?: number | string;
|
|
182
|
+
/**
|
|
183
|
+
* [ID] : Lebar indikator langkah dinamis (opsional).
|
|
184
|
+
* [EN] : Dynamic step indicator width (optional).
|
|
185
|
+
*/
|
|
42
186
|
dynamicWidthStepIndicator?: boolean;
|
|
187
|
+
/**
|
|
188
|
+
* [ID] : Jarak indikator langkah (opsional).
|
|
189
|
+
* [EN] : Step indicator gap (optional).
|
|
190
|
+
*/
|
|
43
191
|
gapStepIndicator?: string;
|
|
192
|
+
/**
|
|
193
|
+
* [ID] : Nama kelas CSS kontainer indikator langkah (opsional).
|
|
194
|
+
* [EN] : Step indicator container CSS class name (optional).
|
|
195
|
+
*/
|
|
44
196
|
classNameStepIndicatorContainer?: string;
|
|
45
197
|
}
|
|
@@ -1,15 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* [ID] : Tipe ukuran switch.
|
|
3
|
+
* [EN] : Switch size type.
|
|
4
|
+
*/
|
|
1
5
|
type TSizeSwitchType = 'large' | 'regular' | 'small';
|
|
6
|
+
/**
|
|
7
|
+
* [ID] : Interface untuk komponen Switch.
|
|
8
|
+
* [EN] : Interface for Switch component.
|
|
9
|
+
*/
|
|
2
10
|
export interface ISwitch {
|
|
11
|
+
/**
|
|
12
|
+
* [ID] : Nilai switch (aktif/tidak).
|
|
13
|
+
* [EN] : Switch value (active/inactive).
|
|
14
|
+
*/
|
|
3
15
|
value: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* [ID] : Status non-aktif (opsional).
|
|
18
|
+
* [EN] : Disabled status (optional).
|
|
19
|
+
*/
|
|
4
20
|
disabled?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* [ID] : Ukuran switch (opsional).
|
|
23
|
+
* [EN] : Switch size (optional).
|
|
24
|
+
*/
|
|
5
25
|
size?: TSizeSwitchType;
|
|
26
|
+
/**
|
|
27
|
+
* [ID] : Judul switch (opsional).
|
|
28
|
+
* [EN] : Switch title (optional).
|
|
29
|
+
*/
|
|
6
30
|
title?: string;
|
|
31
|
+
/**
|
|
32
|
+
* [ID] : Deskripsi switch (opsional).
|
|
33
|
+
* [EN] : Switch description (optional).
|
|
34
|
+
*/
|
|
7
35
|
description?: string;
|
|
36
|
+
/**
|
|
37
|
+
* [ID] : ID elemen (opsional).
|
|
38
|
+
* [EN] : Element ID (optional).
|
|
39
|
+
*/
|
|
8
40
|
id?: string | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* [ID] : Nama kelas CSS (opsional).
|
|
43
|
+
* [EN] : CSS class name (optional).
|
|
44
|
+
*/
|
|
9
45
|
className?: string | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* [ID] : Nama kelas CSS judul (opsional).
|
|
48
|
+
* [EN] : Title CSS class name (optional).
|
|
49
|
+
*/
|
|
10
50
|
classNameTitle?: string | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* [ID] : Nama kelas CSS deskripsi (opsional).
|
|
53
|
+
* [EN] : Description CSS class name (optional).
|
|
54
|
+
*/
|
|
11
55
|
classNameDesc?: string | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* [ID] : Jenis switch (opsional).
|
|
58
|
+
* [EN] : Switch kind (optional).
|
|
59
|
+
*/
|
|
12
60
|
kind?: 'payhere' | 'laba' | 'bill';
|
|
61
|
+
/**
|
|
62
|
+
* [ID] : Handler perubahan nilai.
|
|
63
|
+
* [EN] : Value change handler.
|
|
64
|
+
* @param v - [ID] : Nilai baru. [EN] : New value.
|
|
65
|
+
*/
|
|
13
66
|
onChange: (v: boolean) => void;
|
|
14
67
|
}
|
|
15
68
|
export {};
|