@sqrzro/admin 2.0.0 → 2.1.0-bz.1
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/.babelrc.json +16 -0
- package/.eslintignore +6 -0
- package/.eslintrc +1 -4
- package/.sqrzrorc +5 -0
- package/.storybook/main.js +10 -11
- package/.turbo/turbo-build.log +20 -0
- package/.turbo/turbo-prettier.log +41 -213
- package/COMPONENTS.md +45 -0
- package/dist/components/AppLayout/index.d.ts +2 -2
- package/dist/components/AppLayout/index.js +7 -15
- package/dist/components/AppNavigation/index.d.ts +3 -0
- package/dist/components/AppNavigation/index.js +15 -0
- package/dist/components/BooleanFilter/index.d.ts +5 -0
- package/dist/components/BooleanFilter/index.js +19 -0
- package/dist/components/Config/index.d.ts +6 -0
- package/dist/components/Config/index.js +9 -0
- package/dist/components/Dashboard/index.d.ts +7 -0
- package/dist/components/Dashboard/index.js +5 -0
- package/dist/components/DateFilter/index.d.ts +6 -0
- package/dist/components/DateFilter/index.js +32 -0
- package/dist/components/DropdownFilter/index.d.ts +6 -0
- package/dist/components/DropdownFilter/index.js +9 -0
- package/dist/components/FilterBar/index.d.ts +8 -0
- package/dist/components/FilterBar/index.js +12 -0
- package/dist/components/FilterBarItem/index.d.ts +14 -0
- package/dist/components/FilterBarItem/index.js +31 -0
- package/dist/components/GridList/index.d.ts +5 -0
- package/dist/components/GridList/index.js +7 -0
- package/dist/components/GridListItem/index.d.ts +4 -0
- package/dist/components/GridListItem/index.js +7 -0
- package/dist/components/Icon/index.d.ts +8 -0
- package/dist/components/Icon/index.js +22 -0
- package/dist/components/List/index.d.ts +19 -33
- package/dist/components/List/index.js +19 -43
- package/dist/components/ListAction/index.d.ts +7 -0
- package/dist/components/ListAction/index.js +9 -0
- package/dist/components/ListActions/index.d.ts +6 -16
- package/dist/components/ListActions/index.js +9 -11
- package/dist/components/ListItem/index.d.ts +14 -0
- package/dist/components/ListItem/index.js +12 -0
- package/dist/components/LoginForm/index.d.ts +5 -2
- package/dist/components/LoginForm/index.js +4 -44
- package/dist/components/MeActions/index.d.ts +3 -0
- package/dist/components/MeActions/index.js +13 -0
- package/dist/components/MePanel/index.d.ts +3 -0
- package/dist/components/MePanel/index.js +9 -0
- package/dist/components/Page/index.d.ts +12 -0
- package/dist/components/Page/index.js +8 -0
- package/dist/components/PageActions/index.d.ts +6 -0
- package/dist/components/PageActions/index.js +13 -0
- package/dist/components/Panel/index.d.ts +7 -0
- package/dist/components/Panel/index.js +5 -0
- package/dist/components/RootLayout/index.d.ts +5 -3
- package/dist/components/RootLayout/index.js +12 -5
- package/dist/components/Table/index.d.ts +7 -26
- package/dist/components/Table/index.js +14 -52
- package/dist/components/TableClientComponent/index.d.ts +16 -0
- package/dist/components/TableClientComponent/index.js +44 -0
- package/dist/components/Tabs/index.d.ts +8 -0
- package/dist/components/Tabs/index.js +6 -0
- package/dist/components/index.d.ts +24 -0
- package/dist/components/index.js +13 -0
- package/dist/icons/ErrorIcon/index.d.ts +3 -0
- package/dist/icons/ErrorIcon/index.js +5 -0
- package/dist/icons/InfoIcon/index.d.ts +3 -0
- package/dist/icons/InfoIcon/index.js +5 -0
- package/dist/icons/SuccessIcon/index.d.ts +3 -0
- package/dist/icons/SuccessIcon/index.js +5 -0
- package/dist/icons/WarningIcon/index.d.ts +3 -0
- package/dist/icons/WarningIcon/index.js +5 -0
- package/dist/index.d.ts +2 -208
- package/dist/index.js +2 -212
- package/dist/interfaces.d.ts +4 -0
- package/dist/services/ConfigService.d.ts +7 -40
- package/dist/services/ConfigService.js +10 -48
- package/dist/styles/config.d.ts +3 -0
- package/dist/styles/config.js +82 -0
- package/dist/styles.css +873 -134
- package/dist/utility/formatters.d.ts +1 -0
- package/dist/utility/formatters.js +8 -0
- package/next-env.d.ts +5 -0
- package/package.json +39 -29
- package/src/components/AppLayout/index.tsx +21 -11
- package/src/components/AppNavigation/index.tsx +39 -0
- package/src/components/BooleanFilter/index.tsx +28 -0
- package/src/components/Config/index.tsx +17 -0
- package/src/components/Dashboard/index.tsx +15 -0
- package/src/components/DateFilter/index.tsx +49 -0
- package/src/components/DropdownFilter/index.tsx +19 -0
- package/src/components/FilterBar/index.tsx +35 -0
- package/src/components/FilterBarItem/index.tsx +126 -0
- package/src/components/GridList/index.tsx +11 -0
- package/src/components/GridListItem/index.tsx +31 -0
- package/src/components/Icon/index.tsx +33 -0
- package/src/components/List/index.tsx +52 -72
- package/src/components/ListAction/index.tsx +25 -0
- package/src/components/ListActions/index.tsx +32 -19
- package/src/components/ListItem/index.tsx +56 -0
- package/src/components/LoginForm/index.tsx +25 -105
- package/src/components/MeActions/index.tsx +21 -0
- package/src/components/MePanel/index.tsx +21 -0
- package/src/components/Page/index.tsx +60 -0
- package/src/components/PageActions/index.tsx +22 -0
- package/src/components/Panel/Panel.spec.tsx +10 -0
- package/src/components/Panel/Panel.stories.tsx +9 -0
- package/src/components/Panel/index.tsx +15 -0
- package/src/components/RootLayout/index.tsx +23 -29
- package/src/components/Table/index.tsx +22 -111
- package/src/components/TableClientComponent/index.tsx +112 -0
- package/src/components/Tabs/index.tsx +25 -0
- package/src/components/index.ts +68 -0
- package/src/icons/ErrorIcon/index.tsx +19 -0
- package/src/icons/InfoIcon/index.tsx +19 -0
- package/src/icons/SuccessIcon/index.tsx +19 -0
- package/src/icons/WarningIcon/index.tsx +19 -0
- package/src/index.ts +2 -214
- package/src/interfaces.ts +3 -0
- package/src/react.d.ts +12 -0
- package/src/services/ConfigService.ts +15 -84
- package/src/styles/config.ts +95 -0
- package/src/styles/tailwind.css +25 -35
- package/src/utility/formatters.ts +9 -0
- package/tailwind.config.js +8 -3
- package/tsconfig.build.json +4 -0
- package/tsconfig.json +3 -3
- package/.turbo/turbo-docs.log +0 -0
- package/.turbo/turbo-lint.log +0 -112
- package/.turbo/turbo-test.log +0 -6
- package/dist/components/Alert/index.d.ts +0 -4
- package/dist/components/Alert/index.js +0 -15
- package/dist/components/Allow/index.d.ts +0 -20
- package/dist/components/Allow/index.js +0 -29
- package/dist/components/AppLayout/AppLayout.stories.d.ts +0 -5
- package/dist/components/AppLayout/AppLayout.stories.js +0 -11
- package/dist/components/AutoSuggest/index.d.ts +0 -74
- package/dist/components/AutoSuggest/index.js +0 -143
- package/dist/components/Button/Button.stories.d.ts +0 -11
- package/dist/components/Button/Button.stories.js +0 -41
- package/dist/components/Button/index.d.ts +0 -49
- package/dist/components/Button/index.js +0 -50
- package/dist/components/CalendarInput/index.d.ts +0 -24
- package/dist/components/CalendarInput/index.js +0 -54
- package/dist/components/CheckboxList/index.d.ts +0 -17
- package/dist/components/CheckboxList/index.js +0 -25
- package/dist/components/CodeInput/index.d.ts +0 -9
- package/dist/components/CodeInput/index.js +0 -51
- package/dist/components/ConnectedDropdown/index.d.ts +0 -14
- package/dist/components/ConnectedDropdown/index.js +0 -36
- package/dist/components/ConnectedList/index.d.ts +0 -5
- package/dist/components/ConnectedList/index.js +0 -7
- package/dist/components/ConnectedTable/index.d.ts +0 -5
- package/dist/components/ConnectedTable/index.js +0 -7
- package/dist/components/ContentBlock/index.d.ts +0 -16
- package/dist/components/ContentBlock/index.js +0 -13
- package/dist/components/DataPanel/index.d.ts +0 -8
- package/dist/components/DataPanel/index.js +0 -8
- package/dist/components/DateInput/index.d.ts +0 -18
- package/dist/components/DateInput/index.js +0 -81
- package/dist/components/Dropdown/index.d.ts +0 -36
- package/dist/components/Dropdown/index.js +0 -122
- package/dist/components/ErrorMessage/index.d.ts +0 -16
- package/dist/components/ErrorMessage/index.js +0 -17
- package/dist/components/Fieldset/index.d.ts +0 -18
- package/dist/components/Fieldset/index.js +0 -19
- package/dist/components/FileInput/index.d.ts +0 -10
- package/dist/components/FileInput/index.js +0 -26
- package/dist/components/FilterLink/index.d.ts +0 -14
- package/dist/components/FilterLink/index.js +0 -15
- package/dist/components/Form/index.d.ts +0 -14
- package/dist/components/Form/index.js +0 -15
- package/dist/components/FormActions/index.d.ts +0 -18
- package/dist/components/FormActions/index.js +0 -14
- package/dist/components/FormField/index.d.ts +0 -14
- package/dist/components/FormField/index.js +0 -40
- package/dist/components/FormRepeater/index.d.ts +0 -18
- package/dist/components/FormRepeater/index.js +0 -65
- package/dist/components/ImageInput/index.d.ts +0 -13
- package/dist/components/ImageInput/index.js +0 -45
- package/dist/components/InfoPanel/index.d.ts +0 -14
- package/dist/components/InfoPanel/index.js +0 -11
- package/dist/components/Link/__mocks__/index.d.ts +0 -6
- package/dist/components/Link/__mocks__/index.js +0 -12
- package/dist/components/Link/index.d.ts +0 -23
- package/dist/components/Link/index.js +0 -21
- package/dist/components/Message/index.d.ts +0 -14
- package/dist/components/Message/index.js +0 -14
- package/dist/components/Modal/index.d.ts +0 -4
- package/dist/components/Modal/index.js +0 -18
- package/dist/components/ModalActions/index.d.ts +0 -21
- package/dist/components/ModalActions/index.js +0 -18
- package/dist/components/MoneyInput/index.d.ts +0 -10
- package/dist/components/MoneyInput/index.js +0 -13
- package/dist/components/PasswordForm/index.d.ts +0 -35
- package/dist/components/PasswordForm/index.js +0 -21
- package/dist/components/PasswordInput/index.d.ts +0 -4
- package/dist/components/PasswordInput/index.js +0 -12
- package/dist/components/RadioList/index.d.ts +0 -9
- package/dist/components/RadioList/index.js +0 -7
- package/dist/components/SummaryList/index.d.ts +0 -18
- package/dist/components/SummaryList/index.js +0 -15
- package/dist/components/Switch/index.d.ts +0 -21
- package/dist/components/Switch/index.js +0 -31
- package/dist/components/Tag/index.d.ts +0 -15
- package/dist/components/Tag/index.js +0 -13
- package/dist/components/TextArea/index.d.ts +0 -18
- package/dist/components/TextArea/index.js +0 -26
- package/dist/components/TextInput/index.d.ts +0 -14
- package/dist/components/TextInput/index.js +0 -27
- package/dist/components/WebsiteInput/index.d.ts +0 -10
- package/dist/components/WebsiteInput/index.js +0 -13
- package/dist/components/WeekCalendar/index.d.ts +0 -24
- package/dist/components/WeekCalendar/index.js +0 -48
- package/dist/core/AlertComponent/index.d.ts +0 -26
- package/dist/core/AlertComponent/index.js +0 -35
- package/dist/core/AppHeader/index.d.ts +0 -3
- package/dist/core/AppHeader/index.js +0 -17
- package/dist/core/AppLogo/index.d.ts +0 -12
- package/dist/core/AppLogo/index.js +0 -16
- package/dist/core/AppLogoImage/index.d.ts +0 -3
- package/dist/core/AppLogoImage/index.js +0 -11
- package/dist/core/AppLogoPlaceholder/index.d.ts +0 -3
- package/dist/core/AppLogoPlaceholder/index.js +0 -10
- package/dist/core/Assistive/index.d.ts +0 -12
- package/dist/core/Assistive/index.js +0 -9
- package/dist/core/AuthForm/index.d.ts +0 -10
- package/dist/core/AuthForm/index.js +0 -13
- package/dist/core/Banner/index.d.ts +0 -3
- package/dist/core/Banner/index.js +0 -14
- package/dist/core/Calendar/index.d.ts +0 -21
- package/dist/core/Calendar/index.js +0 -69
- package/dist/core/CalendarDay/index.d.ts +0 -30
- package/dist/core/CalendarDay/index.js +0 -30
- package/dist/core/CalendarMonth/index.d.ts +0 -23
- package/dist/core/CalendarMonth/index.js +0 -45
- package/dist/core/CalendarNavigation/index.d.ts +0 -17
- package/dist/core/CalendarNavigation/index.js +0 -24
- package/dist/core/CalendarWeek/index.d.ts +0 -28
- package/dist/core/CalendarWeek/index.js +0 -46
- package/dist/core/ChkRad/index.d.ts +0 -26
- package/dist/core/ChkRad/index.js +0 -33
- package/dist/core/ChkRadIcon/index.d.ts +0 -14
- package/dist/core/ChkRadIcon/index.js +0 -12
- package/dist/core/ChkRadList/index.d.ts +0 -32
- package/dist/core/ChkRadList/index.js +0 -37
- package/dist/core/CloseButton/index.d.ts +0 -17
- package/dist/core/CloseButton/index.js +0 -12
- package/dist/core/ConfirmModal/index.d.ts +0 -3
- package/dist/core/ConfirmModal/index.js +0 -38
- package/dist/core/ConnectedRepeater/index.d.ts +0 -50
- package/dist/core/ConnectedRepeater/index.js +0 -154
- package/dist/core/ConnectedRepeaterComponent/index.d.ts +0 -24
- package/dist/core/ConnectedRepeaterComponent/index.js +0 -25
- package/dist/core/Container/index.d.ts +0 -14
- package/dist/core/Container/index.js +0 -12
- package/dist/core/DataPanelItem/index.d.ts +0 -8
- package/dist/core/DataPanelItem/index.js +0 -7
- package/dist/core/DropdownPanel/index.d.ts +0 -31
- package/dist/core/DropdownPanel/index.js +0 -32
- package/dist/core/EmptyMessage/index.d.ts +0 -21
- package/dist/core/EmptyMessage/index.js +0 -21
- package/dist/core/FilterItem/index.d.ts +0 -25
- package/dist/core/FilterItem/index.js +0 -82
- package/dist/core/Filters/index.d.ts +0 -31
- package/dist/core/Filters/index.js +0 -85
- package/dist/core/FixedActions/index.d.ts +0 -24
- package/dist/core/FixedActions/index.js +0 -22
- package/dist/core/FormError/index.d.ts +0 -12
- package/dist/core/FormError/index.js +0 -9
- package/dist/core/FormLabel/index.d.ts +0 -16
- package/dist/core/FormLabel/index.js +0 -13
- package/dist/core/FormLegend/index.d.ts +0 -12
- package/dist/core/FormLegend/index.js +0 -9
- package/dist/core/Header/Header.stories.d.ts +0 -5
- package/dist/core/Header/Header.stories.js +0 -11
- package/dist/core/Header/index.d.ts +0 -14
- package/dist/core/Header/index.js +0 -12
- package/dist/core/Icon/index.d.ts +0 -14
- package/dist/core/Icon/index.js +0 -32
- package/dist/core/IconButton/index.d.ts +0 -22
- package/dist/core/IconButton/index.js +0 -20
- package/dist/core/InputPanel/index.d.ts +0 -16
- package/dist/core/InputPanel/index.js +0 -11
- package/dist/core/ListItem/index.d.ts +0 -39
- package/dist/core/ListItem/index.js +0 -44
- package/dist/core/ListItemAction/index.d.ts +0 -11
- package/dist/core/ListItemAction/index.js +0 -13
- package/dist/core/ListItemActions/index.d.ts +0 -8
- package/dist/core/ListItemActions/index.js +0 -16
- package/dist/core/ListItemMetaItem/index.d.ts +0 -19
- package/dist/core/ListItemMetaItem/index.js +0 -29
- package/dist/core/ListItemTitle/index.d.ts +0 -19
- package/dist/core/ListItemTitle/index.js +0 -44
- package/dist/core/Loader/index.d.ts +0 -15
- package/dist/core/Loader/index.js +0 -16
- package/dist/core/MeActions/index.d.ts +0 -3
- package/dist/core/MeActions/index.js +0 -48
- package/dist/core/MePanel/index.d.ts +0 -19
- package/dist/core/MePanel/index.js +0 -29
- package/dist/core/ModalComponent/index.d.ts +0 -22
- package/dist/core/ModalComponent/index.js +0 -29
- package/dist/core/Navigation/index.d.ts +0 -3
- package/dist/core/Navigation/index.js +0 -33
- package/dist/core/NavigationDivider/index.d.ts +0 -3
- package/dist/core/NavigationDivider/index.js +0 -8
- package/dist/core/NavigationItem/index.d.ts +0 -16
- package/dist/core/NavigationItem/index.js +0 -21
- package/dist/core/Pagination/index.d.ts +0 -15
- package/dist/core/Pagination/index.js +0 -64
- package/dist/core/PaginationItem/index.d.ts +0 -10
- package/dist/core/PaginationItem/index.js +0 -17
- package/dist/core/Panel/index.d.ts +0 -17
- package/dist/core/Panel/index.js +0 -13
- package/dist/core/PasswordForgotForm/index.d.ts +0 -7
- package/dist/core/PasswordForgotForm/index.js +0 -40
- package/dist/core/PasswordResetForm/index.d.ts +0 -7
- package/dist/core/PasswordResetForm/index.js +0 -34
- package/dist/core/RadialProgress/index.d.ts +0 -16
- package/dist/core/RadialProgress/index.js +0 -23
- package/dist/core/SettingsForm/index.d.ts +0 -3
- package/dist/core/SettingsForm/index.js +0 -14
- package/dist/core/StaticTextInput/index.d.ts +0 -29
- package/dist/core/StaticTextInput/index.js +0 -39
- package/dist/core/Styled/index.d.ts +0 -6
- package/dist/core/Styled/index.js +0 -39
- package/dist/core/SummaryListItem/index.d.ts +0 -23
- package/dist/core/SummaryListItem/index.js +0 -31
- package/dist/core/TabItem/index.d.ts +0 -4
- package/dist/core/TabItem/index.js +0 -13
- package/dist/core/TableActionsCell/index.d.ts +0 -8
- package/dist/core/TableActionsCell/index.js +0 -8
- package/dist/core/TableCell/index.d.ts +0 -15
- package/dist/core/TableCell/index.js +0 -20
- package/dist/core/TableHead/index.d.ts +0 -18
- package/dist/core/TableHead/index.js +0 -18
- package/dist/core/TableRow/index.d.ts +0 -13
- package/dist/core/TableRow/index.js +0 -18
- package/dist/core/Tabs/index.d.ts +0 -7
- package/dist/core/Tabs/index.js +0 -13
- package/dist/core/TextInputAncillary/index.d.ts +0 -29
- package/dist/core/TextInputAncillary/index.js +0 -31
- package/dist/core/Toast/index.d.ts +0 -3
- package/dist/core/Toast/index.js +0 -47
- package/dist/core/TwoFactor/index.d.ts +0 -13
- package/dist/core/TwoFactor/index.js +0 -49
- package/dist/core/TwoFactorAuthenticator/index.d.ts +0 -10
- package/dist/core/TwoFactorAuthenticator/index.js +0 -9
- package/dist/core/TwoFactorMethodList/index.d.ts +0 -10
- package/dist/core/TwoFactorMethodList/index.js +0 -22
- package/dist/core/TwoFactorSetup/index.d.ts +0 -12
- package/dist/core/TwoFactorSetup/index.js +0 -43
- package/dist/core/TwoFactorSetupAuthenticator/index.d.ts +0 -20
- package/dist/core/TwoFactorSetupAuthenticator/index.js +0 -42
- package/dist/core/TwoFactorSetupYubikey/index.d.ts +0 -16
- package/dist/core/TwoFactorSetupYubikey/index.js +0 -14
- package/dist/core/TwoFactorYubikey/index.d.ts +0 -9
- package/dist/core/TwoFactorYubikey/index.js +0 -14
- package/dist/core/WeekCalendarDay/index.d.ts +0 -27
- package/dist/core/WeekCalendarDay/index.js +0 -35
- package/dist/core/YubikeyInput/index.d.ts +0 -4
- package/dist/core/YubikeyInput/index.js +0 -14
- package/dist/filters/BooleanFilter/index.d.ts +0 -14
- package/dist/filters/BooleanFilter/index.js +0 -35
- package/dist/filters/DateFilter/index.d.ts +0 -5
- package/dist/filters/DateFilter/index.js +0 -24
- package/dist/filters/DropdownFilter/index.d.ts +0 -17
- package/dist/filters/DropdownFilter/index.js +0 -32
- package/dist/filters/QuickDateFilter/index.d.ts +0 -13
- package/dist/filters/QuickDateFilter/index.js +0 -40
- package/dist/filters/interfaces.d.ts +0 -35
- package/dist/hooks/useAlert.d.ts +0 -12
- package/dist/hooks/useAlert.js +0 -18
- package/dist/hooks/useAppConfig.d.ts +0 -3
- package/dist/hooks/useAppConfig.js +0 -5
- package/dist/hooks/useConnectedList.d.ts +0 -7
- package/dist/hooks/useConnectedList.js +0 -6
- package/dist/hooks/useConnectedRepeater.d.ts +0 -7
- package/dist/hooks/useConnectedRepeater.js +0 -14
- package/dist/hooks/useConnectedTable.d.ts +0 -7
- package/dist/hooks/useConnectedTable.js +0 -6
- package/dist/hooks/useFilters.d.ts +0 -9
- package/dist/hooks/useFilters.js +0 -24
- package/dist/hooks/useLayout.d.ts +0 -7
- package/dist/hooks/useLayout.js +0 -10
- package/dist/hooks/useLayout.spec.d.ts +0 -1
- package/dist/hooks/useLayout.spec.js +0 -24
- package/dist/hooks/useModal.d.ts +0 -12
- package/dist/hooks/useModal.js +0 -39
- package/dist/hooks/useModalOffset.d.ts +0 -2
- package/dist/hooks/useModalOffset.js +0 -16
- package/dist/hooks/useModalOffset.spec.d.ts +0 -1
- package/dist/hooks/useModalOffset.spec.js +0 -19
- package/dist/hooks/useNavigation.d.ts +0 -7
- package/dist/hooks/useNavigation.js +0 -113
- package/dist/hooks/useRemote.d.ts +0 -7
- package/dist/hooks/useRemote.js +0 -29
- package/dist/hooks/useVariant.d.ts +0 -9
- package/dist/hooks/useVariant.js +0 -14
- package/dist/scenes/Error404Scene.d.ts +0 -3
- package/dist/scenes/Error404Scene.js +0 -5
- package/dist/services/AppService.d.ts +0 -5
- package/dist/services/AppService.js +0 -11
- package/dist/services/ConfirmService.d.ts +0 -12
- package/dist/services/ConfirmService.js +0 -10
- package/dist/services/DateService.d.ts +0 -26
- package/dist/services/DateService.js +0 -132
- package/dist/services/DateService.spec.d.ts +0 -1
- package/dist/services/DateService.spec.js +0 -83
- package/dist/services/DownloadService.d.ts +0 -7
- package/dist/services/DownloadService.js +0 -16
- package/dist/services/DownloadService.spec.d.ts +0 -1
- package/dist/services/DownloadService.spec.js +0 -18
- package/dist/services/FilterComponentService.d.ts +0 -25
- package/dist/services/FilterComponentService.js +0 -54
- package/dist/services/FilterService.d.ts +0 -34
- package/dist/services/FilterService.js +0 -58
- package/dist/services/FilterService.spec.d.ts +0 -1
- package/dist/services/FilterService.spec.js +0 -67
- package/dist/services/FormatService.d.ts +0 -11
- package/dist/services/FormatService.js +0 -45
- package/dist/services/FormatService.spec.d.ts +0 -1
- package/dist/services/FormatService.spec.js +0 -66
- package/dist/services/ToastService.d.ts +0 -7
- package/dist/services/ToastService.js +0 -17
- package/dist/services/ToastService.spec.d.ts +0 -1
- package/dist/services/ToastService.spec.js +0 -34
- package/dist/utility/MockRouter/index.d.ts +0 -2
- package/dist/utility/MockRouter/index.js +0 -37
- package/dist/utility/StorybookPanel/index.d.ts +0 -14
- package/dist/utility/StorybookPanel/index.js +0 -12
- package/dist/utility/TestChangeHandler/index.d.ts +0 -15
- package/dist/utility/TestChangeHandler/index.js +0 -30
- package/dist/utility/icons.d.ts +0 -3
- package/dist/utility/icons.js +0 -12
- package/dist/utility/interfaces.d.ts +0 -79
- package/dist/utility/interfaces.js +0 -18
- package/dist/utility/middleware.d.ts +0 -4
- package/dist/utility/middleware.js +0 -9
- package/dist/utility/prop-types.d.ts +0 -57
- package/dist/utility/prop-types.js +0 -77
- package/dist/utility/register.d.ts +0 -3
- package/dist/utility/register.js +0 -9
- package/src/components/Alert/index.tsx +0 -111
- package/src/components/Allow/Allow.spec.tsx +0 -37
- package/src/components/Allow/index.tsx +0 -42
- package/src/components/AppLayout/AppLayout.stories.tsx +0 -20
- package/src/components/AutoSuggest/AutoSuggest.module.css +0 -8
- package/src/components/AutoSuggest/AutoSuggest.spec.tsx +0 -222
- package/src/components/AutoSuggest/AutoSuggest.story.tsx +0 -32
- package/src/components/AutoSuggest/index.tsx +0 -215
- package/src/components/Button/Button.spec.tsx +0 -61
- package/src/components/Button/Button.stories.tsx +0 -62
- package/src/components/Button/index.tsx +0 -15
- package/src/components/CalendarInput/CalendarInput.module.css +0 -8
- package/src/components/CalendarInput/CalendarInput.spec.tsx +0 -222
- package/src/components/CalendarInput/CalendarInput.story.tsx +0 -62
- package/src/components/CalendarInput/index.tsx +0 -126
- package/src/components/CheckboxList/CheckboxList.spec.tsx +0 -93
- package/src/components/CheckboxList/index.tsx +0 -51
- package/src/components/ConnectedDropdown/index.tsx +0 -53
- package/src/components/ConnectedList/index.tsx +0 -19
- package/src/components/ConnectedTable/index.tsx +0 -21
- package/src/components/ContentBlock/ContentBlock.module.css +0 -17
- package/src/components/ContentBlock/ContentBlock.spec.tsx +0 -25
- package/src/components/ContentBlock/index.tsx +0 -28
- package/src/components/DataPanel/index.tsx +0 -25
- package/src/components/DateInput/DateInput.module.css +0 -15
- package/src/components/DateInput/DateInput.spec.tsx +0 -87
- package/src/components/DateInput/index.tsx +0 -145
- package/src/components/ErrorMessage/ErrorMessage.module.css +0 -25
- package/src/components/ErrorMessage/ErrorMessage.spec.tsx +0 -31
- package/src/components/ErrorMessage/index.tsx +0 -36
- package/src/components/Fieldset/Fieldset.spec.tsx +0 -22
- package/src/components/Fieldset/Fieldset.story.tsx +0 -25
- package/src/components/Fieldset/index.tsx +0 -32
- package/src/components/FileInput/FileInput.module.css +0 -18
- package/src/components/FileInput/FileInput.spec.tsx +0 -52
- package/src/components/FileInput/FileInput.story.tsx +0 -8
- package/src/components/FileInput/index.tsx +0 -75
- package/src/components/FilterLink/FilterLink.module.css +0 -9
- package/src/components/FilterLink/FilterLink.spec.tsx +0 -34
- package/src/components/FilterLink/index.tsx +0 -36
- package/src/components/Form/Form.spec.tsx +0 -39
- package/src/components/Form/index.tsx +0 -25
- package/src/components/FormActions/FormActions.spec.tsx +0 -10
- package/src/components/FormActions/FormActions.story.tsx +0 -27
- package/src/components/FormActions/index.tsx +0 -35
- package/src/components/FormField/FormField.module.css +0 -71
- package/src/components/FormField/FormField.spec.tsx +0 -177
- package/src/components/FormField/FormField.stories.tsx +0 -44
- package/src/components/FormField/index.tsx +0 -14
- package/src/components/FormRepeater/FormRepeater.module.css +0 -7
- package/src/components/FormRepeater/FormRepeater.spec.tsx +0 -156
- package/src/components/FormRepeater/index.tsx +0 -121
- package/src/components/ImageInput/ImageInput.module.css +0 -74
- package/src/components/ImageInput/ImageInput.spec.tsx +0 -47
- package/src/components/ImageInput/ImageInput.story.tsx +0 -8
- package/src/components/ImageInput/index.tsx +0 -93
- package/src/components/InfoPanel/InfoPanel.module.css +0 -20
- package/src/components/InfoPanel/InfoPanel.spec.tsx +0 -15
- package/src/components/InfoPanel/InfoPanel.story.tsx +0 -32
- package/src/components/InfoPanel/index.tsx +0 -25
- package/src/components/Link/Link.spec.tsx +0 -64
- package/src/components/Link/__mocks__/index.tsx +0 -24
- package/src/components/Link/index.tsx +0 -60
- package/src/components/List/List.module.css +0 -9
- package/src/components/List/List.spec.tsx +0 -379
- package/src/components/List/List.story.tsx +0 -119
- package/src/components/ListActions/ListActions.spec.tsx +0 -10
- package/src/components/ListActions/ListActions.story.tsx +0 -8
- package/src/components/LoginForm/LoginForm.spec.tsx +0 -68
- package/src/components/LoginForm/LoginForm.story.tsx +0 -25
- package/src/components/Message/Message.module.css +0 -14
- package/src/components/Message/Message.spec.tsx +0 -20
- package/src/components/Message/index.tsx +0 -29
- package/src/components/Modal/index.tsx +0 -27
- package/src/components/ModalActions/ModalActions.module.css +0 -5
- package/src/components/ModalActions/ModalActions.spec.tsx +0 -49
- package/src/components/ModalActions/ModalActions.story.tsx +0 -8
- package/src/components/ModalActions/index.tsx +0 -51
- package/src/components/MoneyInput/MoneyInput.spec.tsx +0 -17
- package/src/components/MoneyInput/MoneyInput.story.tsx +0 -8
- package/src/components/MoneyInput/index.tsx +0 -18
- package/src/components/PasswordForm/index.tsx +0 -36
- package/src/components/RadioList/RadioList.spec.tsx +0 -47
- package/src/components/RadioList/index.tsx +0 -19
- package/src/components/SummaryList/SummaryList.module.css +0 -31
- package/src/components/SummaryList/SummaryList.spec.tsx +0 -89
- package/src/components/SummaryList/SummaryList.story.tsx +0 -13
- package/src/components/SummaryList/index.tsx +0 -39
- package/src/components/Switch/Switch.module.css +0 -86
- package/src/components/Switch/Switch.spec.tsx +0 -64
- package/src/components/Switch/index.tsx +0 -89
- package/src/components/Table/Table.module.css +0 -14
- package/src/components/Table/Table.spec.tsx +0 -136
- package/src/components/Table/Table.story.tsx +0 -108
- package/src/components/TextArea/TextArea.module.css +0 -23
- package/src/components/TextArea/TextArea.spec.tsx +0 -77
- package/src/components/TextArea/index.tsx +0 -61
- package/src/components/TextInput/TextInput.module.css +0 -62
- package/src/components/TextInput/TextInput.spec.tsx +0 -127
- package/src/components/TextInput/TextInput.stories.tsx +0 -46
- package/src/components/TextInput/index.tsx +0 -11
- package/src/components/WebsiteInput/WebsiteInput.spec.tsx +0 -17
- package/src/components/WebsiteInput/index.tsx +0 -18
- package/src/components/WeekCalendar/WeekCalendar.module.css +0 -19
- package/src/components/WeekCalendar/index.tsx +0 -80
- package/src/core/AlertComponent/AlertComponent.module.css +0 -110
- package/src/core/AlertComponent/AlertComponent.spec.tsx +0 -85
- package/src/core/AlertComponent/AlertComponent.story.tsx +0 -29
- package/src/core/AlertComponent/index.tsx +0 -109
- package/src/core/AppHeader/index.tsx +0 -25
- package/src/core/AppLogo/AppLogo.module.css +0 -18
- package/src/core/AppLogo/index.tsx +0 -35
- package/src/core/AppLogoImage/index.tsx +0 -19
- package/src/core/AppLogoPlaceholder/index.tsx +0 -32
- package/src/core/Assistive/index.tsx +0 -1
- package/src/core/AuthForm/AuthForm.module.css +0 -35
- package/src/core/AuthForm/AuthForm.spec.tsx +0 -72
- package/src/core/AuthForm/index.tsx +0 -63
- package/src/core/Banner/Banner.module.css +0 -34
- package/src/core/Banner/index.tsx +0 -25
- package/src/core/Calendar/index.tsx +0 -118
- package/src/core/CalendarDay/CalendarDay.module.css +0 -61
- package/src/core/CalendarDay/index.tsx +0 -82
- package/src/core/CalendarMonth/CalendarMonth.module.css +0 -13
- package/src/core/CalendarMonth/index.tsx +0 -103
- package/src/core/CalendarNavigation/CalendarNavigation.module.css +0 -26
- package/src/core/CalendarNavigation/index.tsx +0 -55
- package/src/core/CalendarWeek/index.tsx +0 -97
- package/src/core/ChkRadList/ChkRadList.module.css +0 -12
- package/src/core/ChkRadList/index.tsx +0 -88
- package/src/core/CloseButton/CloseButton.spec.tsx +0 -38
- package/src/core/CloseButton/index.tsx +0 -33
- package/src/core/ConfirmModal/ConfirmModal.spec.tsx +0 -94
- package/src/core/ConfirmModal/index.tsx +0 -59
- package/src/core/ConnectedRepeater/index.tsx +0 -284
- package/src/core/ConnectedRepeaterComponent/index.tsx +0 -71
- package/src/core/Container/Container.module.css +0 -13
- package/src/core/Container/index.tsx +0 -29
- package/src/core/DataPanelItem/index.tsx +0 -19
- package/src/core/EmptyMessage/EmptyMessage.module.css +0 -18
- package/src/core/EmptyMessage/EmptyMessage.stories.tsx +0 -33
- package/src/core/EmptyMessage/index.tsx +0 -15
- package/src/core/FilterItem/FilterItem.module.css +0 -104
- package/src/core/FilterItem/index.tsx +0 -172
- package/src/core/Filters/Filters.module.css +0 -86
- package/src/core/Filters/Filters.spec.tsx +0 -573
- package/src/core/Filters/index.tsx +0 -168
- package/src/core/FixedActions/FixedActions.module.css +0 -23
- package/src/core/FixedActions/FixedActions.spec.tsx +0 -53
- package/src/core/FixedActions/index.tsx +0 -54
- package/src/core/FormLegend/FormLegend.module.css +0 -13
- package/src/core/FormLegend/index.tsx +0 -18
- package/src/core/Header/Header.stories.tsx +0 -20
- package/src/core/Header/index.tsx +0 -32
- package/src/core/Icon/Icon.spec.tsx +0 -30
- package/src/core/Icon/index.tsx +0 -70
- package/src/core/IconButton/IconButton.module.css +0 -32
- package/src/core/IconButton/index.tsx +0 -53
- package/src/core/ListItem/ListItem.module.css +0 -28
- package/src/core/ListItem/ListItem.story.tsx +0 -32
- package/src/core/ListItem/index.tsx +0 -109
- package/src/core/ListItemAction/ListItemAction.module.css +0 -33
- package/src/core/ListItemAction/index.tsx +0 -30
- package/src/core/ListItemActions/ListItemActions.module.css +0 -94
- package/src/core/ListItemActions/index.tsx +0 -42
- package/src/core/ListItemMetaItem/ListItemMetaItem.module.css +0 -18
- package/src/core/ListItemMetaItem/index.tsx +0 -54
- package/src/core/ListItemTitle/ListItemTitle.module.css +0 -22
- package/src/core/ListItemTitle/ListItemTitle.spec.tsx +0 -53
- package/src/core/ListItemTitle/index.tsx +0 -82
- package/src/core/Loader/Loader.module.css +0 -57
- package/src/core/Loader/Loader.stories.tsx +0 -22
- package/src/core/Loader/index.tsx +0 -2
- package/src/core/MeActions/MeActions.module.css +0 -47
- package/src/core/MeActions/index.tsx +0 -74
- package/src/core/MePanel/MePanel.module.css +0 -79
- package/src/core/MePanel/index.tsx +0 -58
- package/src/core/ModalComponent/ModalComponent.module.css +0 -86
- package/src/core/ModalComponent/ModalComponent.spec.tsx +0 -55
- package/src/core/ModalComponent/index.tsx +0 -66
- package/src/core/Navigation/Navigation.module.css +0 -89
- package/src/core/Navigation/Navigation.spec.tsx +0 -121
- package/src/core/Navigation/index.tsx +0 -69
- package/src/core/NavigationDivider/NavigationDivider.module.css +0 -3
- package/src/core/NavigationDivider/index.tsx +0 -13
- package/src/core/NavigationItem/NavigationItem.module.css +0 -46
- package/src/core/NavigationItem/index.tsx +0 -50
- package/src/core/Panel/Panel.module.css +0 -26
- package/src/core/Panel/Panel.spec.tsx +0 -16
- package/src/core/Panel/index.tsx +0 -35
- package/src/core/PasswordForgotForm/index.tsx +0 -62
- package/src/core/PasswordResetForm/index.tsx +0 -65
- package/src/core/RadialProgress/RadialProgress.module.css +0 -78
- package/src/core/RadialProgress/index.tsx +0 -49
- package/src/core/SettingsForm/index.tsx +0 -26
- package/src/core/SummaryListItem/SummaryListItem.module.css +0 -20
- package/src/core/SummaryListItem/index.tsx +0 -65
- package/src/core/TabItem/TabItem.module.css +0 -28
- package/src/core/TabItem/index.tsx +0 -42
- package/src/core/Tabs/Tabs.module.css +0 -19
- package/src/core/Tabs/Tabs.spec.tsx +0 -30
- package/src/core/Tabs/index.tsx +0 -36
- package/src/core/Toast/Toast.module.css +0 -54
- package/src/core/Toast/Toast.spec.tsx +0 -80
- package/src/core/Toast/index.tsx +0 -79
- package/src/core/TwoFactor/TwoFactor.spec.tsx +0 -183
- package/src/core/TwoFactor/index.tsx +0 -102
- package/src/core/TwoFactorAuthenticator/index.tsx +0 -39
- package/src/core/TwoFactorMethodList/TwoFactorMethodList.module.css +0 -50
- package/src/core/TwoFactorMethodList/index.tsx +0 -49
- package/src/core/TwoFactorSetup/index.tsx +0 -91
- package/src/core/TwoFactorSetupAuthenticator/TwoFactorSetupAuthenticator.module.css +0 -6
- package/src/core/TwoFactorSetupAuthenticator/index.tsx +0 -100
- package/src/core/TwoFactorSetupYubikey/index.tsx +0 -49
- package/src/core/TwoFactorYubikey/index.tsx +0 -41
- package/src/core/WeekCalendarDay/WeekCalendarDay.module.css +0 -32
- package/src/core/WeekCalendarDay/index.tsx +0 -68
- package/src/core/YubikeyInput/YubikeyInput.module.css +0 -27
- package/src/core/YubikeyInput/YubikeyInput.spec.tsx +0 -77
- package/src/core/YubikeyInput/index.tsx +0 -76
- package/src/filters/BooleanFilter/index.tsx +0 -47
- package/src/filters/DateFilter/index.tsx +0 -36
- package/src/filters/DropdownFilter/index.tsx +0 -51
- package/src/filters/QuickDateFilter/index.tsx +0 -74
- package/src/filters/interfaces.ts +0 -39
- package/src/hooks/useAlert.spec.tsx +0 -72
- package/src/hooks/useAlert.ts +0 -37
- package/src/hooks/useConfig.ts +0 -31
- package/src/hooks/useConnectedList.ts +0 -15
- package/src/hooks/useConnectedRepeater.ts +0 -25
- package/src/hooks/useConnectedTable.ts +0 -15
- package/src/hooks/useFilters.ts +0 -34
- package/src/hooks/useLayout.spec.ts +0 -31
- package/src/hooks/useLayout.ts +0 -23
- package/src/hooks/useModal.spec.tsx +0 -72
- package/src/hooks/useModal.ts +0 -62
- package/src/hooks/useModalOffset.spec.ts +0 -27
- package/src/hooks/useModalOffset.ts +0 -26
- package/src/hooks/useNavigation.ts +0 -160
- package/src/hooks/useRemote.ts +0 -43
- package/src/scenes/Error404Scene.tsx +0 -7
- package/src/services/AppService.ts +0 -16
- package/src/services/ConfirmService.ts +0 -26
- package/src/services/DateService.spec.ts +0 -102
- package/src/services/DateService.ts +0 -182
- package/src/services/DownloadService.spec.ts +0 -23
- package/src/services/DownloadService.ts +0 -21
- package/src/services/FilterComponentService.tsx +0 -67
- package/src/services/FilterService.spec.ts +0 -105
- package/src/services/FilterService.ts +0 -80
- package/src/services/FormatService.spec.ts +0 -85
- package/src/services/FormatService.ts +0 -60
- package/src/services/ToastService.spec.ts +0 -44
- package/src/services/ToastService.ts +0 -24
- package/src/typings.d.ts +0 -4
- package/src/utility/MockRouter/index.ts +0 -46
- package/src/utility/icons.tsx +0 -51
- package/src/utility/interfaces.ts +0 -142
- package/src/utility/middleware.ts +0 -10
- package/src/utility/prop-types.ts +0 -89
- package/src/utility/register.tsx +0 -11
- package/tsconfig.eslint.json +0 -4
- /package/dist/{filters/interfaces.js → interfaces.js} +0 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { useState } from 'react';
|
|
4
|
+
import clsx from 'clsx';
|
|
5
|
+
import { Link } from '@sqrzro/components';
|
|
6
|
+
import { usePathname, useSearchParams } from 'next/navigation';
|
|
7
|
+
function toggleArrayItem(array, item) {
|
|
8
|
+
if (array.includes(item)) {
|
|
9
|
+
return array.filter((itm) => itm !== item);
|
|
10
|
+
}
|
|
11
|
+
return [...array, item];
|
|
12
|
+
}
|
|
13
|
+
function createFilterLink(pathname, searchParams, filters) {
|
|
14
|
+
const updatedSearchParams = new URLSearchParams({
|
|
15
|
+
...Object.fromEntries(searchParams),
|
|
16
|
+
...filters,
|
|
17
|
+
});
|
|
18
|
+
return `${pathname}?${updatedSearchParams.toString()}`;
|
|
19
|
+
}
|
|
20
|
+
function getDir(currentDir, isSortActive) {
|
|
21
|
+
if (isSortActive) {
|
|
22
|
+
return currentDir === 'asc' ? 'desc' : 'asc';
|
|
23
|
+
}
|
|
24
|
+
return 'asc';
|
|
25
|
+
}
|
|
26
|
+
function createSortLink(pathname, searchParams, sort) {
|
|
27
|
+
const dir = getDir(searchParams.get('dir'), searchParams.get('sort') === sort);
|
|
28
|
+
return createFilterLink(pathname, searchParams, { sort, dir });
|
|
29
|
+
}
|
|
30
|
+
function getSortIconProps(searchParams, sort) {
|
|
31
|
+
if (searchParams.get('sort') === sort) {
|
|
32
|
+
return { dir: searchParams.get('dir') };
|
|
33
|
+
}
|
|
34
|
+
return { dir: null };
|
|
35
|
+
}
|
|
36
|
+
function TableClientComponent({ columns, data, }) {
|
|
37
|
+
const pathname = usePathname();
|
|
38
|
+
const searchParams = useSearchParams();
|
|
39
|
+
const [selected, setSelected] = useState([]);
|
|
40
|
+
return (_jsx("div", { className: "bg-white shadow-sm", children: _jsxs("table", { className: "w-full", children: [_jsx("thead", { children: _jsx("tr", { children: columns.map((column) => (_jsx("th", { className: "p-4 text-left", children: _jsxs(Link, { href: createSortLink(pathname, searchParams, column.key), children: [column.title, ' '] }) }, column.key))) }) }), _jsx("tbody", { children: data.map((item) => (_jsx("tr", { className: "odd:bg-slate-100", children: columns.map((column) => (_jsx("td", { className: clsx('border-x border-transparent p-4', getSortIconProps(searchParams, column.key).dir
|
|
41
|
+
? 'border-sky-300 bg-sky-300/10'
|
|
42
|
+
: ''), children: item[column.key] }, column.key))) }, item.id))) })] }) }));
|
|
43
|
+
}
|
|
44
|
+
export default TableClientComponent;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { LinkableAction } from '@sqrzro/interfaces';
|
|
3
|
+
interface TabBarProps {
|
|
4
|
+
basePath?: string;
|
|
5
|
+
data: LinkableAction[];
|
|
6
|
+
}
|
|
7
|
+
declare function Tabs({ basePath, data }: Readonly<TabBarProps>): React.ReactElement;
|
|
8
|
+
export default Tabs;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Link } from '@sqrzro/components';
|
|
3
|
+
function Tabs({ basePath = '', data }) {
|
|
4
|
+
return (_jsx("nav", { className: "border-y border-gray-700", children: _jsx("ul", { className: "flex gap-4 font-semibold", children: data.map(({ href, label }) => (_jsx("li", { children: _jsx(Link, { className: "block py-2 text-white", href: `${basePath}${href || ''}`, children: label }) }, href))) }) }));
|
|
5
|
+
}
|
|
6
|
+
export default Tabs;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export { Button, CalendarInput, ConnectedDropdown, DateFormField, DateInput, Dropdown, EditableDateFormField, EditableDropdownFormField, EditableForm, EditableFormField, EditableMultiFormField, EditableNumberFormField, EditableSwitchFormField, EditableTextFormField, Fieldset, Form, FormField, FormSubmit, ImageInput, ImageFormField, Link, ModalForm, NumberInput, Switch, TextFormField, TextInput, Toaster, } from '@sqrzro/components';
|
|
2
|
+
export type { AppLayoutProps } from './AppLayout';
|
|
3
|
+
export { default as AppLayout } from './AppLayout';
|
|
4
|
+
export type { DashboardProps } from './Dashboard';
|
|
5
|
+
export { default as Dashboard } from './Dashboard';
|
|
6
|
+
export type { FilterBarProps } from './FilterBar';
|
|
7
|
+
export { default as FilterBar } from './FilterBar';
|
|
8
|
+
export type { GridListProps } from './GridList';
|
|
9
|
+
export { default as GridList } from './GridList';
|
|
10
|
+
export type { ListComponentProps, ListProps } from './List';
|
|
11
|
+
export { default as List } from './List';
|
|
12
|
+
export type { ListObject } from './ListItem';
|
|
13
|
+
export type { ListActionsProps } from './ListActions';
|
|
14
|
+
export { default as ListActions } from './ListActions';
|
|
15
|
+
export type { LoginFormProps } from './LoginForm';
|
|
16
|
+
export { default as LoginForm } from './LoginForm';
|
|
17
|
+
export type { PageProps } from './Page';
|
|
18
|
+
export { default as Page } from './Page';
|
|
19
|
+
export type { PageActionsProps } from './PageActions';
|
|
20
|
+
export { default as PageActions } from './PageActions';
|
|
21
|
+
export type { RootLayoutProps } from './RootLayout';
|
|
22
|
+
export { default as RootLayout } from './RootLayout';
|
|
23
|
+
export type { TableProps } from './Table';
|
|
24
|
+
export { default as Table } from './Table';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Exported from @sqrzro/components
|
|
2
|
+
export { Button, CalendarInput, ConnectedDropdown, DateFormField, DateInput, Dropdown, EditableDateFormField, EditableDropdownFormField, EditableForm, EditableFormField, EditableMultiFormField, EditableNumberFormField, EditableSwitchFormField, EditableTextFormField, Fieldset, Form, FormField, FormSubmit, ImageInput, ImageFormField, Link, ModalForm, NumberInput, Switch, TextFormField, TextInput, Toaster, } from '@sqrzro/components';
|
|
3
|
+
export { default as AppLayout } from './AppLayout';
|
|
4
|
+
export { default as Dashboard } from './Dashboard';
|
|
5
|
+
export { default as FilterBar } from './FilterBar';
|
|
6
|
+
export { default as GridList } from './GridList';
|
|
7
|
+
export { default as List } from './List';
|
|
8
|
+
export { default as ListActions } from './ListActions';
|
|
9
|
+
export { default as LoginForm } from './LoginForm';
|
|
10
|
+
export { default as Page } from './Page';
|
|
11
|
+
export { default as PageActions } from './PageActions';
|
|
12
|
+
export { default as RootLayout } from './RootLayout';
|
|
13
|
+
export { default as Table } from './Table';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
function ErrorIcon() {
|
|
3
|
+
return (_jsx("svg", { "aria-hidden": "true", className: "h-5 w-5 text-red-400", fill: "currentColor", viewBox: "0 0 20 20", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { clipRule: "evenodd", d: "M10 18a8 8 0 100-16 8 8 0 000 16zM8.28 7.22a.75.75 0 00-1.06 1.06L8.94 10l-1.72 1.72a.75.75 0 101.06 1.06L10 11.06l1.72 1.72a.75.75 0 101.06-1.06L11.06 10l1.72-1.72a.75.75 0 00-1.06-1.06L10 8.94 8.28 7.22z", fillRule: "evenodd" }) }));
|
|
4
|
+
}
|
|
5
|
+
export default ErrorIcon;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
function InfoIcon() {
|
|
3
|
+
return (_jsx("svg", { "aria-hidden": "true", className: "h-5 w-5 text-blue-400", fill: "currentColor", viewBox: "0 0 20 20", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { clipRule: "evenodd", d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z", fillRule: "evenodd" }) }));
|
|
4
|
+
}
|
|
5
|
+
export default InfoIcon;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
function SuccessIcon() {
|
|
3
|
+
return (_jsx("svg", { "aria-hidden": "true", className: "h-5 w-5 text-green-400", fill: "currentColor", viewBox: "0 0 20 20", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { clipRule: "evenodd", d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z", fillRule: "evenodd" }) }));
|
|
4
|
+
}
|
|
5
|
+
export default SuccessIcon;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
function WarningIcon() {
|
|
3
|
+
return (_jsx("svg", { "aria-hidden": "true", className: "h-5 w-5 text-yellow-400", fill: "currentColor", viewBox: "0 0 20 20", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { clipRule: "evenodd", d: "M8.485 2.495c.673-1.167 2.357-1.167 3.03 0l6.28 10.875c.673 1.167-.17 2.625-1.516 2.625H3.72c-1.347 0-2.189-1.458-1.515-2.625L8.485 2.495zM10 5a.75.75 0 01.75.75v3.5a.75.75 0 01-1.5 0v-3.5A.75.75 0 0110 5zm0 9a1 1 0 100-2 1 1 0 000 2z", fillRule: "evenodd" }) }));
|
|
4
|
+
}
|
|
5
|
+
export default WarningIcon;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,209 +1,3 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export
|
|
3
|
-
export { default as register } from './utility/register';
|
|
4
|
-
export { EventService } from '@sqrzro/utility';
|
|
5
|
-
export * from './components/Alert';
|
|
6
|
-
export { default as Alert } from './components/Alert';
|
|
7
|
-
export * from './components/Allow';
|
|
8
|
-
export { default as Allow } from './components/Allow';
|
|
9
|
-
export * from './components/AppLayout';
|
|
10
|
-
export { default as AppLayout } from './components/AppLayout';
|
|
11
|
-
export * from './components/AutoSuggest';
|
|
12
|
-
export { default as AutoSuggest } from './components/AutoSuggest';
|
|
13
|
-
export * from './components/Button';
|
|
14
|
-
export { default as Button } from './components/Button';
|
|
15
|
-
export * from './components/CalendarInput';
|
|
16
|
-
export { default as CalendarInput } from './components/CalendarInput';
|
|
17
|
-
export * from './components/CheckboxList';
|
|
18
|
-
export { default as CheckboxList } from './components/CheckboxList';
|
|
19
|
-
export * from './components/CodeInput';
|
|
20
|
-
export { default as CodeInput } from './components/CodeInput';
|
|
21
|
-
export * from './components/ConnectedDropdown';
|
|
22
|
-
export { default as ConnectedDropdown } from './components/ConnectedDropdown';
|
|
23
|
-
export * from './components/ConnectedList';
|
|
24
|
-
export { default as ConnectedList } from './components/ConnectedList';
|
|
25
|
-
export * from './components/ConnectedTable';
|
|
26
|
-
export { default as ConnectedTable } from './components/ConnectedTable';
|
|
27
|
-
export * from './components/ContentBlock';
|
|
28
|
-
export { default as ContentBlock } from './components/ContentBlock';
|
|
29
|
-
export * from './components/DataPanel';
|
|
30
|
-
export { default as DataPanel } from './components/DataPanel';
|
|
31
|
-
export * from './components/DateInput';
|
|
32
|
-
export { default as DateInput } from './components/DateInput';
|
|
33
|
-
export * from './components/Dropdown';
|
|
34
|
-
export { default as Dropdown } from './components/Dropdown';
|
|
35
|
-
export * from './components/ErrorMessage';
|
|
36
|
-
export { default as ErrorMessage } from './components/ErrorMessage';
|
|
37
|
-
export * from './components/Fieldset';
|
|
38
|
-
export { default as Fieldset } from './components/Fieldset';
|
|
39
|
-
export * from './components/FileInput';
|
|
40
|
-
export { default as FileInput } from './components/FileInput';
|
|
41
|
-
export * from './components/FilterLink';
|
|
42
|
-
export { default as FilterLink } from './components/FilterLink';
|
|
43
|
-
export * from './components/Form';
|
|
44
|
-
export { default as Form } from './components/Form';
|
|
45
|
-
export * from './components/FormActions';
|
|
46
|
-
export { default as FormActions } from './components/FormActions';
|
|
47
|
-
export * from './components/FormField';
|
|
48
|
-
export { default as FormField } from './components/FormField';
|
|
49
|
-
export * from './components/FormRepeater';
|
|
50
|
-
export { default as FormRepeater } from './components/FormRepeater';
|
|
51
|
-
export * from './components/ImageInput';
|
|
52
|
-
export { default as ImageInput } from './components/ImageInput';
|
|
53
|
-
export * from './components/InfoPanel';
|
|
54
|
-
export { default as InfoPanel } from './components/InfoPanel';
|
|
55
|
-
export * from './components/Link';
|
|
56
|
-
export { default as Link } from './components/Link';
|
|
57
|
-
export * from './components/List';
|
|
58
|
-
export { default as List } from './components/List';
|
|
59
|
-
export * from './components/ListActions';
|
|
60
|
-
export { default as ListActions } from './components/ListActions';
|
|
61
|
-
export * from './components/LoginForm';
|
|
62
|
-
export { default as LoginForm } from './components/LoginForm';
|
|
63
|
-
export * from './components/Message';
|
|
64
|
-
export { default as Message } from './components/Message';
|
|
65
|
-
export * from './components/Modal';
|
|
66
|
-
export { default as Modal } from './components/Modal';
|
|
67
|
-
export * from './components/ModalActions';
|
|
68
|
-
export { default as ModalActions } from './components/ModalActions';
|
|
69
|
-
export * from './components/MoneyInput';
|
|
70
|
-
export { default as MoneyInput } from './components/MoneyInput';
|
|
71
|
-
export * from './components/PasswordForm';
|
|
72
|
-
export { default as PasswordForm } from './components/PasswordForm';
|
|
73
|
-
export * from './components/PasswordInput';
|
|
74
|
-
export { default as PasswordInput } from './components/PasswordInput';
|
|
75
|
-
export * from './components/RadioList';
|
|
76
|
-
export { default as RadioList } from './components/RadioList';
|
|
77
|
-
export * from './components/RootLayout';
|
|
78
|
-
export { default as RootLayout } from './components/RootLayout';
|
|
79
|
-
export * from './components/SummaryList';
|
|
80
|
-
export { default as SummaryList } from './components/SummaryList';
|
|
81
|
-
export * from './components/Switch';
|
|
82
|
-
export { default as Switch } from './components/Switch';
|
|
83
|
-
export * from './components/Table';
|
|
84
|
-
export { default as Table } from './components/Table';
|
|
85
|
-
export * from './components/Tag';
|
|
86
|
-
export { default as Tag } from './components/Tag';
|
|
87
|
-
export * from './components/TextArea';
|
|
88
|
-
export { default as TextArea } from './components/TextArea';
|
|
89
|
-
export * from './components/TextInput';
|
|
90
|
-
export { default as TextInput } from './components/TextInput';
|
|
91
|
-
export * from './components/WebsiteInput';
|
|
92
|
-
export { default as WebsiteInput } from './components/WebsiteInput';
|
|
93
|
-
export * from './components/WeekCalendar';
|
|
94
|
-
export { default as WeekCalendar } from './components/WeekCalendar';
|
|
95
|
-
export * from './core/AlertComponent';
|
|
96
|
-
export * from './core/AppHeader';
|
|
97
|
-
export * from './core/AppLogo';
|
|
98
|
-
export * from './core/AppLogoImage';
|
|
99
|
-
export * from './core/AppLogoPlaceholder';
|
|
100
|
-
export * from './core/Assistive';
|
|
101
|
-
export * from './core/AuthForm';
|
|
102
|
-
export * from './core/Banner';
|
|
103
|
-
export * from './core/Calendar';
|
|
104
|
-
export * from './core/CalendarDay';
|
|
105
|
-
export * from './core/CalendarMonth';
|
|
106
|
-
export * from './core/CalendarNavigation';
|
|
107
|
-
export * from './core/CalendarWeek';
|
|
108
|
-
export * from './core/ChkRad';
|
|
109
|
-
export * from './core/ChkRadIcon';
|
|
110
|
-
export * from './core/ChkRadList';
|
|
111
|
-
export * from './core/CloseButton';
|
|
112
|
-
export * from './core/ConfirmModal';
|
|
113
|
-
export * from './core/ConnectedRepeater';
|
|
114
|
-
export * from './core/ConnectedRepeaterComponent';
|
|
115
|
-
export * from './core/Container';
|
|
116
|
-
export * from './core/DataPanelItem';
|
|
117
|
-
export * from './core/DropdownPanel';
|
|
118
|
-
export * from './core/EmptyMessage';
|
|
119
|
-
export * from './core/FilterItem';
|
|
120
|
-
export * from './core/Filters';
|
|
121
|
-
export * from './core/FixedActions';
|
|
122
|
-
export * from './core/FormError';
|
|
123
|
-
export * from './core/FormLabel';
|
|
124
|
-
export * from './core/FormLegend';
|
|
125
|
-
export * from './core/Header';
|
|
126
|
-
export * from './core/Icon';
|
|
127
|
-
export * from './core/IconButton';
|
|
128
|
-
export * from './core/InputPanel';
|
|
129
|
-
export * from './core/ListItem';
|
|
130
|
-
export * from './core/ListItemAction';
|
|
131
|
-
export * from './core/ListItemActions';
|
|
132
|
-
export * from './core/ListItemMetaItem';
|
|
133
|
-
export * from './core/ListItemTitle';
|
|
134
|
-
export * from './core/Loader';
|
|
135
|
-
export * from './core/MeActions';
|
|
136
|
-
export * from './core/MePanel';
|
|
137
|
-
export * from './core/ModalComponent';
|
|
138
|
-
export * from './core/Navigation';
|
|
139
|
-
export * from './core/NavigationDivider';
|
|
140
|
-
export * from './core/NavigationItem';
|
|
141
|
-
export * from './core/Pagination';
|
|
142
|
-
export * from './core/PaginationItem';
|
|
143
|
-
export * from './core/Panel';
|
|
144
|
-
export * from './core/PasswordForgotForm';
|
|
145
|
-
export * from './core/PasswordResetForm';
|
|
146
|
-
export * from './core/RadialProgress';
|
|
147
|
-
export * from './core/SettingsForm';
|
|
148
|
-
export * from './core/StaticTextInput';
|
|
149
|
-
export * from './core/Styled';
|
|
150
|
-
export * from './core/SummaryListItem';
|
|
151
|
-
export * from './core/TabItem';
|
|
152
|
-
export * from './core/TableActionsCell';
|
|
153
|
-
export * from './core/TableCell';
|
|
154
|
-
export * from './core/TableHead';
|
|
155
|
-
export * from './core/TableRow';
|
|
156
|
-
export * from './core/Tabs';
|
|
157
|
-
export * from './core/TextInputAncillary';
|
|
158
|
-
export * from './core/Toast';
|
|
159
|
-
export * from './core/TwoFactor';
|
|
160
|
-
export * from './core/TwoFactorAuthenticator';
|
|
161
|
-
export * from './core/TwoFactorMethodList';
|
|
162
|
-
export * from './core/TwoFactorSetup';
|
|
163
|
-
export * from './core/TwoFactorSetupAuthenticator';
|
|
164
|
-
export * from './core/TwoFactorSetupYubikey';
|
|
165
|
-
export * from './core/TwoFactorYubikey';
|
|
166
|
-
export * from './core/WeekCalendarDay';
|
|
167
|
-
export * from './core/YubikeyInput';
|
|
168
|
-
export * from './hooks/useAlert';
|
|
169
|
-
export { default as useAlert } from './hooks/useAlert';
|
|
170
|
-
export * from './hooks/useAppConfig';
|
|
171
|
-
export { default as useAppConfig } from './hooks/useAppConfig';
|
|
172
|
-
export * from './hooks/useConnectedList';
|
|
173
|
-
export { default as useConnectedList } from './hooks/useConnectedList';
|
|
174
|
-
export * from './hooks/useConnectedRepeater';
|
|
175
|
-
export { default as useConnectedRepeater } from './hooks/useConnectedRepeater';
|
|
176
|
-
export * from './hooks/useConnectedTable';
|
|
177
|
-
export { default as useConnectedTable } from './hooks/useConnectedTable';
|
|
178
|
-
export * from './hooks/useFilters';
|
|
179
|
-
export { default as useFilters } from './hooks/useFilters';
|
|
180
|
-
export * from './hooks/useLayout';
|
|
181
|
-
export { default as useLayout } from './hooks/useLayout';
|
|
182
|
-
export * from './hooks/useModal';
|
|
183
|
-
export { default as useModal } from './hooks/useModal';
|
|
184
|
-
export * from './hooks/useModalOffset';
|
|
185
|
-
export { default as useModalOffset } from './hooks/useModalOffset';
|
|
186
|
-
export * from './hooks/useNavigation';
|
|
187
|
-
export { default as useNavigation } from './hooks/useNavigation';
|
|
188
|
-
export * from './hooks/useRemote';
|
|
189
|
-
export { default as useRemote } from './hooks/useRemote';
|
|
190
|
-
export * from './hooks/useVariant';
|
|
191
|
-
export { default as useVariant } from './hooks/useVariant';
|
|
192
|
-
export * from './services/AppService';
|
|
193
|
-
export { default as AppService } from './services/AppService';
|
|
1
|
+
export * from './components';
|
|
2
|
+
export * from './interfaces';
|
|
194
3
|
export * from './services/ConfigService';
|
|
195
|
-
export { default as ConfigService } from './services/ConfigService';
|
|
196
|
-
export * from './services/ConfirmService';
|
|
197
|
-
export { default as ConfirmService } from './services/ConfirmService';
|
|
198
|
-
export * from './services/DateService';
|
|
199
|
-
export { default as DateService } from './services/DateService';
|
|
200
|
-
export * from './services/DownloadService';
|
|
201
|
-
export { default as DownloadService } from './services/DownloadService';
|
|
202
|
-
export * from './services/FilterComponentService';
|
|
203
|
-
export { default as FilterComponentService } from './services/FilterComponentService';
|
|
204
|
-
export * from './services/FilterService';
|
|
205
|
-
export { default as FilterService } from './services/FilterService';
|
|
206
|
-
export * from './services/FormatService';
|
|
207
|
-
export { default as FormatService } from './services/FormatService';
|
|
208
|
-
export * from './services/ToastService';
|
|
209
|
-
export { default as ToastService } from './services/ToastService';
|
package/dist/index.js
CHANGED
|
@@ -1,213 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
* Any changes made directly to this file will be overwritten.
|
|
4
|
-
*/
|
|
5
|
-
export * from './utility/interfaces';
|
|
6
|
-
export { default as middleware } from './utility/middleware';
|
|
7
|
-
export { default as register } from './utility/register';
|
|
8
|
-
export { EventService } from '@sqrzro/utility';
|
|
9
|
-
export * from './components/Alert';
|
|
10
|
-
export { default as Alert } from './components/Alert';
|
|
11
|
-
export * from './components/Allow';
|
|
12
|
-
export { default as Allow } from './components/Allow';
|
|
13
|
-
export * from './components/AppLayout';
|
|
14
|
-
export { default as AppLayout } from './components/AppLayout';
|
|
15
|
-
export * from './components/AutoSuggest';
|
|
16
|
-
export { default as AutoSuggest } from './components/AutoSuggest';
|
|
17
|
-
export * from './components/Button';
|
|
18
|
-
export { default as Button } from './components/Button';
|
|
19
|
-
export * from './components/CalendarInput';
|
|
20
|
-
export { default as CalendarInput } from './components/CalendarInput';
|
|
21
|
-
export * from './components/CheckboxList';
|
|
22
|
-
export { default as CheckboxList } from './components/CheckboxList';
|
|
23
|
-
export * from './components/CodeInput';
|
|
24
|
-
export { default as CodeInput } from './components/CodeInput';
|
|
25
|
-
export * from './components/ConnectedDropdown';
|
|
26
|
-
export { default as ConnectedDropdown } from './components/ConnectedDropdown';
|
|
27
|
-
export * from './components/ConnectedList';
|
|
28
|
-
export { default as ConnectedList } from './components/ConnectedList';
|
|
29
|
-
export * from './components/ConnectedTable';
|
|
30
|
-
export { default as ConnectedTable } from './components/ConnectedTable';
|
|
31
|
-
export * from './components/ContentBlock';
|
|
32
|
-
export { default as ContentBlock } from './components/ContentBlock';
|
|
33
|
-
export * from './components/DataPanel';
|
|
34
|
-
export { default as DataPanel } from './components/DataPanel';
|
|
35
|
-
export * from './components/DateInput';
|
|
36
|
-
export { default as DateInput } from './components/DateInput';
|
|
37
|
-
export * from './components/Dropdown';
|
|
38
|
-
export { default as Dropdown } from './components/Dropdown';
|
|
39
|
-
export * from './components/ErrorMessage';
|
|
40
|
-
export { default as ErrorMessage } from './components/ErrorMessage';
|
|
41
|
-
export * from './components/Fieldset';
|
|
42
|
-
export { default as Fieldset } from './components/Fieldset';
|
|
43
|
-
export * from './components/FileInput';
|
|
44
|
-
export { default as FileInput } from './components/FileInput';
|
|
45
|
-
export * from './components/FilterLink';
|
|
46
|
-
export { default as FilterLink } from './components/FilterLink';
|
|
47
|
-
export * from './components/Form';
|
|
48
|
-
export { default as Form } from './components/Form';
|
|
49
|
-
export * from './components/FormActions';
|
|
50
|
-
export { default as FormActions } from './components/FormActions';
|
|
51
|
-
export * from './components/FormField';
|
|
52
|
-
export { default as FormField } from './components/FormField';
|
|
53
|
-
export * from './components/FormRepeater';
|
|
54
|
-
export { default as FormRepeater } from './components/FormRepeater';
|
|
55
|
-
export * from './components/ImageInput';
|
|
56
|
-
export { default as ImageInput } from './components/ImageInput';
|
|
57
|
-
export * from './components/InfoPanel';
|
|
58
|
-
export { default as InfoPanel } from './components/InfoPanel';
|
|
59
|
-
export * from './components/Link';
|
|
60
|
-
export { default as Link } from './components/Link';
|
|
61
|
-
export * from './components/List';
|
|
62
|
-
export { default as List } from './components/List';
|
|
63
|
-
export * from './components/ListActions';
|
|
64
|
-
export { default as ListActions } from './components/ListActions';
|
|
65
|
-
export * from './components/LoginForm';
|
|
66
|
-
export { default as LoginForm } from './components/LoginForm';
|
|
67
|
-
export * from './components/Message';
|
|
68
|
-
export { default as Message } from './components/Message';
|
|
69
|
-
export * from './components/Modal';
|
|
70
|
-
export { default as Modal } from './components/Modal';
|
|
71
|
-
export * from './components/ModalActions';
|
|
72
|
-
export { default as ModalActions } from './components/ModalActions';
|
|
73
|
-
export * from './components/MoneyInput';
|
|
74
|
-
export { default as MoneyInput } from './components/MoneyInput';
|
|
75
|
-
export * from './components/PasswordForm';
|
|
76
|
-
export { default as PasswordForm } from './components/PasswordForm';
|
|
77
|
-
export * from './components/PasswordInput';
|
|
78
|
-
export { default as PasswordInput } from './components/PasswordInput';
|
|
79
|
-
export * from './components/RadioList';
|
|
80
|
-
export { default as RadioList } from './components/RadioList';
|
|
81
|
-
export * from './components/RootLayout';
|
|
82
|
-
export { default as RootLayout } from './components/RootLayout';
|
|
83
|
-
export * from './components/SummaryList';
|
|
84
|
-
export { default as SummaryList } from './components/SummaryList';
|
|
85
|
-
export * from './components/Switch';
|
|
86
|
-
export { default as Switch } from './components/Switch';
|
|
87
|
-
export * from './components/Table';
|
|
88
|
-
export { default as Table } from './components/Table';
|
|
89
|
-
export * from './components/Tag';
|
|
90
|
-
export { default as Tag } from './components/Tag';
|
|
91
|
-
export * from './components/TextArea';
|
|
92
|
-
export { default as TextArea } from './components/TextArea';
|
|
93
|
-
export * from './components/TextInput';
|
|
94
|
-
export { default as TextInput } from './components/TextInput';
|
|
95
|
-
export * from './components/WebsiteInput';
|
|
96
|
-
export { default as WebsiteInput } from './components/WebsiteInput';
|
|
97
|
-
export * from './components/WeekCalendar';
|
|
98
|
-
export { default as WeekCalendar } from './components/WeekCalendar';
|
|
99
|
-
export * from './core/AlertComponent';
|
|
100
|
-
export * from './core/AppHeader';
|
|
101
|
-
export * from './core/AppLogo';
|
|
102
|
-
export * from './core/AppLogoImage';
|
|
103
|
-
export * from './core/AppLogoPlaceholder';
|
|
104
|
-
export * from './core/Assistive';
|
|
105
|
-
export * from './core/AuthForm';
|
|
106
|
-
export * from './core/Banner';
|
|
107
|
-
export * from './core/Calendar';
|
|
108
|
-
export * from './core/CalendarDay';
|
|
109
|
-
export * from './core/CalendarMonth';
|
|
110
|
-
export * from './core/CalendarNavigation';
|
|
111
|
-
export * from './core/CalendarWeek';
|
|
112
|
-
export * from './core/ChkRad';
|
|
113
|
-
export * from './core/ChkRadIcon';
|
|
114
|
-
export * from './core/ChkRadList';
|
|
115
|
-
export * from './core/CloseButton';
|
|
116
|
-
export * from './core/ConfirmModal';
|
|
117
|
-
export * from './core/ConnectedRepeater';
|
|
118
|
-
export * from './core/ConnectedRepeaterComponent';
|
|
119
|
-
export * from './core/Container';
|
|
120
|
-
export * from './core/DataPanelItem';
|
|
121
|
-
export * from './core/DropdownPanel';
|
|
122
|
-
export * from './core/EmptyMessage';
|
|
123
|
-
export * from './core/FilterItem';
|
|
124
|
-
export * from './core/Filters';
|
|
125
|
-
export * from './core/FixedActions';
|
|
126
|
-
export * from './core/FormError';
|
|
127
|
-
export * from './core/FormLabel';
|
|
128
|
-
export * from './core/FormLegend';
|
|
129
|
-
export * from './core/Header';
|
|
130
|
-
export * from './core/Icon';
|
|
131
|
-
export * from './core/IconButton';
|
|
132
|
-
export * from './core/InputPanel';
|
|
133
|
-
export * from './core/ListItem';
|
|
134
|
-
export * from './core/ListItemAction';
|
|
135
|
-
export * from './core/ListItemActions';
|
|
136
|
-
export * from './core/ListItemMetaItem';
|
|
137
|
-
export * from './core/ListItemTitle';
|
|
138
|
-
export * from './core/Loader';
|
|
139
|
-
export * from './core/MeActions';
|
|
140
|
-
export * from './core/MePanel';
|
|
141
|
-
export * from './core/ModalComponent';
|
|
142
|
-
export * from './core/Navigation';
|
|
143
|
-
export * from './core/NavigationDivider';
|
|
144
|
-
export * from './core/NavigationItem';
|
|
145
|
-
export * from './core/Pagination';
|
|
146
|
-
export * from './core/PaginationItem';
|
|
147
|
-
export * from './core/Panel';
|
|
148
|
-
export * from './core/PasswordForgotForm';
|
|
149
|
-
export * from './core/PasswordResetForm';
|
|
150
|
-
export * from './core/RadialProgress';
|
|
151
|
-
export * from './core/SettingsForm';
|
|
152
|
-
export * from './core/StaticTextInput';
|
|
153
|
-
export * from './core/Styled';
|
|
154
|
-
export * from './core/SummaryListItem';
|
|
155
|
-
export * from './core/TabItem';
|
|
156
|
-
export * from './core/TableActionsCell';
|
|
157
|
-
export * from './core/TableCell';
|
|
158
|
-
export * from './core/TableHead';
|
|
159
|
-
export * from './core/TableRow';
|
|
160
|
-
export * from './core/Tabs';
|
|
161
|
-
export * from './core/TextInputAncillary';
|
|
162
|
-
export * from './core/Toast';
|
|
163
|
-
export * from './core/TwoFactor';
|
|
164
|
-
export * from './core/TwoFactorAuthenticator';
|
|
165
|
-
export * from './core/TwoFactorMethodList';
|
|
166
|
-
export * from './core/TwoFactorSetup';
|
|
167
|
-
export * from './core/TwoFactorSetupAuthenticator';
|
|
168
|
-
export * from './core/TwoFactorSetupYubikey';
|
|
169
|
-
export * from './core/TwoFactorYubikey';
|
|
170
|
-
export * from './core/WeekCalendarDay';
|
|
171
|
-
export * from './core/YubikeyInput';
|
|
172
|
-
export * from './hooks/useAlert';
|
|
173
|
-
export { default as useAlert } from './hooks/useAlert';
|
|
174
|
-
export * from './hooks/useAppConfig';
|
|
175
|
-
export { default as useAppConfig } from './hooks/useAppConfig';
|
|
176
|
-
export * from './hooks/useConnectedList';
|
|
177
|
-
export { default as useConnectedList } from './hooks/useConnectedList';
|
|
178
|
-
export * from './hooks/useConnectedRepeater';
|
|
179
|
-
export { default as useConnectedRepeater } from './hooks/useConnectedRepeater';
|
|
180
|
-
export * from './hooks/useConnectedTable';
|
|
181
|
-
export { default as useConnectedTable } from './hooks/useConnectedTable';
|
|
182
|
-
export * from './hooks/useFilters';
|
|
183
|
-
export { default as useFilters } from './hooks/useFilters';
|
|
184
|
-
export * from './hooks/useLayout';
|
|
185
|
-
export { default as useLayout } from './hooks/useLayout';
|
|
186
|
-
export * from './hooks/useModal';
|
|
187
|
-
export { default as useModal } from './hooks/useModal';
|
|
188
|
-
export * from './hooks/useModalOffset';
|
|
189
|
-
export { default as useModalOffset } from './hooks/useModalOffset';
|
|
190
|
-
export * from './hooks/useNavigation';
|
|
191
|
-
export { default as useNavigation } from './hooks/useNavigation';
|
|
192
|
-
export * from './hooks/useRemote';
|
|
193
|
-
export { default as useRemote } from './hooks/useRemote';
|
|
194
|
-
export * from './hooks/useVariant';
|
|
195
|
-
export { default as useVariant } from './hooks/useVariant';
|
|
196
|
-
export * from './services/AppService';
|
|
197
|
-
export { default as AppService } from './services/AppService';
|
|
1
|
+
export * from './components';
|
|
2
|
+
export * from './interfaces';
|
|
198
3
|
export * from './services/ConfigService';
|
|
199
|
-
export { default as ConfigService } from './services/ConfigService';
|
|
200
|
-
export * from './services/ConfirmService';
|
|
201
|
-
export { default as ConfirmService } from './services/ConfirmService';
|
|
202
|
-
export * from './services/DateService';
|
|
203
|
-
export { default as DateService } from './services/DateService';
|
|
204
|
-
export * from './services/DownloadService';
|
|
205
|
-
export { default as DownloadService } from './services/DownloadService';
|
|
206
|
-
export * from './services/FilterComponentService';
|
|
207
|
-
export { default as FilterComponentService } from './services/FilterComponentService';
|
|
208
|
-
export * from './services/FilterService';
|
|
209
|
-
export { default as FilterService } from './services/FilterService';
|
|
210
|
-
export * from './services/FormatService';
|
|
211
|
-
export { default as FormatService } from './services/FormatService';
|
|
212
|
-
export * from './services/ToastService';
|
|
213
|
-
export { default as ToastService } from './services/ToastService';
|
|
@@ -1,42 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { AuthObject } from '@sqrzro/hooks';
|
|
3
|
-
import type { NavigationObject } from '../utility/interfaces';
|
|
4
|
-
export interface Me {
|
|
5
|
-
name: string;
|
|
6
|
-
permissions?: string[];
|
|
7
|
-
}
|
|
8
|
-
export declare enum AppLayout {
|
|
9
|
-
sidebar = "sidebar",
|
|
10
|
-
topbar = "topbar"
|
|
11
|
-
}
|
|
12
|
-
export interface AppConfigObject {
|
|
13
|
-
auth: AuthObject;
|
|
14
|
-
Logo?: React.ComponentType;
|
|
15
|
-
me?: Me;
|
|
16
|
-
name: string;
|
|
17
|
-
navigation: NavigationObject[];
|
|
18
|
-
paths: {
|
|
19
|
-
api: string;
|
|
20
|
-
};
|
|
21
|
-
style: {
|
|
22
|
-
brand?: string;
|
|
23
|
-
isDarkMode?: boolean;
|
|
24
|
-
layout: AppLayout;
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
1
|
export interface Config {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
navigation
|
|
33
|
-
paths?: Partial<AppConfigObject['paths']>;
|
|
34
|
-
style?: Partial<AppConfigObject['style']>;
|
|
2
|
+
app: {
|
|
3
|
+
name: string;
|
|
4
|
+
url: string;
|
|
5
|
+
};
|
|
6
|
+
navigation: Record<string, string>;
|
|
35
7
|
}
|
|
36
|
-
export declare function
|
|
37
|
-
declare function
|
|
38
|
-
declare const ConfigService: {
|
|
39
|
-
get: typeof get;
|
|
40
|
-
registerConfig: typeof registerConfig;
|
|
41
|
-
};
|
|
42
|
-
export default ConfigService;
|
|
8
|
+
export declare function setConfig(config: Config): Config;
|
|
9
|
+
export declare function getConfig(): Config;
|