infinity-forge 9.9.8 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -1
- package/dist/client/client.js +8 -4
- package/dist/client/client.js.map +1 -1
- package/dist/client/generate.js +9 -4
- package/dist/client/generate.js.map +1 -1
- package/dist/client/index.js +17 -1
- package/dist/client/index.js.map +1 -1
- package/dist/client/swagger_client.js +2 -1
- package/dist/codie_panel/atena_codie_panel_keys/hooks/index.js +17 -1
- package/dist/codie_panel/atena_codie_panel_keys/hooks/index.js.map +1 -1
- package/dist/codie_panel/atena_codie_panel_keys/hooks/use-panel-configurations.js +9 -3
- package/dist/codie_panel/atena_codie_panel_keys/hooks/use-panel-configurations.js.map +1 -1
- package/dist/codie_panel/atena_codie_panel_keys/index.js +18 -2
- package/dist/codie_panel/atena_codie_panel_keys/index.js.map +1 -1
- package/dist/codie_panel/atena_codie_panel_keys/keys.js +5 -2
- package/dist/codie_panel/atena_codie_panel_keys/keys.js.map +1 -1
- package/dist/codie_panel/hooks/use-panel-configurations.js +6 -3
- package/dist/codie_panel/hooks/use-panel-configurations.js.map +1 -1
- package/dist/codie_panel/index.js +19 -3
- package/dist/codie_panel/index.js.map +1 -1
- package/dist/codie_panel/pages/configurations/components/index.js +17 -1
- package/dist/codie_panel/pages/configurations/components/index.js.map +1 -1
- package/dist/codie_panel/pages/configurations/components/menu-card/index.js +6 -3
- package/dist/codie_panel/pages/configurations/components/menu-card/index.js.map +1 -1
- package/dist/codie_panel/pages/configurations/index.js +17 -1
- package/dist/codie_panel/pages/configurations/index.js.map +1 -1
- package/dist/codie_panel/pages/configurations/page.js +11 -8
- package/dist/codie_panel/pages/configurations/page.js.map +1 -1
- package/dist/codie_panel/pages/index.js +18 -2
- package/dist/codie_panel/pages/index.js.map +1 -1
- package/dist/codie_panel/pages/menu/components/index.js +17 -1
- package/dist/codie_panel/pages/menu/components/index.js.map +1 -1
- package/dist/codie_panel/pages/menu/components/menu-card/index.js +6 -3
- package/dist/codie_panel/pages/menu/components/menu-card/index.js.map +1 -1
- package/dist/codie_panel/pages/menu/index.js +17 -1
- package/dist/codie_panel/pages/menu/index.js.map +1 -1
- package/dist/codie_panel/pages/menu/page.js +10 -7
- package/dist/codie_panel/pages/menu/page.js.map +1 -1
- package/dist/codie_panel/panel_configurations/index.js +2 -1
- package/dist/index.js +20 -4
- package/dist/index.js.map +1 -1
- package/dist/system/components/data/avatar/index.js +55 -8
- package/dist/system/components/data/avatar/index.js.map +1 -1
- package/dist/system/components/data/avatar/styles.js +13 -30
- package/dist/system/components/data/avatar/styles.js.map +1 -1
- package/dist/system/components/data/buttons/index.js +17 -1
- package/dist/system/components/data/buttons/index.js.map +1 -1
- package/dist/system/components/data/buttons/sidebar-button/index.js +41 -5
- package/dist/system/components/data/buttons/sidebar-button/index.js.map +1 -1
- package/dist/system/components/data/buttons/sidebar-button/styles.js +13 -17
- package/dist/system/components/data/buttons/sidebar-button/styles.js.map +1 -1
- package/dist/system/components/data/chat/card-message/index.js +43 -6
- package/dist/system/components/data/chat/card-message/index.js.map +1 -1
- package/dist/system/components/data/chat/card-message/styles.js +13 -38
- package/dist/system/components/data/chat/card-message/styles.js.map +1 -1
- package/dist/system/components/data/chat/index.js +45 -8
- package/dist/system/components/data/chat/index.js.map +1 -1
- package/dist/system/components/data/chat/interfaces.js +2 -1
- package/dist/system/components/data/chat/loader/index.js +7 -4
- package/dist/system/components/data/chat/loader/index.js.map +1 -1
- package/dist/system/components/data/chat/schema.js +38 -2
- package/dist/system/components/data/chat/schema.js.map +1 -1
- package/dist/system/components/data/chat/styles.js +13 -150
- package/dist/system/components/data/chat/styles.js.map +1 -1
- package/dist/system/components/data/detail-card/component.js +45 -8
- package/dist/system/components/data/detail-card/component.js.map +1 -1
- package/dist/system/components/data/detail-card/index.js +18 -2
- package/dist/system/components/data/detail-card/index.js.map +1 -1
- package/dist/system/components/data/detail-card/interfaces.js +2 -1
- package/dist/system/components/data/detail-card/styles.js +13 -148
- package/dist/system/components/data/detail-card/styles.js.map +1 -1
- package/dist/system/components/data/highlight-icon/index.js +43 -6
- package/dist/system/components/data/highlight-icon/index.js.map +1 -1
- package/dist/system/components/data/highlight-icon/interfaces.js +2 -1
- package/dist/system/components/data/highlight-icon/styles.js +13 -18
- package/dist/system/components/data/highlight-icon/styles.js.map +1 -1
- package/dist/system/components/data/highlight-text/index.js +43 -6
- package/dist/system/components/data/highlight-text/index.js.map +1 -1
- package/dist/system/components/data/highlight-text/interfaces.js +2 -1
- package/dist/system/components/data/highlight-text/styles.js +14 -17
- package/dist/system/components/data/highlight-text/styles.js.map +1 -1
- package/dist/system/components/data/index.js +30 -14
- package/dist/system/components/data/index.js.map +1 -1
- package/dist/system/components/data/input-search/index.js +43 -6
- package/dist/system/components/data/input-search/index.js.map +1 -1
- package/dist/system/components/data/input-search/interfaces.js +2 -1
- package/dist/system/components/data/input-search/styles.js +13 -41
- package/dist/system/components/data/input-search/styles.js.map +1 -1
- package/dist/system/components/data/menu/component.js +9 -6
- package/dist/system/components/data/menu/component.js.map +1 -1
- package/dist/system/components/data/menu/components/index.js +17 -1
- package/dist/system/components/data/menu/components/index.js.map +1 -1
- package/dist/system/components/data/menu/components/menu-item/index.js +75 -32
- package/dist/system/components/data/menu/components/menu-item/index.js.map +1 -1
- package/dist/system/components/data/menu/index.js +18 -2
- package/dist/system/components/data/menu/index.js.map +1 -1
- package/dist/system/components/data/menu/mock.js +4 -1
- package/dist/system/components/data/menu/mock.js.map +1 -1
- package/dist/system/components/data/menu/modes/collapsed-menu/index.js +48 -12
- package/dist/system/components/data/menu/modes/collapsed-menu/index.js.map +1 -1
- package/dist/system/components/data/menu/modes/collapsed-menu/styles.js +14 -88
- package/dist/system/components/data/menu/modes/collapsed-menu/styles.js.map +1 -1
- package/dist/system/components/data/menu/modes/index.js +18 -2
- package/dist/system/components/data/menu/modes/index.js.map +1 -1
- package/dist/system/components/data/menu/modes/opened/index.js +58 -21
- package/dist/system/components/data/menu/modes/opened/index.js.map +1 -1
- package/dist/system/components/data/menu/modes/opened/styles.js +14 -3
- package/dist/system/components/data/menu/modes/opened/styles.js.map +1 -1
- package/dist/system/components/data/menu/styles.js +15 -165
- package/dist/system/components/data/menu/styles.js.map +1 -1
- package/dist/system/components/data/notifications/card/index.js +42 -5
- package/dist/system/components/data/notifications/card/index.js.map +1 -1
- package/dist/system/components/data/notifications/card/styles.js +13 -30
- package/dist/system/components/data/notifications/card/styles.js.map +1 -1
- package/dist/system/components/data/notifications/content-notification/index.js +22 -5
- package/dist/system/components/data/notifications/content-notification/index.js.map +1 -1
- package/dist/system/components/data/notifications/index.js +55 -19
- package/dist/system/components/data/notifications/index.js.map +1 -1
- package/dist/system/components/data/notifications/interfaces.js +2 -1
- package/dist/system/components/data/notifications/read-notifications/index.js +60 -21
- package/dist/system/components/data/notifications/read-notifications/index.js.map +1 -1
- package/dist/system/components/data/notifications/styles.js +14 -78
- package/dist/system/components/data/notifications/styles.js.map +1 -1
- package/dist/system/components/data/page-wrapper/index.js +42 -5
- package/dist/system/components/data/page-wrapper/index.js.map +1 -1
- package/dist/system/components/data/page-wrapper/interfaces.js +2 -1
- package/dist/system/components/data/page-wrapper/styles.js +13 -6
- package/dist/system/components/data/page-wrapper/styles.js.map +1 -1
- package/dist/system/components/data/popover/index.js +7 -3
- package/dist/system/components/data/popover/index.js.map +1 -1
- package/dist/system/components/data/popover/interfaces.js +2 -1
- package/dist/system/components/data/profile-infos/index.js +55 -7
- package/dist/system/components/data/profile-infos/index.js.map +1 -1
- package/dist/system/components/data/profile-infos/interfaces.js +2 -1
- package/dist/system/components/data/profile-infos/profile/index.js +43 -6
- package/dist/system/components/data/profile-infos/profile/index.js.map +1 -1
- package/dist/system/components/data/profile-infos/profile/interfaces.js +2 -1
- package/dist/system/components/data/profile-infos/profile/styles.js +13 -54
- package/dist/system/components/data/profile-infos/profile/styles.js.map +1 -1
- package/dist/system/components/data/profile-infos/styles.js +13 -13
- package/dist/system/components/data/profile-infos/styles.js.map +1 -1
- package/dist/system/components/data/select-workspace/component.js +60 -12
- package/dist/system/components/data/select-workspace/component.js.map +1 -1
- package/dist/system/components/data/select-workspace/custom-styles.js +24 -10
- package/dist/system/components/data/select-workspace/custom-styles.js.map +1 -1
- package/dist/system/components/data/select-workspace/index.js +19 -3
- package/dist/system/components/data/select-workspace/index.js.map +1 -1
- package/dist/system/components/data/select-workspace/interfaces.js +2 -1
- package/dist/system/components/data/select-workspace/styles.js +14 -142
- package/dist/system/components/data/select-workspace/styles.js.map +1 -1
- package/dist/system/components/data/tab/component.js +76 -28
- package/dist/system/components/data/tab/component.js.map +1 -1
- package/dist/system/components/data/tab/index.js +18 -2
- package/dist/system/components/data/tab/index.js.map +1 -1
- package/dist/system/components/data/tab/interfaces.js +2 -1
- package/dist/system/components/data/tab/styles.js +13 -53
- package/dist/system/components/data/tab/styles.js.map +1 -1
- package/dist/system/components/data/tab/tab-item/index.js +42 -6
- package/dist/system/components/data/tab/tab-item/index.js.map +1 -1
- package/dist/system/components/data/tab/tab-item/styles.js +25 -42
- package/dist/system/components/data/tab/tab-item/styles.js.map +1 -1
- package/dist/system/components/index.js +18 -2
- package/dist/system/components/index.js.map +1 -1
- package/dist/system/components/layout/component.js +53 -6
- package/dist/system/components/layout/component.js.map +1 -1
- package/dist/system/components/layout/header/components/index.js +19 -3
- package/dist/system/components/layout/header/components/index.js.map +1 -1
- package/dist/system/components/layout/header/components/logo/index.js +15 -8
- package/dist/system/components/layout/header/components/logo/index.js.map +1 -1
- package/dist/system/components/layout/header/components/menu-right/component.js +53 -6
- package/dist/system/components/layout/header/components/menu-right/component.js.map +1 -1
- package/dist/system/components/layout/header/components/menu-right/index.js +19 -3
- package/dist/system/components/layout/header/components/menu-right/index.js.map +1 -1
- package/dist/system/components/layout/header/components/menu-right/messages/content/card/index.js +54 -6
- package/dist/system/components/layout/header/components/menu-right/messages/content/card/index.js.map +1 -1
- package/dist/system/components/layout/header/components/menu-right/messages/content/card/interfaces.js +2 -1
- package/dist/system/components/layout/header/components/menu-right/messages/content/card/styles.js +13 -48
- package/dist/system/components/layout/header/components/menu-right/messages/content/card/styles.js.map +1 -1
- package/dist/system/components/layout/header/components/menu-right/messages/content/index.js +54 -7
- package/dist/system/components/layout/header/components/menu-right/messages/content/index.js.map +1 -1
- package/dist/system/components/layout/header/components/menu-right/messages/content/interfaces.js +2 -1
- package/dist/system/components/layout/header/components/menu-right/messages/content/styles.js +13 -14
- package/dist/system/components/layout/header/components/menu-right/messages/content/styles.js.map +1 -1
- package/dist/system/components/layout/header/components/menu-right/messages/index.js +43 -7
- package/dist/system/components/layout/header/components/menu-right/messages/index.js.map +1 -1
- package/dist/system/components/layout/header/components/menu-right/messages/styles.js +13 -16
- package/dist/system/components/layout/header/components/menu-right/messages/styles.js.map +1 -1
- package/dist/system/components/layout/header/components/menu-right/profile/content/index.js +43 -7
- package/dist/system/components/layout/header/components/menu-right/profile/content/index.js.map +1 -1
- package/dist/system/components/layout/header/components/menu-right/profile/content/styles.js +13 -98
- package/dist/system/components/layout/header/components/menu-right/profile/content/styles.js.map +1 -1
- package/dist/system/components/layout/header/components/menu-right/profile/index.js +56 -9
- package/dist/system/components/layout/header/components/menu-right/profile/index.js.map +1 -1
- package/dist/system/components/layout/header/components/menu-right/profile/styles.js +13 -2
- package/dist/system/components/layout/header/components/menu-right/profile/styles.js.map +1 -1
- package/dist/system/components/layout/header/components/menu-right/styles.js +14 -34
- package/dist/system/components/layout/header/components/menu-right/styles.js.map +1 -1
- package/dist/system/components/layout/header/components/search-modal/index.js +57 -10
- package/dist/system/components/layout/header/components/search-modal/index.js.map +1 -1
- package/dist/system/components/layout/header/components/search-modal/search-list/index.js +67 -17
- package/dist/system/components/layout/header/components/search-modal/search-list/index.js.map +1 -1
- package/dist/system/components/layout/header/components/search-modal/search-list/search-menu-item/index.js +15 -6
- package/dist/system/components/layout/header/components/search-modal/search-list/search-menu-item/index.js.map +1 -1
- package/dist/system/components/layout/header/components/search-modal/search-list/styles.js +13 -169
- package/dist/system/components/layout/header/components/search-modal/search-list/styles.js.map +1 -1
- package/dist/system/components/layout/header/components/search-modal/styles.js +13 -11
- package/dist/system/components/layout/header/components/search-modal/styles.js.map +1 -1
- package/dist/system/components/layout/header/components/search-modal/trigger/index.js +52 -5
- package/dist/system/components/layout/header/components/search-modal/trigger/index.js.map +1 -1
- package/dist/system/components/layout/header/components/search-modal/trigger/styles.js +13 -47
- package/dist/system/components/layout/header/components/search-modal/trigger/styles.js.map +1 -1
- package/dist/system/components/layout/header/index.js +19 -5
- package/dist/system/components/layout/header/index.js.map +1 -1
- package/dist/system/components/layout/header/version-01/index.js +58 -11
- package/dist/system/components/layout/header/version-01/index.js.map +1 -1
- package/dist/system/components/layout/header/version-01/styles.js +16 -154
- package/dist/system/components/layout/header/version-01/styles.js.map +1 -1
- package/dist/system/components/layout/index.js +21 -5
- package/dist/system/components/layout/index.js.map +1 -1
- package/dist/system/components/layout/interfaces.js +2 -1
- package/dist/system/components/layout/styles.js +13 -36
- package/dist/system/components/layout/styles.js.map +1 -1
- package/dist/system/context/auth/components/index.js +18 -2
- package/dist/system/context/auth/components/index.js.map +1 -1
- package/dist/system/context/auth/components/login/form-login/index.js +9 -6
- package/dist/system/context/auth/components/login/form-login/index.js.map +1 -1
- package/dist/system/context/auth/components/login/index.js +44 -8
- package/dist/system/context/auth/components/login/index.js.map +1 -1
- package/dist/system/context/auth/components/login/styles.js +13 -142
- package/dist/system/context/auth/components/login/styles.js.map +1 -1
- package/dist/system/context/auth/components/private-page/index.js +85 -41
- package/dist/system/context/auth/components/private-page/index.js.map +1 -1
- package/dist/system/context/auth/components/private-page/interfaces.js +2 -1
- package/dist/system/context/auth/context.js +193 -87
- package/dist/system/context/auth/context.js.map +1 -1
- package/dist/system/context/auth/index.js +19 -3
- package/dist/system/context/auth/index.js.map +1 -1
- package/dist/system/context/auth/interfaces.js +2 -1
- package/dist/system/context/container.js +31 -16
- package/dist/system/context/container.js.map +1 -1
- package/dist/system/context/index.js +21 -5
- package/dist/system/context/index.js.map +1 -1
- package/dist/system/context/infra-injection/context.js +12 -7
- package/dist/system/context/infra-injection/context.js.map +1 -1
- package/dist/system/context/infra-injection/index.js +18 -2
- package/dist/system/context/infra-injection/index.js.map +1 -1
- package/dist/system/context/infra-injection/interfaces.js +2 -1
- package/dist/system/context/menu/context.js +12 -9
- package/dist/system/context/menu/context.js.map +1 -1
- package/dist/system/context/menu/index.js +18 -2
- package/dist/system/context/menu/index.js.map +1 -1
- package/dist/system/context/menu/interfaces.js +2 -1
- package/dist/system/context/theme/context.js +26 -11
- package/dist/system/context/theme/context.js.map +1 -1
- package/dist/system/context/theme/index.js +17 -1
- package/dist/system/context/theme/index.js.map +1 -1
- package/dist/system/context/third-party-integration-context/context.js +8 -5
- package/dist/system/context/third-party-integration-context/context.js.map +1 -1
- package/dist/system/context/third-party-integration-context/index.js +18 -2
- package/dist/system/context/third-party-integration-context/index.js.map +1 -1
- package/dist/system/context/third-party-integration-context/interfaces.js +2 -1
- package/dist/system/hooks/index.js +20 -4
- package/dist/system/hooks/index.js.map +1 -1
- package/dist/system/hooks/locales/ibge/index.js +17 -1
- package/dist/system/hooks/locales/ibge/index.js.map +1 -1
- package/dist/system/hooks/locales/ibge/use-load-cities-by-uf/hook.js +51 -12
- package/dist/system/hooks/locales/ibge/use-load-cities-by-uf/hook.js.map +1 -1
- package/dist/system/hooks/locales/ibge/use-load-cities-by-uf/index.js +18 -2
- package/dist/system/hooks/locales/ibge/use-load-cities-by-uf/index.js.map +1 -1
- package/dist/system/hooks/locales/ibge/use-load-cities-by-uf/interfaces.js +2 -1
- package/dist/system/hooks/locales/index.js +18 -2
- package/dist/system/hooks/locales/index.js.map +1 -1
- package/dist/system/hooks/locales/use-load-cities/index.js +37 -5
- package/dist/system/hooks/locales/use-load-cities/index.js.map +1 -1
- package/dist/system/hooks/menu/index.js +17 -1
- package/dist/system/hooks/menu/index.js.map +1 -1
- package/dist/system/hooks/menu/use-load-menu.js +58 -19
- package/dist/system/hooks/menu/use-load-menu.js.map +1 -1
- package/dist/system/hooks/notifications/index.js +18 -2
- package/dist/system/hooks/notifications/index.js.map +1 -1
- package/dist/system/hooks/notifications/use-load-all/index.js +58 -21
- package/dist/system/hooks/notifications/use-load-all/index.js.map +1 -1
- package/dist/system/hooks/notifications/use-load-no-read/index.js +48 -11
- package/dist/system/hooks/notifications/use-load-no-read/index.js.map +1 -1
- package/dist/system/hooks/ui/index.js +18 -2
- package/dist/system/hooks/ui/index.js.map +1 -1
- package/dist/system/hooks/ui/use-debounce/index.js +9 -6
- package/dist/system/hooks/ui/use-debounce/index.js.map +1 -1
- package/dist/system/hooks/ui/use-table/component.js +18 -4
- package/dist/system/hooks/ui/use-table/component.js.map +1 -1
- package/dist/system/hooks/ui/use-table/components/index.js +18 -2
- package/dist/system/hooks/ui/use-table/components/index.js.map +1 -1
- package/dist/system/hooks/ui/use-table/components/table/actions/delete/index.js +77 -25
- package/dist/system/hooks/ui/use-table/components/table/actions/delete/index.js.map +1 -1
- package/dist/system/hooks/ui/use-table/components/table/actions/index.js +108 -22
- package/dist/system/hooks/ui/use-table/components/table/actions/index.js.map +1 -1
- package/dist/system/hooks/ui/use-table/components/table/actions/styles.js +13 -44
- package/dist/system/hooks/ui/use-table/components/table/actions/styles.js.map +1 -1
- package/dist/system/hooks/ui/use-table/components/table/active-filters/active-item-filter/index.js +39 -24
- package/dist/system/hooks/ui/use-table/components/table/active-filters/active-item-filter/index.js.map +1 -1
- package/dist/system/hooks/ui/use-table/components/table/active-filters/index.js +76 -28
- package/dist/system/hooks/ui/use-table/components/table/active-filters/index.js.map +1 -1
- package/dist/system/hooks/ui/use-table/components/table/active-filters/styles.js +13 -40
- package/dist/system/hooks/ui/use-table/components/table/active-filters/styles.js.map +1 -1
- package/dist/system/hooks/ui/use-table/components/table/create/index.js +65 -14
- package/dist/system/hooks/ui/use-table/components/table/create/index.js.map +1 -1
- package/dist/system/hooks/ui/use-table/components/table/create/interfaces.js +2 -1
- package/dist/system/hooks/ui/use-table/components/table/create/styles.js +13 -40
- package/dist/system/hooks/ui/use-table/components/table/create/styles.js.map +1 -1
- package/dist/system/hooks/ui/use-table/components/table/export/index.js +42 -5
- package/dist/system/hooks/ui/use-table/components/table/export/index.js.map +1 -1
- package/dist/system/hooks/ui/use-table/components/table/export/styles.js +13 -29
- package/dist/system/hooks/ui/use-table/components/table/export/styles.js.map +1 -1
- package/dist/system/hooks/ui/use-table/components/table/filters/index.js +154 -53
- package/dist/system/hooks/ui/use-table/components/table/filters/index.js.map +1 -1
- package/dist/system/hooks/ui/use-table/components/table/filters/styles.js +16 -146
- package/dist/system/hooks/ui/use-table/components/table/filters/styles.js.map +1 -1
- package/dist/system/hooks/ui/use-table/components/table/filters/use-filters-table.js +26 -11
- package/dist/system/hooks/ui/use-table/components/table/filters/use-filters-table.js.map +1 -1
- package/dist/system/hooks/ui/use-table/components/table/index.js +99 -43
- package/dist/system/hooks/ui/use-table/components/table/index.js.map +1 -1
- package/dist/system/hooks/ui/use-table/components/table/interfaces.js +2 -1
- package/dist/system/hooks/ui/use-table/components/table/pagination/index.js +55 -18
- package/dist/system/hooks/ui/use-table/components/table/pagination/index.js.map +1 -1
- package/dist/system/hooks/ui/use-table/components/table/pagination/service.js +22 -19
- package/dist/system/hooks/ui/use-table/components/table/pagination/service.js.map +1 -1
- package/dist/system/hooks/ui/use-table/components/table/pagination/styles.js +13 -116
- package/dist/system/hooks/ui/use-table/components/table/pagination/styles.js.map +1 -1
- package/dist/system/hooks/ui/use-table/components/table/skeleton-table/index.js +41 -5
- package/dist/system/hooks/ui/use-table/components/table/skeleton-table/index.js.map +1 -1
- package/dist/system/hooks/ui/use-table/components/table/skeleton-table/styles.js +13 -7
- package/dist/system/hooks/ui/use-table/components/table/skeleton-table/styles.js.map +1 -1
- package/dist/system/hooks/ui/use-table/components/table/styles.js +15 -152
- package/dist/system/hooks/ui/use-table/components/table/styles.js.map +1 -1
- package/dist/system/hooks/ui/use-table/components/table/thead-item/index.js +51 -14
- package/dist/system/hooks/ui/use-table/components/table/thead-item/index.js.map +1 -1
- package/dist/system/hooks/ui/use-table/components/table/thead-item/interfaces.js +2 -1
- package/dist/system/hooks/ui/use-table/components/table/thead-item/styles.js +13 -25
- package/dist/system/hooks/ui/use-table/components/table/thead-item/styles.js.map +1 -1
- package/dist/system/hooks/ui/use-table/components/table/tr/children-tr/index.js +108 -24
- package/dist/system/hooks/ui/use-table/components/table/tr/children-tr/index.js.map +1 -1
- package/dist/system/hooks/ui/use-table/components/table/tr/children-tr/styles.js +13 -36
- package/dist/system/hooks/ui/use-table/components/table/tr/children-tr/styles.js.map +1 -1
- package/dist/system/hooks/ui/use-table/components/table/tr/index.js +38 -21
- package/dist/system/hooks/ui/use-table/components/table/tr/index.js.map +1 -1
- package/dist/system/hooks/ui/use-table/index.js +19 -3
- package/dist/system/hooks/ui/use-table/index.js.map +1 -1
- package/dist/system/hooks/ui/use-table/interfaces.js +4 -2
- package/dist/system/hooks/ui/use-table/interfaces.js.map +1 -1
- package/dist/system/index.js +19 -3
- package/dist/system/index.js.map +1 -1
- package/dist/test/index.js +18 -15
- package/dist/test/index.js.map +1 -1
- package/dist/ui/atena/domain/dynamic-section/create.js +2 -1
- package/dist/ui/atena/domain/dynamic-section/dynamic-section.js +2 -1
- package/dist/ui/atena/domain/dynamic-section/index.js +20 -4
- package/dist/ui/atena/domain/dynamic-section/index.js.map +1 -1
- package/dist/ui/atena/domain/dynamic-section/load-all.js +2 -1
- package/dist/ui/atena/domain/dynamic-section/update.js +2 -1
- package/dist/ui/atena/domain/index.js +17 -1
- package/dist/ui/atena/domain/index.js.map +1 -1
- package/dist/ui/atena/index.js +18 -2
- package/dist/ui/atena/index.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/atena-page.js +116 -65
- package/dist/ui/atena/presentation/dynamic-elements/atena-page.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/index.js +61 -13
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/index.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/styles.js +13 -4
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/styles.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/default/details-contact/index.js +43 -7
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/default/details-contact/index.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/default/details-contact/info/index.js +42 -5
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/default/details-contact/info/index.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/default/details-contact/info/styles.js +10 -131
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/default/details-contact/info/styles.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/default/details-contact/styles.js +10 -59
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/default/details-contact/styles.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/default/form-contact/index.js +98 -21
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/default/form-contact/index.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/default/form-contact/styles.js +10 -104
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/default/form-contact/styles.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/default/index.js +54 -7
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/default/index.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/default/styles.js +10 -23
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/default/styles.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/index.js +18 -2
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/index.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/version-01/index.js +42 -6
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/version-01/index.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/version-01/styles.js +13 -4
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/version-01/styles.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/elements/index.js +17 -1
- package/dist/ui/atena/presentation/dynamic-elements/elements/index.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/index.js +19 -3
- package/dist/ui/atena/presentation/dynamic-elements/index.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/component.js +60 -13
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/component.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/blog-item/index.js +45 -6
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/blog-item/index.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/blog-item/styles.js +14 -118
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/blog-item/styles.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/categorias/index.js +50 -11
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/categorias/index.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/featured-blog/featured-blog-item/format-date.js +11 -8
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/featured-blog/featured-blog-item/format-date.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/featured-blog/featured-blog-item/index.js +43 -6
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/featured-blog/featured-blog-item/index.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/featured-blog/featured-blog-item/styles.js +14 -84
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/featured-blog/featured-blog-item/styles.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/featured-blog/index.js +45 -9
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/featured-blog/index.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/index.js +21 -5
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/index.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/side-box-newsletter/index.js +87 -14
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/side-box-newsletter/index.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/side-box-search/index.js +44 -8
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/side-box-search/index.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/styles.js +13 -226
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/styles.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/title-blog/index.js +42 -5
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/title-blog/index.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/title-blog/styles.js +13 -19
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/title-blog/styles.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/index.js +17 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/index.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/styles.js +13 -65
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/styles.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/common-ssrs-api/blog/index.js +136 -78
- package/dist/ui/atena/presentation/dynamic-elements/pages/common-ssrs-api/blog/index.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/common-ssrs-api/blog/interfaces.js +2 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/common-ssrs-api/index.js +18 -2
- package/dist/ui/atena/presentation/dynamic-elements/pages/common-ssrs-api/index.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/common-ssrs-api/post/index.js +123 -65
- package/dist/ui/atena/presentation/dynamic-elements/pages/common-ssrs-api/post/index.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/index.js +19 -3
- package/dist/ui/atena/presentation/dynamic-elements/pages/index.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/post/box-post/index.js +42 -6
- package/dist/ui/atena/presentation/dynamic-elements/pages/post/box-post/index.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/post/box-post/styles.js +13 -69
- package/dist/ui/atena/presentation/dynamic-elements/pages/post/box-post/styles.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/post/box-tags/index.js +53 -13
- package/dist/ui/atena/presentation/dynamic-elements/pages/post/box-tags/index.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/post/box-tags/share/icons/index.js +15 -9
- package/dist/ui/atena/presentation/dynamic-elements/pages/post/box-tags/share/icons/index.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/post/box-tags/share/index.js +59 -16
- package/dist/ui/atena/presentation/dynamic-elements/pages/post/box-tags/share/index.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/post/box-tags/share/styles.js +13 -38
- package/dist/ui/atena/presentation/dynamic-elements/pages/post/box-tags/share/styles.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/post/box-tags/styles.js +13 -75
- package/dist/ui/atena/presentation/dynamic-elements/pages/post/box-tags/styles.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/post/component.js +58 -11
- package/dist/ui/atena/presentation/dynamic-elements/pages/post/component.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/post/index.js +17 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/post/index.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/pages/post/styles.js +13 -82
- package/dist/ui/atena/presentation/dynamic-elements/pages/post/styles.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-sections/context.js +70 -32
- package/dist/ui/atena/presentation/dynamic-sections/context.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-sections/get-initial-props-dynamic-section.js +49 -11
- package/dist/ui/atena/presentation/dynamic-sections/get-initial-props-dynamic-section.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-sections/index.js +21 -5
- package/dist/ui/atena/presentation/dynamic-sections/index.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-sections/types.js +2 -1
- package/dist/ui/atena/presentation/dynamic-sections/use-dynamic-section/edit-css/editor-code/index.js +42 -6
- package/dist/ui/atena/presentation/dynamic-sections/use-dynamic-section/edit-css/editor-code/index.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-sections/use-dynamic-section/edit-css/editor-code/styles.js +13 -4
- package/dist/ui/atena/presentation/dynamic-sections/use-dynamic-section/edit-css/editor-code/styles.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-sections/use-dynamic-section/edit-css/index.js +64 -26
- package/dist/ui/atena/presentation/dynamic-sections/use-dynamic-section/edit-css/index.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-sections/use-dynamic-section/edit-css/styles.js +13 -4
- package/dist/ui/atena/presentation/dynamic-sections/use-dynamic-section/edit-css/styles.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-sections/use-dynamic-section/edit-section.js +110 -83
- package/dist/ui/atena/presentation/dynamic-sections/use-dynamic-section/edit-section.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-sections/use-dynamic-section/index.js +44 -26
- package/dist/ui/atena/presentation/dynamic-sections/use-dynamic-section/index.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-sections/use-dynamic-section/interfaces.js +2 -1
- package/dist/ui/atena/presentation/dynamic-sections/use-section/index.js +12 -8
- package/dist/ui/atena/presentation/dynamic-sections/use-section/index.js.map +1 -1
- package/dist/ui/atena/presentation/index.js +19 -3
- package/dist/ui/atena/presentation/index.js.map +1 -1
- package/dist/ui/atena/presentation/site-configurations/atena-ssr-site.js +19 -13
- package/dist/ui/atena/presentation/site-configurations/atena-ssr-site.js.map +1 -1
- package/dist/ui/atena/presentation/site-configurations/index.js +18 -2
- package/dist/ui/atena/presentation/site-configurations/index.js.map +1 -1
- package/dist/ui/atena/presentation/site-configurations/use-site-configurations.js +21 -7
- package/dist/ui/atena/presentation/site-configurations/use-site-configurations.js.map +1 -1
- package/dist/ui/codie-dynamic/components/directory-filter/categories-carousel/carousel-config.js +4 -1
- package/dist/ui/codie-dynamic/components/directory-filter/categories-carousel/carousel-config.js.map +1 -1
- package/dist/ui/codie-dynamic/components/directory-filter/categories-carousel/index.js +95 -20
- package/dist/ui/codie-dynamic/components/directory-filter/categories-carousel/index.js.map +1 -1
- package/dist/ui/codie-dynamic/components/directory-filter/categories-carousel/styles.js +13 -87
- package/dist/ui/codie-dynamic/components/directory-filter/categories-carousel/styles.js.map +1 -1
- package/dist/ui/codie-dynamic/components/directory-filter/hooks/index.js +17 -1
- package/dist/ui/codie-dynamic/components/directory-filter/hooks/index.js.map +1 -1
- package/dist/ui/codie-dynamic/components/directory-filter/hooks/use-dynamic-filter.js +62 -23
- package/dist/ui/codie-dynamic/components/directory-filter/hooks/use-dynamic-filter.js.map +1 -1
- package/dist/ui/codie-dynamic/components/directory-filter/index.js +17 -1
- package/dist/ui/codie-dynamic/components/directory-filter/index.js.map +1 -1
- package/dist/ui/codie-dynamic/components/directory-filter/source-filter-header/index.js +157 -60
- package/dist/ui/codie-dynamic/components/directory-filter/source-filter-header/index.js.map +1 -1
- package/dist/ui/codie-dynamic/components/directory-filter/source-filter-header/select-locale/index.js +13 -9
- package/dist/ui/codie-dynamic/components/directory-filter/source-filter-header/select-locale/index.js.map +1 -1
- package/dist/ui/codie-dynamic/components/directory-filter/source-filter-header/styles.js +13 -9
- package/dist/ui/codie-dynamic/components/directory-filter/source-filter-header/styles.js.map +1 -1
- package/dist/ui/codie-dynamic/components/directory-filter/source-filters/index.js +57 -20
- package/dist/ui/codie-dynamic/components/directory-filter/source-filters/index.js.map +1 -1
- package/dist/ui/codie-dynamic/components/directory-filter/source-filters/render-stars.js +9 -5
- package/dist/ui/codie-dynamic/components/directory-filter/source-filters/render-stars.js.map +1 -1
- package/dist/ui/codie-dynamic/components/directory-filter/source-filters/styles.js +13 -304
- package/dist/ui/codie-dynamic/components/directory-filter/source-filters/styles.js.map +1 -1
- package/dist/ui/codie-dynamic/components/directory-filter/use-filter.js +10 -7
- package/dist/ui/codie-dynamic/components/directory-filter/use-filter.js.map +1 -1
- package/dist/ui/codie-dynamic/components/index.js +17 -1
- package/dist/ui/codie-dynamic/components/index.js.map +1 -1
- package/dist/ui/codie-dynamic/index.js +17 -1
- package/dist/ui/codie-dynamic/index.js.map +1 -1
- package/dist/ui/components/accordion/accordions/index.js +41 -17
- package/dist/ui/components/accordion/accordions/index.js.map +1 -1
- package/dist/ui/components/accordion/component.js +57 -9
- package/dist/ui/components/accordion/component.js.map +1 -1
- package/dist/ui/components/accordion/index.js +18 -2
- package/dist/ui/components/accordion/index.js.map +1 -1
- package/dist/ui/components/accordion/interfaces.js +2 -1
- package/dist/ui/components/accordion/styles.js +10 -35
- package/dist/ui/components/accordion/styles.js.map +1 -1
- package/dist/ui/components/animation/index.js +30 -15
- package/dist/ui/components/animation/index.js.map +1 -1
- package/dist/ui/components/animation/type-animation.js +4 -1
- package/dist/ui/components/animation/type-animation.js.map +1 -1
- package/dist/ui/components/breadcrumb/component.js +60 -20
- package/dist/ui/components/breadcrumb/component.js.map +1 -1
- package/dist/ui/components/breadcrumb/index.js +18 -2
- package/dist/ui/components/breadcrumb/index.js.map +1 -1
- package/dist/ui/components/breadcrumb/interfaces.js +2 -1
- package/dist/ui/components/breadcrumb/styles.js +13 -35
- package/dist/ui/components/breadcrumb/styles.js.map +1 -1
- package/dist/ui/components/button/component.js +61 -11
- package/dist/ui/components/button/component.js.map +1 -1
- package/dist/ui/components/button/index.js +18 -2
- package/dist/ui/components/button/index.js.map +1 -1
- package/dist/ui/components/button/interfaces.js +2 -1
- package/dist/ui/components/button/styles.js +13 -27
- package/dist/ui/components/button/styles.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/components-shared/get-changed-params.js +16 -14
- package/dist/ui/components/carousel/carousel-lib/components-shared/get-changed-params.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/components-shared/get-element-params.js +57 -32
- package/dist/ui/components/carousel/carousel-lib/components-shared/get-element-params.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/components-shared/get-params.js +27 -20
- package/dist/ui/components/carousel/carousel-lib/components-shared/get-params.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/components-shared/mount-swiper.js +9 -6
- package/dist/ui/components/carousel/carousel-lib/components-shared/mount-swiper.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/components-shared/params-list.js +5 -2
- package/dist/ui/components/carousel/carousel-lib/components-shared/params-list.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/components-shared/update-on-virtual-data.js +5 -1
- package/dist/ui/components/carousel/carousel-lib/components-shared/update-on-virtual-data.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/components-shared/update-swiper.js +21 -18
- package/dist/ui/components/carousel/carousel-lib/components-shared/update-swiper.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/components-shared/utils.js +32 -17
- package/dist/ui/components/carousel/carousel-lib/components-shared/utils.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/breakpoints/getBreakpoint.js +18 -14
- package/dist/ui/components/carousel/carousel-lib/core/breakpoints/getBreakpoint.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/breakpoints/index.js +8 -3
- package/dist/ui/components/carousel/carousel-lib/core/breakpoints/index.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/breakpoints/setBreakpoint.js +29 -26
- package/dist/ui/components/carousel/carousel-lib/core/breakpoints/setBreakpoint.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/check-overflow/index.js +8 -6
- package/dist/ui/components/carousel/carousel-lib/core/check-overflow/index.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/classes/addClasses.js +13 -9
- package/dist/ui/components/carousel/carousel-lib/core/classes/addClasses.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/classes/index.js +8 -3
- package/dist/ui/components/carousel/carousel-lib/core/classes/index.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/classes/removeClasses.js +8 -4
- package/dist/ui/components/carousel/carousel-lib/core/classes/removeClasses.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/core.js +233 -200
- package/dist/ui/components/carousel/carousel-lib/core/core.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/defaults.js +3 -1
- package/dist/ui/components/carousel/carousel-lib/core/defaults.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/events/index.js +38 -33
- package/dist/ui/components/carousel/carousel-lib/core/events/index.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/events/onClick.js +5 -2
- package/dist/ui/components/carousel/carousel-lib/core/events/onClick.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/events/onDocumentTouchStart.js +5 -2
- package/dist/ui/components/carousel/carousel-lib/core/events/onDocumentTouchStart.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/events/onLoad.js +7 -4
- package/dist/ui/components/carousel/carousel-lib/core/events/onLoad.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/events/onResize.js +10 -7
- package/dist/ui/components/carousel/carousel-lib/core/events/onResize.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/events/onScroll.js +8 -5
- package/dist/ui/components/carousel/carousel-lib/core/events/onScroll.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/events/onTouchEnd.js +42 -30
- package/dist/ui/components/carousel/carousel-lib/core/events/onTouchEnd.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/events/onTouchMove.js +39 -27
- package/dist/ui/components/carousel/carousel-lib/core/events/onTouchMove.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/events/onTouchStart.js +31 -27
- package/dist/ui/components/carousel/carousel-lib/core/events/onTouchStart.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/events-emitter.js +47 -28
- package/dist/ui/components/carousel/carousel-lib/core/events-emitter.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/grab-cursor/index.js +10 -5
- package/dist/ui/components/carousel/carousel-lib/core/grab-cursor/index.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/grab-cursor/setGrabCursor.js +7 -4
- package/dist/ui/components/carousel/carousel-lib/core/grab-cursor/setGrabCursor.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/grab-cursor/unsetGrabCursor.js +6 -3
- package/dist/ui/components/carousel/carousel-lib/core/grab-cursor/unsetGrabCursor.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/loop/index.js +12 -7
- package/dist/ui/components/carousel/carousel-lib/core/loop/index.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/loop/loopCreate.js +24 -21
- package/dist/ui/components/carousel/carousel-lib/core/loop/loopCreate.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/loop/loopDestroy.js +11 -8
- package/dist/ui/components/carousel/carousel-lib/core/loop/loopDestroy.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/loop/loopFix.js +69 -51
- package/dist/ui/components/carousel/carousel-lib/core/loop/loopFix.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/moduleExtendParams.js +12 -8
- package/dist/ui/components/carousel/carousel-lib/core/moduleExtendParams.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/modules/observer/observer.js +19 -14
- package/dist/ui/components/carousel/carousel-lib/core/modules/observer/observer.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/modules/resize/resize.js +22 -17
- package/dist/ui/components/carousel/carousel-lib/core/modules/resize/resize.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/slide/index.js +20 -15
- package/dist/ui/components/carousel/carousel-lib/core/slide/index.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/slide/slideNext.js +11 -7
- package/dist/ui/components/carousel/carousel-lib/core/slide/slideNext.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/slide/slidePrev.js +20 -16
- package/dist/ui/components/carousel/carousel-lib/core/slide/slidePrev.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/slide/slideReset.js +6 -2
- package/dist/ui/components/carousel/carousel-lib/core/slide/slideReset.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/slide/slideTo.js +31 -25
- package/dist/ui/components/carousel/carousel-lib/core/slide/slideTo.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/slide/slideToClickedSlide.js +15 -12
- package/dist/ui/components/carousel/carousel-lib/core/slide/slideToClickedSlide.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/slide/slideToClosest.js +15 -10
- package/dist/ui/components/carousel/carousel-lib/core/slide/slideToClosest.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/slide/slideToLoop.js +22 -17
- package/dist/ui/components/carousel/carousel-lib/core/slide/slideToLoop.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/transition/index.js +12 -7
- package/dist/ui/components/carousel/carousel-lib/core/transition/index.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/transition/setTransition.js +7 -4
- package/dist/ui/components/carousel/carousel-lib/core/transition/setTransition.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/transition/transitionEmit.js +12 -8
- package/dist/ui/components/carousel/carousel-lib/core/transition/transitionEmit.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/transition/transitionEnd.js +12 -5
- package/dist/ui/components/carousel/carousel-lib/core/transition/transitionEnd.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/transition/transitionStart.js +12 -5
- package/dist/ui/components/carousel/carousel-lib/core/transition/transitionStart.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/translate/getTranslate.js +9 -5
- package/dist/ui/components/carousel/carousel-lib/core/translate/getTranslate.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/translate/index.js +16 -11
- package/dist/ui/components/carousel/carousel-lib/core/translate/index.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/translate/maxTranslate.js +4 -1
- package/dist/ui/components/carousel/carousel-lib/core/translate/maxTranslate.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/translate/minTranslate.js +4 -1
- package/dist/ui/components/carousel/carousel-lib/core/translate/minTranslate.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/translate/setTranslate.js +12 -9
- package/dist/ui/components/carousel/carousel-lib/core/translate/setTranslate.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/translate/translateTo.js +21 -13
- package/dist/ui/components/carousel/carousel-lib/core/translate/translateTo.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/update/index.js +24 -19
- package/dist/ui/components/carousel/carousel-lib/core/update/index.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/update/updateActiveIndex.js +32 -28
- package/dist/ui/components/carousel/carousel-lib/core/update/updateActiveIndex.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/update/updateAutoHeight.js +14 -11
- package/dist/ui/components/carousel/carousel-lib/core/update/updateAutoHeight.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/update/updateClickedSlide.js +21 -9
- package/dist/ui/components/carousel/carousel-lib/core/update/updateClickedSlide.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/update/updateProgress.js +23 -20
- package/dist/ui/components/carousel/carousel-lib/core/update/updateProgress.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/update/updateSize.js +15 -12
- package/dist/ui/components/carousel/carousel-lib/core/update/updateSize.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/update/updateSlides.js +92 -89
- package/dist/ui/components/carousel/carousel-lib/core/update/updateSlides.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/update/updateSlidesClasses.js +24 -21
- package/dist/ui/components/carousel/carousel-lib/core/update/updateSlidesClasses.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/update/updateSlidesOffset.js +8 -5
- package/dist/ui/components/carousel/carousel-lib/core/update/updateSlidesOffset.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/update/updateSlidesProgress.js +20 -16
- package/dist/ui/components/carousel/carousel-lib/core/update/updateSlidesProgress.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/modules/autoplay.js +65 -59
- package/dist/ui/components/carousel/carousel-lib/modules/autoplay.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/modules/effect-fade.js +35 -28
- package/dist/ui/components/carousel/carousel-lib/modules/effect-fade.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/modules/free-mode.js +42 -37
- package/dist/ui/components/carousel/carousel-lib/modules/free-mode.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/modules/grid.js +50 -46
- package/dist/ui/components/carousel/carousel-lib/modules/grid.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/modules/index.js +23 -7
- package/dist/ui/components/carousel/carousel-lib/modules/index.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/modules/navigation.js +79 -60
- package/dist/ui/components/carousel/carousel-lib/modules/navigation.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/modules/pagination.js +176 -150
- package/dist/ui/components/carousel/carousel-lib/modules/pagination.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/modules/virtual.js +104 -84
- package/dist/ui/components/carousel/carousel-lib/modules/virtual.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/react/context.js +12 -7
- package/dist/ui/components/carousel/carousel-lib/react/context.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/react/get-children.js +16 -11
- package/dist/ui/components/carousel/carousel-lib/react/get-children.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/react/swiper-slide.js +33 -18
- package/dist/ui/components/carousel/carousel-lib/react/swiper-slide.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/react/swiper.js +113 -63
- package/dist/ui/components/carousel/carousel-lib/react/swiper.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/react/use-isomorphic-layout-effect.js +6 -4
- package/dist/ui/components/carousel/carousel-lib/react/use-isomorphic-layout-effect.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/react/virtual.js +26 -21
- package/dist/ui/components/carousel/carousel-lib/react/virtual.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/shared/classes-to-selector.js +7 -3
- package/dist/ui/components/carousel/carousel-lib/shared/classes-to-selector.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/shared/classes-to-tokens.js +6 -2
- package/dist/ui/components/carousel/carousel-lib/shared/classes-to-tokens.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/shared/create-element-if-not-defined.js +8 -5
- package/dist/ui/components/carousel/carousel-lib/shared/create-element-if-not-defined.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/shared/create-shadow.js +9 -6
- package/dist/ui/components/carousel/carousel-lib/shared/create-shadow.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/shared/effect-init.js +17 -14
- package/dist/ui/components/carousel/carousel-lib/shared/effect-init.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/shared/effect-target.js +6 -3
- package/dist/ui/components/carousel/carousel-lib/shared/effect-target.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/shared/effect-virtual-transition-end.js +18 -14
- package/dist/ui/components/carousel/carousel-lib/shared/effect-virtual-transition-end.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/shared/get-browser.js +19 -17
- package/dist/ui/components/carousel/carousel-lib/shared/get-browser.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/shared/get-device.js +25 -20
- package/dist/ui/components/carousel/carousel-lib/shared/get-device.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/shared/get-support.js +8 -6
- package/dist/ui/components/carousel/carousel-lib/shared/get-support.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/shared/process-lazy-preloader.js +34 -29
- package/dist/ui/components/carousel/carousel-lib/shared/process-lazy-preloader.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/shared/utils.js +122 -74
- package/dist/ui/components/carousel/carousel-lib/shared/utils.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/ssr-window/document.js +25 -18
- package/dist/ui/components/carousel/carousel-lib/ssr-window/document.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/ssr-window/extend.js +7 -3
- package/dist/ui/components/carousel/carousel-lib/ssr-window/extend.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/ssr-window/ssr-window.js +14 -4
- package/dist/ui/components/carousel/carousel-lib/ssr-window/ssr-window.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/ssr-window/window.js +29 -22
- package/dist/ui/components/carousel/carousel-lib/ssr-window/window.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/swiper-bundle.js +12 -4
- package/dist/ui/components/carousel/carousel-lib/swiper-bundle.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/swiper-effect-utils.js +16 -6
- package/dist/ui/components/carousel/carousel-lib/swiper-effect-utils.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/swiper-react.js +10 -4
- package/dist/ui/components/carousel/carousel-lib/swiper-react.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/swiper.js +9 -1
- package/dist/ui/components/carousel/carousel-lib/swiper.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/types/index.js +26 -5
- package/dist/ui/components/carousel/carousel-lib/types/index.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/types/shared.js +2 -1
- package/dist/ui/components/carousel/carousel-lib/types/swiper-class.js +3 -1
- package/dist/ui/components/carousel/carousel-lib/types/swiper-class.js.map +1 -1
- package/dist/ui/components/carousel/carousel-lib/types/swiper-events.js +2 -1
- package/dist/ui/components/carousel/carousel-lib/types/swiper-options.js +2 -1
- package/dist/ui/components/carousel/index.js +76 -26
- package/dist/ui/components/carousel/index.js.map +1 -1
- package/dist/ui/components/carousel/interfaces.js +2 -1
- package/dist/ui/components/carousel/styles.js +13 -306
- package/dist/ui/components/carousel/styles.js.map +1 -1
- package/dist/ui/components/charts/index.js +18 -2
- package/dist/ui/components/charts/index.js.map +1 -1
- package/dist/ui/components/charts/matriz/index.js +86 -29
- package/dist/ui/components/charts/matriz/index.js.map +1 -1
- package/dist/ui/components/charts/matriz/styles.js +13 -124
- package/dist/ui/components/charts/matriz/styles.js.map +1 -1
- package/dist/ui/components/charts/pie/index.js +17 -1
- package/dist/ui/components/charts/pie/index.js.map +1 -1
- package/dist/ui/components/charts/pie/simple/functions.js +20 -16
- package/dist/ui/components/charts/pie/simple/functions.js.map +1 -1
- package/dist/ui/components/charts/pie/simple/index.js +76 -39
- package/dist/ui/components/charts/pie/simple/index.js.map +1 -1
- package/dist/ui/components/charts/pie/simple/interfaces.js +2 -1
- package/dist/ui/components/charts/pie/simple/styles.js +13 -22
- package/dist/ui/components/charts/pie/simple/styles.js.map +1 -1
- package/dist/ui/components/container/index.js +7 -3
- package/dist/ui/components/container/index.js.map +1 -1
- package/dist/ui/components/container/interfaces.js +2 -1
- package/dist/ui/components/count-up/index.js +18 -14
- package/dist/ui/components/count-up/index.js.map +1 -1
- package/dist/ui/components/drop-down/index.js +43 -6
- package/dist/ui/components/drop-down/index.js.map +1 -1
- package/dist/ui/components/drop-down/interfaces.js +2 -1
- package/dist/ui/components/drop-down/styles.js +15 -27
- package/dist/ui/components/drop-down/styles.js.map +1 -1
- package/dist/ui/components/error-boundary/component.js +9 -5
- package/dist/ui/components/error-boundary/component.js.map +1 -1
- package/dist/ui/components/error-boundary/error-body.js +8 -3
- package/dist/ui/components/error-boundary/error-body.js.map +1 -1
- package/dist/ui/components/error-boundary/index.js +18 -2
- package/dist/ui/components/error-boundary/index.js.map +1 -1
- package/dist/ui/components/error-boundary/interfaces.js +2 -1
- package/dist/ui/components/error-boundary/src/ErrorBoundary.js +64 -36
- package/dist/ui/components/error-boundary/src/ErrorBoundary.js.map +1 -1
- package/dist/ui/components/error-boundary/src/ErrorBoundaryContext.js +5 -2
- package/dist/ui/components/error-boundary/src/ErrorBoundaryContext.js.map +1 -1
- package/dist/ui/components/error-boundary/src/assertErrorBoundaryContext.js +4 -1
- package/dist/ui/components/error-boundary/src/assertErrorBoundaryContext.js.map +1 -1
- package/dist/ui/components/error-boundary/src/env-conditions/development.js +4 -1
- package/dist/ui/components/error-boundary/src/env-conditions/development.js.map +1 -1
- package/dist/ui/components/error-boundary/src/env-conditions/production.js +4 -1
- package/dist/ui/components/error-boundary/src/env-conditions/production.js.map +1 -1
- package/dist/ui/components/error-boundary/src/index.js +21 -5
- package/dist/ui/components/error-boundary/src/index.js.map +1 -1
- package/dist/ui/components/error-boundary/src/types.js +2 -1
- package/dist/ui/components/error-boundary/src/useErrorBoundary.js +20 -15
- package/dist/ui/components/error-boundary/src/useErrorBoundary.js.map +1 -1
- package/dist/ui/components/error-boundary/src/withErrorBoundary.js +22 -6
- package/dist/ui/components/error-boundary/src/withErrorBoundary.js.map +1 -1
- package/dist/ui/components/evaluations/card/index.js +42 -5
- package/dist/ui/components/evaluations/card/index.js.map +1 -1
- package/dist/ui/components/evaluations/card/styles.js +13 -114
- package/dist/ui/components/evaluations/card/styles.js.map +1 -1
- package/dist/ui/components/evaluations/index.js +60 -12
- package/dist/ui/components/evaluations/index.js.map +1 -1
- package/dist/ui/components/evaluations/star.js +6 -3
- package/dist/ui/components/evaluations/star.js.map +1 -1
- package/dist/ui/components/evaluations/stars-text/index.js +42 -5
- package/dist/ui/components/evaluations/stars-text/index.js.map +1 -1
- package/dist/ui/components/evaluations/stars-text/styles.js +13 -43
- package/dist/ui/components/evaluations/stars-text/styles.js.map +1 -1
- package/dist/ui/components/evaluations/styles.js +14 -494
- package/dist/ui/components/evaluations/styles.js.map +1 -1
- package/dist/ui/components/form/checkbox/index.js +72 -16
- package/dist/ui/components/form/checkbox/index.js.map +1 -1
- package/dist/ui/components/form/checkbox/styles.js +13 -6
- package/dist/ui/components/form/checkbox/styles.js.map +1 -1
- package/dist/ui/components/form/drag-and-drop/index.js +49 -23
- package/dist/ui/components/form/drag-and-drop/index.js.map +1 -1
- package/dist/ui/components/form/handler/component.js +25 -8
- package/dist/ui/components/form/handler/component.js.map +1 -1
- package/dist/ui/components/form/handler/custom-submit/index.js +23 -8
- package/dist/ui/components/form/handler/custom-submit/index.js.map +1 -1
- package/dist/ui/components/form/handler/dynamic_form_handler/component.js +101 -17
- package/dist/ui/components/form/handler/dynamic_form_handler/component.js.map +1 -1
- package/dist/ui/components/form/handler/dynamic_form_handler/index.js +19 -3
- package/dist/ui/components/form/handler/dynamic_form_handler/index.js.map +1 -1
- package/dist/ui/components/form/handler/dynamic_form_handler/interfaces.js +2 -1
- package/dist/ui/components/form/handler/dynamic_form_handler/render-dynamic-inputs/index.js +61 -13
- package/dist/ui/components/form/handler/dynamic_form_handler/render-dynamic-inputs/index.js.map +1 -1
- package/dist/ui/components/form/handler/dynamic_form_handler/styles.js +13 -37
- package/dist/ui/components/form/handler/dynamic_form_handler/styles.js.map +1 -1
- package/dist/ui/components/form/handler/form-handler/generate-schemas.js +108 -38
- package/dist/ui/components/form/handler/form-handler/generate-schemas.js.map +1 -1
- package/dist/ui/components/form/handler/form-handler/index.js +298 -165
- package/dist/ui/components/form/handler/form-handler/index.js.map +1 -1
- package/dist/ui/components/form/handler/form-handler/use-form-handler.js +7 -4
- package/dist/ui/components/form/handler/form-handler/use-form-handler.js.map +1 -1
- package/dist/ui/components/form/handler/form-handler/use-schemas.js +122 -30
- package/dist/ui/components/form/handler/form-handler/use-schemas.js.map +1 -1
- package/dist/ui/components/form/handler/form-handler/use-send-file.js +190 -104
- package/dist/ui/components/form/handler/form-handler/use-send-file.js.map +1 -1
- package/dist/ui/components/form/handler/i18n/capture-i18n-errors/index.js +21 -15
- package/dist/ui/components/form/handler/i18n/capture-i18n-errors/index.js.map +1 -1
- package/dist/ui/components/form/handler/i18n/index.js +36 -16
- package/dist/ui/components/form/handler/i18n/index.js.map +1 -1
- package/dist/ui/components/form/handler/index.js +22 -6
- package/dist/ui/components/form/handler/index.js.map +1 -1
- package/dist/ui/components/form/handler/interfaces.js +2 -1
- package/dist/ui/components/form/handler/styles.js +13 -39
- package/dist/ui/components/form/handler/styles.js.map +1 -1
- package/dist/ui/components/form/index.js +46 -30
- package/dist/ui/components/form/index.js.map +1 -1
- package/dist/ui/components/form/input/index.js +42 -25
- package/dist/ui/components/form/input/index.js.map +1 -1
- package/dist/ui/components/form/input-cep/component.js +100 -45
- package/dist/ui/components/form/input-cep/component.js.map +1 -1
- package/dist/ui/components/form/input-cep/index.js +19 -3
- package/dist/ui/components/form/input-cep/index.js.map +1 -1
- package/dist/ui/components/form/input-cep/interfaces.js +2 -1
- package/dist/ui/components/form/input-cep/use-cep/hook.js +7 -4
- package/dist/ui/components/form/input-cep/use-cep/hook.js.map +1 -1
- package/dist/ui/components/form/input-cep/use-cep/index.js +18 -2
- package/dist/ui/components/form/input-cep/use-cep/index.js.map +1 -1
- package/dist/ui/components/form/input-cep/use-cep/providers/ibge/hook.js +44 -6
- package/dist/ui/components/form/input-cep/use-cep/providers/ibge/hook.js.map +1 -1
- package/dist/ui/components/form/input-cep/use-cep/providers/ibge/index.js +19 -3
- package/dist/ui/components/form/input-cep/use-cep/providers/ibge/index.js.map +1 -1
- package/dist/ui/components/form/input-cep/use-cep/providers/ibge/interfaces.js +2 -1
- package/dist/ui/components/form/input-cep/use-cep/providers/ibge/service.js +8 -2
- package/dist/ui/components/form/input-cep/use-cep/providers/ibge/service.js.map +1 -1
- package/dist/ui/components/form/input-cep/use-cep/providers/index.js +17 -1
- package/dist/ui/components/form/input-cep/use-cep/providers/index.js.map +1 -1
- package/dist/ui/components/form/input-color/index.js +18 -4
- package/dist/ui/components/form/input-color/index.js.map +1 -1
- package/dist/ui/components/form/input-control/error/index.js +41 -4
- package/dist/ui/components/form/input-control/error/index.js.map +1 -1
- package/dist/ui/components/form/input-control/error/styles.js +13 -7
- package/dist/ui/components/form/input-control/error/styles.js.map +1 -1
- package/dist/ui/components/form/input-control/index.js +49 -12
- package/dist/ui/components/form/input-control/index.js.map +1 -1
- package/dist/ui/components/form/input-control/label/index.js +43 -6
- package/dist/ui/components/form/input-control/label/index.js.map +1 -1
- package/dist/ui/components/form/input-control/label/styles.js +13 -12
- package/dist/ui/components/form/input-control/label/styles.js.map +1 -1
- package/dist/ui/components/form/input-control/loader-input/index.js +41 -5
- package/dist/ui/components/form/input-control/loader-input/index.js.map +1 -1
- package/dist/ui/components/form/input-control/loader-input/styles.js +13 -14
- package/dist/ui/components/form/input-control/loader-input/styles.js.map +1 -1
- package/dist/ui/components/form/input-control/styles.js +13 -110
- package/dist/ui/components/form/input-control/styles.js.map +1 -1
- package/dist/ui/components/form/input-counter/index.js +66 -19
- package/dist/ui/components/form/input-counter/index.js.map +1 -1
- package/dist/ui/components/form/input-counter/styles.js +13 -38
- package/dist/ui/components/form/input-counter/styles.js.map +1 -1
- package/dist/ui/components/form/input-cpf-cnpj/index.js +20 -6
- package/dist/ui/components/form/input-cpf-cnpj/index.js.map +1 -1
- package/dist/ui/components/form/input-currency/components/CurrencyInput.js +94 -81
- package/dist/ui/components/form/input-currency/components/CurrencyInput.js.map +1 -1
- package/dist/ui/components/form/input-currency/components/CurrencyInputProps.js +2 -1
- package/dist/ui/components/form/input-currency/components/index.js +17 -1
- package/dist/ui/components/form/input-currency/components/index.js.map +1 -1
- package/dist/ui/components/form/input-currency/components/utils/addSeparators.js +6 -1
- package/dist/ui/components/form/input-currency/components/utils/addSeparators.js.map +1 -1
- package/dist/ui/components/form/input-currency/components/utils/cleanValue.js +38 -25
- package/dist/ui/components/form/input-currency/components/utils/cleanValue.js.map +1 -1
- package/dist/ui/components/form/input-currency/components/utils/escapeRegExp.js +5 -1
- package/dist/ui/components/form/input-currency/components/utils/escapeRegExp.js.map +1 -1
- package/dist/ui/components/form/input-currency/components/utils/fixedDecimalValue.js +13 -9
- package/dist/ui/components/form/input-currency/components/utils/fixedDecimalValue.js.map +1 -1
- package/dist/ui/components/form/input-currency/components/utils/formatValue.js +58 -33
- package/dist/ui/components/form/input-currency/components/utils/formatValue.js.map +1 -1
- package/dist/ui/components/form/input-currency/components/utils/getLocaleConfig.js +25 -10
- package/dist/ui/components/form/input-currency/components/utils/getLocaleConfig.js.map +1 -1
- package/dist/ui/components/form/input-currency/components/utils/getSuffix.js +9 -4
- package/dist/ui/components/form/input-currency/components/utils/getSuffix.js.map +1 -1
- package/dist/ui/components/form/input-currency/components/utils/index.js +24 -8
- package/dist/ui/components/form/input-currency/components/utils/index.js.map +1 -1
- package/dist/ui/components/form/input-currency/components/utils/isNumber.js +5 -1
- package/dist/ui/components/form/input-currency/components/utils/isNumber.js.map +1 -1
- package/dist/ui/components/form/input-currency/components/utils/padTrimValue.js +9 -4
- package/dist/ui/components/form/input-currency/components/utils/padTrimValue.js.map +1 -1
- package/dist/ui/components/form/input-currency/components/utils/parseAbbrValue.js +21 -13
- package/dist/ui/components/form/input-currency/components/utils/parseAbbrValue.js.map +1 -1
- package/dist/ui/components/form/input-currency/components/utils/removeInvalidChars.js +8 -4
- package/dist/ui/components/form/input-currency/components/utils/removeInvalidChars.js.map +1 -1
- package/dist/ui/components/form/input-currency/components/utils/removeSeparators.js +8 -3
- package/dist/ui/components/form/input-currency/components/utils/removeSeparators.js.map +1 -1
- package/dist/ui/components/form/input-currency/components/utils/repositionCursor.js +11 -6
- package/dist/ui/components/form/input-currency/components/utils/repositionCursor.js.map +1 -1
- package/dist/ui/components/form/input-currency/index.js +31 -17
- package/dist/ui/components/form/input-currency/index.js.map +1 -1
- package/dist/ui/components/form/input-date-picker/calendar/calendar-header/index.js +67 -17
- package/dist/ui/components/form/input-date-picker/calendar/calendar-header/index.js.map +1 -1
- package/dist/ui/components/form/input-date-picker/calendar/calendar-header/styles.js +22 -94
- package/dist/ui/components/form/input-date-picker/calendar/calendar-header/styles.js.map +1 -1
- package/dist/ui/components/form/input-date-picker/calendar/days/index.js +77 -27
- package/dist/ui/components/form/input-date-picker/calendar/days/index.js.map +1 -1
- package/dist/ui/components/form/input-date-picker/calendar/days/styles.js +16 -59
- package/dist/ui/components/form/input-date-picker/calendar/days/styles.js.map +1 -1
- package/dist/ui/components/form/input-date-picker/calendar/index.js +64 -20
- package/dist/ui/components/form/input-date-picker/calendar/index.js.map +1 -1
- package/dist/ui/components/form/input-date-picker/calendar/interface.js +2 -1
- package/dist/ui/components/form/input-date-picker/calendar/months/index.js +62 -14
- package/dist/ui/components/form/input-date-picker/calendar/months/index.js.map +1 -1
- package/dist/ui/components/form/input-date-picker/calendar/months/styles.js +16 -33
- package/dist/ui/components/form/input-date-picker/calendar/months/styles.js.map +1 -1
- package/dist/ui/components/form/input-date-picker/calendar/styles.js +16 -10
- package/dist/ui/components/form/input-date-picker/calendar/styles.js.map +1 -1
- package/dist/ui/components/form/input-date-picker/calendar/years/index.js +68 -20
- package/dist/ui/components/form/input-date-picker/calendar/years/index.js.map +1 -1
- package/dist/ui/components/form/input-date-picker/calendar/years/styles.js +13 -44
- package/dist/ui/components/form/input-date-picker/calendar/years/styles.js.map +1 -1
- package/dist/ui/components/form/input-date-picker/component.js +50 -29
- package/dist/ui/components/form/input-date-picker/component.js.map +1 -1
- package/dist/ui/components/form/input-date-picker/index.js +18 -2
- package/dist/ui/components/form/input-date-picker/index.js.map +1 -1
- package/dist/ui/components/form/input-date-picker/interfaces.js +2 -1
- package/dist/ui/components/form/input-date-picker/mock/index.js +17 -1
- package/dist/ui/components/form/input-date-picker/mock/index.js.map +1 -1
- package/dist/ui/components/form/input-date-picker/mock/translations.js +4 -1
- package/dist/ui/components/form/input-date-picker/mock/translations.js.map +1 -1
- package/dist/ui/components/form/input-date-picker/settings/index.js +4 -1
- package/dist/ui/components/form/input-date-picker/settings/index.js.map +1 -1
- package/dist/ui/components/form/input-date-picker-new/calendar/calendar-header/index.js +63 -15
- package/dist/ui/components/form/input-date-picker-new/calendar/calendar-header/index.js.map +1 -1
- package/dist/ui/components/form/input-date-picker-new/calendar/calendar-header/styles.js +22 -56
- package/dist/ui/components/form/input-date-picker-new/calendar/calendar-header/styles.js.map +1 -1
- package/dist/ui/components/form/input-date-picker-new/calendar/days/index.js +82 -30
- package/dist/ui/components/form/input-date-picker-new/calendar/days/index.js.map +1 -1
- package/dist/ui/components/form/input-date-picker-new/calendar/days/styles.js +16 -59
- package/dist/ui/components/form/input-date-picker-new/calendar/days/styles.js.map +1 -1
- package/dist/ui/components/form/input-date-picker-new/calendar/index.js +69 -22
- package/dist/ui/components/form/input-date-picker-new/calendar/index.js.map +1 -1
- package/dist/ui/components/form/input-date-picker-new/calendar/interface.js +2 -1
- package/dist/ui/components/form/input-date-picker-new/calendar/months/index.js +71 -20
- package/dist/ui/components/form/input-date-picker-new/calendar/months/index.js.map +1 -1
- package/dist/ui/components/form/input-date-picker-new/calendar/months/styles.js +16 -33
- package/dist/ui/components/form/input-date-picker-new/calendar/months/styles.js.map +1 -1
- package/dist/ui/components/form/input-date-picker-new/calendar/styles.js +16 -14
- package/dist/ui/components/form/input-date-picker-new/calendar/styles.js.map +1 -1
- package/dist/ui/components/form/input-date-picker-new/component.js +72 -18
- package/dist/ui/components/form/input-date-picker-new/component.js.map +1 -1
- package/dist/ui/components/form/input-date-picker-new/index.js +18 -2
- package/dist/ui/components/form/input-date-picker-new/index.js.map +1 -1
- package/dist/ui/components/form/input-date-picker-new/interfaces.js +2 -1
- package/dist/ui/components/form/input-date-picker-new/mock/index.js +17 -1
- package/dist/ui/components/form/input-date-picker-new/mock/index.js.map +1 -1
- package/dist/ui/components/form/input-date-picker-new/mock/translations.js +4 -1
- package/dist/ui/components/form/input-date-picker-new/mock/translations.js.map +1 -1
- package/dist/ui/components/form/input-date-picker-new/styles.js +13 -21
- package/dist/ui/components/form/input-date-picker-new/styles.js.map +1 -1
- package/dist/ui/components/form/input-date-range/component.js +56 -9
- package/dist/ui/components/form/input-date-range/component.js.map +1 -1
- package/dist/ui/components/form/input-date-range/filter/index.js +59 -19
- package/dist/ui/components/form/input-date-range/filter/index.js.map +1 -1
- package/dist/ui/components/form/input-date-range/filter/styles.js +14 -45
- package/dist/ui/components/form/input-date-range/filter/styles.js.map +1 -1
- package/dist/ui/components/form/input-date-range/index.js +17 -1
- package/dist/ui/components/form/input-date-range/index.js.map +1 -1
- package/dist/ui/components/form/input-date-range/styles.js +13 -47
- package/dist/ui/components/form/input-date-range/styles.js.map +1 -1
- package/dist/ui/components/form/input-file/component.js +55 -8
- package/dist/ui/components/form/input-file/component.js.map +1 -1
- package/dist/ui/components/form/input-file/hooks/index.js +20 -4
- package/dist/ui/components/form/input-file/hooks/index.js.map +1 -1
- package/dist/ui/components/form/input-file/hooks/use-components-file.js +61 -14
- package/dist/ui/components/form/input-file/hooks/use-components-file.js.map +1 -1
- package/dist/ui/components/form/input-file/hooks/use-file-elements.js +66 -16
- package/dist/ui/components/form/input-file/hooks/use-file-elements.js.map +1 -1
- package/dist/ui/components/form/input-file/hooks/use-file.js +102 -42
- package/dist/ui/components/form/input-file/hooks/use-file.js.map +1 -1
- package/dist/ui/components/form/input-file/hooks/use-rendered-file.js +41 -27
- package/dist/ui/components/form/input-file/hooks/use-rendered-file.js.map +1 -1
- package/dist/ui/components/form/input-file/index.js +20 -4
- package/dist/ui/components/form/input-file/index.js.map +1 -1
- package/dist/ui/components/form/input-file/render-files/component.js +26 -12
- package/dist/ui/components/form/input-file/render-files/component.js.map +1 -1
- package/dist/ui/components/form/input-file/render-files/file-item/button-upload-image-mobile/index.js +9 -6
- package/dist/ui/components/form/input-file/render-files/file-item/button-upload-image-mobile/index.js.map +1 -1
- package/dist/ui/components/form/input-file/render-files/file-item/index.js +56 -9
- package/dist/ui/components/form/input-file/render-files/file-item/index.js.map +1 -1
- package/dist/ui/components/form/input-file/render-files/file-item/styles.js +14 -180
- package/dist/ui/components/form/input-file/render-files/file-item/styles.js.map +1 -1
- package/dist/ui/components/form/input-file/render-files/index.js +19 -3
- package/dist/ui/components/form/input-file/render-files/index.js.map +1 -1
- package/dist/ui/components/form/input-file/render-files/interfaces.js +2 -1
- package/dist/ui/components/form/input-file/styles.js +14 -61
- package/dist/ui/components/form/input-file/styles.js.map +1 -1
- package/dist/ui/components/form/input-manager/component.js +84 -28
- package/dist/ui/components/form/input-manager/component.js.map +1 -1
- package/dist/ui/components/form/input-manager/index.js +18 -2
- package/dist/ui/components/form/input-manager/index.js.map +1 -1
- package/dist/ui/components/form/input-manager/interfaces.js +2 -1
- package/dist/ui/components/form/input-manager/styles.js +16 -61
- package/dist/ui/components/form/input-manager/styles.js.map +1 -1
- package/dist/ui/components/form/input-mask/index.js +86 -33
- package/dist/ui/components/form/input-mask/index.js.map +1 -1
- package/dist/ui/components/form/input-password/index.js +58 -11
- package/dist/ui/components/form/input-password/index.js.map +1 -1
- package/dist/ui/components/form/input-password/styles.js +13 -32
- package/dist/ui/components/form/input-password/styles.js.map +1 -1
- package/dist/ui/components/form/input-range/index.js +67 -20
- package/dist/ui/components/form/input-range/index.js.map +1 -1
- package/dist/ui/components/form/input-range/styles.js +13 -105
- package/dist/ui/components/form/input-range/styles.js.map +1 -1
- package/dist/ui/components/form/input-seo/index.js +43 -7
- package/dist/ui/components/form/input-seo/index.js.map +1 -1
- package/dist/ui/components/form/input-seo/input-meta-image/index.js +57 -9
- package/dist/ui/components/form/input-seo/input-meta-image/index.js.map +1 -1
- package/dist/ui/components/form/input-seo/input-meta-image/styles.js +13 -37
- package/dist/ui/components/form/input-seo/input-meta-image/styles.js.map +1 -1
- package/dist/ui/components/form/input-seo/styles.js +10 -44
- package/dist/ui/components/form/input-seo/styles.js.map +1 -1
- package/dist/ui/components/form/input-star/index.js +56 -9
- package/dist/ui/components/form/input-star/index.js.map +1 -1
- package/dist/ui/components/form/input-star/styles.js +17 -29
- package/dist/ui/components/form/input-star/styles.js.map +1 -1
- package/dist/ui/components/form/input-svg/index.js +66 -19
- package/dist/ui/components/form/input-svg/index.js.map +1 -1
- package/dist/ui/components/form/input-svg/styles.js +13 -55
- package/dist/ui/components/form/input-svg/styles.js.map +1 -1
- package/dist/ui/components/form/input-switch/index.js +62 -15
- package/dist/ui/components/form/input-switch/index.js.map +1 -1
- package/dist/ui/components/form/input-switch/interfaces.js +2 -1
- package/dist/ui/components/form/input-switch/styles.js +14 -120
- package/dist/ui/components/form/input-switch/styles.js.map +1 -1
- package/dist/ui/components/form/input-week-availability/availability-preview/index.js +45 -8
- package/dist/ui/components/form/input-week-availability/availability-preview/index.js.map +1 -1
- package/dist/ui/components/form/input-week-availability/availability-preview/styles.js +13 -76
- package/dist/ui/components/form/input-week-availability/availability-preview/styles.js.map +1 -1
- package/dist/ui/components/form/input-week-availability/index.js +18 -2
- package/dist/ui/components/form/input-week-availability/index.js.map +1 -1
- package/dist/ui/components/form/input-week-availability/input.js +70 -18
- package/dist/ui/components/form/input-week-availability/input.js.map +1 -1
- package/dist/ui/components/form/input-week-availability/mock.js +5 -2
- package/dist/ui/components/form/input-week-availability/mock.js.map +1 -1
- package/dist/ui/components/form/input-week-availability/styles.js +13 -126
- package/dist/ui/components/form/input-week-availability/styles.js.map +1 -1
- package/dist/ui/components/form/input-youtube/index.js +58 -11
- package/dist/ui/components/form/input-youtube/index.js.map +1 -1
- package/dist/ui/components/form/input-youtube/styles.js +13 -10
- package/dist/ui/components/form/input-youtube/styles.js.map +1 -1
- package/dist/ui/components/form/interfaces.js +2 -1
- package/dist/ui/components/form/radio/index.js +59 -11
- package/dist/ui/components/form/radio/index.js.map +1 -1
- package/dist/ui/components/form/radio/styles.js +13 -12
- package/dist/ui/components/form/radio/styles.js.map +1 -1
- package/dist/ui/components/form/select/constants.js +6 -3
- package/dist/ui/components/form/select/constants.js.map +1 -1
- package/dist/ui/components/form/select/custom-styles.js +26 -12
- package/dist/ui/components/form/select/custom-styles.js.map +1 -1
- package/dist/ui/components/form/select/index.js +164 -64
- package/dist/ui/components/form/select/index.js.map +1 -1
- package/dist/ui/components/form/select/styles.js +13 -44
- package/dist/ui/components/form/select/styles.js.map +1 -1
- package/dist/ui/components/form/select/virtualized-menu-list/index.js +13 -6
- package/dist/ui/components/form/select/virtualized-menu-list/index.js.map +1 -1
- package/dist/ui/components/form/select-icon/index.js +56 -9
- package/dist/ui/components/form/select-icon/index.js.map +1 -1
- package/dist/ui/components/form/select-icon/styles.js +13 -22
- package/dist/ui/components/form/select-icon/styles.js.map +1 -1
- package/dist/ui/components/form/text-editor/component.js +61 -11
- package/dist/ui/components/form/text-editor/component.js.map +1 -1
- package/dist/ui/components/form/text-editor/hook/index.js +10 -7
- package/dist/ui/components/form/text-editor/hook/index.js.map +1 -1
- package/dist/ui/components/form/text-editor/index.js +19 -3
- package/dist/ui/components/form/text-editor/index.js.map +1 -1
- package/dist/ui/components/form/text-editor/quill.js +113 -41
- package/dist/ui/components/form/text-editor/quill.js.map +1 -1
- package/dist/ui/components/form/textarea/index.js +29 -15
- package/dist/ui/components/form/textarea/index.js.map +1 -1
- package/dist/ui/components/google-translate-page/index.js +46 -9
- package/dist/ui/components/google-translate-page/index.js.map +1 -1
- package/dist/ui/components/google-translate-page/styles.js +10 -10
- package/dist/ui/components/google-translate-page/styles.js.map +1 -1
- package/dist/ui/components/google-translate-page/translate.js +17 -13
- package/dist/ui/components/google-translate-page/translate.js.map +1 -1
- package/dist/ui/components/index.js +48 -32
- package/dist/ui/components/index.js.map +1 -1
- package/dist/ui/components/loader-circle/index.js +8 -4
- package/dist/ui/components/loader-circle/index.js.map +1 -1
- package/dist/ui/components/loader-circle/interfaces.js +2 -1
- package/dist/ui/components/loading-screen/index.js +51 -11
- package/dist/ui/components/loading-screen/index.js.map +1 -1
- package/dist/ui/components/loading-screen/interfaces.js +2 -1
- package/dist/ui/components/loading-screen/styles.js +44 -31
- package/dist/ui/components/loading-screen/styles.js.map +1 -1
- package/dist/ui/components/login-modal/index.js +92 -17
- package/dist/ui/components/login-modal/index.js.map +1 -1
- package/dist/ui/components/login-modal/styles.js +13 -189
- package/dist/ui/components/login-modal/styles.js.map +1 -1
- package/dist/ui/components/menu-mobile/components/nav-links/index.js +66 -21
- package/dist/ui/components/menu-mobile/components/nav-links/index.js.map +1 -1
- package/dist/ui/components/menu-mobile/components/nav-links/interfaces.js +2 -1
- package/dist/ui/components/menu-mobile/components/nav-links/styles.js +13 -103
- package/dist/ui/components/menu-mobile/components/nav-links/styles.js.map +1 -1
- package/dist/ui/components/menu-mobile/index.js +54 -14
- package/dist/ui/components/menu-mobile/index.js.map +1 -1
- package/dist/ui/components/menu-mobile/interfaces.js +2 -1
- package/dist/ui/components/menu-mobile/styles.js +13 -66
- package/dist/ui/components/menu-mobile/styles.js.map +1 -1
- package/dist/ui/components/menu-mobile/top/index.js +47 -7
- package/dist/ui/components/menu-mobile/top/index.js.map +1 -1
- package/dist/ui/components/menu-mobile/top/interfaces.js +2 -1
- package/dist/ui/components/menu-mobile/top/styles.js +13 -85
- package/dist/ui/components/menu-mobile/top/styles.js.map +1 -1
- package/dist/ui/components/modal/component.js +46 -9
- package/dist/ui/components/modal/component.js.map +1 -1
- package/dist/ui/components/modal/index.js +18 -2
- package/dist/ui/components/modal/index.js.map +1 -1
- package/dist/ui/components/modal/interfaces.js +2 -1
- package/dist/ui/components/modal/styles.js +17 -131
- package/dist/ui/components/modal/styles.js.map +1 -1
- package/dist/ui/components/next-image/index.js +47 -10
- package/dist/ui/components/next-image/index.js.map +1 -1
- package/dist/ui/components/next-image/interfaces.js +2 -1
- package/dist/ui/components/next-image/styles.js +13 -49
- package/dist/ui/components/next-image/styles.js.map +1 -1
- package/dist/ui/components/overlay/index.js +46 -9
- package/dist/ui/components/overlay/index.js.map +1 -1
- package/dist/ui/components/overlay/interfaces.js +2 -1
- package/dist/ui/components/overlay/styles.js +51 -23
- package/dist/ui/components/overlay/styles.js.map +1 -1
- package/dist/ui/components/pagination/index.js +55 -18
- package/dist/ui/components/pagination/index.js.map +1 -1
- package/dist/ui/components/pagination/service.js +22 -19
- package/dist/ui/components/pagination/service.js.map +1 -1
- package/dist/ui/components/pagination/styles.js +13 -116
- package/dist/ui/components/pagination/styles.js.map +1 -1
- package/dist/ui/components/pix/index.js +47 -10
- package/dist/ui/components/pix/index.js.map +1 -1
- package/dist/ui/components/pix/pix-sucess/index.js +43 -6
- package/dist/ui/components/pix/pix-sucess/index.js.map +1 -1
- package/dist/ui/components/pix/pix-sucess/styles.js +13 -69
- package/dist/ui/components/pix/pix-sucess/styles.js.map +1 -1
- package/dist/ui/components/pix/styles.js +19 -139
- package/dist/ui/components/pix/styles.js.map +1 -1
- package/dist/ui/components/pix/timer/index.js +49 -12
- package/dist/ui/components/pix/timer/index.js.map +1 -1
- package/dist/ui/components/pix/timer/styles.js +13 -7
- package/dist/ui/components/pix/timer/styles.js.map +1 -1
- package/dist/ui/components/pop-confirm/component.js +63 -13
- package/dist/ui/components/pop-confirm/component.js.map +1 -1
- package/dist/ui/components/pop-confirm/index.js +17 -1
- package/dist/ui/components/pop-confirm/index.js.map +1 -1
- package/dist/ui/components/pop-confirm/styles.js +14 -74
- package/dist/ui/components/pop-confirm/styles.js.map +1 -1
- package/dist/ui/components/portal/index.js +9 -5
- package/dist/ui/components/portal/index.js.map +1 -1
- package/dist/ui/components/sidebar/index.js +52 -12
- package/dist/ui/components/sidebar/index.js.map +1 -1
- package/dist/ui/components/sidebar/interfaces.js +2 -1
- package/dist/ui/components/sidebar/styles.js +15 -31
- package/dist/ui/components/sidebar/styles.js.map +1 -1
- package/dist/ui/components/site/context/index.js +13 -8
- package/dist/ui/components/site/context/index.js.map +1 -1
- package/dist/ui/components/site/context/scripts/acept-cookies/index.js +101 -29
- package/dist/ui/components/site/context/scripts/acept-cookies/index.js.map +1 -1
- package/dist/ui/components/site/context/scripts/acept-cookies/styles.js +13 -74
- package/dist/ui/components/site/context/scripts/acept-cookies/styles.js.map +1 -1
- package/dist/ui/components/site/context/scripts/acept-ratedr/index.js +101 -29
- package/dist/ui/components/site/context/scripts/acept-ratedr/index.js.map +1 -1
- package/dist/ui/components/site/context/scripts/acept-ratedr/styles.js +13 -61
- package/dist/ui/components/site/context/scripts/acept-ratedr/styles.js.map +1 -1
- package/dist/ui/components/site/context/scripts/component.js +23 -25
- package/dist/ui/components/site/context/scripts/component.js.map +1 -1
- package/dist/ui/components/site/context/scripts/conditional-scripts/index.js +11 -4
- package/dist/ui/components/site/context/scripts/conditional-scripts/index.js.map +1 -1
- package/dist/ui/components/site/context/scripts/facebook/use-track-page-views.js +21 -35
- package/dist/ui/components/site/context/scripts/facebook/use-track-page-views.js.map +1 -1
- package/dist/ui/components/site/context/scripts/index.js +21 -5
- package/dist/ui/components/site/context/scripts/index.js.map +1 -1
- package/dist/ui/components/site/context/scripts/interfaces.js +2 -1
- package/dist/ui/components/site/context/scripts/whatsapp-fixed/index.js +45 -5
- package/dist/ui/components/site/context/scripts/whatsapp-fixed/index.js.map +1 -1
- package/dist/ui/components/site/context/scripts/whatsapp-fixed/styles.js +13 -103
- package/dist/ui/components/site/context/scripts/whatsapp-fixed/styles.js.map +1 -1
- package/dist/ui/components/site/default-pages/404/component.js +47 -8
- package/dist/ui/components/site/default-pages/404/component.js.map +1 -1
- package/dist/ui/components/site/default-pages/404/index.js +17 -1
- package/dist/ui/components/site/default-pages/404/index.js.map +1 -1
- package/dist/ui/components/site/default-pages/404/styles.js +13 -28
- package/dist/ui/components/site/default-pages/404/styles.js.map +1 -1
- package/dist/ui/components/site/default-pages/500/component.js +48 -9
- package/dist/ui/components/site/default-pages/500/component.js.map +1 -1
- package/dist/ui/components/site/default-pages/500/index.js +17 -1
- package/dist/ui/components/site/default-pages/500/index.js.map +1 -1
- package/dist/ui/components/site/default-pages/500/styles.js +13 -28
- package/dist/ui/components/site/default-pages/500/styles.js.map +1 -1
- package/dist/ui/components/site/default-pages/index.js +18 -2
- package/dist/ui/components/site/default-pages/index.js.map +1 -1
- package/dist/ui/components/site/default-pages/sitemap/index.js +49 -11
- package/dist/ui/components/site/default-pages/sitemap/index.js.map +1 -1
- package/dist/ui/components/site/effect/component.js +42 -5
- package/dist/ui/components/site/effect/component.js.map +1 -1
- package/dist/ui/components/site/effect/index.js +18 -2
- package/dist/ui/components/site/effect/index.js.map +1 -1
- package/dist/ui/components/site/effect/interfaces.js +2 -1
- package/dist/ui/components/site/effect/styles.js +49 -103
- package/dist/ui/components/site/effect/styles.js.map +1 -1
- package/dist/ui/components/site/head/component.js +18 -11
- package/dist/ui/components/site/head/component.js.map +1 -1
- package/dist/ui/components/site/head/index.js +18 -2
- package/dist/ui/components/site/head/index.js.map +1 -1
- package/dist/ui/components/site/head/interfaces.js +2 -1
- package/dist/ui/components/site/header-link/component.js +19 -5
- package/dist/ui/components/site/header-link/component.js.map +1 -1
- package/dist/ui/components/site/header-link/index.js +18 -2
- package/dist/ui/components/site/header-link/index.js.map +1 -1
- package/dist/ui/components/site/header-link/interfaces.js +2 -1
- package/dist/ui/components/site/header-link/versions/index.js +17 -1
- package/dist/ui/components/site/header-link/versions/index.js.map +1 -1
- package/dist/ui/components/site/header-link/versions/version-01/component.js +48 -6
- package/dist/ui/components/site/header-link/versions/version-01/component.js.map +1 -1
- package/dist/ui/components/site/header-link/versions/version-01/styles.js +13 -74
- package/dist/ui/components/site/header-link/versions/version-01/styles.js.map +1 -1
- package/dist/ui/components/site/index.js +23 -7
- package/dist/ui/components/site/index.js.map +1 -1
- package/dist/ui/components/site/list-blog/card/index.js +46 -6
- package/dist/ui/components/site/list-blog/card/index.js.map +1 -1
- package/dist/ui/components/site/list-blog/card/styles.js +13 -150
- package/dist/ui/components/site/list-blog/card/styles.js.map +1 -1
- package/dist/ui/components/site/list-blog/carousel-configs.js +4 -1
- package/dist/ui/components/site/list-blog/carousel-configs.js.map +1 -1
- package/dist/ui/components/site/list-blog/component.js +49 -9
- package/dist/ui/components/site/list-blog/component.js.map +1 -1
- package/dist/ui/components/site/list-blog/index.js +17 -1
- package/dist/ui/components/site/list-blog/index.js.map +1 -1
- package/dist/ui/components/site/list-blog/interfaces.js +2 -1
- package/dist/ui/components/site/list-blog/styles.js +13 -60
- package/dist/ui/components/site/list-blog/styles.js.map +1 -1
- package/dist/ui/components/site/mvv/component.js +19 -5
- package/dist/ui/components/site/mvv/component.js.map +1 -1
- package/dist/ui/components/site/mvv/index.js +17 -1
- package/dist/ui/components/site/mvv/index.js.map +1 -1
- package/dist/ui/components/site/mvv/interfaces.js +2 -1
- package/dist/ui/components/site/mvv/versions/index.js +17 -1
- package/dist/ui/components/site/mvv/versions/index.js.map +1 -1
- package/dist/ui/components/site/mvv/versions/version-01/component.js +42 -5
- package/dist/ui/components/site/mvv/versions/version-01/component.js.map +1 -1
- package/dist/ui/components/site/mvv/versions/version-01/styles.js +13 -73
- package/dist/ui/components/site/mvv/versions/version-01/styles.js.map +1 -1
- package/dist/ui/components/skeleton/index.js +41 -4
- package/dist/ui/components/skeleton/index.js.map +1 -1
- package/dist/ui/components/skeleton/styles.js +13 -49
- package/dist/ui/components/skeleton/styles.js.map +1 -1
- package/dist/ui/components/spacing/index.js +53 -6
- package/dist/ui/components/spacing/index.js.map +1 -1
- package/dist/ui/components/spacing/styles.js +49 -19
- package/dist/ui/components/spacing/styles.js.map +1 -1
- package/dist/ui/components/step-navigator/index.js +46 -9
- package/dist/ui/components/step-navigator/index.js.map +1 -1
- package/dist/ui/components/step-navigator/styles.js +26 -18
- package/dist/ui/components/step-navigator/styles.js.map +1 -1
- package/dist/ui/components/tooltip/component.js +74 -24
- package/dist/ui/components/tooltip/component.js.map +1 -1
- package/dist/ui/components/tooltip/hooks/use-tool-tip.js +50 -36
- package/dist/ui/components/tooltip/hooks/use-tool-tip.js.map +1 -1
- package/dist/ui/components/tooltip/index.js +18 -2
- package/dist/ui/components/tooltip/index.js.map +1 -1
- package/dist/ui/components/tooltip/interfaces.js +2 -1
- package/dist/ui/components/tooltip/styles.js +56 -89
- package/dist/ui/components/tooltip/styles.js.map +1 -1
- package/dist/ui/components/video/component.js +20 -5
- package/dist/ui/components/video/component.js.map +1 -1
- package/dist/ui/components/video/index.js +18 -2
- package/dist/ui/components/video/index.js.map +1 -1
- package/dist/ui/components/video/interfaces.js +2 -1
- package/dist/ui/components/video/panda-video/components/index.js +18 -2
- package/dist/ui/components/video/panda-video/components/index.js.map +1 -1
- package/dist/ui/components/video/panda-video/components/player-component.js +63 -29
- package/dist/ui/components/video/panda-video/components/player-component.js.map +1 -1
- package/dist/ui/components/video/panda-video/components/player-wrapper.js +10 -7
- package/dist/ui/components/video/panda-video/components/player-wrapper.js.map +1 -1
- package/dist/ui/components/video/panda-video/index.js +18 -2
- package/dist/ui/components/video/panda-video/index.js.map +1 -1
- package/dist/ui/components/video/panda-video/interfaces.js +2 -1
- package/dist/ui/components/video/panda-video/player.js +26 -11
- package/dist/ui/components/video/panda-video/player.js.map +1 -1
- package/dist/ui/components/warning/index.js +133 -37
- package/dist/ui/components/warning/index.js.map +1 -1
- package/dist/ui/components/warning/interface.js +2 -1
- package/dist/ui/components/warning/styles.js +13 -64
- package/dist/ui/components/warning/styles.js.map +1 -1
- package/dist/ui/components/zoom-hover/index.js +73 -52
- package/dist/ui/components/zoom-hover/index.js.map +1 -1
- package/dist/ui/contexts/i18n/context.js +73 -24
- package/dist/ui/contexts/i18n/context.js.map +1 -1
- package/dist/ui/contexts/i18n/edit-mode/index.js +33 -19
- package/dist/ui/contexts/i18n/edit-mode/index.js.map +1 -1
- package/dist/ui/contexts/i18n/get-initial-props.js +85 -44
- package/dist/ui/contexts/i18n/get-initial-props.js.map +1 -1
- package/dist/ui/contexts/i18n/index.js +22 -6
- package/dist/ui/contexts/i18n/index.js.map +1 -1
- package/dist/ui/contexts/i18n/interfaces.js +2 -1
- package/dist/ui/contexts/i18n/translate.js +136 -55
- package/dist/ui/contexts/i18n/translate.js.map +1 -1
- package/dist/ui/contexts/i18n/use-i18n-data/index.js +14 -8
- package/dist/ui/contexts/i18n/use-i18n-data/index.js.map +1 -1
- package/dist/ui/contexts/index.js +19 -3
- package/dist/ui/contexts/index.js.map +1 -1
- package/dist/ui/contexts/route-loading/index.js +35 -54
- package/dist/ui/contexts/route-loading/index.js.map +1 -1
- package/dist/ui/contexts/toast/index.js +81 -20
- package/dist/ui/contexts/toast/index.js.map +1 -1
- package/dist/ui/contexts/toast/interfaces.js +2 -1
- package/dist/ui/contexts/toast/styles.js +14 -11
- package/dist/ui/contexts/toast/styles.js.map +1 -1
- package/dist/ui/contexts/toast/toast-item/index.js +71 -24
- package/dist/ui/contexts/toast/toast-item/index.js.map +1 -1
- package/dist/ui/contexts/toast/toast-item/styles.js +44 -54
- package/dist/ui/contexts/toast/toast-item/styles.js.map +1 -1
- package/dist/ui/hooks/index.js +28 -12
- package/dist/ui/hooks/index.js.map +1 -1
- package/dist/ui/hooks/permitions/camera/index.js +18 -2
- package/dist/ui/hooks/permitions/camera/index.js.map +1 -1
- package/dist/ui/hooks/permitions/camera/styles.js +13 -78
- package/dist/ui/hooks/permitions/camera/styles.js.map +1 -1
- package/dist/ui/hooks/permitions/camera/use-camera.js +98 -23
- package/dist/ui/hooks/permitions/camera/use-camera.js.map +1 -1
- package/dist/ui/hooks/permitions/camera/use-monitoring-video-permission.js +12 -9
- package/dist/ui/hooks/permitions/camera/use-monitoring-video-permission.js.map +1 -1
- package/dist/ui/hooks/permitions/camera/webcan-component.js +153 -87
- package/dist/ui/hooks/permitions/camera/webcan-component.js.map +1 -1
- package/dist/ui/hooks/permitions/index.js +17 -1
- package/dist/ui/hooks/permitions/index.js.map +1 -1
- package/dist/ui/hooks/use-component-is-mounted.js +7 -4
- package/dist/ui/hooks/use-component-is-mounted.js.map +1 -1
- package/dist/ui/hooks/use-dynamic-head/index.js +18 -14
- package/dist/ui/hooks/use-dynamic-head/index.js.map +1 -1
- package/dist/ui/hooks/use-element-id.js +12 -8
- package/dist/ui/hooks/use-element-id.js.map +1 -1
- package/dist/ui/hooks/use-is-visible/index.js +11 -6
- package/dist/ui/hooks/use-is-visible/index.js.map +1 -1
- package/dist/ui/hooks/use-mount-transition/index.js +10 -7
- package/dist/ui/hooks/use-mount-transition/index.js.map +1 -1
- package/dist/ui/hooks/use-query/hook.js +131 -63
- package/dist/ui/hooks/use-query/hook.js.map +1 -1
- package/dist/ui/hooks/use-query/index.js +20 -4
- package/dist/ui/hooks/use-query/index.js.map +1 -1
- package/dist/ui/hooks/use-query/interfaces.js +2 -1
- package/dist/ui/hooks/use-query/new-query/QueryClient.js +151 -98
- package/dist/ui/hooks/use-query/new-query/QueryClient.js.map +1 -1
- package/dist/ui/hooks/use-query/new-query/QueryClientProvider.js +12 -7
- package/dist/ui/hooks/use-query/new-query/QueryClientProvider.js.map +1 -1
- package/dist/ui/hooks/use-query/new-query/index.js +20 -4
- package/dist/ui/hooks/use-query/new-query/index.js.map +1 -1
- package/dist/ui/hooks/use-query/new-query/useMutation.js +72 -19
- package/dist/ui/hooks/use-query/new-query/useMutation.js.map +1 -1
- package/dist/ui/hooks/use-query/new-query/useQuery.js +97 -33
- package/dist/ui/hooks/use-query/new-query/useQuery.js.map +1 -1
- package/dist/ui/hooks/use-query/use-mutation.js +17 -3
- package/dist/ui/hooks/use-query/use-mutation.js.map +1 -1
- package/dist/ui/hooks/use-scroll.js +10 -6
- package/dist/ui/hooks/use-scroll.js.map +1 -1
- package/dist/ui/hooks/use-swagger/_generate_swagger/generate-api-routes-schema/generator.js +37 -21
- package/dist/ui/hooks/use-swagger/_generate_swagger/generate-api-routes-schema/generator.js.map +1 -1
- package/dist/ui/hooks/use-swagger/_generate_swagger/generate-api-routes-schema/get-params.js +19 -16
- package/dist/ui/hooks/use-swagger/_generate_swagger/generate-api-routes-schema/get-params.js.map +1 -1
- package/dist/ui/hooks/use-swagger/_generate_swagger/generate-api-routes-schema/get-request-body.js +14 -10
- package/dist/ui/hooks/use-swagger/_generate_swagger/generate-api-routes-schema/get-request-body.js.map +1 -1
- package/dist/ui/hooks/use-swagger/_generate_swagger/generate-api-routes-schema/get-result.js +8 -5
- package/dist/ui/hooks/use-swagger/_generate_swagger/generate-api-routes-schema/get-result.js.map +1 -1
- package/dist/ui/hooks/use-swagger/_generate_swagger/generate-api-routes-schema/index.js +21 -5
- package/dist/ui/hooks/use-swagger/_generate_swagger/generate-api-routes-schema/index.js.map +1 -1
- package/dist/ui/hooks/use-swagger/_generate_swagger/generate-api-routes-schema/interfaces.js +2 -1
- package/dist/ui/hooks/use-swagger/_generate_swagger/generate-interfaces-openApi/index.js +22 -19
- package/dist/ui/hooks/use-swagger/_generate_swagger/generate-interfaces-openApi/index.js.map +1 -1
- package/dist/ui/hooks/use-swagger/_generate_swagger/generate-openApi-client/index.js +20 -16
- package/dist/ui/hooks/use-swagger/_generate_swagger/generate-openApi-client/index.js.map +1 -1
- package/dist/ui/hooks/use-swagger/_generate_swagger/generator.js +65 -23
- package/dist/ui/hooks/use-swagger/_generate_swagger/generator.js.map +1 -1
- package/dist/ui/hooks/use-swagger/_generate_swagger/index.js +21 -5
- package/dist/ui/hooks/use-swagger/_generate_swagger/index.js.map +1 -1
- package/dist/ui/hooks/use-swagger/_generate_swagger/openapi-interfaces.js +2 -1
- package/dist/ui/hooks/use-swagger/client/index.js +85 -23
- package/dist/ui/hooks/use-swagger/client/index.js.map +1 -1
- package/dist/ui/hooks/use-swagger/index.js +18 -2
- package/dist/ui/hooks/use-swagger/index.js.map +1 -1
- package/dist/ui/hooks/use-swagger/test/index.js +3 -3
- package/dist/ui/hooks/use-swagger/test/index.js.map +1 -1
- package/dist/ui/hooks/use-timer/index.js +18 -2
- package/dist/ui/hooks/use-timer/index.js.map +1 -1
- package/dist/ui/hooks/use-timer/interfaces.js +2 -1
- package/dist/ui/hooks/use-timer/use-timer.js +30 -15
- package/dist/ui/hooks/use-timer/use-timer.js.map +1 -1
- package/dist/ui/hooks/use-window.js +20 -6
- package/dist/ui/hooks/use-window.js.map +1 -1
- package/dist/ui/icons/index.js +150 -134
- package/dist/ui/icons/index.js.map +1 -1
- package/dist/ui/icons/interfaces.js +2 -1
- package/dist/ui/icons/render/component.js +7 -3
- package/dist/ui/icons/render/component.js.map +1 -1
- package/dist/ui/icons/render/icon-Instagram.js +11 -5
- package/dist/ui/icons/render/icon-Instagram.js.map +1 -1
- package/dist/ui/icons/render/icon-Linkedin.js +11 -5
- package/dist/ui/icons/render/icon-Linkedin.js.map +1 -1
- package/dist/ui/icons/render/icon-Lupa.js +7 -3
- package/dist/ui/icons/render/icon-Lupa.js.map +1 -1
- package/dist/ui/icons/render/icon-Map.js +11 -5
- package/dist/ui/icons/render/icon-Map.js.map +1 -1
- package/dist/ui/icons/render/icon-Microphone.js +7 -3
- package/dist/ui/icons/render/icon-Microphone.js.map +1 -1
- package/dist/ui/icons/render/icon-Minus.js +7 -3
- package/dist/ui/icons/render/icon-Minus.js.map +1 -1
- package/dist/ui/icons/render/icon-Phone.js +11 -5
- package/dist/ui/icons/render/icon-Phone.js.map +1 -1
- package/dist/ui/icons/render/icon-Pin.js +15 -7
- package/dist/ui/icons/render/icon-Pin.js.map +1 -1
- package/dist/ui/icons/render/icon-Play.js +7 -3
- package/dist/ui/icons/render/icon-Play.js.map +1 -1
- package/dist/ui/icons/render/icon-Plus.js +7 -3
- package/dist/ui/icons/render/icon-Plus.js.map +1 -1
- package/dist/ui/icons/render/icon-Share.js +7 -3
- package/dist/ui/icons/render/icon-Share.js.map +1 -1
- package/dist/ui/icons/render/icon-TikTok.js +7 -3
- package/dist/ui/icons/render/icon-TikTok.js.map +1 -1
- package/dist/ui/icons/render/icon-YouTube.js +11 -5
- package/dist/ui/icons/render/icon-YouTube.js.map +1 -1
- package/dist/ui/icons/render/icon-academic-cap copy.js +7 -3
- package/dist/ui/icons/render/icon-academic-cap copy.js.map +1 -1
- package/dist/ui/icons/render/icon-academic-cap.js +7 -3
- package/dist/ui/icons/render/icon-academic-cap.js.map +1 -1
- package/dist/ui/icons/render/icon-ampulheta.js +7 -3
- package/dist/ui/icons/render/icon-ampulheta.js.map +1 -1
- package/dist/ui/icons/render/icon-block.js +7 -3
- package/dist/ui/icons/render/icon-block.js.map +1 -1
- package/dist/ui/icons/render/icon-boleto.js +7 -3
- package/dist/ui/icons/render/icon-boleto.js.map +1 -1
- package/dist/ui/icons/render/icon-bottom-chevron.js +7 -3
- package/dist/ui/icons/render/icon-bottom-chevron.js.map +1 -1
- package/dist/ui/icons/render/icon-bottom-navigation-double.js +7 -3
- package/dist/ui/icons/render/icon-bottom-navigation-double.js.map +1 -1
- package/dist/ui/icons/render/icon-bottom-navigation.js +7 -3
- package/dist/ui/icons/render/icon-bottom-navigation.js.map +1 -1
- package/dist/ui/icons/render/icon-box.js +7 -3
- package/dist/ui/icons/render/icon-box.js.map +1 -1
- package/dist/ui/icons/render/icon-calculator.js +7 -3
- package/dist/ui/icons/render/icon-calculator.js.map +1 -1
- package/dist/ui/icons/render/icon-calendar-browse.js +7 -3
- package/dist/ui/icons/render/icon-calendar-browse.js.map +1 -1
- package/dist/ui/icons/render/icon-calendar-time.js +6 -3
- package/dist/ui/icons/render/icon-calendar-time.js.map +1 -1
- package/dist/ui/icons/render/icon-calendar.js +7 -3
- package/dist/ui/icons/render/icon-calendar.js.map +1 -1
- package/dist/ui/icons/render/icon-cam.js +7 -3
- package/dist/ui/icons/render/icon-cam.js.map +1 -1
- package/dist/ui/icons/render/icon-cell-phone.js +7 -3
- package/dist/ui/icons/render/icon-cell-phone.js.map +1 -1
- package/dist/ui/icons/render/icon-chalet.js +7 -3
- package/dist/ui/icons/render/icon-chalet.js.map +1 -1
- package/dist/ui/icons/render/icon-chat.js +7 -3
- package/dist/ui/icons/render/icon-chat.js.map +1 -1
- package/dist/ui/icons/render/icon-check.js +7 -3
- package/dist/ui/icons/render/icon-check.js.map +1 -1
- package/dist/ui/icons/render/icon-checked.js +7 -3
- package/dist/ui/icons/render/icon-checked.js.map +1 -1
- package/dist/ui/icons/render/icon-circular-left-arrow.js +7 -3
- package/dist/ui/icons/render/icon-circular-left-arrow.js.map +1 -1
- package/dist/ui/icons/render/icon-circular-right-arrow.js +7 -3
- package/dist/ui/icons/render/icon-circular-right-arrow.js.map +1 -1
- package/dist/ui/icons/render/icon-clip.js +11 -5
- package/dist/ui/icons/render/icon-clip.js.map +1 -1
- package/dist/ui/icons/render/icon-clock.js +15 -7
- package/dist/ui/icons/render/icon-clock.js.map +1 -1
- package/dist/ui/icons/render/icon-close.js +7 -3
- package/dist/ui/icons/render/icon-close.js.map +1 -1
- package/dist/ui/icons/render/icon-codie.js +7 -3
- package/dist/ui/icons/render/icon-codie.js.map +1 -1
- package/dist/ui/icons/render/icon-computer.js +7 -3
- package/dist/ui/icons/render/icon-computer.js.map +1 -1
- package/dist/ui/icons/render/icon-credit-card.js +15 -7
- package/dist/ui/icons/render/icon-credit-card.js.map +1 -1
- package/dist/ui/icons/render/icon-danger.js +7 -3
- package/dist/ui/icons/render/icon-danger.js.map +1 -1
- package/dist/ui/icons/render/icon-death.js +7 -3
- package/dist/ui/icons/render/icon-death.js.map +1 -1
- package/dist/ui/icons/render/icon-delete.js +7 -3
- package/dist/ui/icons/render/icon-delete.js.map +1 -1
- package/dist/ui/icons/render/icon-diabets.js +7 -3
- package/dist/ui/icons/render/icon-diabets.js.map +1 -1
- package/dist/ui/icons/render/icon-door.js +7 -3
- package/dist/ui/icons/render/icon-door.js.map +1 -1
- package/dist/ui/icons/render/icon-download.js +7 -3
- package/dist/ui/icons/render/icon-download.js.map +1 -1
- package/dist/ui/icons/render/icon-drop-file.js +7 -3
- package/dist/ui/icons/render/icon-drop-file.js.map +1 -1
- package/dist/ui/icons/render/icon-edit-image.js +7 -3
- package/dist/ui/icons/render/icon-edit-image.js.map +1 -1
- package/dist/ui/icons/render/icon-edit.js +7 -3
- package/dist/ui/icons/render/icon-edit.js.map +1 -1
- package/dist/ui/icons/render/icon-email.js +11 -5
- package/dist/ui/icons/render/icon-email.js.map +1 -1
- package/dist/ui/icons/render/icon-empty-chat.js +7 -3
- package/dist/ui/icons/render/icon-empty-chat.js.map +1 -1
- package/dist/ui/icons/render/icon-equalizer.js +11 -5
- package/dist/ui/icons/render/icon-equalizer.js.map +1 -1
- package/dist/ui/icons/render/icon-excel.js +7 -3
- package/dist/ui/icons/render/icon-excel.js.map +1 -1
- package/dist/ui/icons/render/icon-exclamation.js +7 -3
- package/dist/ui/icons/render/icon-exclamation.js.map +1 -1
- package/dist/ui/icons/render/icon-exit.js +7 -3
- package/dist/ui/icons/render/icon-exit.js.map +1 -1
- package/dist/ui/icons/render/icon-eye-slash.js +7 -3
- package/dist/ui/icons/render/icon-eye-slash.js.map +1 -1
- package/dist/ui/icons/render/icon-eye.js +7 -3
- package/dist/ui/icons/render/icon-eye.js.map +1 -1
- package/dist/ui/icons/render/icon-facebook.js +11 -5
- package/dist/ui/icons/render/icon-facebook.js.map +1 -1
- package/dist/ui/icons/render/icon-file.js +7 -3
- package/dist/ui/icons/render/icon-file.js.map +1 -1
- package/dist/ui/icons/render/icon-filter.js +7 -3
- package/dist/ui/icons/render/icon-filter.js.map +1 -1
- package/dist/ui/icons/render/icon-flag.js +7 -3
- package/dist/ui/icons/render/icon-flag.js.map +1 -1
- package/dist/ui/icons/render/icon-folder.js +7 -3
- package/dist/ui/icons/render/icon-folder.js.map +1 -1
- package/dist/ui/icons/render/icon-fullfield-bell.js +7 -3
- package/dist/ui/icons/render/icon-fullfield-bell.js.map +1 -1
- package/dist/ui/icons/render/icon-fullfield-chat.js +7 -3
- package/dist/ui/icons/render/icon-fullfield-chat.js.map +1 -1
- package/dist/ui/icons/render/icon-gear.js +7 -3
- package/dist/ui/icons/render/icon-gear.js.map +1 -1
- package/dist/ui/icons/render/icon-gender.js +7 -3
- package/dist/ui/icons/render/icon-gender.js.map +1 -1
- package/dist/ui/icons/render/icon-globe.js +7 -3
- package/dist/ui/icons/render/icon-globe.js.map +1 -1
- package/dist/ui/icons/render/icon-google.js +7 -3
- package/dist/ui/icons/render/icon-google.js.map +1 -1
- package/dist/ui/icons/render/icon-heart.js +7 -3
- package/dist/ui/icons/render/icon-heart.js.map +1 -1
- package/dist/ui/icons/render/icon-home.js +11 -5
- package/dist/ui/icons/render/icon-home.js.map +1 -1
- package/dist/ui/icons/render/icon-hospitalization.js +7 -3
- package/dist/ui/icons/render/icon-hospitalization.js.map +1 -1
- package/dist/ui/icons/render/icon-hypertension.js +7 -3
- package/dist/ui/icons/render/icon-hypertension.js.map +1 -1
- package/dist/ui/icons/render/icon-info.js +7 -3
- package/dist/ui/icons/render/icon-info.js.map +1 -1
- package/dist/ui/icons/render/icon-instagram-logo.js +7 -3
- package/dist/ui/icons/render/icon-instagram-logo.js.map +1 -1
- package/dist/ui/icons/render/icon-interrogation-circle.js +7 -3
- package/dist/ui/icons/render/icon-interrogation-circle.js.map +1 -1
- package/dist/ui/icons/render/icon-language.js +7 -3
- package/dist/ui/icons/render/icon-language.js.map +1 -1
- package/dist/ui/icons/render/icon-left-chevron.js +7 -3
- package/dist/ui/icons/render/icon-left-chevron.js.map +1 -1
- package/dist/ui/icons/render/icon-left-navigation-circle.js +7 -3
- package/dist/ui/icons/render/icon-left-navigation-circle.js.map +1 -1
- package/dist/ui/icons/render/icon-left-navigation.js +7 -3
- package/dist/ui/icons/render/icon-left-navigation.js.map +1 -1
- package/dist/ui/icons/render/icon-like.js +7 -3
- package/dist/ui/icons/render/icon-like.js.map +1 -1
- package/dist/ui/icons/render/icon-loading.js +7 -3
- package/dist/ui/icons/render/icon-loading.js.map +1 -1
- package/dist/ui/icons/render/icon-map-floor.js +7 -3
- package/dist/ui/icons/render/icon-map-floor.js.map +1 -1
- package/dist/ui/icons/render/icon-message-balloon.js +7 -3
- package/dist/ui/icons/render/icon-message-balloon.js.map +1 -1
- package/dist/ui/icons/render/icon-mobile.js +7 -3
- package/dist/ui/icons/render/icon-mobile.js.map +1 -1
- package/dist/ui/icons/render/icon-money-value-symbol.js +7 -3
- package/dist/ui/icons/render/icon-money-value-symbol.js.map +1 -1
- package/dist/ui/icons/render/icon-next.js +7 -3
- package/dist/ui/icons/render/icon-next.js.map +1 -1
- package/dist/ui/icons/render/icon-not-found.js +7 -3
- package/dist/ui/icons/render/icon-not-found.js.map +1 -1
- package/dist/ui/icons/render/icon-not-like.js +7 -3
- package/dist/ui/icons/render/icon-not-like.js.map +1 -1
- package/dist/ui/icons/render/icon-padlock.js +11 -5
- package/dist/ui/icons/render/icon-padlock.js.map +1 -1
- package/dist/ui/icons/render/icon-pc.js +7 -3
- package/dist/ui/icons/render/icon-pc.js.map +1 -1
- package/dist/ui/icons/render/icon-pdf.js +7 -3
- package/dist/ui/icons/render/icon-pdf.js.map +1 -1
- package/dist/ui/icons/render/icon-performance.js +7 -3
- package/dist/ui/icons/render/icon-performance.js.map +1 -1
- package/dist/ui/icons/render/icon-person.js +11 -5
- package/dist/ui/icons/render/icon-person.js.map +1 -1
- package/dist/ui/icons/render/icon-pet.js +7 -3
- package/dist/ui/icons/render/icon-pet.js.map +1 -1
- package/dist/ui/icons/render/icon-phone-message.js +7 -3
- package/dist/ui/icons/render/icon-phone-message.js.map +1 -1
- package/dist/ui/icons/render/icon-pix.js +7 -3
- package/dist/ui/icons/render/icon-pix.js.map +1 -1
- package/dist/ui/icons/render/icon-plane.js +7 -3
- package/dist/ui/icons/render/icon-plane.js.map +1 -1
- package/dist/ui/icons/render/icon-play-rounded.js +7 -3
- package/dist/ui/icons/render/icon-play-rounded.js.map +1 -1
- package/dist/ui/icons/render/icon-plus-sharp.js +7 -3
- package/dist/ui/icons/render/icon-plus-sharp.js.map +1 -1
- package/dist/ui/icons/render/icon-prev.js +7 -3
- package/dist/ui/icons/render/icon-prev.js.map +1 -1
- package/dist/ui/icons/render/icon-print.js +7 -3
- package/dist/ui/icons/render/icon-print.js.map +1 -1
- package/dist/ui/icons/render/icon-right-chevron.js +7 -3
- package/dist/ui/icons/render/icon-right-chevron.js.map +1 -1
- package/dist/ui/icons/render/icon-right-circle.js +7 -3
- package/dist/ui/icons/render/icon-right-circle.js.map +1 -1
- package/dist/ui/icons/render/icon-right-navigation-circle.js +11 -5
- package/dist/ui/icons/render/icon-right-navigation-circle.js.map +1 -1
- package/dist/ui/icons/render/icon-right-navigation-double.js +7 -3
- package/dist/ui/icons/render/icon-right-navigation-double.js.map +1 -1
- package/dist/ui/icons/render/icon-right-navigation-rounded.js +7 -3
- package/dist/ui/icons/render/icon-right-navigation-rounded.js.map +1 -1
- package/dist/ui/icons/render/icon-right-navigation.js +7 -3
- package/dist/ui/icons/render/icon-right-navigation.js.map +1 -1
- package/dist/ui/icons/render/icon-route.js +7 -3
- package/dist/ui/icons/render/icon-route.js.map +1 -1
- package/dist/ui/icons/render/icon-selo.js +7 -3
- package/dist/ui/icons/render/icon-selo.js.map +1 -1
- package/dist/ui/icons/render/icon-send-arrow.js +7 -3
- package/dist/ui/icons/render/icon-send-arrow.js.map +1 -1
- package/dist/ui/icons/render/icon-send-message.js +7 -3
- package/dist/ui/icons/render/icon-send-message.js.map +1 -1
- package/dist/ui/icons/render/icon-send.js +7 -3
- package/dist/ui/icons/render/icon-send.js.map +1 -1
- package/dist/ui/icons/render/icon-seo.js +7 -3
- package/dist/ui/icons/render/icon-seo.js.map +1 -1
- package/dist/ui/icons/render/icon-share-v2.js +7 -3
- package/dist/ui/icons/render/icon-share-v2.js.map +1 -1
- package/dist/ui/icons/render/icon-shopping.js +11 -5
- package/dist/ui/icons/render/icon-shopping.js.map +1 -1
- package/dist/ui/icons/render/icon-star.js +7 -3
- package/dist/ui/icons/render/icon-star.js.map +1 -1
- package/dist/ui/icons/render/icon-starBg.js +7 -3
- package/dist/ui/icons/render/icon-starBg.js.map +1 -1
- package/dist/ui/icons/render/icon-three-dots.js +7 -3
- package/dist/ui/icons/render/icon-three-dots.js.map +1 -1
- package/dist/ui/icons/render/icon-tiktok-logo.js +7 -3
- package/dist/ui/icons/render/icon-tiktok-logo.js.map +1 -1
- package/dist/ui/icons/render/icon-top-chevron.js +7 -3
- package/dist/ui/icons/render/icon-top-chevron.js.map +1 -1
- package/dist/ui/icons/render/icon-top-navigation.js +7 -3
- package/dist/ui/icons/render/icon-top-navigation.js.map +1 -1
- package/dist/ui/icons/render/icon-transparent-mail.js +7 -3
- package/dist/ui/icons/render/icon-transparent-mail.js.map +1 -1
- package/dist/ui/icons/render/icon-transparent-phone.js +7 -3
- package/dist/ui/icons/render/icon-transparent-phone.js.map +1 -1
- package/dist/ui/icons/render/icon-twitter.js +11 -5
- package/dist/ui/icons/render/icon-twitter.js.map +1 -1
- package/dist/ui/icons/render/icon-upload.js +7 -3
- package/dist/ui/icons/render/icon-upload.js.map +1 -1
- package/dist/ui/icons/render/icon-user.js +11 -5
- package/dist/ui/icons/render/icon-user.js.map +1 -1
- package/dist/ui/icons/render/icon-warning.js +7 -3
- package/dist/ui/icons/render/icon-warning.js.map +1 -1
- package/dist/ui/icons/render/icon-weight.js +7 -3
- package/dist/ui/icons/render/icon-weight.js.map +1 -1
- package/dist/ui/icons/render/icon-whats.js +11 -5
- package/dist/ui/icons/render/icon-whats.js.map +1 -1
- package/dist/ui/icons/render/icon-whatsapp-logo.js +7 -3
- package/dist/ui/icons/render/icon-whatsapp-logo.js.map +1 -1
- package/dist/ui/icons/render/icon-word.js +7 -3
- package/dist/ui/icons/render/icon-word.js.map +1 -1
- package/dist/ui/icons/render/icon-x.js +7 -3
- package/dist/ui/icons/render/icon-x.js.map +1 -1
- package/dist/ui/icons/render/image.js +7 -3
- package/dist/ui/icons/render/image.js.map +1 -1
- package/dist/ui/icons/render/index.js +17 -1
- package/dist/ui/icons/render/index.js.map +1 -1
- package/dist/ui/icons/render-icon/index.js +41 -4
- package/dist/ui/icons/render-icon/index.js.map +1 -1
- package/dist/ui/index.js +25 -9
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/integrations/cloudflare/index.js +17 -1
- package/dist/ui/integrations/cloudflare/index.js.map +1 -1
- package/dist/ui/integrations/cloudflare/turnstile.js +143 -90
- package/dist/ui/integrations/cloudflare/turnstile.js.map +1 -1
- package/dist/ui/integrations/cloudflare/type.js +2 -1
- package/dist/ui/integrations/google/GoogleLogin.js +43 -29
- package/dist/ui/integrations/google/GoogleLogin.js.map +1 -1
- package/dist/ui/integrations/google/GoogleOAuthProvider.js +24 -16
- package/dist/ui/integrations/google/GoogleOAuthProvider.js.map +1 -1
- package/dist/ui/integrations/google/googleLogout.js +4 -1
- package/dist/ui/integrations/google/googleLogout.js.map +1 -1
- package/dist/ui/integrations/google/hasGrantedAllScopesGoogle.js +19 -2
- package/dist/ui/integrations/google/hasGrantedAllScopesGoogle.js.map +1 -1
- package/dist/ui/integrations/google/hasGrantedAnyScopeGoogle.js +19 -2
- package/dist/ui/integrations/google/hasGrantedAnyScopeGoogle.js.map +1 -1
- package/dist/ui/integrations/google/hooks/index.js +19 -3
- package/dist/ui/integrations/google/hooks/index.js.map +1 -1
- package/dist/ui/integrations/google/hooks/useGoogleLogin.js +30 -16
- package/dist/ui/integrations/google/hooks/useGoogleLogin.js.map +1 -1
- package/dist/ui/integrations/google/hooks/useGoogleOneTapLogin.js +26 -22
- package/dist/ui/integrations/google/hooks/useGoogleOneTapLogin.js.map +1 -1
- package/dist/ui/integrations/google/hooks/useLoadGsiScript.js +15 -11
- package/dist/ui/integrations/google/hooks/useLoadGsiScript.js.map +1 -1
- package/dist/ui/integrations/google/index.js +24 -8
- package/dist/ui/integrations/google/index.js.map +1 -1
- package/dist/ui/integrations/google/types/index.js +2 -1
- package/dist/ui/integrations/google/utils/index.js +5 -2
- package/dist/ui/integrations/google/utils/index.js.map +1 -1
- package/dist/ui/integrations/index.js +19 -3
- package/dist/ui/integrations/index.js.map +1 -1
- package/dist/ui/integrations/message-provider/index.js +17 -1
- package/dist/ui/integrations/message-provider/index.js.map +1 -1
- package/dist/ui/integrations/message-provider/send-message.js +70 -23
- package/dist/ui/integrations/message-provider/send-message.js.map +1 -1
- package/dist/ui/styles/keyframes.js +11 -23
- package/dist/ui/styles/keyframes.js.map +1 -1
- package/dist/ui/types/index.js +17 -1
- package/dist/ui/types/index.js.map +1 -1
- package/dist/ui/types/list.js +2 -1
- package/dist/ui/utils/_app_utils/generate_ref.js +8 -4
- package/dist/ui/utils/_app_utils/generate_ref.js.map +1 -1
- package/dist/ui/utils/_app_utils/get-pathname-ref.js +8 -5
- package/dist/ui/utils/_app_utils/get-pathname-ref.js.map +1 -1
- package/dist/ui/utils/_app_utils/index.js +18 -2
- package/dist/ui/utils/_app_utils/index.js.map +1 -1
- package/dist/ui/utils/buffer/base64.js +8 -5
- package/dist/ui/utils/buffer/base64.js.map +1 -1
- package/dist/ui/utils/buffer/buffer.js +15 -10
- package/dist/ui/utils/buffer/buffer.js.map +1 -1
- package/dist/ui/utils/buffer/index.js +18 -2
- package/dist/ui/utils/buffer/index.js.map +1 -1
- package/dist/ui/utils/colors/hext-to-rgba.js +8 -5
- package/dist/ui/utils/colors/hext-to-rgba.js.map +1 -1
- package/dist/ui/utils/colors/index.js +17 -1
- package/dist/ui/utils/colors/index.js.map +1 -1
- package/dist/ui/utils/copy-to-clipboard.js +15 -11
- package/dist/ui/utils/copy-to-clipboard.js.map +1 -1
- package/dist/ui/utils/date/index.js +17 -1
- package/dist/ui/utils/date/index.js.map +1 -1
- package/dist/ui/utils/date/is-invaid-date.js +5 -2
- package/dist/ui/utils/date/is-invaid-date.js.map +1 -1
- package/dist/ui/utils/disable-scroll.js +7 -4
- package/dist/ui/utils/disable-scroll.js.map +1 -1
- package/dist/ui/utils/facebook/facebook-pixel.js +8 -3
- package/dist/ui/utils/facebook/facebook-pixel.js.map +1 -1
- package/dist/ui/utils/facebook/index.js +17 -1
- package/dist/ui/utils/facebook/index.js.map +1 -1
- package/dist/ui/utils/file/index.js +19 -3
- package/dist/ui/utils/file/index.js.map +1 -1
- package/dist/ui/utils/file/load-file.js +62 -19
- package/dist/ui/utils/file/load-file.js.map +1 -1
- package/dist/ui/utils/file/upload-file.js +124 -60
- package/dist/ui/utils/file/upload-file.js.map +1 -1
- package/dist/ui/utils/file/verify-size-files.js +9 -5
- package/dist/ui/utils/file/verify-size-files.js.map +1 -1
- package/dist/ui/utils/form-validator/index.js +18 -2
- package/dist/ui/utils/form-validator/index.js.map +1 -1
- package/dist/ui/utils/form-validator/validations/index.js +20 -4
- package/dist/ui/utils/form-validator/validations/index.js.map +1 -1
- package/dist/ui/utils/form-validator/validations/validate-cnpj.js +13 -10
- package/dist/ui/utils/form-validator/validations/validate-cnpj.js.map +1 -1
- package/dist/ui/utils/form-validator/validations/validate-cpf.js +5 -2
- package/dist/ui/utils/form-validator/validations/validate-cpf.js.map +1 -1
- package/dist/ui/utils/form-validator/validations/validate-email.js +4 -1
- package/dist/ui/utils/form-validator/validations/validate-email.js.map +1 -1
- package/dist/ui/utils/form-validator/validations/validate-phone.js +7 -3
- package/dist/ui/utils/form-validator/validations/validate-phone.js.map +1 -1
- package/dist/ui/utils/form-validator/validator.js +204 -150
- package/dist/ui/utils/form-validator/validator.js.map +1 -1
- package/dist/ui/utils/formatters/format-number-to-currency.js +6 -2
- package/dist/ui/utils/formatters/format-number-to-currency.js.map +1 -1
- package/dist/ui/utils/formatters/format-string-to-number.js +4 -1
- package/dist/ui/utils/formatters/format-string-to-number.js.map +1 -1
- package/dist/ui/utils/formatters/format-string-to-url.js +4 -1
- package/dist/ui/utils/formatters/format-string-to-url.js.map +1 -1
- package/dist/ui/utils/formatters/formatter.js +12 -9
- package/dist/ui/utils/formatters/formatter.js.map +1 -1
- package/dist/ui/utils/formatters/index.js +21 -5
- package/dist/ui/utils/formatters/index.js.map +1 -1
- package/dist/ui/utils/formatters/remove-digits.js +4 -1
- package/dist/ui/utils/formatters/remove-digits.js.map +1 -1
- package/dist/ui/utils/generate-guid.js +6 -3
- package/dist/ui/utils/generate-guid.js.map +1 -1
- package/dist/ui/utils/generate-sitemap.js +54 -27
- package/dist/ui/utils/generate-sitemap.js.map +1 -1
- package/dist/ui/utils/http/api.js +90 -38
- package/dist/ui/utils/http/api.js.map +1 -1
- package/dist/ui/utils/http/axios-http-client.js +154 -92
- package/dist/ui/utils/http/axios-http-client.js.map +1 -1
- package/dist/ui/utils/http/errors/http-errors/application-unauthorized-error.js +8 -3
- package/dist/ui/utils/http/errors/http-errors/application-unauthorized-error.js.map +1 -1
- package/dist/ui/utils/http/errors/http-errors/application-unexpected-error.js +27 -5
- package/dist/ui/utils/http/errors/http-errors/application-unexpected-error.js.map +1 -1
- package/dist/ui/utils/http/errors/http-errors/bad-request-error.js +8 -3
- package/dist/ui/utils/http/errors/http-errors/bad-request-error.js.map +1 -1
- package/dist/ui/utils/http/errors/http-errors/conflict-error.js +8 -3
- package/dist/ui/utils/http/errors/http-errors/conflict-error.js.map +1 -1
- package/dist/ui/utils/http/errors/http-errors/index.js +23 -7
- package/dist/ui/utils/http/errors/http-errors/index.js.map +1 -1
- package/dist/ui/utils/http/errors/http-errors/no-content.js +27 -5
- package/dist/ui/utils/http/errors/http-errors/no-content.js.map +1 -1
- package/dist/ui/utils/http/errors/http-errors/not-found-error.js +27 -5
- package/dist/ui/utils/http/errors/http-errors/not-found-error.js.map +1 -1
- package/dist/ui/utils/http/errors/http-errors/unexpected-error.js +27 -5
- package/dist/ui/utils/http/errors/http-errors/unexpected-error.js.map +1 -1
- package/dist/ui/utils/http/errors/index.js +18 -2
- package/dist/ui/utils/http/errors/index.js.map +1 -1
- package/dist/ui/utils/http/errors/system-errors-model/index.js +17 -1
- package/dist/ui/utils/http/errors/system-errors-model/index.js.map +1 -1
- package/dist/ui/utils/http/errors/system-errors-model/validation-errors-model.js +8 -3
- package/dist/ui/utils/http/errors/system-errors-model/validation-errors-model.js.map +1 -1
- package/dist/ui/utils/http/index.js +20 -4
- package/dist/ui/utils/http/index.js.map +1 -1
- package/dist/ui/utils/http/interfaces.js +5 -2
- package/dist/ui/utils/http/interfaces.js.map +1 -1
- package/dist/ui/utils/index.js +39 -23
- package/dist/ui/utils/index.js.map +1 -1
- package/dist/ui/utils/infinity-forge/index.js +18 -2
- package/dist/ui/utils/infinity-forge/index.js.map +1 -1
- package/dist/ui/utils/infinity-forge/infinity-forge-next-config.js +84 -26
- package/dist/ui/utils/infinity-forge/infinity-forge-next-config.js.map +1 -1
- package/dist/ui/utils/infinity-forge/z-index-infinity-forge.js +4 -1
- package/dist/ui/utils/infinity-forge/z-index-infinity-forge.js.map +1 -1
- package/dist/ui/utils/json/index.js +8 -4
- package/dist/ui/utils/json/index.js.map +1 -1
- package/dist/ui/utils/jwt/index.js +37 -12
- package/dist/ui/utils/jwt/index.js.map +1 -1
- package/dist/ui/utils/libs/index.js +18 -2
- package/dist/ui/utils/libs/index.js.map +1 -1
- package/dist/ui/utils/libs/moment/index.js +17 -1
- package/dist/ui/utils/libs/moment/index.js.map +1 -1
- package/dist/ui/utils/libs/moment/verify-date-and-return-value-formatted.js +13 -6
- package/dist/ui/utils/libs/moment/verify-date-and-return-value-formatted.js.map +1 -1
- package/dist/ui/utils/libs/next/index.js +18 -2
- package/dist/ui/utils/libs/next/index.js.map +1 -1
- package/dist/ui/utils/libs/next/router-build.js +21 -18
- package/dist/ui/utils/libs/next/router-build.js.map +1 -1
- package/dist/ui/utils/libs/next/update-route.js +20 -5
- package/dist/ui/utils/libs/next/update-route.js.map +1 -1
- package/dist/ui/utils/mocks/index.js +17 -1
- package/dist/ui/utils/mocks/index.js.map +1 -1
- package/dist/ui/utils/mocks/states-brazil.js +4 -1
- package/dist/ui/utils/mocks/states-brazil.js.map +1 -1
- package/dist/ui/utils/phone/index.js +24 -16
- package/dist/ui/utils/phone/index.js.map +1 -1
- package/dist/ui/utils/scroll-to-top-page.js +4 -1
- package/dist/ui/utils/scroll-to-top-page.js.map +1 -1
- package/dist/ui/utils/sidebar/index.js +10 -6
- package/dist/ui/utils/sidebar/index.js.map +1 -1
- package/dist/ui/utils/storage/cookies.js +17 -13
- package/dist/ui/utils/storage/cookies.js.map +1 -1
- package/dist/ui/utils/storage/index.js +17 -1
- package/dist/ui/utils/storage/index.js.map +1 -1
- package/dist/ui/utils/uid/index.js +7 -3
- package/dist/ui/utils/uid/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
1
13
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
14
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
15
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -7,54 +19,106 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
7
19
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
20
|
});
|
|
9
21
|
};
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
22
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
24
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
|
+
function step(op) {
|
|
27
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
28
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
29
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
30
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
31
|
+
switch (op[0]) {
|
|
32
|
+
case 0: case 1: t = op; break;
|
|
33
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
34
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
35
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
36
|
+
default:
|
|
37
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
38
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
39
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
40
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
41
|
+
if (t[2]) _.ops.pop();
|
|
42
|
+
_.trys.pop(); continue;
|
|
43
|
+
}
|
|
44
|
+
op = body.call(thisArg, _);
|
|
45
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
46
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
|
+
exports.useNewQuery = useNewQuery;
|
|
51
|
+
var react_1 = require("react");
|
|
52
|
+
var QueryClientProvider_1 = require("./QueryClientProvider.js");
|
|
53
|
+
function useNewQuery(_a) {
|
|
54
|
+
var _this = this;
|
|
55
|
+
var queryKey = _a.queryKey, queryFn = _a.queryFn, _b = _a.enabled, enabled = _b === void 0 ? true : _b, onSuccess = _a.onSuccess, onError = _a.onError;
|
|
56
|
+
var queryClient = (0, QueryClientProvider_1.useQueryClient)();
|
|
57
|
+
var _c = (0, react_1.useState)(function () {
|
|
58
|
+
var cached = queryClient.getQueryData(queryKey);
|
|
16
59
|
return {
|
|
17
60
|
data: cached,
|
|
18
61
|
loading: false,
|
|
19
62
|
error: undefined,
|
|
20
63
|
};
|
|
21
|
-
});
|
|
22
|
-
useEffect(()
|
|
23
|
-
|
|
64
|
+
}), state = _c[0], setState = _c[1];
|
|
65
|
+
(0, react_1.useEffect)(function () {
|
|
66
|
+
var unsubscribe = queryClient.subscribe(queryKey, function (newData) {
|
|
24
67
|
setState({
|
|
25
68
|
data: newData,
|
|
26
69
|
loading: false,
|
|
27
70
|
error: undefined,
|
|
28
71
|
});
|
|
29
72
|
});
|
|
30
|
-
return ()
|
|
73
|
+
return function () { return unsubscribe(); };
|
|
31
74
|
}, [queryClient, queryKey]);
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
75
|
+
var fetchData = (0, react_1.useCallback)(function () { return __awaiter(_this, void 0, void 0, function () {
|
|
76
|
+
var data, error_1;
|
|
77
|
+
return __generator(this, function (_a) {
|
|
78
|
+
switch (_a.label) {
|
|
79
|
+
case 0:
|
|
80
|
+
if (!enabled)
|
|
81
|
+
return [2 /*return*/];
|
|
82
|
+
_a.label = 1;
|
|
83
|
+
case 1:
|
|
84
|
+
_a.trys.push([1, 3, , 4]);
|
|
85
|
+
setState(function (old) { return (__assign(__assign({}, old), { loading: true })); });
|
|
86
|
+
return [4 /*yield*/, queryClient.fetchQuery(queryKey, function () {
|
|
87
|
+
var args = Array.isArray(queryKey[1]) ? queryKey[1] : [];
|
|
88
|
+
return queryFn.apply(void 0, args);
|
|
89
|
+
})];
|
|
90
|
+
case 2:
|
|
91
|
+
data = _a.sent();
|
|
92
|
+
setState({ data: data, loading: false, error: undefined });
|
|
93
|
+
onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess(data);
|
|
94
|
+
return [3 /*break*/, 4];
|
|
95
|
+
case 3:
|
|
96
|
+
error_1 = _a.sent();
|
|
97
|
+
setState({ data: undefined, loading: false, error: error_1 });
|
|
98
|
+
onError === null || onError === void 0 ? void 0 : onError(error_1);
|
|
99
|
+
return [3 /*break*/, 4];
|
|
100
|
+
case 4: return [2 /*return*/];
|
|
101
|
+
}
|
|
102
|
+
});
|
|
103
|
+
}); }, [queryClient, queryFn, queryKey, enabled, onSuccess, onError]);
|
|
104
|
+
(0, react_1.useEffect)(function () {
|
|
50
105
|
if (enabled && state.data === undefined && !state.loading && !state.error) {
|
|
51
106
|
fetchData();
|
|
52
107
|
}
|
|
53
108
|
}, [fetchData, enabled, state.data, state.loading, state.error]);
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
109
|
+
var refetch = (0, react_1.useCallback)(function () { return __awaiter(_this, void 0, void 0, function () {
|
|
110
|
+
return __generator(this, function (_a) {
|
|
111
|
+
switch (_a.label) {
|
|
112
|
+
case 0: return [4 /*yield*/, queryClient.invalidateQueries({ queryKey: queryKey, exact: true })];
|
|
113
|
+
case 1:
|
|
114
|
+
_a.sent();
|
|
115
|
+
return [4 /*yield*/, fetchData()];
|
|
116
|
+
case 2:
|
|
117
|
+
_a.sent();
|
|
118
|
+
return [2 /*return*/];
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
}); }, [fetchData, queryClient, queryKey]);
|
|
122
|
+
return __assign(__assign({}, state), { refetch: refetch });
|
|
59
123
|
}
|
|
60
124
|
//# sourceMappingURL=useQuery.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useQuery.js","sourceRoot":"","sources":["../../../../../src/ui/hooks/use-query/new-query/useQuery.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useQuery.js","sourceRoot":"","sources":["../../../../../src/ui/hooks/use-query/new-query/useQuery.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,kCAoEC;AAjFD,+BAAyD;AACzD,6DAAuD;AAYvD,SAAgB,WAAW,CAA+B,EAMxB;IANlC,iBAoEC;QAnEC,QAAQ,cAAA,EACR,OAAO,aAAA,EACP,eAAc,EAAd,OAAO,mBAAG,IAAI,KAAA,EACd,SAAS,eAAA,EACT,OAAO,aAAA;IAEP,IAAM,WAAW,GAAG,IAAA,oCAAc,GAAE,CAAC;IAE/B,IAAA,KAAoB,IAAA,gBAAQ,EAI/B;QACD,IAAM,MAAM,GAAG,WAAW,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;QAClD,OAAO;YACL,IAAI,EAAE,MAA2B;YACjC,OAAO,EAAE,KAAK;YACd,KAAK,EAAE,SAAS;SACjB,CAAC;IACJ,CAAC,CAAC,EAXK,KAAK,QAAA,EAAE,QAAQ,QAWpB,CAAC;IAEH,IAAA,iBAAS,EAAC;QACR,IAAM,WAAW,GAAG,WAAW,CAAC,SAAS,CAAC,QAAQ,EAAE,UAAC,OAAO;YAC1D,QAAQ,CAAC;gBACP,IAAI,EAAE,OAA4B;gBAClC,OAAO,EAAE,KAAK;gBACd,KAAK,EAAE,SAAS;aACjB,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;QAEH,OAAO,cAAM,OAAA,WAAW,EAAE,EAAb,CAAa,CAAC;IAC7B,CAAC,EAAE,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC,CAAC;IAE5B,IAAM,SAAS,GAAG,IAAA,mBAAW,EAAC;;;;;oBAC5B,IAAI,CAAC,OAAO;wBAAE,sBAAO;;;;oBAGnB,QAAQ,CAAC,UAAC,GAAG,IAAK,OAAA,uBAAM,GAAG,KAAE,OAAO,EAAE,IAAI,IAAG,EAA3B,CAA2B,CAAC,CAAC;oBAElC,qBAAM,WAAW,CAAC,UAAU,CAAC,QAAQ,EAAE;4BAClD,IAAM,IAAI,GAAG,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;4BAC3D,OAAO,OAAO,eAAK,IAAgB,EAAE;wBACvC,CAAC,CAAC,EAAA;;oBAHI,IAAI,GAAG,SAGX;oBAEF,QAAQ,CAAC,EAAE,IAAI,MAAA,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;oBACrD,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAG,IAAI,CAAC,CAAC;;;;oBAElB,QAAQ,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,SAAA,EAAE,CAAC,CAAC;oBACrD,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAG,OAAK,CAAC,CAAC;;;;;SAEpB,EAAE,CAAC,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC;IAElE,IAAA,iBAAS,EAAC;QACR,IAAI,OAAO,IAAI,KAAK,CAAC,IAAI,KAAK,SAAS,IAAI,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;YAC1E,SAAS,EAAE,CAAC;QACd,CAAC;IACH,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,EAAE,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,OAAO,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;IAEjE,IAAM,OAAO,GAAG,IAAA,mBAAW,EAAC;;;wBAC1B,qBAAM,WAAW,CAAC,iBAAiB,CAAC,EAAE,QAAQ,UAAA,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,EAAA;;oBAA9D,SAA8D,CAAC;oBAC/D,qBAAM,SAAS,EAAE,EAAA;;oBAAjB,SAAiB,CAAC;;;;SACnB,EAAE,CAAC,SAAS,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC,CAAC;IAEvC,6BACK,KAAK,KACR,OAAO,SAAA,IACP;AACJ,CAAC"}
|
|
@@ -1,5 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.useMutation = useMutation;
|
|
15
|
+
var hook_1 = require("./hook.js");
|
|
16
|
+
function useMutation(props) {
|
|
17
|
+
return (0, hook_1.useQuery)(__assign(__assign({}, props), { isMutation: true }));
|
|
4
18
|
}
|
|
5
19
|
//# sourceMappingURL=use-mutation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-mutation.js","sourceRoot":"","sources":["../../../../src/ui/hooks/use-query/use-mutation.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-mutation.js","sourceRoot":"","sources":["../../../../src/ui/hooks/use-query/use-mutation.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAGA,kCAEC;AALD,+BAAiC;AAGjC,SAAgB,WAAW,CAAI,KAAuB;IACpD,OAAO,IAAA,eAAQ,wBAAM,KAAK,KAAE,UAAU,EAAE,IAAI,IAAG,CAAC;AAClD,CAAC"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useScroll = useScroll;
|
|
4
|
+
var react_1 = require("react");
|
|
5
|
+
function useScroll(_a) {
|
|
6
|
+
var maxScroll = _a.maxScroll, minScroll = _a.minScroll;
|
|
7
|
+
var _b = (0, react_1.useState)(0), scroll = _b[0], setScroll = _b[1];
|
|
8
|
+
(0, react_1.useEffect)(function () {
|
|
5
9
|
function handleScroll() {
|
|
6
10
|
if (process.browser) {
|
|
7
11
|
setScroll(window.scrollY);
|
|
@@ -10,13 +14,13 @@ export function useScroll({ maxScroll, minScroll }) {
|
|
|
10
14
|
if (process.browser) {
|
|
11
15
|
handleScroll();
|
|
12
16
|
window.addEventListener('scroll', handleScroll);
|
|
13
|
-
return ()
|
|
17
|
+
return function () {
|
|
14
18
|
window.removeEventListener('scroll', handleScroll);
|
|
15
19
|
};
|
|
16
20
|
}
|
|
17
21
|
}, []);
|
|
18
22
|
return {
|
|
19
|
-
scroll,
|
|
23
|
+
scroll: scroll,
|
|
20
24
|
isScrollMore: maxScroll !== undefined ? scroll > maxScroll : null,
|
|
21
25
|
isScrollLess: minScroll !== undefined ? scroll < minScroll : null
|
|
22
26
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-scroll.js","sourceRoot":"","sources":["../../../src/ui/hooks/use-scroll.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-scroll.js","sourceRoot":"","sources":["../../../src/ui/hooks/use-scroll.tsx"],"names":[],"mappings":";;AAEA,8BA0BC;AA5BD,+BAA2C;AAE3C,SAAgB,SAAS,CAAC,EAAgF;QAA9E,SAAS,eAAA,EAAE,SAAS,eAAA;IACxC,IAAA,KAAsB,IAAA,gBAAQ,EAAS,CAAC,CAAC,EAAxC,MAAM,QAAA,EAAE,SAAS,QAAuB,CAAA;IAE/C,IAAA,iBAAS,EAAC;QACR,SAAS,YAAY;YACnB,IAAK,OAAe,CAAC,OAAO,EAAE,CAAC;gBAC7B,SAAS,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;YAC3B,CAAC;QACH,CAAC;QAED,IAAK,OAAe,CAAC,OAAO,EAAE,CAAC;YAC7B,YAAY,EAAE,CAAA;YAEd,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAA;YAE/C,OAAO;gBACL,MAAM,CAAC,mBAAmB,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAA;YACpD,CAAC,CAAA;QACH,CAAC;IACH,CAAC,EAAE,EAAE,CAAC,CAAA;IAEN,OAAO;QACL,MAAM,QAAA;QACN,YAAY,EAAE,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC,CAAC,IAAI;QACjE,YAAY,EAAE,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC,CAAC,IAAI;KAClE,CAAA;AACH,CAAC"}
|
|
@@ -1,28 +1,44 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.generateApiRoutesSchema = generateApiRoutesSchema;
|
|
15
|
+
var get_params_1 = require("./get-params.js");
|
|
16
|
+
var get_result_1 = require("./get-result.js");
|
|
17
|
+
var get_request_body_1 = require("./get-request-body.js");
|
|
4
18
|
function getMethodsList(methods) {
|
|
5
|
-
return Object.keys(methods).reduce((reducerMethod, method)
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
19
|
+
return Object.keys(methods).reduce(function (reducerMethod, method) {
|
|
20
|
+
var _a;
|
|
21
|
+
var methodInfo = methods[method];
|
|
22
|
+
var params = (0, get_params_1.getParams)(methodInfo);
|
|
23
|
+
var result = (0, get_result_1.getResult)(methodInfo);
|
|
24
|
+
var requestBody = (0, get_request_body_1.getRequestBody)(methodInfo);
|
|
25
|
+
var methodData = (_a = {},
|
|
26
|
+
_a[method] = {
|
|
27
|
+
params: params,
|
|
28
|
+
requestBody: requestBody,
|
|
29
|
+
result: result,
|
|
15
30
|
},
|
|
16
|
-
|
|
17
|
-
return
|
|
31
|
+
_a);
|
|
32
|
+
return __assign(__assign({}, reducerMethod), methodData);
|
|
18
33
|
}, {});
|
|
19
34
|
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
35
|
+
function generateApiRoutesSchema(openApiDocument) {
|
|
36
|
+
var paths = openApiDocument.paths;
|
|
37
|
+
var apiRoutes = Object.keys(paths).reduce(function (reducer, path) {
|
|
38
|
+
var _a;
|
|
39
|
+
var methods = paths[path];
|
|
40
|
+
var methodsList = getMethodsList(methods);
|
|
41
|
+
return __assign(__assign({}, reducer), (_a = {}, _a[path] = methodsList, _a));
|
|
26
42
|
}, {});
|
|
27
43
|
return apiRoutes;
|
|
28
44
|
}
|
package/dist/ui/hooks/use-swagger/_generate_swagger/generate-api-routes-schema/generator.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generator.js","sourceRoot":"","sources":["../../../../../../src/ui/hooks/use-swagger/_generate_swagger/generate-api-routes-schema/generator.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"generator.js","sourceRoot":"","sources":["../../../../../../src/ui/hooks/use-swagger/_generate_swagger/generate-api-routes-schema/generator.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAkCA,0DAcC;AAzCD,2CAAyC;AACzC,2CAAyC;AACzC,uDAAoD;AAEpD,SAAS,cAAc,CAAC,OAAuB;IAC7C,OAAO,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,UAAC,aAAa,EAAE,MAAM;;QACvD,IAAM,UAAU,GAAG,OAAO,CAAC,MAAM,CAAoB,CAAC;QAEtD,IAAM,MAAM,GAAG,IAAA,sBAAS,EAAC,UAAU,CAAC,CAAC;QACrC,IAAM,MAAM,GAAG,IAAA,sBAAS,EAAC,UAAU,CAAC,CAAC;QACrC,IAAM,WAAW,GAAG,IAAA,iCAAc,EAAC,UAAU,CAAC,CAAC;QAE/C,IAAM,UAAU;YACd,GAAC,MAAM,IAAG;gBACR,MAAM,QAAA;gBACN,WAAW,aAAA;gBACX,MAAM,QAAA;aACP;eACF,CAAC;QAEF,6BACK,aAAa,GACb,UAAU,EACb;IACJ,CAAC,EAAE,EAAE,CAAC,CAAC;AACT,CAAC;AAED,SAAgB,uBAAuB,CAAC,eAA8B;IACpE,IAAM,KAAK,GAAG,eAAe,CAAC,KAAK,CAAC;IAEpC,IAAM,SAAS,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,UAAC,OAAO,EAAE,IAAI;;QACxD,IAAM,OAAO,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC;QAC5B,IAAM,WAAW,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;QAE5C,6BACK,OAAO,gBACT,IAAI,IAAG,WAAW,OACnB;IACJ,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,SAAqB,CAAC;AAC/B,CAAC"}
|
package/dist/ui/hooks/use-swagger/_generate_swagger/generate-api-routes-schema/get-params.js
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getParams = getParams;
|
|
1
4
|
function formatType(schema, isRequired) {
|
|
2
5
|
if (schema.type === 'array') {
|
|
3
|
-
|
|
4
|
-
return isRequired ?
|
|
6
|
+
var itemsType = formatType(schema.items, true);
|
|
7
|
+
return isRequired ? "".concat(itemsType, "[]") : "".concat(itemsType, "[] | undefined");
|
|
5
8
|
}
|
|
6
9
|
if (schema.type === 'object') {
|
|
7
10
|
if (schema.additionalProperties) {
|
|
8
|
-
|
|
9
|
-
return isRequired ?
|
|
11
|
+
var valueType = formatType(schema.additionalProperties, true);
|
|
12
|
+
return isRequired ? "Record<string, ".concat(valueType, ">") : "Record<string, ".concat(valueType, "> | undefined");
|
|
10
13
|
}
|
|
11
14
|
return isRequired ? 'object' : 'object | undefined';
|
|
12
15
|
}
|
|
@@ -26,10 +29,10 @@ function formatType(schema, isRequired) {
|
|
|
26
29
|
}
|
|
27
30
|
}
|
|
28
31
|
function setNestedValue(obj, path, value) {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
for (
|
|
32
|
-
|
|
32
|
+
var parts = path.split('.');
|
|
33
|
+
var current = obj;
|
|
34
|
+
for (var i = 0; i < parts.length - 1; i++) {
|
|
35
|
+
var part = parts[i];
|
|
33
36
|
if (!current[part]) {
|
|
34
37
|
current[part] = {};
|
|
35
38
|
}
|
|
@@ -37,15 +40,15 @@ function setNestedValue(obj, path, value) {
|
|
|
37
40
|
}
|
|
38
41
|
current[parts[parts.length - 1]] = value;
|
|
39
42
|
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
params.forEach((param)
|
|
43
|
+
function getParams(methodInfo) {
|
|
44
|
+
var params = (methodInfo === null || methodInfo === void 0 ? void 0 : methodInfo.parameters) || [];
|
|
45
|
+
var result = {};
|
|
46
|
+
params.forEach(function (param) {
|
|
44
47
|
var _a;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
48
|
+
var paramObject = param;
|
|
49
|
+
var typedParam = paramObject === null || paramObject === void 0 ? void 0 : paramObject.schema;
|
|
50
|
+
var isRequired = (_a = paramObject.required) !== null && _a !== void 0 ? _a : false;
|
|
51
|
+
var formattedType = formatType(typedParam, isRequired);
|
|
49
52
|
// Handle nested properties by creating nested objects
|
|
50
53
|
if (param.name.includes('.')) {
|
|
51
54
|
setNestedValue(result, param.name, formattedType);
|
package/dist/ui/hooks/use-swagger/_generate_swagger/generate-api-routes-schema/get-params.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-params.js","sourceRoot":"","sources":["../../../../../../src/ui/hooks/use-swagger/_generate_swagger/generate-api-routes-schema/get-params.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-params.js","sourceRoot":"","sources":["../../../../../../src/ui/hooks/use-swagger/_generate_swagger/generate-api-routes-schema/get-params.ts"],"names":[],"mappings":";;AA+CA,8BAmBC;AAhED,SAAS,UAAU,CAAC,MAAoB,EAAE,UAAmB;IAC3D,IAAI,MAAM,CAAC,IAAI,KAAK,OAAO,EAAE,CAAC;QAC5B,IAAM,SAAS,GAAG,UAAU,CAAC,MAAM,CAAC,KAAqB,EAAE,IAAI,CAAC,CAAA;QAChE,OAAO,UAAU,CAAC,CAAC,CAAC,UAAG,SAAS,OAAI,CAAC,CAAC,CAAC,UAAG,SAAS,mBAAgB,CAAA;IACrE,CAAC;IAED,IAAI,MAAM,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;QAC7B,IAAI,MAAM,CAAC,oBAAoB,EAAE,CAAC;YAChC,IAAM,SAAS,GAAG,UAAU,CAAC,MAAM,CAAC,oBAAoC,EAAE,IAAI,CAAC,CAAA;YAC/E,OAAO,UAAU,CAAC,CAAC,CAAC,yBAAkB,SAAS,MAAG,CAAC,CAAC,CAAC,yBAAkB,SAAS,kBAAe,CAAA;QACjG,CAAC;QACD,OAAO,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,oBAAoB,CAAA;IACrD,CAAC;IAED,QAAQ,MAAM,CAAC,IAAI,EAAE,CAAC;QACpB,KAAK,SAAS;YACZ,oCAAoC;YACpC,IAAI,MAAM,CAAC,MAAM,KAAK,OAAO,EAAE,CAAC;gBAC9B,OAAO,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,oBAAoB,CAAA;YACrD,CAAC;YACD,OAAO,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,oBAAoB,CAAA;QACrD,KAAK,QAAQ;YACX,OAAO,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,oBAAoB,CAAA;QACrD,KAAK,SAAS;YACZ,OAAO,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,qBAAqB,CAAA;QACvD;YACE,OAAO,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,iBAAiB,CAAA;IACjD,CAAC;AACH,CAAC;AAED,SAAS,cAAc,CAAC,GAAQ,EAAE,IAAY,EAAE,KAAU;IACxD,IAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;IAC7B,IAAI,OAAO,GAAG,GAAG,CAAA;IAEjB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;QAC1C,IAAM,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAA;QACrB,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;YACnB,OAAO,CAAC,IAAI,CAAC,GAAG,EAAE,CAAA;QACpB,CAAC;QACD,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IACzB,CAAC;IAED,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,GAAG,KAAK,CAAA;AAC1C,CAAC;AAED,SAAgB,SAAS,CAAC,UAA2B;IACnD,IAAM,MAAM,GAAG,CAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,UAAU,KAAI,EAAE,CAAA;IAC3C,IAAM,MAAM,GAAwB,EAAE,CAAA;IAEtC,MAAM,CAAC,OAAO,CAAC,UAAC,KAAU;;QACxB,IAAM,WAAW,GAAG,KAAwB,CAAA;QAC5C,IAAM,UAAU,GAAG,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,MAAsB,CAAA;QACtD,IAAM,UAAU,GAAG,MAAA,WAAW,CAAC,QAAQ,mCAAI,KAAK,CAAA;QAChD,IAAM,aAAa,GAAG,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,CAAA;QAExD,sDAAsD;QACtD,IAAI,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;YAC7B,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC,IAAI,EAAE,aAAa,CAAC,CAAA;QACnD,CAAC;aAAM,CAAC;YACN,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,aAAa,CAAA;QACpC,CAAC;IACH,CAAC,CAAC,CAAA;IAEF,OAAO,MAAM,CAAA;AACf,CAAC"}
|
package/dist/ui/hooks/use-swagger/_generate_swagger/generate-api-routes-schema/get-request-body.js
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getRequestBody = getRequestBody;
|
|
1
4
|
function formatType(schema, isRequired) {
|
|
2
5
|
if (schema.type === 'array') {
|
|
3
|
-
|
|
4
|
-
return isRequired ?
|
|
6
|
+
var itemsType = formatType(schema.items, true);
|
|
7
|
+
return isRequired ? "".concat(itemsType, "[]") : "".concat(itemsType, "[] | undefined");
|
|
5
8
|
}
|
|
6
9
|
if (schema.type === 'object') {
|
|
7
10
|
if (schema.additionalProperties) {
|
|
8
|
-
|
|
9
|
-
return isRequired ?
|
|
11
|
+
var valueType = formatType(schema.additionalProperties, true);
|
|
12
|
+
return isRequired ? "Record<string, ".concat(valueType, ">") : "Record<string, ".concat(valueType, "> | undefined");
|
|
10
13
|
}
|
|
11
14
|
return isRequired ? 'object' : 'object | undefined';
|
|
12
15
|
}
|
|
@@ -25,10 +28,10 @@ function formatType(schema, isRequired) {
|
|
|
25
28
|
return isRequired ? 'any' : 'any | undefined';
|
|
26
29
|
}
|
|
27
30
|
}
|
|
28
|
-
|
|
31
|
+
function getRequestBody(methodInfo) {
|
|
29
32
|
var _a, _b;
|
|
30
|
-
|
|
31
|
-
|
|
33
|
+
var requestBody = methodInfo === null || methodInfo === void 0 ? void 0 : methodInfo.requestBody;
|
|
34
|
+
var schemaBody = (_b = (_a = requestBody === null || requestBody === void 0 ? void 0 : requestBody.content) === null || _a === void 0 ? void 0 : _a["application/json"]) === null || _b === void 0 ? void 0 : _b.schema;
|
|
32
35
|
if (!schemaBody) {
|
|
33
36
|
return null;
|
|
34
37
|
}
|
|
@@ -38,9 +41,10 @@ export function getRequestBody(methodInfo) {
|
|
|
38
41
|
}
|
|
39
42
|
// If it's an object with properties, format each property
|
|
40
43
|
if (schemaBody.type === 'object' && schemaBody.properties) {
|
|
41
|
-
|
|
42
|
-
var
|
|
43
|
-
|
|
44
|
+
var formattedProperties = Object.entries(schemaBody.properties).reduce(function (acc, _a) {
|
|
45
|
+
var _b, _c;
|
|
46
|
+
var key = _a[0], value = _a[1];
|
|
47
|
+
acc[key] = formatType(value, (_c = (_b = schemaBody.required) === null || _b === void 0 ? void 0 : _b.includes(key)) !== null && _c !== void 0 ? _c : false);
|
|
44
48
|
return acc;
|
|
45
49
|
}, {});
|
|
46
50
|
return formattedProperties;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-request-body.js","sourceRoot":"","sources":["../../../../../../src/ui/hooks/use-swagger/_generate_swagger/generate-api-routes-schema/get-request-body.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-request-body.js","sourceRoot":"","sources":["../../../../../../src/ui/hooks/use-swagger/_generate_swagger/generate-api-routes-schema/get-request-body.ts"],"names":[],"mappings":";;AAqCA,wCAyBC;AAvDD,SAAS,UAAU,CAAC,MAAoB,EAAE,UAAmB;IAC3D,IAAI,MAAM,CAAC,IAAI,KAAK,OAAO,EAAE,CAAC;QAC5B,IAAM,SAAS,GAAG,UAAU,CAAC,MAAM,CAAC,KAAqB,EAAE,IAAI,CAAC,CAAA;QAChE,OAAO,UAAU,CAAC,CAAC,CAAC,UAAG,SAAS,OAAI,CAAC,CAAC,CAAC,UAAG,SAAS,mBAAgB,CAAA;IACrE,CAAC;IAED,IAAI,MAAM,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;QAC7B,IAAI,MAAM,CAAC,oBAAoB,EAAE,CAAC;YAChC,IAAM,SAAS,GAAG,UAAU,CAAC,MAAM,CAAC,oBAAoC,EAAE,IAAI,CAAC,CAAA;YAC/E,OAAO,UAAU,CAAC,CAAC,CAAC,yBAAkB,SAAS,MAAG,CAAC,CAAC,CAAC,yBAAkB,SAAS,kBAAe,CAAA;QACjG,CAAC;QACD,OAAO,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,oBAAoB,CAAA;IACrD,CAAC;IAED,QAAQ,MAAM,CAAC,IAAI,EAAE,CAAC;QACpB,KAAK,SAAS;YACZ,oCAAoC;YACpC,IAAI,MAAM,CAAC,MAAM,KAAK,OAAO,EAAE,CAAC;gBAC9B,OAAO,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,oBAAoB,CAAA;YACrD,CAAC;YACD,OAAO,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,oBAAoB,CAAA;QACrD,KAAK,QAAQ;YACX,OAAO,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,oBAAoB,CAAA;QACrD,KAAK,SAAS;YACZ,OAAO,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,qBAAqB,CAAA;QACvD;YACE,OAAO,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,iBAAiB,CAAA;IACjD,CAAC;AACH,CAAC;AAED,SAAgB,cAAc,CAAC,UAA2B;;IACxD,IAAM,WAAW,GAAG,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,WAAgC,CAAC;IACjE,IAAM,UAAU,GAAG,MAAA,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,0CAAG,kBAAkB,CAAC,0CAAE,MAAwC,CAAC;IAExG,IAAI,CAAC,UAAU,EAAE,CAAC;QAChB,OAAO,IAAI,CAAC;IACd,CAAC;IAED,uCAAuC;IACvC,IAAI,MAAM,IAAI,UAAU,EAAE,CAAC;QACzB,OAAO,UAAU,CAAC;IACpB,CAAC;IAED,0DAA0D;IAC1D,IAAI,UAAU,CAAC,IAAI,KAAK,QAAQ,IAAI,UAAU,CAAC,UAAU,EAAE,CAAC;QAC1D,IAAM,mBAAmB,GAAG,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,UAAC,GAAG,EAAE,EAAY;;gBAAX,GAAG,QAAA,EAAE,KAAK,QAAA;YACxF,GAAG,CAAC,GAAG,CAAC,GAAG,UAAU,CAAC,KAAqB,EAAE,MAAA,MAAA,UAAU,CAAC,QAAQ,0CAAE,QAAQ,CAAC,GAAG,CAAC,mCAAI,KAAK,CAAC,CAAC;YAC1F,OAAO,GAAG,CAAC;QACb,CAAC,EAAE,EAA4B,CAAC,CAAC;QAEjC,OAAO,mBAAmB,CAAC;IAC7B,CAAC;IAED,8CAA8C;IAC9C,OAAO,UAAU,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;AACtC,CAAC"}
|
package/dist/ui/hooks/use-swagger/_generate_swagger/generate-api-routes-schema/get-result.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getResult = getResult;
|
|
4
|
+
function getResult(methodInfo) {
|
|
2
5
|
var _a;
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
var responses = methodInfo === null || methodInfo === void 0 ? void 0 : methodInfo.responses;
|
|
7
|
+
var content = responses["200"];
|
|
8
|
+
var responseObject = content;
|
|
9
|
+
var schema = (_a = responseObject === null || responseObject === void 0 ? void 0 : responseObject.content) === null || _a === void 0 ? void 0 : _a["application/json"].schema;
|
|
7
10
|
return schema;
|
|
8
11
|
}
|
|
9
12
|
//# sourceMappingURL=get-result.js.map
|
package/dist/ui/hooks/use-swagger/_generate_swagger/generate-api-routes-schema/get-result.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-result.js","sourceRoot":"","sources":["../../../../../../src/ui/hooks/use-swagger/_generate_swagger/generate-api-routes-schema/get-result.ts"],"names":[],"mappings":"AAMA,
|
|
1
|
+
{"version":3,"file":"get-result.js","sourceRoot":"","sources":["../../../../../../src/ui/hooks/use-swagger/_generate_swagger/generate-api-routes-schema/get-result.ts"],"names":[],"mappings":";;AAMA,8BASC;AATD,SAAgB,SAAS,CAAC,UAA2B;;IACnD,IAAM,SAAS,GAAG,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,SAAS,CAAC;IACxC,IAAM,OAAO,GAAG,SAAS,CAAC,KAAK,CAAqC,CAAC;IAErE,IAAM,cAAc,GAAG,OAAyB,CAAC;IAEjD,IAAM,MAAM,GAAG,MAAA,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,OAAO,0CAAG,kBAAkB,EAAE,MAAM,CAAC;IAEpE,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
|
@@ -1,6 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./generator.js"), exports);
|
|
18
|
+
__exportStar(require("./get-params.js"), exports);
|
|
19
|
+
__exportStar(require("./get-result.js"), exports);
|
|
20
|
+
__exportStar(require("./interfaces.js"), exports);
|
|
21
|
+
__exportStar(require("./get-request-body.js"), exports);
|
|
6
22
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ui/hooks/use-swagger/_generate_swagger/generate-api-routes-schema/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ui/hooks/use-swagger/_generate_swagger/generate-api-routes-schema/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA2B;AAC3B,+CAA4B;AAC5B,+CAA4B;AAC5B,+CAA4B;AAC5B,qDAAkC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.generateInterfacesOpenApi = generateInterfacesOpenApi;
|
|
4
|
+
var mapOpenApiTypeToTS = function (prop, array) {
|
|
2
5
|
var _a, _b;
|
|
3
6
|
if ((array && prop.$ref) || (prop === null || prop === void 0 ? void 0 : prop.$ref)) {
|
|
4
7
|
return prop.$ref.replace('#/components/schemas/', '');
|
|
@@ -16,38 +19,38 @@ const mapOpenApiTypeToTS = (prop, array) => {
|
|
|
16
19
|
case 'boolean':
|
|
17
20
|
return 'boolean';
|
|
18
21
|
case 'array':
|
|
19
|
-
return
|
|
22
|
+
return "".concat(mapOpenApiTypeToTS(prop.items, true), "[]");
|
|
20
23
|
case 'object':
|
|
21
24
|
if (prop.additionalProperties) {
|
|
22
|
-
|
|
23
|
-
return
|
|
25
|
+
var valueType = mapOpenApiTypeToTS(prop.additionalProperties, false);
|
|
26
|
+
return "Record<string, ".concat(valueType, ">");
|
|
24
27
|
}
|
|
25
28
|
return 'Record<string, any>';
|
|
26
29
|
default:
|
|
27
30
|
if ((_b = (_a = prop === null || prop === void 0 ? void 0 : prop.allOf) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b['$ref']) {
|
|
28
|
-
|
|
29
|
-
return
|
|
31
|
+
var name_1 = prop.allOf[0]['$ref'].replace('#/components/schemas/', '');
|
|
32
|
+
return name_1;
|
|
30
33
|
}
|
|
31
34
|
return 'any';
|
|
32
35
|
}
|
|
33
36
|
};
|
|
34
|
-
|
|
37
|
+
function generateInterfacesOpenApi(openApiDocument) {
|
|
35
38
|
var _a;
|
|
36
|
-
|
|
39
|
+
var schemas = (_a = openApiDocument === null || openApiDocument === void 0 ? void 0 : openApiDocument.components) === null || _a === void 0 ? void 0 : _a.schemas;
|
|
37
40
|
return Object.keys(schemas || {})
|
|
38
|
-
.map((schemaName)
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
.map((propName)
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
return
|
|
41
|
+
.map(function (schemaName) {
|
|
42
|
+
var schema = schemas[schemaName];
|
|
43
|
+
var properties = schema.properties || {};
|
|
44
|
+
var required = schema.required || [];
|
|
45
|
+
var propertiesLines = Object.keys(properties)
|
|
46
|
+
.map(function (propName) {
|
|
47
|
+
var prop = properties[propName];
|
|
48
|
+
var tsType = mapOpenApiTypeToTS(prop, false);
|
|
49
|
+
var isRequired = required.includes(propName) ? '' : '?';
|
|
50
|
+
return " ".concat(propName).concat(isRequired, ": ").concat(tsType, ";");
|
|
48
51
|
})
|
|
49
52
|
.join('\n');
|
|
50
|
-
return
|
|
53
|
+
return "export interface ".concat(schemaName, " {\n").concat(propertiesLines, "\n}");
|
|
51
54
|
})
|
|
52
55
|
.join('\n\n');
|
|
53
56
|
}
|
package/dist/ui/hooks/use-swagger/_generate_swagger/generate-interfaces-openApi/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ui/hooks/use-swagger/_generate_swagger/generate-interfaces-openApi/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ui/hooks/use-swagger/_generate_swagger/generate-interfaces-openApi/index.ts"],"names":[],"mappings":";;AAoCA,8DAsBC;AAxDD,IAAM,kBAAkB,GAAG,UAAC,IAAI,EAAE,KAAK;;IACrC,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,IAAI,CAAC,KAAI,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,IAAI,CAAA,EAAE,CAAC;QACvC,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,uBAAuB,EAAE,EAAE,CAAC,CAAA;IACvD,CAAC;IAED,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;QAClB,KAAK,QAAQ;YACX,OAAO,QAAQ,CAAA;QACjB,KAAK,SAAS;YACZ,IAAI,IAAI,CAAC,MAAM,KAAK,OAAO,EAAE,CAAC;gBAC5B,OAAO,QAAQ,CAAA;YACjB,CAAC;YACD,OAAO,QAAQ,CAAA;QACjB,KAAK,QAAQ;YACX,OAAO,QAAQ,CAAA;QACjB,KAAK,SAAS;YACZ,OAAO,SAAS,CAAA;QAClB,KAAK,OAAO;YACV,OAAO,UAAG,kBAAkB,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,OAAI,CAAA;QACpD,KAAK,QAAQ;YACX,IAAI,IAAI,CAAC,oBAAoB,EAAE,CAAC;gBAC9B,IAAM,SAAS,GAAG,kBAAkB,CAAC,IAAI,CAAC,oBAAoB,EAAE,KAAK,CAAC,CAAA;gBACtE,OAAO,yBAAkB,SAAS,MAAG,CAAA;YACvC,CAAC;YACD,OAAO,qBAAqB,CAAA;QAC9B;YACE,IAAI,MAAA,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,0CAAG,CAAC,CAAC,0CAAG,MAAM,CAAC,EAAE,CAAC;gBAC/B,IAAM,MAAI,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,uBAAuB,EAAE,EAAE,CAAC,CAAA;gBACvE,OAAO,MAAI,CAAA;YACb,CAAC;YACD,OAAO,KAAK,CAAA;IAChB,CAAC;AACH,CAAC,CAAA;AAED,SAAgB,yBAAyB,CAAC,eAA8B;;IACtE,IAAM,OAAO,GAAG,MAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,UAAU,0CAAE,OAAO,CAAA;IAEpD,OAAO,MAAM,CAAC,IAAI,CAAC,OAAO,IAAI,EAAE,CAAC;SAC9B,GAAG,CAAC,UAAC,UAAU;QACd,IAAM,MAAM,GAAG,OAAO,CAAC,UAAU,CAAiB,CAAA;QAClD,IAAM,UAAU,GAAG,MAAM,CAAC,UAAU,IAAI,EAAE,CAAA;QAC1C,IAAM,QAAQ,GAAG,MAAM,CAAC,QAAQ,IAAI,EAAE,CAAA;QAEtC,IAAM,eAAe,GAAG,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC;aAC5C,GAAG,CAAC,UAAC,QAAQ;YACZ,IAAM,IAAI,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAA;YACjC,IAAM,MAAM,GAAG,kBAAkB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;YAC9C,IAAM,UAAU,GAAG,QAAQ,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAA;YAEzD,OAAO,YAAK,QAAQ,SAAG,UAAU,eAAK,MAAM,MAAG,CAAA;QACjD,CAAC,CAAC;aACD,IAAI,CAAC,IAAI,CAAC,CAAA;QAEb,OAAO,2BAAoB,UAAU,iBAAO,eAAe,QAAK,CAAA;IAClE,CAAC,CAAC;SACD,IAAI,CAAC,MAAM,CAAC,CAAA;AACjB,CAAC"}
|