@scmlatam/web-ui 0.2.12 → 0.2.14
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/examples/rb-excel-table-example.xlsx +0 -0
- package/dist/src/App.d.ts +1 -1
- package/dist/src/components/contextmenu/Contextmenu.d.ts +1 -1
- package/dist/src/components/core/Core.d.ts +1 -1
- package/dist/src/components/core/context/Provider.d.ts +1 -1
- package/dist/src/components/core/dashboard/Dashboard.d.ts +1 -1
- package/dist/src/components/core/dashboard/account/Account.d.ts +1 -1
- package/dist/src/components/core/dashboard/content/Content.d.ts +1 -1
- package/dist/src/components/core/dashboard/search/Search.d.ts +1 -1
- package/dist/src/components/core/dashboard/sidebar/CompactItem.d.ts +1 -1
- package/dist/src/components/core/dashboard/sidebar/Content.d.ts +1 -1
- package/dist/src/components/core/dashboard/sidebar/ExtendGroupItem.d.ts +1 -1
- package/dist/src/components/core/dashboard/sidebar/Footer.d.ts +1 -1
- package/dist/src/components/core/dashboard/sidebar/Header.d.ts +1 -1
- package/dist/src/components/core/dashboard/sidebar/Sidebar.d.ts +1 -1
- package/dist/src/components/core/dashboard/sidebar/SubItem.d.ts +1 -1
- package/dist/src/components/core/signin/SignIn.d.ts +1 -1
- package/dist/src/components/core/signin/SignUp.d.ts +1 -1
- package/dist/src/components/core/system/Alert.d.ts +1 -1
- package/dist/src/components/form/Form.d.ts +1 -1
- package/dist/src/components/form/autocomplete/Autocomplete.d.ts +1 -1
- package/dist/src/components/form/datefield/range/DateRangeCalendar.d.ts +1 -1
- package/dist/src/components/form/datefield/range/DateRangePicker.d.ts +1 -1
- package/dist/src/components/form/datefield/range/Datefield.d.ts +1 -1
- package/dist/src/components/form/datefield/simple/DatePicker.d.ts +1 -1
- package/dist/src/components/form/datefield/simple/Datefield.d.ts +1 -1
- package/dist/src/components/form/datefield/simple/Timefield.d.ts +1 -1
- package/dist/src/components/form/file/FileField.d.ts +1 -1
- package/dist/src/components/form/select/MultiSelect.d.ts +1 -1
- package/dist/src/components/form/select/Select.d.ts +1 -1
- package/dist/src/components/form/sheet/Sheet.d.ts +1 -1
- package/dist/src/components/form/treewiew/Treeview.d.ts +1 -1
- package/dist/src/components/rb.d.ts +16 -6
- package/dist/src/components/table/Table.d.ts +1 -1
- package/dist/src/components/table/toolbar/Toolbar.d.ts +1 -1
- package/dist/src/components/table/toolbar/datefield/range/DateRangePicker.d.ts +1 -1
- package/dist/src/components/table/toolbar/datefield/range/Datefield.d.ts +1 -1
- package/dist/src/components/table/toolbar/datefield/simple/DatePicker.d.ts +1 -1
- package/dist/src/components/table/toolbar/datefield/simple/Datefield.d.ts +1 -1
- package/dist/src/components/table/toolbar/select/MultiSelect.d.ts +1 -1
- package/dist/src/components/table/toolbar/select/Select.d.ts +1 -1
- package/dist/src/mock/SidebarData.d.ts +3 -3
- package/dist/src/pages/Home.d.ts +1 -1
- package/dist/src/pages/Segment.d.ts +1 -1
- package/dist/src/pages/Timekeeper.d.ts +1 -1
- package/dist/src/pages/home/rb/RbComponentsDocumentation.d.ts +1 -0
- package/dist/src/pages/home/rb/components/GuideCard.d.ts +32 -0
- package/dist/src/pages/home/rb/components/GuideSection.d.ts +8 -0
- package/dist/src/pages/home/rb/components/LibraryIcon.d.ts +5 -0
- package/dist/src/pages/home/rb/components/RbDocumentationIndex.d.ts +5 -0
- package/dist/src/pages/home/rb/data/excelTableGuideData.d.ts +12 -0
- package/dist/src/pages/home/rb/data/rbDocumentationIndexItems.d.ts +2 -0
- package/dist/src/pages/home/rb/data/tableGuideData.d.ts +18 -0
- package/dist/src/pages/home/rb/data/treePanelData.d.ts +4 -0
- package/dist/src/pages/home/rb/index.d.ts +1 -0
- package/dist/src/pages/home/rb/sections/BaseComponentsSection.d.ts +1 -0
- package/dist/src/pages/home/rb/sections/ButtonsSection.d.ts +1 -0
- package/dist/src/pages/home/rb/sections/DatesSection.d.ts +1 -0
- package/dist/src/pages/home/rb/sections/ExcelTableSection.d.ts +1 -0
- package/dist/src/pages/home/rb/sections/FeedbackComponentsSection.d.ts +1 -0
- package/dist/src/pages/home/rb/sections/FormShellSection.d.ts +2 -0
- package/dist/src/pages/home/rb/sections/InlineChipFieldSection.d.ts +1 -0
- package/dist/src/pages/home/rb/sections/InputsSection.d.ts +1 -0
- package/dist/src/pages/home/rb/sections/ListsSection.d.ts +1 -0
- package/dist/src/pages/home/rb/sections/SelectionControlsSection.d.ts +1 -0
- package/dist/src/pages/home/rb/sections/SelectsSection.d.ts +1 -0
- package/dist/src/pages/home/rb/sections/TableToolbarSection.d.ts +1 -0
- package/dist/src/pages/home/rb/sections/TablesSection.d.ts +1 -0
- package/dist/src/pages/home/rb/sections/TreePanelSection.d.ts +1 -0
- package/dist/src/pages/home/rb/sections/TypographySection.d.ts +1 -0
- package/dist/src/pages/home/rb/types/documentation.types.d.ts +6 -0
- package/dist/src/rb-components/auth/components/AuthLanguageDropdown.d.ts +1 -1
- package/dist/src/rb-components/auth/components/AuthPasswordInput.d.ts +1 -1
- package/dist/src/rb-components/auth/components/AuthShell.d.ts +1 -1
- package/dist/src/rb-components/feedback/message-alert/MessageAlert.d.ts +1 -1
- package/dist/src/rb-components/form/FormLayout.d.ts +15 -0
- package/dist/src/rb-components/form/FormShell.d.ts +26 -3
- package/dist/src/rb-components/form/index.d.ts +3 -1
- package/dist/src/rb-components/images.d.ts +36 -0
- package/dist/src/rb-components/index.d.ts +2 -0
- package/dist/src/rb-components/list/RbList.d.ts +48 -0
- package/dist/src/rb-components/list/index.d.ts +2 -0
- package/dist/src/rb-components/navigation/PillsTabs.d.ts +1 -1
- package/dist/src/rb-components/shell/Breadcrumbs.d.ts +1 -1
- package/dist/src/rb-components/shell/DashboardShell.d.ts +1 -1
- package/dist/src/rb-components/shell/ShellContent.d.ts +1 -1
- package/dist/src/rb-components/sidebar/Sidebar.d.ts +1 -1
- package/dist/src/rb-components/sidebar/SidebarContent.d.ts +1 -1
- package/dist/src/rb-components/sidebar/SidebarFooter.d.ts +1 -1
- package/dist/src/rb-components/sidebar/SidebarHeader.d.ts +1 -1
- package/dist/src/rb-components/table/RbExcelTable.d.ts +7 -0
- package/dist/src/rb-components/table/RbTable.d.ts +2 -1
- package/dist/src/rb-components/table/RbTableToolbar.d.ts +1 -17
- package/dist/src/rb-components/table/excel/RbExcelEditableCell.d.ts +12 -0
- package/dist/src/rb-components/table/excel/RbExcelValidationAlert.d.ts +11 -0
- package/dist/src/rb-components/table/excel/excel.helpers.d.ts +16 -0
- package/dist/src/rb-components/table/excel/excel.types.d.ts +361 -0
- package/dist/src/rb-components/table/index.d.ts +5 -1
- package/dist/src/rb-components/table/toolbar/RbToolbarActionButton.d.ts +1 -9
- package/dist/src/rb-components/table/toolbar/RbToolbarActions.d.ts +7 -0
- package/dist/src/rb-components/table/toolbar/RbToolbarDateRangeField.d.ts +1 -1
- package/dist/src/rb-components/table/toolbar/RbToolbarMultiSelectField.d.ts +5 -1
- package/dist/src/rb-components/table/toolbar/RbToolbarSearchField.d.ts +3 -10
- package/dist/src/rb-components/table/toolbar/RbToolbarSelectField.d.ts +8 -1
- package/dist/src/rb-components/table/toolbar/index.d.ts +9 -7
- package/dist/src/rb-components/table/types.d.ts +48 -2
- package/dist/src/rb-components/topbar/TopBar.d.ts +1 -1
- package/dist/src/rb-components/topbar/TopBarUserMenu.d.ts +1 -1
- package/dist/src/rb-components/tree-panel/TreeIcon.d.ts +19 -0
- package/dist/src/rb-components/tree-panel/TreeNode.d.ts +17 -0
- package/dist/src/rb-components/tree-panel/TreePanel.d.ts +4 -0
- package/dist/src/rb-components/tree-panel/index.d.ts +4 -0
- package/dist/src/rb-components/tree-panel/treePanel.types.d.ts +94 -0
- package/dist/src/rb-components/tree-panel/treePanel.utils.d.ts +25 -0
- package/dist/src/rb-components/ui/index.d.ts +18 -19
- package/dist/src/rb-components/ui/overlays/Tooltip.d.ts +1 -1
- package/dist/src/rb-components/ui/primitives/AutoCustomCompleteField.d.ts +60 -3
- package/dist/src/rb-components/ui/primitives/Button.d.ts +2 -3
- package/dist/src/rb-components/ui/primitives/Card.d.ts +5 -5
- package/dist/src/rb-components/ui/primitives/Checkbox.d.ts +10 -0
- package/dist/src/rb-components/ui/primitives/Input.d.ts +2 -2
- package/dist/src/rb-components/ui/primitives/Radio.d.ts +11 -0
- package/dist/src/rb-components/ui/primitives/RbContextMenu.d.ts +1 -1
- package/dist/src/rb-components/ui/primitives/RbInlineChipField.d.ts +3 -3
- package/dist/src/rb-components/ui/primitives/date-fields/CustomDatePicker.d.ts +12 -1
- package/dist/src/rb-components/ui/primitives/date-fields/CustomDateRangeCalendar.d.ts +1 -1
- package/dist/src/rb-components/ui/primitives/date-fields/CustomDateRangePicker.d.ts +2 -1
- package/dist/src/rb-components/ui/primitives/date-fields/CustomDateRangefield.d.ts +2 -1
- package/dist/src/rb-components/ui/primitives/date-fields/CustomDatefield.d.ts +2 -1
- package/dist/src/rb-components/ui/primitives/date-fields/CustomTimefield.d.ts +2 -1
- package/dist/src/rb-components/ui/primitives/date-fields/DateFieldTrigger.d.ts +13 -1
- package/dist/src/rb-components/ui/primitives/date-fields/DateShortcuts.d.ts +3 -2
- package/dist/src/rb-components/ui/primitives/date-fields/TimePickerPanel.d.ts +1 -1
- package/dist/src/router/Router.d.ts +2 -2
- package/dist/src/stories/Button.d.ts +1 -1
- package/dist/src/stories/Button.stories.d.ts +1 -1
- package/dist/src/stories/Header.d.ts +1 -1
- package/dist/src/stories/Header.stories.d.ts +1 -1
- package/dist/src/stories/rb/PillsTabs.stories.d.ts +1 -1
- package/dist/src/stories/rb/RbAutoCustomCompleteField.stories.d.ts +1 -1
- package/dist/src/stories/rb/RbIconButton.stories.d.ts +1 -1
- package/dist/src/stories/rb/RbTable.stories.d.ts +1 -1
- package/dist/src/stories/sidebar.stories.d.ts +1 -1
- package/dist/web-ui.js +25408 -6473
- package/dist/web-ui.umd.cjs +151 -25
- package/package.json +1 -1
- /package/dist/images/{checkReview.svg.svg → checkReview.svg} +0 -0
|
Binary file
|
package/dist/src/App.d.ts
CHANGED
|
@@ -2,5 +2,5 @@ import { PublicClientApplication } from '@azure/msal-browser';
|
|
|
2
2
|
interface AppProps {
|
|
3
3
|
msalInstance: PublicClientApplication;
|
|
4
4
|
}
|
|
5
|
-
declare function App({ msalInstance }: AppProps): import("react
|
|
5
|
+
declare function App({ msalInstance }: AppProps): import("react").JSX.Element;
|
|
6
6
|
export default App;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ContextMenuProps } from '../table/types/types';
|
|
2
|
-
declare const ContextMenu: ({ contextMenu, setContextMenu, options, checked, optionGroup, }: ContextMenuProps) => import("react
|
|
2
|
+
declare const ContextMenu: ({ contextMenu, setContextMenu, options, checked, optionGroup, }: ContextMenuProps) => import("react").JSX.Element;
|
|
3
3
|
export { ContextMenu };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { CoreProps } from './types/types';
|
|
2
|
-
declare const Core: ({ sidebar, routes, product, account, languages, loginForm: form, signup, unsavedChangesAlert, msalInstance, }: CoreProps) => import("react
|
|
2
|
+
declare const Core: ({ sidebar, routes, product, account, languages, loginForm: form, signup, unsavedChangesAlert, msalInstance, }: CoreProps) => import("react").JSX.Element;
|
|
3
3
|
export { Core };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
interface CoreProviderProps {
|
|
2
2
|
children: React.ReactNode;
|
|
3
3
|
}
|
|
4
|
-
declare const CoreProvider: ({ children }: CoreProviderProps) => import("react
|
|
4
|
+
declare const CoreProvider: ({ children }: CoreProviderProps) => import("react").JSX.Element;
|
|
5
5
|
export { CoreProvider };
|
|
@@ -7,5 +7,5 @@ interface AccountProps {
|
|
|
7
7
|
onClick: () => void;
|
|
8
8
|
}[];
|
|
9
9
|
}
|
|
10
|
-
declare const Account: ({ username, options }: AccountProps) => import("react
|
|
10
|
+
declare const Account: ({ username, options }: AccountProps) => import("react").JSX.Element;
|
|
11
11
|
export default Account;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ContentPageProps } from '../../types/types';
|
|
2
|
-
declare const Content: ({ getWidth, state, routes, account }: ContentPageProps) => import("react
|
|
2
|
+
declare const Content: ({ getWidth, state, routes, account }: ContentPageProps) => import("react").JSX.Element;
|
|
3
3
|
export { Content };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const Search: () => import("react
|
|
1
|
+
declare const Search: () => import("react").JSX.Element;
|
|
2
2
|
export default Search;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { CompactItemProps } from '../../types/types';
|
|
2
|
-
declare const CompactItem: ({ items, setState }: CompactItemProps) => import("react
|
|
2
|
+
declare const CompactItem: ({ items, setState }: CompactItemProps) => import("react").JSX.Element;
|
|
3
3
|
export default CompactItem;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ContentProps } from '../../types/types';
|
|
2
|
-
declare const Content: ({ state, setState, groups, tooltips }: ContentProps) => import("react
|
|
2
|
+
declare const Content: ({ state, setState, groups, tooltips }: ContentProps) => import("react").JSX.Element;
|
|
3
3
|
export default Content;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ExtendGroupItemProps } from '../../types/types';
|
|
2
|
-
declare const ExtendGroupItem: ({ tooltips, name, items, setState, }: ExtendGroupItemProps) => import("react
|
|
2
|
+
declare const ExtendGroupItem: ({ tooltips, name, items, setState, }: ExtendGroupItemProps) => import("react").JSX.Element;
|
|
3
3
|
export default ExtendGroupItem;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { HeaderProps } from '../../types/types';
|
|
2
|
-
declare const Header: ({ tooltips, state, setState }: HeaderProps) => import("react
|
|
2
|
+
declare const Header: ({ tooltips, state, setState }: HeaderProps) => import("react").JSX.Element;
|
|
3
3
|
export default Header;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { SidebarProps } from '../../types/types';
|
|
2
|
-
declare const Sidebar: ({ items, signOut, tooltips, state, setState, getWidth, }: SidebarProps) => import("react
|
|
2
|
+
declare const Sidebar: ({ items, signOut, tooltips, state, setState, getWidth, }: SidebarProps) => import("react").JSX.Element;
|
|
3
3
|
export { Sidebar };
|
|
@@ -8,5 +8,5 @@ interface SignInProps {
|
|
|
8
8
|
languages: Language[];
|
|
9
9
|
form: LoginFormProps;
|
|
10
10
|
}
|
|
11
|
-
declare const SignIn: ({ product, languages, form }: SignInProps) => import("react
|
|
11
|
+
declare const SignIn: ({ product, languages, form }: SignInProps) => import("react").JSX.Element | null;
|
|
12
12
|
export { SignIn };
|
|
@@ -8,5 +8,5 @@ interface SignUpProps {
|
|
|
8
8
|
languages: Language[];
|
|
9
9
|
form: SignUpFormProps;
|
|
10
10
|
}
|
|
11
|
-
declare const SignUp: ({ product, languages, form }: SignUpProps) => import("react
|
|
11
|
+
declare const SignUp: ({ product, languages, form }: SignUpProps) => import("react").JSX.Element | null;
|
|
12
12
|
export { SignUp };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { FormProps } from './types/types';
|
|
2
|
-
declare const Form: ({ title, alert, action, fields, open, setOpen, loading, onClickSave, }: FormProps) => import("react
|
|
2
|
+
declare const Form: ({ title, alert, action, fields, open, setOpen, loading, onClickSave, }: FormProps) => import("react").JSX.Element;
|
|
3
3
|
export { Form };
|
|
@@ -7,5 +7,5 @@ interface CustomAutoCompleteFieldProps {
|
|
|
7
7
|
setValue: (newValue: string[]) => void;
|
|
8
8
|
white: boolean;
|
|
9
9
|
}
|
|
10
|
-
declare const AutoCustomCompleteField: ({ label, placeholder, values, value, setValue, white, }: CustomAutoCompleteFieldProps) => import("react
|
|
10
|
+
declare const AutoCustomCompleteField: ({ label, placeholder, values, value, setValue, white, }: CustomAutoCompleteFieldProps) => import("react").JSX.Element;
|
|
11
11
|
export { AutoCustomCompleteField };
|
|
@@ -7,5 +7,5 @@ interface CustomDateRangeCalendarProps {
|
|
|
7
7
|
disabled: boolean;
|
|
8
8
|
white: boolean;
|
|
9
9
|
}
|
|
10
|
-
declare const CustomDateRangeCalendar: ({ initialValue, value, setValue, calendars, disabled, white, }: CustomDateRangeCalendarProps) => import("react
|
|
10
|
+
declare const CustomDateRangeCalendar: ({ initialValue, value, setValue, calendars, disabled, white, }: CustomDateRangeCalendarProps) => import("react").JSX.Element;
|
|
11
11
|
export { CustomDateRangeCalendar };
|
|
@@ -9,5 +9,5 @@ interface CustomDateRangePickerProps {
|
|
|
9
9
|
white: boolean;
|
|
10
10
|
fullWidth: boolean;
|
|
11
11
|
}
|
|
12
|
-
declare const CustomDateRangePicker: ({ label, initialValue, value, setValue, calendars, disabled, white, fullWidth, }: CustomDateRangePickerProps) => import("react
|
|
12
|
+
declare const CustomDateRangePicker: ({ label, initialValue, value, setValue, calendars, disabled, white, fullWidth, }: CustomDateRangePickerProps) => import("react").JSX.Element;
|
|
13
13
|
export { CustomDateRangePicker };
|
|
@@ -5,5 +5,5 @@ interface CustomDateRangefieldProps {
|
|
|
5
5
|
setValue: (newValue: [Dayjs | null, Dayjs | null]) => void;
|
|
6
6
|
disabled: boolean;
|
|
7
7
|
}
|
|
8
|
-
declare const CustomDateRangefield: ({ label, value, setValue, disabled, }: CustomDateRangefieldProps) => import("react
|
|
8
|
+
declare const CustomDateRangefield: ({ label, value, setValue, disabled, }: CustomDateRangefieldProps) => import("react").JSX.Element;
|
|
9
9
|
export { CustomDateRangefield };
|
|
@@ -8,5 +8,5 @@ interface CustomDatePickerProps {
|
|
|
8
8
|
white: boolean;
|
|
9
9
|
fullWidth: boolean;
|
|
10
10
|
}
|
|
11
|
-
declare const CustomDatePicker: ({ label, initialValue, value, setValue, disabled, white, fullWidth, }: CustomDatePickerProps) => import("react
|
|
11
|
+
declare const CustomDatePicker: ({ label, initialValue, value, setValue, disabled, white, fullWidth, }: CustomDatePickerProps) => import("react").JSX.Element;
|
|
12
12
|
export { CustomDatePicker };
|
|
@@ -8,5 +8,5 @@ interface CustomDatefieldProps {
|
|
|
8
8
|
white: boolean;
|
|
9
9
|
fullWidth: boolean;
|
|
10
10
|
}
|
|
11
|
-
declare const CustomDatefield: ({ label, initialValue, value, setValue, disabled, fullWidth, white, }: CustomDatefieldProps) => import("react
|
|
11
|
+
declare const CustomDatefield: ({ label, initialValue, value, setValue, disabled, fullWidth, white, }: CustomDatefieldProps) => import("react").JSX.Element;
|
|
12
12
|
export { CustomDatefield };
|
|
@@ -8,5 +8,5 @@ interface CustomTimefieldProps {
|
|
|
8
8
|
white: boolean;
|
|
9
9
|
fullWidth: boolean;
|
|
10
10
|
}
|
|
11
|
-
declare const CustomTimefield: ({ label, initialValue, value, setValue, disabled, fullWidth, white, }: CustomTimefieldProps) => import("react
|
|
11
|
+
declare const CustomTimefield: ({ label, initialValue, value, setValue, disabled, fullWidth, white, }: CustomTimefieldProps) => import("react").JSX.Element;
|
|
12
12
|
export { CustomTimefield };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { MultiSelectProps } from './types/types';
|
|
2
|
-
declare const CustomMultiSelect: ({ label, multiValue, setMultiValue, values, placeholder, disabled, }: MultiSelectProps) => import("react
|
|
2
|
+
declare const CustomMultiSelect: ({ label, multiValue, setMultiValue, values, placeholder, disabled, }: MultiSelectProps) => import("react").JSX.Element;
|
|
3
3
|
export { CustomMultiSelect };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { SelectProps } from './types/types';
|
|
2
|
-
declare const CustomSelect: ({ label, value, setValue, values, placeholder, disabled, fullWidth, white, }: SelectProps) => import("react
|
|
2
|
+
declare const CustomSelect: ({ label, value, setValue, values, placeholder, disabled, fullWidth, white, }: SelectProps) => import("react").JSX.Element;
|
|
3
3
|
export { CustomSelect };
|
|
@@ -9,5 +9,5 @@ interface SheetProps {
|
|
|
9
9
|
onClick: () => void;
|
|
10
10
|
}[];
|
|
11
11
|
}
|
|
12
|
-
declare const Sheet: ({ data, setData, columnLabels, buttons }: SheetProps) => import("react
|
|
12
|
+
declare const Sheet: ({ data, setData, columnLabels, buttons }: SheetProps) => import("react").JSX.Element;
|
|
13
13
|
export { Sheet };
|
|
@@ -2,5 +2,5 @@ import { CustomTreeItem } from '../types/types';
|
|
|
2
2
|
interface TreeViewProps {
|
|
3
3
|
items: CustomTreeItem[];
|
|
4
4
|
}
|
|
5
|
-
declare const TreeviewField: ({ items }: TreeViewProps) => import("react
|
|
5
|
+
declare const TreeviewField: ({ items }: TreeViewProps) => import("react").JSX.Element;
|
|
6
6
|
export { TreeviewField };
|
|
@@ -3,11 +3,21 @@ export type { MessageAlertAction, MessageAlertProps, MessageAlertType, } from '.
|
|
|
3
3
|
export { SystemAlert } from '../rb-components/feedback/system-alert';
|
|
4
4
|
export { useSystemAlert as useRbSystemAlert } from '../rb-components/feedback/system-alert';
|
|
5
5
|
export type { SystemAlertKey, SystemAlertSeverity, } from '../rb-components/feedback/system-alert';
|
|
6
|
-
export {
|
|
7
|
-
export
|
|
6
|
+
export { AuthLanguageDropdown, AuthPasswordInput, AuthShell, } from '../rb-components/auth';
|
|
7
|
+
export { FormField, FormGrid, FormShell } from '../rb-components/form';
|
|
8
|
+
export type { FormFieldProps, FormFieldSpan, FormGridColumnGap, FormGridProps, FormGridRowGap, FormShellProps, FormShellSize, } from '../rb-components/form';
|
|
9
|
+
export { RbList, RbListItem } from '../rb-components/list';
|
|
10
|
+
export type { RbListItemProps, RbListProps, RbListSize, RbListVariant, } from '../rb-components/list';
|
|
8
11
|
export { PillsTabs, PillsTabs as RbPillsTabs, } from '../rb-components/navigation';
|
|
9
12
|
export type { PillsTabItem, PillsTabsProps } from '../rb-components/navigation';
|
|
10
|
-
export { Button as RBButton, Input, AutoCustomCompleteField, CustomDatefield, CustomDatePicker, CustomTimefield, CustomDateRangefield, CustomDateRangePicker, CustomDateRangeCalendar, RbInlineChipField, CalendarChipIcon, ClockChipIcon, Card, CardHeader, CardTitle, CardContent, CardFooter, IconButton as RbIconButton, Tooltip, Portal, RbContextMenu, } from '../rb-components/ui';
|
|
11
|
-
export type { ButtonProps as RBButtonProps, InputProps, RbInlineChipFieldProps, RbInlineChipFieldAction, RbContextMenuAlign, RbContextMenuItem, RbContextMenuPosition, RbContextMenuProps, RbContextMenuVariant, CardProps, IconButtonProps as RbIconButtonProps, TooltipProps, } from '../rb-components/ui';
|
|
12
|
-
export { RbTable, RbTableToolbar, RbToolbarActionButton, RbToolbarDateRangeField, RbToolbarMultiSelectField, RbToolbarSearchField, RbToolbarSelectField, } from '../rb-components/table';
|
|
13
|
-
export type { RbTableColumn, RbTableRowId, RbTableProps, RbTableCellParams, RbTableRowParams, RbTableInitialState, RbTablePinnedColumns, RbTableBaseRow, RbTableSize, RbTableDensity, RbTableAlign, RbTableCellContextMenuParams, RbTableCellContextMenuPosition, RbRowSelectionModel, RbRowsPerPageOption, RbAnyTableColumn, RbLegacyGridColumn, } from '../rb-components/table';
|
|
13
|
+
export { Button as RBButton, Input, AutoCustomCompleteField, CustomDatefield, CustomDatePicker, CustomTimefield, CustomDateRangefield, CustomDateRangePicker, CustomDateRangeCalendar, RbInlineChipField, CalendarChipIcon, ClockChipIcon, Card, CardHeader, CardTitle, CardContent, CardFooter, IconButton as RbIconButton, Tooltip, Portal, RbContextMenu, Checkbox, Radio, cn, } from '../rb-components/ui';
|
|
14
|
+
export type { AutoValueItem, ButtonProps as RBButtonProps, InputProps, CustomAutoCompleteFieldProps, CustomDatefieldProps, CustomDatePickerProps, CustomTimefieldProps, CustomDateRangefieldProps, CustomDateRangePickerProps, CustomDateRangeCalendarProps, RbInlineChipFieldProps, RbInlineChipFieldAction, RbContextMenuAlign, RbContextMenuItem, RbContextMenuPosition, RbContextMenuProps, RbContextMenuVariant, CardProps, IconButtonProps as RbIconButtonProps, CheckboxProps, CheckboxSize, RadioProps, PortalProps, TooltipProps, } from '../rb-components/ui';
|
|
15
|
+
export { RbTable, RbExcelTable, RbTableToolbar, RbToolbarActionButton, RbToolbarDateRangeField, RbToolbarMultiSelectField, RbToolbarSearchField, RbToolbarSelectField, formatRbExcelDate, formatRbExcelTime, getRbExcelValueAtPath, isRbExcelEmptyValue, isValidRbExcelDate, isValidRbExcelNumber, isValidRbExcelTime, parseRbExcelValue, setRbExcelValueAtPath, } from '../rb-components/table';
|
|
16
|
+
export type { RbExcelCellContext, RbExcelCreateRowContext, RbExcelEditorContext, RbExcelFieldType, RbExcelImportContext, RbExcelParseContext, RbExcelRenderContext, RbExcelRowsChangeMeta, RbExcelRowsChangeSource, RbExcelTableActions, RbExcelTableColumn, RbExcelTableLabels, RbExcelTableProps, RbExcelTableRef, RbExcelValidationError, RbExcelValidationErrorInput, RbExcelValidationErrorSource, RbExcelValidationResult, RbExcelValueSource, RbTableColumn, RbTableRowId, RbTableProps, RbTableCellParams, RbTableRowParams, RbTableInitialState, RbTablePinnedColumns, RbTableBaseRow, RbTableSize, RbTableDensity, RbTableAlign, RbTableCellContextMenuParams, RbTableCellContextMenuPosition, RbTablePaginationMode, RbTablePaginationModel, RbRowSelectionModel, RbRowsPerPageOption, RbToolbarDateRangeFieldProps, RbToolbarDateRangeValue, RbAnyTableColumn, RbLegacyGridColumn, } from '../rb-components/table';
|
|
17
|
+
export { DashboardShell, ShellContent } from '../rb-components/shell';
|
|
18
|
+
export { Sidebar, SidebarContent, SidebarFooter, SidebarHeader, } from '../rb-components/sidebar';
|
|
19
|
+
export { TopBar, TopBarUserMenu } from '../rb-components/topbar';
|
|
20
|
+
export { TreePanel, findNodeById, flattenTree, getExpandableNodeIds, getNodeSelectionState, getSelectableDescendantIds, getSelectableSubtreeIds, hasNodeChildren, isNodeSelectable, isNodeSelectionMutable, normalizeHierarchicalSelection, toggleExpandedNode, toggleNodeSelection, } from '../rb-components/tree-panel';
|
|
21
|
+
export type { GetSelectableSubtreeOptions, TreePanelExpandedChangeDetails, TreePanelIdCollection, TreePanelNode, TreePanelNodeId, TreePanelProps, TreePanelRenderNodeParams, TreePanelSelectionChangeDetails, TreePanelSelectionState, } from '../rb-components/tree-panel';
|
|
22
|
+
export { getRbImageUrl, rbImages } from '../rb-components/images';
|
|
23
|
+
export type { RbImageName } from '../rb-components/images';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { CustomToolbarProps } from '../types/types';
|
|
2
|
-
declare const CustomToolbar: (props: CustomToolbarProps) => import("react
|
|
2
|
+
declare const CustomToolbar: (props: CustomToolbarProps) => import("react").JSX.Element;
|
|
3
3
|
export { CustomToolbar };
|
|
@@ -11,5 +11,5 @@ interface CustomDateRangePickerProps {
|
|
|
11
11
|
maxDate: Dayjs | undefined;
|
|
12
12
|
minDate: Dayjs | undefined;
|
|
13
13
|
}
|
|
14
|
-
declare const CustomDateRangePicker: ({ label, initialValue, value, setValue, calendars, disabled, white, fullWidth, maxDate, minDate, }: CustomDateRangePickerProps) => import("react
|
|
14
|
+
declare const CustomDateRangePicker: ({ label, initialValue, value, setValue, calendars, disabled, white, fullWidth, maxDate, minDate, }: CustomDateRangePickerProps) => import("react").JSX.Element;
|
|
15
15
|
export { CustomDateRangePicker };
|
|
@@ -6,5 +6,5 @@ interface CustomDateRangefieldProps {
|
|
|
6
6
|
disabled: boolean;
|
|
7
7
|
fullWidth: boolean;
|
|
8
8
|
}
|
|
9
|
-
declare const CustomDateRangefield: ({ label, value, setValue, disabled, fullWidth, }: CustomDateRangefieldProps) => import("react
|
|
9
|
+
declare const CustomDateRangefield: ({ label, value, setValue, disabled, fullWidth, }: CustomDateRangefieldProps) => import("react").JSX.Element;
|
|
10
10
|
export { CustomDateRangefield };
|
|
@@ -8,5 +8,5 @@ interface CustomDatePickerProps {
|
|
|
8
8
|
white: boolean;
|
|
9
9
|
fullWidth: boolean;
|
|
10
10
|
}
|
|
11
|
-
declare const CustomDatePicker: ({ label, initialValue, value, setValue, disabled, white, fullWidth, }: CustomDatePickerProps) => import("react
|
|
11
|
+
declare const CustomDatePicker: ({ label, initialValue, value, setValue, disabled, white, fullWidth, }: CustomDatePickerProps) => import("react").JSX.Element;
|
|
12
12
|
export { CustomDatePicker };
|
|
@@ -7,5 +7,5 @@ interface CustomDatefieldProps {
|
|
|
7
7
|
white: boolean;
|
|
8
8
|
fullWidth: boolean;
|
|
9
9
|
}
|
|
10
|
-
declare const CustomDatefield: ({ label, value, setValue, disabled, fullWidth, white, }: CustomDatefieldProps) => import("react
|
|
10
|
+
declare const CustomDatefield: ({ label, value, setValue, disabled, fullWidth, white, }: CustomDatefieldProps) => import("react").JSX.Element;
|
|
11
11
|
export { CustomDatefield };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { MultiSelectProps } from './types/types';
|
|
2
|
-
declare const CustomMultiSelect: ({ label, value, setValue, values, placeholder, disabled, fullWidth, white, search, }: MultiSelectProps) => import("react
|
|
2
|
+
declare const CustomMultiSelect: ({ label, value, setValue, values, placeholder, disabled, fullWidth, white, search, }: MultiSelectProps) => import("react").JSX.Element;
|
|
3
3
|
export { CustomMultiSelect };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { SelectProps } from './types/types';
|
|
2
|
-
declare const CustomSelect: ({ label, values, placeholder, value, setValue, disabled, fullWidth, white, search, }: SelectProps) => import("react
|
|
2
|
+
declare const CustomSelect: ({ label, values, placeholder, value, setValue, disabled, fullWidth, white, search, }: SelectProps) => import("react").JSX.Element;
|
|
3
3
|
export { CustomSelect };
|
|
@@ -3,7 +3,7 @@ declare const TimekeeperItems: ({
|
|
|
3
3
|
items: {
|
|
4
4
|
title: string;
|
|
5
5
|
color: string;
|
|
6
|
-
icon: import("react
|
|
6
|
+
icon: import("react").JSX.Element;
|
|
7
7
|
path: string;
|
|
8
8
|
view: string;
|
|
9
9
|
subgroups: never[];
|
|
@@ -13,7 +13,7 @@ declare const TimekeeperItems: ({
|
|
|
13
13
|
items: {
|
|
14
14
|
title: string;
|
|
15
15
|
color: string;
|
|
16
|
-
icon: import("react
|
|
16
|
+
icon: import("react").JSX.Element;
|
|
17
17
|
path: string;
|
|
18
18
|
view: string;
|
|
19
19
|
subgroups: {
|
|
@@ -27,7 +27,7 @@ declare const EasyManagerItems: {
|
|
|
27
27
|
items: {
|
|
28
28
|
title: string;
|
|
29
29
|
color: string;
|
|
30
|
-
icon: import("react
|
|
30
|
+
icon: import("react").JSX.Element;
|
|
31
31
|
path: string;
|
|
32
32
|
subgroups: never[];
|
|
33
33
|
}[];
|
package/dist/src/pages/Home.d.ts
CHANGED
|
@@ -2,5 +2,5 @@ import { default as dayjs } from 'dayjs';
|
|
|
2
2
|
interface SegmentTableProps {
|
|
3
3
|
date: dayjs.Dayjs;
|
|
4
4
|
}
|
|
5
|
-
declare const SegmentTable: ({ date }: SegmentTableProps) => import("react
|
|
5
|
+
declare const SegmentTable: ({ date }: SegmentTableProps) => import("react").JSX.Element;
|
|
6
6
|
export { SegmentTable };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { PageProps } from '../components/core/types/types';
|
|
2
|
-
declare const Timekeeper: ({ location, navigate }: PageProps) => import("react
|
|
2
|
+
declare const Timekeeper: ({ location, navigate }: PageProps) => import("react").JSX.Element;
|
|
3
3
|
export { Timekeeper };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function RbComponentsDocumentation(): import("react").JSX.Element;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type GuideCardSize = "s" | "m" | "l" | "full";
|
|
3
|
+
export interface GuideCardProps {
|
|
4
|
+
title: string;
|
|
5
|
+
meta: string;
|
|
6
|
+
code?: string;
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
details?: ReactNode;
|
|
9
|
+
className?: string;
|
|
10
|
+
/**
|
|
11
|
+
* s:
|
|
12
|
+
* - Desktop grande: tres tarjetas por fila.
|
|
13
|
+
* - Tablet: dos tarjetas por fila.
|
|
14
|
+
*
|
|
15
|
+
* m:
|
|
16
|
+
* - Desktop grande: dos tarjetas por fila.
|
|
17
|
+
* - Tablet: dos tarjetas por fila.
|
|
18
|
+
*
|
|
19
|
+
* l:
|
|
20
|
+
* - Desktop grande: ocupa dos tercios.
|
|
21
|
+
* - Puede combinarse con una tarjeta size="s".
|
|
22
|
+
*
|
|
23
|
+
* full:
|
|
24
|
+
* - Ocupa todo el ancho disponible.
|
|
25
|
+
*/
|
|
26
|
+
size?: GuideCardSize;
|
|
27
|
+
/**
|
|
28
|
+
* Define si el bloque de código comienza abierto.
|
|
29
|
+
*/
|
|
30
|
+
defaultCodeOpen?: boolean;
|
|
31
|
+
}
|
|
32
|
+
export declare function GuideCard({ title, meta, code, children, details, className, size, defaultCodeOpen, }: GuideCardProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface GuideSectionProps {
|
|
3
|
+
id?: string;
|
|
4
|
+
title: string;
|
|
5
|
+
description: string;
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export declare function GuideSection({ id, title, description, children, }: GuideSectionProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { RbDocumentationIndexItem } from '../types/documentation.types';
|
|
2
|
+
export interface RbDocumentationIndexProps {
|
|
3
|
+
items: RbDocumentationIndexItem[];
|
|
4
|
+
}
|
|
5
|
+
export declare function RbDocumentationIndex({ items, }: RbDocumentationIndexProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { RbExcelTableColumn, RbExcelTableLabels } from '../../../../rb-components/table';
|
|
2
|
+
export interface ExcelTableGuideRow {
|
|
3
|
+
id: string;
|
|
4
|
+
personalNumber: string;
|
|
5
|
+
date: string;
|
|
6
|
+
type: string;
|
|
7
|
+
startTime: string;
|
|
8
|
+
endTime: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const EXCEL_TABLE_GUIDE_INITIAL_ROWS: ExcelTableGuideRow[];
|
|
11
|
+
export declare const EXCEL_TABLE_GUIDE_COLUMNS: RbExcelTableColumn<ExcelTableGuideRow>[];
|
|
12
|
+
export declare const EXCEL_TABLE_GUIDE_LABELS: RbExcelTableLabels;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { RbTablePaginationModel } from '../../../../rb-components/table';
|
|
2
|
+
export type TableGuideStatus = "Activo" | "Pendiente" | "Bloqueado";
|
|
3
|
+
export interface TableGuideRow {
|
|
4
|
+
id: string;
|
|
5
|
+
worker: string;
|
|
6
|
+
rut: string;
|
|
7
|
+
area: string;
|
|
8
|
+
status: TableGuideStatus;
|
|
9
|
+
date: string;
|
|
10
|
+
show?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface ServerTableGuideResponse {
|
|
13
|
+
items: TableGuideRow[];
|
|
14
|
+
total: number;
|
|
15
|
+
}
|
|
16
|
+
export declare const TABLE_GUIDE_ROWS: TableGuideRow[];
|
|
17
|
+
export declare const SERVER_TABLE_GUIDE_ROWS: TableGuideRow[];
|
|
18
|
+
export declare function getServerTableGuidePage(paginationModel: RbTablePaginationModel): Promise<ServerTableGuideResponse>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { TreePanelNode } from '../../../../rb-components/tree-panel';
|
|
2
|
+
export declare const TREE_PANEL_DEMO_ITEMS: TreePanelNode[];
|
|
3
|
+
export declare const TREE_PANEL_NO_SELECTION_ITEMS: TreePanelNode[];
|
|
4
|
+
export declare const TREE_PANEL_NODE_CONFIGURATION_ITEMS: TreePanelNode[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { RbComponentsDocumentation } from './RbComponentsDocumentation';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function BaseComponentsSection(): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function ButtonsSection(): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function DatesSection(): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function ExcelTableSection(): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function FeedbackComponentsSection(): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function InlineChipFieldSection(): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function InputsSection(): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function ListsSection(): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function SelectionControlsSection(): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function SelectsSection(): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function TableToolbarSection(): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function TablesSection(): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function TreePanelSection(): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function TypographySection(): import("react").JSX.Element;
|
|
@@ -10,5 +10,5 @@ interface AuthLanguageDropdownProps {
|
|
|
10
10
|
value: string;
|
|
11
11
|
onChange: (code: string) => void;
|
|
12
12
|
}
|
|
13
|
-
export declare function AuthLanguageDropdown({ languages, value, onChange, }: AuthLanguageDropdownProps): import("react
|
|
13
|
+
export declare function AuthLanguageDropdown({ languages, value, onChange, }: AuthLanguageDropdownProps): import("react").JSX.Element | null;
|
|
14
14
|
export {};
|
|
@@ -8,5 +8,5 @@ interface AuthPasswordInputProps {
|
|
|
8
8
|
autoComplete?: string;
|
|
9
9
|
onKeyDown?: KeyboardEventHandler<HTMLInputElement>;
|
|
10
10
|
}
|
|
11
|
-
export declare function AuthPasswordInput({ value, onChange, label, placeholder, disabled, autoComplete, onKeyDown, }: AuthPasswordInputProps): import("react
|
|
11
|
+
export declare function AuthPasswordInput({ value, onChange, label, placeholder, disabled, autoComplete, onKeyDown, }: AuthPasswordInputProps): import("react").JSX.Element;
|
|
12
12
|
export {};
|
|
@@ -8,5 +8,5 @@ interface AuthShellProps {
|
|
|
8
8
|
product: AuthProduct;
|
|
9
9
|
children: ReactNode;
|
|
10
10
|
}
|
|
11
|
-
export declare function AuthShell({ product, children }: AuthShellProps): import("react
|
|
11
|
+
export declare function AuthShell({ product, children }: AuthShellProps): import("react").JSX.Element;
|
|
12
12
|
export {};
|
|
@@ -16,5 +16,5 @@ export interface MessageAlertProps {
|
|
|
16
16
|
hideIcon?: boolean;
|
|
17
17
|
className?: string;
|
|
18
18
|
}
|
|
19
|
-
export declare function MessageAlert({ type, title, children, message, onClose, closeLabel, actions, hideIcon, className, }: MessageAlertProps): import("react
|
|
19
|
+
export declare function MessageAlert({ type, title, children, message, onClose, closeLabel, actions, hideIcon, className, }: MessageAlertProps): import("react").JSX.Element;
|
|
20
20
|
export default MessageAlert;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export type FormGridRowGap = "compact" | "default" | "relaxed" | "loose" | "spacious";
|
|
3
|
+
export type FormGridColumnGap = "compact" | "default" | "wide";
|
|
4
|
+
export type FormFieldSpan = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
5
|
+
export interface FormGridProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
rowGap?: FormGridRowGap;
|
|
8
|
+
columnGap?: FormGridColumnGap;
|
|
9
|
+
}
|
|
10
|
+
export interface FormFieldProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
|
|
11
|
+
children: ReactNode;
|
|
12
|
+
span?: FormFieldSpan;
|
|
13
|
+
}
|
|
14
|
+
export declare function FormGrid({ children, rowGap, columnGap, className, ...rest }: FormGridProps): import("react").JSX.Element;
|
|
15
|
+
export declare function FormField({ children, span, className, ...rest }: FormFieldProps): import("react").JSX.Element;
|