@momo-webplatform/mobase 0.0.43 → 0.0.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs +5633 -0
- package/dist/cjs/index.cjs.map +1 -0
- package/dist/cjs/index.d.cts +659 -0
- package/dist/esm/index.d.ts +659 -0
- package/dist/esm/index.js +5107 -0
- package/dist/esm/index.js.map +1 -0
- package/package.json +63 -114
- package/LICENSE +0 -21
- package/publish/cjs/components/Accordion/Accordion.js +0 -44
- package/publish/cjs/components/Accordion/index.js +0 -8
- package/publish/cjs/components/AlertDialog/AlertDialog.js +0 -62
- package/publish/cjs/components/AlertDialog/index.js +0 -16
- package/publish/cjs/components/Badge/Badge.js +0 -24
- package/publish/cjs/components/Badge/index.js +0 -6
- package/publish/cjs/components/Breadcrumb/Breadcrumb.js +0 -55
- package/publish/cjs/components/Breadcrumb/index.js +0 -11
- package/publish/cjs/components/Button/Button.js +0 -74
- package/publish/cjs/components/Button/index.js +0 -6
- package/publish/cjs/components/Callout/Callout.js +0 -46
- package/publish/cjs/components/Callout/index.js +0 -5
- package/publish/cjs/components/Card/Card.js +0 -47
- package/publish/cjs/components/Card/index.js +0 -10
- package/publish/cjs/components/Checkbox/Checkbox.js +0 -67
- package/publish/cjs/components/Checkbox/index.js +0 -9
- package/publish/cjs/components/Choicebox/Choicebox.js +0 -90
- package/publish/cjs/components/Choicebox/index.js +0 -6
- package/publish/cjs/components/Combobox/Combobox.js +0 -19
- package/publish/cjs/components/Combobox/index.js +0 -7
- package/publish/cjs/components/Command/Command.js +0 -74
- package/publish/cjs/components/Command/index.js +0 -13
- package/publish/cjs/components/Dialog/Dialog.js +0 -90
- package/publish/cjs/components/Dialog/index.js +0 -15
- package/publish/cjs/components/DialogQr/DialogQr.js +0 -98
- package/publish/cjs/components/DialogQr/index.js +0 -5
- package/publish/cjs/components/Footer/Footer.js +0 -15
- package/publish/cjs/components/Footer/FooterContent.js +0 -27
- package/publish/cjs/components/Footer/index.js +0 -5
- package/publish/cjs/components/Header/Header.js +0 -19
- package/publish/cjs/components/Header/ListItem.js +0 -12
- package/publish/cjs/components/Header/ListItemMobile.js +0 -15
- package/publish/cjs/components/Header/MobileMenu.js +0 -61
- package/publish/cjs/components/Header/NavItems.js +0 -26
- package/publish/cjs/components/Header/NavItemsMobile.js +0 -35
- package/publish/cjs/components/Header/index.js +0 -5
- package/publish/cjs/components/IconButton/IconButton.js +0 -67
- package/publish/cjs/components/IconButton/index.js +0 -5
- package/publish/cjs/components/LightboxGallery/LightboxGallery.js +0 -203
- package/publish/cjs/components/LightboxGallery/index.js +0 -7
- package/publish/cjs/components/NavigationMenu/NavigationMenu.js +0 -62
- package/publish/cjs/components/NavigationMenu/index.js +0 -13
- package/publish/cjs/components/Pagination/Pagination.js +0 -31
- package/publish/cjs/components/Pagination/index.js +0 -8
- package/publish/cjs/components/Popover/Popover.js +0 -37
- package/publish/cjs/components/Popover/index.js +0 -7
- package/publish/cjs/components/RadioGroup/RadioGroup.js +0 -53
- package/publish/cjs/components/RadioGroup/index.js +0 -6
- package/publish/cjs/components/SearchBar/SearchBar.js +0 -48
- package/publish/cjs/components/SearchBar/index.js +0 -5
- package/publish/cjs/components/Select/Select.js +0 -67
- package/publish/cjs/components/Select/index.js +0 -14
- package/publish/cjs/components/Stepper/Stepper.js +0 -100
- package/publish/cjs/components/Stepper/index.js +0 -5
- package/publish/cjs/components/Switch/Switch.js +0 -33
- package/publish/cjs/components/Switch/index.js +0 -5
- package/publish/cjs/components/Tabs/Tabs.js +0 -41
- package/publish/cjs/components/Tabs/index.js +0 -8
- package/publish/cjs/components/TextArea/TextArea.js +0 -38
- package/publish/cjs/components/TextArea/index.js +0 -5
- package/publish/cjs/components/TextButton/TextButton.js +0 -63
- package/publish/cjs/components/TextButton/index.js +0 -6
- package/publish/cjs/components/TextInput/TextInput.js +0 -65
- package/publish/cjs/components/TextInput/index.js +0 -5
- package/publish/cjs/components/Toast/Toast.js +0 -66
- package/publish/cjs/components/Toast/index.js +0 -8
- package/publish/cjs/components/Toast/toaster.js +0 -14
- package/publish/cjs/components/Toast/useToast.js +0 -157
- package/publish/cjs/components/Tooltip/Tooltip.js +0 -44
- package/publish/cjs/components/Tooltip/index.js +0 -9
- package/publish/cjs/foundation/SpinerIcon.js +0 -7
- package/publish/cjs/helpers/SpinerIcon.js +0 -7
- package/publish/cjs/helpers/animations.js +0 -18
- package/publish/cjs/helpers/clone-deep.js +0 -15
- package/publish/cjs/helpers/clone-deep.spec.js +0 -22
- package/publish/cjs/helpers/constants.js +0 -204
- package/publish/cjs/helpers/generic-forward-ref.js +0 -5
- package/publish/cjs/helpers/http.js +0 -10
- package/publish/cjs/helpers/is-client.js +0 -7
- package/publish/cjs/helpers/is-object.js +0 -12
- package/publish/cjs/helpers/is-object.spec.js +0 -24
- package/publish/cjs/helpers/merge-deep.js +0 -29
- package/publish/cjs/helpers/merge-deep.spec.js +0 -56
- package/publish/cjs/helpers/omit.js +0 -16
- package/publish/cjs/helpers/omit.spec.js +0 -9
- package/publish/cjs/helpers/utils.js +0 -23
- package/publish/cjs/index.js +0 -48
- package/publish/cjs/mobase-tw-plugin/animations/index.js +0 -25
- package/publish/cjs/mobase-tw-plugin/colors/blue.js +0 -16
- package/publish/cjs/mobase-tw-plugin/colors/common.js +0 -23
- package/publish/cjs/mobase-tw-plugin/colors/gray.js +0 -16
- package/publish/cjs/mobase-tw-plugin/colors/green.js +0 -16
- package/publish/cjs/mobase-tw-plugin/colors/index.js +0 -9
- package/publish/cjs/mobase-tw-plugin/colors/orange.js +0 -16
- package/publish/cjs/mobase-tw-plugin/colors/pink.js +0 -16
- package/publish/cjs/mobase-tw-plugin/colors/purple.js +0 -16
- package/publish/cjs/mobase-tw-plugin/colors/red.js +0 -16
- package/publish/cjs/mobase-tw-plugin/colors/yellow.js +0 -16
- package/publish/cjs/mobase-tw-plugin/font-sizes.js +0 -98
- package/publish/cjs/mobase-tw-plugin/index.js +0 -5
- package/publish/cjs/mobase-tw-plugin/layout.js +0 -48
- package/publish/cjs/mobase-tw-plugin/plugin.js +0 -201
- package/publish/cjs/mobase-tw-plugin/radius.js +0 -16
- package/publish/cjs/mobase-tw-plugin/types.js +0 -54
- package/publish/cjs/mobase-tw-plugin/utilities/custom.js +0 -25
- package/publish/cjs/mobase-tw-plugin/utilities/index.js +0 -14
- package/publish/cjs/mobase-tw-plugin/utilities/scrollbar-hide.js +0 -30
- package/publish/cjs/mobase-tw-plugin/utilities/transition.js +0 -88
- package/publish/cjs/mobase-tw-plugin/utils/index.js +0 -17
- package/publish/cjs/mobase-tw-plugin/utils/object.js +0 -53
- package/publish/cjs/mobase-tw-plugin/utils/theme.js +0 -70
- package/publish/cjs/site/index.js +0 -5
- package/publish/cjs/site/meta.js +0 -57
- package/publish/cjs/tsconfig.lib.tsbuildinfo +0 -1
- package/publish/cjs/types/index.js +0 -2
- package/publish/esm/components/Accordion/Accordion.d.ts +0 -20
- package/publish/esm/components/Accordion/Accordion.js +0 -15
- package/publish/esm/components/Accordion/index.d.ts +0 -2
- package/publish/esm/components/Accordion/index.js +0 -1
- package/publish/esm/components/AlertDialog/AlertDialog.d.ts +0 -49
- package/publish/esm/components/AlertDialog/AlertDialog.js +0 -26
- package/publish/esm/components/AlertDialog/index.d.ts +0 -2
- package/publish/esm/components/AlertDialog/index.js +0 -5
- package/publish/esm/components/Badge/Badge.d.ts +0 -10
- package/publish/esm/components/Badge/Badge.js +0 -20
- package/publish/esm/components/Badge/index.d.ts +0 -1
- package/publish/esm/components/Badge/index.js +0 -1
- package/publish/esm/components/Breadcrumb/Breadcrumb.d.ts +0 -20
- package/publish/esm/components/Breadcrumb/Breadcrumb.js +0 -23
- package/publish/esm/components/Breadcrumb/index.d.ts +0 -2
- package/publish/esm/components/Breadcrumb/index.js +0 -2
- package/publish/esm/components/Button/Button.d.ts +0 -26
- package/publish/esm/components/Button/Button.js +0 -44
- package/publish/esm/components/Button/index.d.ts +0 -2
- package/publish/esm/components/Button/index.js +0 -1
- package/publish/esm/components/Callout/Callout.d.ts +0 -19
- package/publish/esm/components/Callout/Callout.js +0 -43
- package/publish/esm/components/Callout/index.d.ts +0 -1
- package/publish/esm/components/Callout/index.js +0 -1
- package/publish/esm/components/Card/Card.d.ts +0 -9
- package/publish/esm/components/Card/Card.js +0 -16
- package/publish/esm/components/Card/index.d.ts +0 -1
- package/publish/esm/components/Card/index.js +0 -1
- package/publish/esm/components/Checkbox/Checkbox.d.ts +0 -40
- package/publish/esm/components/Checkbox/Checkbox.js +0 -36
- package/publish/esm/components/Checkbox/index.d.ts +0 -2
- package/publish/esm/components/Checkbox/index.js +0 -1
- package/publish/esm/components/Choicebox/Choicebox.d.ts +0 -31
- package/publish/esm/components/Choicebox/Choicebox.js +0 -62
- package/publish/esm/components/Choicebox/index.d.ts +0 -1
- package/publish/esm/components/Choicebox/index.js +0 -1
- package/publish/esm/components/Combobox/Combobox.d.ts +0 -19
- package/publish/esm/components/Combobox/Combobox.js +0 -13
- package/publish/esm/components/Combobox/index.d.ts +0 -1
- package/publish/esm/components/Combobox/index.js +0 -1
- package/publish/esm/components/Command/Command.d.ts +0 -57
- package/publish/esm/components/Command/Command.js +0 -40
- package/publish/esm/components/Command/index.d.ts +0 -1
- package/publish/esm/components/Command/index.js +0 -1
- package/publish/esm/components/Dialog/Dialog.d.ts +0 -51
- package/publish/esm/components/Dialog/Dialog.js +0 -54
- package/publish/esm/components/Dialog/index.d.ts +0 -1
- package/publish/esm/components/Dialog/index.js +0 -1
- package/publish/esm/components/DialogQr/DialogQr.d.ts +0 -33
- package/publish/esm/components/DialogQr/DialogQr.js +0 -91
- package/publish/esm/components/DialogQr/index.d.ts +0 -1
- package/publish/esm/components/DialogQr/index.js +0 -1
- package/publish/esm/components/Footer/Footer.d.ts +0 -22
- package/publish/esm/components/Footer/Footer.js +0 -9
- package/publish/esm/components/Footer/FooterContent.d.ts +0 -4
- package/publish/esm/components/Footer/FooterContent.js +0 -27
- package/publish/esm/components/Footer/index.d.ts +0 -1
- package/publish/esm/components/Footer/index.js +0 -1
- package/publish/esm/components/Header/Header.d.ts +0 -44
- package/publish/esm/components/Header/Header.js +0 -13
- package/publish/esm/components/Header/ListItem.d.ts +0 -9
- package/publish/esm/components/Header/ListItem.js +0 -10
- package/publish/esm/components/Header/ListItemMobile.d.ts +0 -9
- package/publish/esm/components/Header/ListItemMobile.js +0 -10
- package/publish/esm/components/Header/MobileMenu.d.ts +0 -6
- package/publish/esm/components/Header/MobileMenu.js +0 -56
- package/publish/esm/components/Header/NavItems.d.ts +0 -2
- package/publish/esm/components/Header/NavItems.js +0 -21
- package/publish/esm/components/Header/NavItemsMobile.d.ts +0 -2
- package/publish/esm/components/Header/NavItemsMobile.js +0 -30
- package/publish/esm/components/Header/index.d.ts +0 -1
- package/publish/esm/components/Header/index.js +0 -1
- package/publish/esm/components/IconButton/IconButton.d.ts +0 -22
- package/publish/esm/components/IconButton/IconButton.js +0 -40
- package/publish/esm/components/IconButton/index.d.ts +0 -2
- package/publish/esm/components/IconButton/index.js +0 -1
- package/publish/esm/components/LightboxGallery/LightboxGallery.d.ts +0 -35
- package/publish/esm/components/LightboxGallery/LightboxGallery.js +0 -171
- package/publish/esm/components/LightboxGallery/index.d.ts +0 -1
- package/publish/esm/components/LightboxGallery/index.js +0 -1
- package/publish/esm/components/NavigationMenu/NavigationMenu.d.ts +0 -12
- package/publish/esm/components/NavigationMenu/NavigationMenu.js +0 -28
- package/publish/esm/components/NavigationMenu/index.d.ts +0 -1
- package/publish/esm/components/NavigationMenu/index.js +0 -1
- package/publish/esm/components/Pagination/Pagination.d.ts +0 -16
- package/publish/esm/components/Pagination/Pagination.js +0 -28
- package/publish/esm/components/Pagination/index.d.ts +0 -1
- package/publish/esm/components/Pagination/index.js +0 -1
- package/publish/esm/components/Popover/Popover.d.ts +0 -6
- package/publish/esm/components/Popover/Popover.js +0 -9
- package/publish/esm/components/Popover/index.d.ts +0 -1
- package/publish/esm/components/Popover/index.js +0 -1
- package/publish/esm/components/RadioGroup/RadioGroup.d.ts +0 -13
- package/publish/esm/components/RadioGroup/RadioGroup.js +0 -26
- package/publish/esm/components/RadioGroup/index.d.ts +0 -1
- package/publish/esm/components/RadioGroup/index.js +0 -1
- package/publish/esm/components/SearchBar/SearchBar.d.ts +0 -7
- package/publish/esm/components/SearchBar/SearchBar.js +0 -45
- package/publish/esm/components/SearchBar/index.d.ts +0 -1
- package/publish/esm/components/SearchBar/index.js +0 -1
- package/publish/esm/components/Select/Select.d.ts +0 -19
- package/publish/esm/components/Select/Select.js +0 -32
- package/publish/esm/components/Select/index.d.ts +0 -1
- package/publish/esm/components/Select/index.js +0 -1
- package/publish/esm/components/Stepper/Stepper.d.ts +0 -15
- package/publish/esm/components/Stepper/Stepper.js +0 -97
- package/publish/esm/components/Stepper/index.d.ts +0 -1
- package/publish/esm/components/Stepper/index.js +0 -1
- package/publish/esm/components/Switch/Switch.d.ts +0 -4
- package/publish/esm/components/Switch/Switch.js +0 -7
- package/publish/esm/components/Switch/index.d.ts +0 -1
- package/publish/esm/components/Switch/index.js +0 -1
- package/publish/esm/components/Tabs/Tabs.d.ts +0 -16
- package/publish/esm/components/Tabs/Tabs.js +0 -12
- package/publish/esm/components/Tabs/index.d.ts +0 -1
- package/publish/esm/components/Tabs/index.js +0 -1
- package/publish/esm/components/TextArea/TextArea.d.ts +0 -9
- package/publish/esm/components/TextArea/TextArea.js +0 -35
- package/publish/esm/components/TextArea/index.d.ts +0 -2
- package/publish/esm/components/TextArea/index.js +0 -1
- package/publish/esm/components/TextButton/TextButton.d.ts +0 -22
- package/publish/esm/components/TextButton/TextButton.js +0 -36
- package/publish/esm/components/TextButton/index.d.ts +0 -2
- package/publish/esm/components/TextButton/index.js +0 -1
- package/publish/esm/components/TextInput/TextInput.d.ts +0 -11
- package/publish/esm/components/TextInput/TextInput.js +0 -62
- package/publish/esm/components/TextInput/index.d.ts +0 -2
- package/publish/esm/components/TextInput/index.js +0 -1
- package/publish/esm/components/Toast/Toast.d.ts +0 -15
- package/publish/esm/components/Toast/Toast.js +0 -34
- package/publish/esm/components/Toast/index.d.ts +0 -2
- package/publish/esm/components/Toast/index.js +0 -2
- package/publish/esm/components/Toast/toaster.d.ts +0 -1
- package/publish/esm/components/Toast/toaster.js +0 -10
- package/publish/esm/components/Toast/useToast.d.ts +0 -44
- package/publish/esm/components/Toast/useToast.js +0 -129
- package/publish/esm/components/Tooltip/Tooltip.d.ts +0 -12
- package/publish/esm/components/Tooltip/Tooltip.js +0 -14
- package/publish/esm/components/Tooltip/index.d.ts +0 -1
- package/publish/esm/components/Tooltip/index.js +0 -1
- package/publish/esm/foundation/SpinerIcon.d.ts +0 -6
- package/publish/esm/foundation/SpinerIcon.js +0 -5
- package/publish/esm/helpers/SpinerIcon.d.ts +0 -6
- package/publish/esm/helpers/SpinerIcon.js +0 -5
- package/publish/esm/helpers/animations.d.ts +0 -26
- package/publish/esm/helpers/animations.js +0 -14
- package/publish/esm/helpers/clone-deep.d.ts +0 -1
- package/publish/esm/helpers/clone-deep.js +0 -11
- package/publish/esm/helpers/clone-deep.spec.d.ts +0 -1
- package/publish/esm/helpers/clone-deep.spec.js +0 -20
- package/publish/esm/helpers/constants.d.ts +0 -69
- package/publish/esm/helpers/constants.js +0 -201
- package/publish/esm/helpers/generic-forward-ref.d.ts +0 -5
- package/publish/esm/helpers/generic-forward-ref.js +0 -3
- package/publish/esm/helpers/http.d.ts +0 -1
- package/publish/esm/helpers/http.js +0 -6
- package/publish/esm/helpers/is-client.d.ts +0 -1
- package/publish/esm/helpers/is-client.js +0 -3
- package/publish/esm/helpers/is-object.d.ts +0 -6
- package/publish/esm/helpers/is-object.js +0 -8
- package/publish/esm/helpers/is-object.spec.d.ts +0 -1
- package/publish/esm/helpers/is-object.spec.js +0 -22
- package/publish/esm/helpers/merge-deep.d.ts +0 -7
- package/publish/esm/helpers/merge-deep.js +0 -25
- package/publish/esm/helpers/merge-deep.spec.d.ts +0 -1
- package/publish/esm/helpers/merge-deep.spec.js +0 -54
- package/publish/esm/helpers/omit.d.ts +0 -1
- package/publish/esm/helpers/omit.js +0 -12
- package/publish/esm/helpers/omit.spec.d.ts +0 -1
- package/publish/esm/helpers/omit.spec.js +0 -7
- package/publish/esm/helpers/utils.d.ts +0 -8
- package/publish/esm/helpers/utils.js +0 -18
- package/publish/esm/index.d.ts +0 -32
- package/publish/esm/index.js +0 -32
- package/publish/esm/mobase-tw-plugin/animations/index.d.ts +0 -34
- package/publish/esm/mobase-tw-plugin/animations/index.js +0 -22
- package/publish/esm/mobase-tw-plugin/colors/blue.d.ts +0 -13
- package/publish/esm/mobase-tw-plugin/colors/blue.js +0 -13
- package/publish/esm/mobase-tw-plugin/colors/common.d.ts +0 -109
- package/publish/esm/mobase-tw-plugin/colors/common.js +0 -20
- package/publish/esm/mobase-tw-plugin/colors/gray.d.ts +0 -13
- package/publish/esm/mobase-tw-plugin/colors/gray.js +0 -13
- package/publish/esm/mobase-tw-plugin/colors/green.d.ts +0 -13
- package/publish/esm/mobase-tw-plugin/colors/green.js +0 -13
- package/publish/esm/mobase-tw-plugin/colors/index.d.ts +0 -110
- package/publish/esm/mobase-tw-plugin/colors/index.js +0 -5
- package/publish/esm/mobase-tw-plugin/colors/orange.d.ts +0 -13
- package/publish/esm/mobase-tw-plugin/colors/orange.js +0 -13
- package/publish/esm/mobase-tw-plugin/colors/pink.d.ts +0 -13
- package/publish/esm/mobase-tw-plugin/colors/pink.js +0 -13
- package/publish/esm/mobase-tw-plugin/colors/purple.d.ts +0 -13
- package/publish/esm/mobase-tw-plugin/colors/purple.js +0 -13
- package/publish/esm/mobase-tw-plugin/colors/red.d.ts +0 -13
- package/publish/esm/mobase-tw-plugin/colors/red.js +0 -13
- package/publish/esm/mobase-tw-plugin/colors/yellow.d.ts +0 -13
- package/publish/esm/mobase-tw-plugin/colors/yellow.js +0 -13
- package/publish/esm/mobase-tw-plugin/font-sizes.d.ts +0 -59
- package/publish/esm/mobase-tw-plugin/font-sizes.js +0 -94
- package/publish/esm/mobase-tw-plugin/index.d.ts +0 -1
- package/publish/esm/mobase-tw-plugin/index.js +0 -1
- package/publish/esm/mobase-tw-plugin/layout.d.ts +0 -45
- package/publish/esm/mobase-tw-plugin/layout.js +0 -45
- package/publish/esm/mobase-tw-plugin/plugin.d.ts +0 -10
- package/publish/esm/mobase-tw-plugin/plugin.js +0 -194
- package/publish/esm/mobase-tw-plugin/radius.d.ts +0 -9
- package/publish/esm/mobase-tw-plugin/radius.js +0 -12
- package/publish/esm/mobase-tw-plugin/types.d.ts +0 -103
- package/publish/esm/mobase-tw-plugin/types.js +0 -51
- package/publish/esm/mobase-tw-plugin/utilities/custom.d.ts +0 -24
- package/publish/esm/mobase-tw-plugin/utilities/custom.js +0 -23
- package/publish/esm/mobase-tw-plugin/utilities/index.d.ts +0 -114
- package/publish/esm/mobase-tw-plugin/utilities/index.js +0 -8
- package/publish/esm/mobase-tw-plugin/utilities/scrollbar-hide.d.ts +0 -23
- package/publish/esm/mobase-tw-plugin/utilities/scrollbar-hide.js +0 -28
- package/publish/esm/mobase-tw-plugin/utilities/transition.d.ts +0 -86
- package/publish/esm/mobase-tw-plugin/utilities/transition.js +0 -86
- package/publish/esm/mobase-tw-plugin/utils/index.d.ts +0 -1
- package/publish/esm/mobase-tw-plugin/utils/index.js +0 -1
- package/publish/esm/mobase-tw-plugin/utils/object.d.ts +0 -10
- package/publish/esm/mobase-tw-plugin/utils/object.js +0 -44
- package/publish/esm/mobase-tw-plugin/utils/theme.d.ts +0 -2
- package/publish/esm/mobase-tw-plugin/utils/theme.js +0 -65
- package/publish/esm/site/index.d.ts +0 -2
- package/publish/esm/site/index.js +0 -2
- package/publish/esm/site/meta.d.ts +0 -1
- package/publish/esm/site/meta.js +0 -53
- package/publish/esm/tsconfig.lib.tsbuildinfo +0 -1
- package/publish/esm/types/index.d.ts +0 -3
- package/publish/esm/types/index.js +0 -1
|
@@ -1,204 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FROM_TYPE_FOOTER_MENU = exports.MOMO_TEXT = exports.SERVICES_PAGE = exports.SERVICES_DEFAULT = exports.APP_DOWNLOAD = exports.SOCIAL_ITEMS = exports.LIST_LINK = exports.SUPPORT = exports.NEXT_PUBLIC_REACT_APP_FRONT_END = exports.MoMoText = exports.FooterItemsDefault = void 0;
|
|
4
|
-
exports.FooterItemsDefault = {
|
|
5
|
-
heading: "Về chúng tôi",
|
|
6
|
-
lists: [
|
|
7
|
-
{
|
|
8
|
-
title: "Giới thiệu",
|
|
9
|
-
url: "/sieu-ung-dung-momo",
|
|
10
|
-
newTab: false,
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
title: "An toàn - Bảo mật",
|
|
14
|
-
url: "/an-toan-bao-mat",
|
|
15
|
-
newTab: false,
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
title: "Điều khoản điều lệ",
|
|
19
|
-
url: "/dieu-khoan-dieu-le",
|
|
20
|
-
newTab: false,
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
title: "Chính sách quyền riêng tư",
|
|
24
|
-
url: "/chinh-sach-quyen-rieng-tu",
|
|
25
|
-
newTab: false,
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
title: "Điều khoản liên kết Google trên ứng dụng MoMo",
|
|
29
|
-
url: "/google-cloud-policy",
|
|
30
|
-
newTab: false,
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
title: "Blog",
|
|
34
|
-
url: "/blog",
|
|
35
|
-
newTab: false,
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
title: "Liên hệ",
|
|
39
|
-
url: "/lienhe",
|
|
40
|
-
newTab: false,
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
title: "Hỏi đáp",
|
|
44
|
-
url: "/hoi-dap",
|
|
45
|
-
newTab: false,
|
|
46
|
-
}
|
|
47
|
-
]
|
|
48
|
-
};
|
|
49
|
-
exports.MoMoText = {
|
|
50
|
-
Business: {
|
|
51
|
-
Phome: "1900636652",
|
|
52
|
-
Phome_Format: "1900 636 652 (Phí 1.000đ/phút)",
|
|
53
|
-
Email: "merchant.care@momo.vn",
|
|
54
|
-
},
|
|
55
|
-
Support: {
|
|
56
|
-
Hotline: "1900545441",
|
|
57
|
-
Hotline_Format: "1900 5454 41",
|
|
58
|
-
Phone_Ext_1: "02873065555",
|
|
59
|
-
Phone_Ext_1_Format: "028.7306.5555",
|
|
60
|
-
Phone_Ext_2: "02899995555",
|
|
61
|
-
Phone_Ext_2_Format: "028.9999.5555",
|
|
62
|
-
Email: "hotro@momo.vn",
|
|
63
|
-
},
|
|
64
|
-
};
|
|
65
|
-
exports.NEXT_PUBLIC_REACT_APP_FRONT_END = "https://momo.vn/";
|
|
66
|
-
exports.SUPPORT = {
|
|
67
|
-
Address: "Lầu 6, Toà nhà Phú Mỹ Hưng, số 8 Hoàng Văn Thái, khu phố 1, Phường Tân Phú, Quận 7, Thành phố Hồ Chí Minh",
|
|
68
|
-
};
|
|
69
|
-
exports.LIST_LINK = [
|
|
70
|
-
{ Name: "Giới thiệu", Href: "/sieu-ung-dung-momo" },
|
|
71
|
-
{ Name: "An toàn - Bảo mật", Href: "/an-toan-bao-mat" },
|
|
72
|
-
{ Name: "Điều khoản điều lệ", Href: "/dieu-khoan-dieu-le" },
|
|
73
|
-
{
|
|
74
|
-
Name: "Chính sách quyền riêng tư",
|
|
75
|
-
Href: "/chinh-sach-quyen-rieng-tu",
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
Name: "Điều khoản liên kết Google trên ứng dụng MoMo",
|
|
79
|
-
Href: "/google-cloud-policy",
|
|
80
|
-
},
|
|
81
|
-
{ Name: "Blog", Href: "/blog" },
|
|
82
|
-
{ Name: "Liên hệ", Href: "/lienhe" },
|
|
83
|
-
{ Name: "Hỏi đáp", Href: "/hoi-dap" },
|
|
84
|
-
];
|
|
85
|
-
exports.SOCIAL_ITEMS = [
|
|
86
|
-
{
|
|
87
|
-
Name: "Facebook",
|
|
88
|
-
Image: "https://homepage.momocdn.net/styles/desktop/images/social/facebook.svg",
|
|
89
|
-
Link: "https://www.facebook.com/vimomo",
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
Name: "Linkedin",
|
|
93
|
-
Image: "https://homepage.momocdn.net/styles/desktop/images/social/linkedin.svg",
|
|
94
|
-
Link: "https://www.linkedin.com/company/momo-mservice/",
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
Name: "Youtube",
|
|
98
|
-
Image: "https://homepage.momocdn.net/styles/desktop/images/social/youtube.svg",
|
|
99
|
-
Link: "https://www.youtube.com/channel/UCKHHW-qL2JoZqcSNm1jPlqw",
|
|
100
|
-
},
|
|
101
|
-
];
|
|
102
|
-
exports.APP_DOWNLOAD = [
|
|
103
|
-
{
|
|
104
|
-
Name: "App Store",
|
|
105
|
-
Image: "https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",
|
|
106
|
-
Link: "https://itunes.apple.com/vn/app/id918751511?utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong",
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
Name: "Google Play",
|
|
110
|
-
Image: "https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",
|
|
111
|
-
Link: "https://play.google.com/store/apps/details?id=com.mservice.momotransfer&utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong",
|
|
112
|
-
},
|
|
113
|
-
];
|
|
114
|
-
exports.SERVICES_DEFAULT = [
|
|
115
|
-
{
|
|
116
|
-
Name: "Vé xem phim",
|
|
117
|
-
Href: "/cinema",
|
|
118
|
-
Image: "https://homepage.momocdn.net/fileuploads/svg/momo-file-230629144722.svg",
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
Name: "Bảo hiểm Ô tô",
|
|
122
|
-
Href: "/bao-hiem-o-to/vat-chat",
|
|
123
|
-
Image: "https://homepage.momocdn.net/fileuploads/svg/momo-file-230629144844.svg",
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
Name: "Vé máy bay",
|
|
127
|
-
Href: "/ve-may-bay",
|
|
128
|
-
Image: "https://homepage.momocdn.net/fileuploads/svg/momo-file-201210145350.svg",
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
Name: "Khách sạn",
|
|
132
|
-
Href: "/khach-san-theo-gio",
|
|
133
|
-
Image: "https://homepage.momocdn.net/fileuploads/svg/momo-file-210315154805.svg",
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
Name: "Ví nhân ái",
|
|
137
|
-
Href: "/vi-nhan-ai",
|
|
138
|
-
Image: "https://homepage.momocdn.net/img/momo-upload-api-231214222240-638381893608141712.png",
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
Name: "Túi thần tài",
|
|
142
|
-
Href: "/tui-than-tai",
|
|
143
|
-
Image: "https://homepage.momocdn.net/fileuploads/svg/momo-file-210716153611.svg",
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
Name: "Ví trả sau",
|
|
147
|
-
Href: "/vi-tra-sau",
|
|
148
|
-
Image: "https://homepage.momocdn.net/img/momo-upload-api-230629144414-638236466540028217.png",
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
Name: "Vay nhanh",
|
|
152
|
-
Href: "/vay-nhanh",
|
|
153
|
-
Image: "https://homepage.momocdn.net/img/momo-upload-api-230418101312-638174095928506551.png",
|
|
154
|
-
},
|
|
155
|
-
];
|
|
156
|
-
exports.SERVICES_PAGE = [
|
|
157
|
-
{
|
|
158
|
-
Name: "Vé xem phim",
|
|
159
|
-
Href: "/cinema",
|
|
160
|
-
Image: "https://homepage.momocdn.net/fileuploads/svg/momo-file-230629144722.svg",
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
Name: "Bảo hiểm Ô tô",
|
|
164
|
-
Href: "/bao-hiem-o-to/vat-chat",
|
|
165
|
-
Image: "https://homepage.momocdn.net/fileuploads/svg/momo-file-230629144844.svg",
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
Name: "Vé máy bay",
|
|
169
|
-
Href: "/ve-may-bay",
|
|
170
|
-
Image: "https://homepage.momocdn.net/fileuploads/svg/momo-file-201210145350.svg",
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
Name: "Khách sạn",
|
|
174
|
-
Href: "/khach-san-theo-gio",
|
|
175
|
-
Image: "https://homepage.momocdn.net/fileuploads/svg/momo-file-210315154805.svg",
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
Name: "Ví nhân ái",
|
|
179
|
-
Href: "/vi-nhan-ai",
|
|
180
|
-
Image: "https://homepage.momocdn.net/img/momo-upload-api-231214222240-638381893608141712.png",
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
Name: "Vay nhanh",
|
|
184
|
-
Href: "/vay-nhanh",
|
|
185
|
-
Image: "https://homepage.momocdn.net/img/momo-upload-api-230418101312-638174095928506551.png",
|
|
186
|
-
},
|
|
187
|
-
];
|
|
188
|
-
exports.MOMO_TEXT = {
|
|
189
|
-
Business: {
|
|
190
|
-
Phome: "1900636652",
|
|
191
|
-
Phome_Format: "1900 636 652 (Phí 1.000đ/phút)",
|
|
192
|
-
Email: "merchant.care@momo.vn",
|
|
193
|
-
},
|
|
194
|
-
Support: {
|
|
195
|
-
Hotline: "1900545441",
|
|
196
|
-
Hotline_Format: "1900 5454 41",
|
|
197
|
-
Phone_Ext_1: "02873065555",
|
|
198
|
-
Phone_Ext_1_Format: "028.7306.5555",
|
|
199
|
-
Phone_Ext_2: "02899995555",
|
|
200
|
-
Phone_Ext_2_Format: "028.9999.5555",
|
|
201
|
-
Email: "hotro@momo.vn",
|
|
202
|
-
},
|
|
203
|
-
};
|
|
204
|
-
exports.FROM_TYPE_FOOTER_MENU = "nav_footer";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.safeResJson = void 0;
|
|
4
|
-
const safeResJson = (res) => {
|
|
5
|
-
if (res.ok) {
|
|
6
|
-
return res.json();
|
|
7
|
-
}
|
|
8
|
-
throw new Error('Internal server error!');
|
|
9
|
-
};
|
|
10
|
-
exports.safeResJson = safeResJson;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isObject = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Check if provided parameter is plain object
|
|
6
|
-
* @param item
|
|
7
|
-
* @returns boolean
|
|
8
|
-
*/
|
|
9
|
-
function isObject(item) {
|
|
10
|
-
return item !== null && typeof item === 'object' && item.constructor === Object;
|
|
11
|
-
}
|
|
12
|
-
exports.isObject = isObject;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const vitest_1 = require("vitest");
|
|
4
|
-
const is_object_1 = require("./is-object");
|
|
5
|
-
(0, vitest_1.describe)('isObject function', () => {
|
|
6
|
-
(0, vitest_1.it)('should return true for an empty object', () => {
|
|
7
|
-
(0, vitest_1.expect)((0, is_object_1.isObject)({})).toBe(true);
|
|
8
|
-
});
|
|
9
|
-
(0, vitest_1.it)('should return true for a non-empty object', () => {
|
|
10
|
-
(0, vitest_1.expect)((0, is_object_1.isObject)({ key: 'value' })).toBe(true);
|
|
11
|
-
});
|
|
12
|
-
(0, vitest_1.it)('should return false for a string', () => {
|
|
13
|
-
(0, vitest_1.expect)((0, is_object_1.isObject)('string')).toBe(false);
|
|
14
|
-
});
|
|
15
|
-
(0, vitest_1.it)('should return false for an array', () => {
|
|
16
|
-
(0, vitest_1.expect)((0, is_object_1.isObject)([1, 2, 3])).toBe(false);
|
|
17
|
-
});
|
|
18
|
-
(0, vitest_1.it)('should return false for null', () => {
|
|
19
|
-
(0, vitest_1.expect)((0, is_object_1.isObject)(null)).toBe(false);
|
|
20
|
-
});
|
|
21
|
-
(0, vitest_1.it)('should return false for undefined', () => {
|
|
22
|
-
(0, vitest_1.expect)((0, is_object_1.isObject)(undefined)).toBe(false);
|
|
23
|
-
});
|
|
24
|
-
});
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.mergeDeep = void 0;
|
|
4
|
-
const clone_deep_1 = require("./clone-deep");
|
|
5
|
-
const is_object_1 = require("./is-object");
|
|
6
|
-
/**
|
|
7
|
-
* Merge and deep copy the values of all of the enumerable own properties of target object from source object to a new object
|
|
8
|
-
* @param target The target object to get properties from.
|
|
9
|
-
* @param source The source object from which to copy properties.
|
|
10
|
-
* @return A new merged and deep copied object.
|
|
11
|
-
*/
|
|
12
|
-
function mergeDeep(target, source) {
|
|
13
|
-
if ((0, is_object_1.isObject)(source) && Object.keys(source).length === 0) {
|
|
14
|
-
return (0, clone_deep_1.cloneDeep)({ ...target, ...source });
|
|
15
|
-
}
|
|
16
|
-
const output = { ...target, ...source };
|
|
17
|
-
if ((0, is_object_1.isObject)(source) && (0, is_object_1.isObject)(target)) {
|
|
18
|
-
for (const key in source) {
|
|
19
|
-
if ((0, is_object_1.isObject)(source[key]) && key in target && (0, is_object_1.isObject)(target[key])) {
|
|
20
|
-
output[key] = mergeDeep(target[key], source[key]);
|
|
21
|
-
}
|
|
22
|
-
else {
|
|
23
|
-
output[key] = (0, is_object_1.isObject)(source[key]) ? (0, clone_deep_1.cloneDeep)(source[key]) : source[key];
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
return output;
|
|
28
|
-
}
|
|
29
|
-
exports.mergeDeep = mergeDeep;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const vitest_1 = require("vitest");
|
|
4
|
-
const merge_deep_1 = require("./merge-deep");
|
|
5
|
-
(0, vitest_1.describe)('Helpers / Merge deep', () => {
|
|
6
|
-
(0, vitest_1.it)('should merge keys that do not exist in target', () => {
|
|
7
|
-
const target = {};
|
|
8
|
-
const source = { foo: 'bar' };
|
|
9
|
-
const result = (0, merge_deep_1.mergeDeep)(target, source);
|
|
10
|
-
(0, vitest_1.expect)(result).to.deep.equal({ foo: 'bar' });
|
|
11
|
-
});
|
|
12
|
-
(0, vitest_1.it)('should merge keys that do not exist in source', () => {
|
|
13
|
-
const target = { foo: 'bar' };
|
|
14
|
-
const source = {};
|
|
15
|
-
const result = (0, merge_deep_1.mergeDeep)(target, source);
|
|
16
|
-
(0, vitest_1.expect)(result).to.deep.equal({ foo: 'bar' });
|
|
17
|
-
});
|
|
18
|
-
(0, vitest_1.it)('should override target key if source key is identical', () => {
|
|
19
|
-
const target = { foo: { bar: 'baz' } };
|
|
20
|
-
const source = { foo: { bar: 'foobar' } };
|
|
21
|
-
const result = (0, merge_deep_1.mergeDeep)(target, source);
|
|
22
|
-
(0, vitest_1.expect)(result).to.deep.equal({ foo: { bar: 'foobar' } });
|
|
23
|
-
});
|
|
24
|
-
(0, vitest_1.it)('should merge keys and do not mutate target and source', () => {
|
|
25
|
-
const target = {
|
|
26
|
-
foo: { a: 1, b: { c: 2, f: { g: 3 } } },
|
|
27
|
-
baz: 5,
|
|
28
|
-
};
|
|
29
|
-
const source = {
|
|
30
|
-
foo: { b: { c: 3, d: 3 } },
|
|
31
|
-
bar: { a: 1 },
|
|
32
|
-
};
|
|
33
|
-
const result = (0, merge_deep_1.mergeDeep)(target, source);
|
|
34
|
-
(0, vitest_1.expect)(result).to.deep.equal({ foo: { a: 1, b: { c: 3, d: 3, f: { g: 3 } } }, baz: 5, bar: { a: 1 } });
|
|
35
|
-
(0, vitest_1.expect)(target).to.deep.equal({
|
|
36
|
-
foo: { a: 1, b: { c: 2, f: { g: 3 } } },
|
|
37
|
-
baz: 5,
|
|
38
|
-
});
|
|
39
|
-
(0, vitest_1.expect)(source).to.deep.equal({
|
|
40
|
-
foo: { b: { c: 3, d: 3 } },
|
|
41
|
-
bar: { a: 1 },
|
|
42
|
-
});
|
|
43
|
-
result.foo.b.c = 97;
|
|
44
|
-
result.baz = 98;
|
|
45
|
-
result.bar.a = 99;
|
|
46
|
-
(0, vitest_1.expect)(result).to.deep.equal({ foo: { a: 1, b: { c: 97, d: 3, f: { g: 3 } } }, baz: 98, bar: { a: 99 } });
|
|
47
|
-
(0, vitest_1.expect)(target).to.deep.equal({
|
|
48
|
-
foo: { a: 1, b: { c: 2, f: { g: 3 } } },
|
|
49
|
-
baz: 5,
|
|
50
|
-
});
|
|
51
|
-
(0, vitest_1.expect)(source).to.deep.equal({
|
|
52
|
-
foo: { b: { c: 3, d: 3 } },
|
|
53
|
-
bar: { a: 1 },
|
|
54
|
-
});
|
|
55
|
-
});
|
|
56
|
-
});
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.omit = void 0;
|
|
4
|
-
const omit = (keys) => (obj) => {
|
|
5
|
-
const result = {};
|
|
6
|
-
for (const key in obj) {
|
|
7
|
-
// @ts-expect-error - bypass
|
|
8
|
-
if (keys.includes(key)) {
|
|
9
|
-
continue;
|
|
10
|
-
}
|
|
11
|
-
// @ts-expect-error - bypass
|
|
12
|
-
result[key] = obj[key];
|
|
13
|
-
}
|
|
14
|
-
return result;
|
|
15
|
-
};
|
|
16
|
-
exports.omit = omit;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const vitest_1 = require("vitest");
|
|
4
|
-
const omit_1 = require("./omit");
|
|
5
|
-
(0, vitest_1.describe)('omit', () => {
|
|
6
|
-
(0, vitest_1.it)('should omit keys from object', () => {
|
|
7
|
-
(0, vitest_1.expect)((0, omit_1.omit)(['a', 'b'])({ a: 'a', b: 'b', c: 'c' })).toEqual({ c: 'c' });
|
|
8
|
-
});
|
|
9
|
-
});
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.addQueryToLink = exports.cn = void 0;
|
|
4
|
-
const clsx_1 = require("clsx");
|
|
5
|
-
const tailwind_merge_1 = require("tailwind-merge");
|
|
6
|
-
const constants_1 = require("../helpers/constants");
|
|
7
|
-
function cn(...inputs) {
|
|
8
|
-
return (0, tailwind_merge_1.twMerge)((0, clsx_1.clsx)(inputs));
|
|
9
|
-
}
|
|
10
|
-
exports.cn = cn;
|
|
11
|
-
const addQueryToLink = ({ link, query = {} }) => {
|
|
12
|
-
if (!link)
|
|
13
|
-
return "";
|
|
14
|
-
const url = new URL(link, constants_1.NEXT_PUBLIC_REACT_APP_FRONT_END || "");
|
|
15
|
-
const searchParams = new URLSearchParams(url.search);
|
|
16
|
-
Object.entries(query).forEach(([key, value]) => {
|
|
17
|
-
if (value)
|
|
18
|
-
searchParams.append(key, value);
|
|
19
|
-
});
|
|
20
|
-
url.search = searchParams.toString();
|
|
21
|
-
return url.toString();
|
|
22
|
-
};
|
|
23
|
-
exports.addQueryToLink = addQueryToLink;
|
package/publish/cjs/index.js
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
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("./components/Accordion"), exports);
|
|
18
|
-
__exportStar(require("./components/Breadcrumb"), exports);
|
|
19
|
-
__exportStar(require("./components/Button"), exports);
|
|
20
|
-
__exportStar(require("./components/Checkbox"), exports);
|
|
21
|
-
__exportStar(require("./components/Dialog"), exports);
|
|
22
|
-
__exportStar(require("./components/DialogQr"), exports);
|
|
23
|
-
__exportStar(require("./components/AlertDialog"), exports);
|
|
24
|
-
__exportStar(require("./components/IconButton"), exports);
|
|
25
|
-
__exportStar(require("./components/Pagination"), exports);
|
|
26
|
-
__exportStar(require("./components/Popover"), exports);
|
|
27
|
-
__exportStar(require("./components/Tabs"), exports);
|
|
28
|
-
__exportStar(require("./components/TextArea"), exports);
|
|
29
|
-
__exportStar(require("./components/Toast"), exports);
|
|
30
|
-
__exportStar(require("./components/TextButton"), exports);
|
|
31
|
-
__exportStar(require("./components/Tooltip"), exports);
|
|
32
|
-
__exportStar(require("./components/TextInput"), exports);
|
|
33
|
-
__exportStar(require("./components/Stepper"), exports);
|
|
34
|
-
__exportStar(require("./components/Select"), exports);
|
|
35
|
-
__exportStar(require("./components/NavigationMenu"), exports);
|
|
36
|
-
__exportStar(require("./components/Switch"), exports);
|
|
37
|
-
__exportStar(require("./components/RadioGroup"), exports);
|
|
38
|
-
__exportStar(require("./components/Header"), exports);
|
|
39
|
-
__exportStar(require("./components/Footer"), exports);
|
|
40
|
-
__exportStar(require("./components/Card"), exports);
|
|
41
|
-
__exportStar(require("./components/Command"), exports);
|
|
42
|
-
__exportStar(require("./components/Combobox"), exports);
|
|
43
|
-
__exportStar(require("./components/Callout"), exports);
|
|
44
|
-
__exportStar(require("./components/SearchBar"), exports);
|
|
45
|
-
__exportStar(require("./components/LightboxGallery"), exports);
|
|
46
|
-
__exportStar(require("./components/Choicebox"), exports);
|
|
47
|
-
__exportStar(require("./mobase-tw-plugin"), exports);
|
|
48
|
-
__exportStar(require("./site"), exports);
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.animations = void 0;
|
|
4
|
-
exports.animations = {
|
|
5
|
-
animation: {
|
|
6
|
-
"accordion-down": "accordion-down 0.2s ease-out",
|
|
7
|
-
"accordion-up": "accordion-up 0.2s ease-out",
|
|
8
|
-
"spin-loading": "spin 1s steps(12, end) infinite",
|
|
9
|
-
"fade-in": "fade-in 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94) both",
|
|
10
|
-
},
|
|
11
|
-
keyframes: {
|
|
12
|
-
"accordion-down": {
|
|
13
|
-
from: { height: "0" },
|
|
14
|
-
to: { height: "var(--radix-accordion-content-height)" },
|
|
15
|
-
},
|
|
16
|
-
"accordion-up": {
|
|
17
|
-
from: { height: "var(--radix-accordion-content-height)" },
|
|
18
|
-
to: { height: "0" },
|
|
19
|
-
},
|
|
20
|
-
"fade-in": {
|
|
21
|
-
"0%": { opacity: "0" },
|
|
22
|
-
"100%": { opacity: "1" },
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.blue = void 0;
|
|
4
|
-
exports.blue = {
|
|
5
|
-
50: "#eef8ff",
|
|
6
|
-
100: "#d9eeff",
|
|
7
|
-
200: "#bce1ff",
|
|
8
|
-
300: "#8ed0ff",
|
|
9
|
-
400: "#59b4ff",
|
|
10
|
-
500: "#429cff",
|
|
11
|
-
600: "#1b74f5",
|
|
12
|
-
700: "#145ee1",
|
|
13
|
-
800: "#174bb6",
|
|
14
|
-
900: "#19428f",
|
|
15
|
-
DEFAULT: "#429cff",
|
|
16
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.commonColors = void 0;
|
|
4
|
-
const blue_1 = require("./blue");
|
|
5
|
-
const green_1 = require("./green");
|
|
6
|
-
const pink_1 = require("./pink");
|
|
7
|
-
const purple_1 = require("./purple");
|
|
8
|
-
const red_1 = require("./red");
|
|
9
|
-
const yellow_1 = require("./yellow");
|
|
10
|
-
const orange_1 = require("./orange");
|
|
11
|
-
const gray_1 = require("./gray");
|
|
12
|
-
exports.commonColors = {
|
|
13
|
-
white: "#ffffff",
|
|
14
|
-
black: "#000000",
|
|
15
|
-
blue: blue_1.blue,
|
|
16
|
-
green: green_1.green,
|
|
17
|
-
pink: pink_1.pink,
|
|
18
|
-
purple: purple_1.purple,
|
|
19
|
-
red: red_1.red,
|
|
20
|
-
yellow: yellow_1.yellow,
|
|
21
|
-
gray: gray_1.gray,
|
|
22
|
-
orange: orange_1.orange,
|
|
23
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.gray = void 0;
|
|
4
|
-
exports.gray = {
|
|
5
|
-
50: "#FAFAFA",
|
|
6
|
-
100: "#F5F5F5",
|
|
7
|
-
200: "#E5E5E5",
|
|
8
|
-
300: "#D4D4D4",
|
|
9
|
-
400: "#A3A3A3",
|
|
10
|
-
500: "#737373",
|
|
11
|
-
600: "#525252",
|
|
12
|
-
700: "#404040",
|
|
13
|
-
800: "#262626",
|
|
14
|
-
900: "#171717",
|
|
15
|
-
DEFAULT: "#737373",
|
|
16
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.green = void 0;
|
|
4
|
-
exports.green = {
|
|
5
|
-
50: "#f1fcf3",
|
|
6
|
-
100: "#dff9e5",
|
|
7
|
-
200: "#c0f2cc",
|
|
8
|
-
300: "#8fe6a4",
|
|
9
|
-
400: "#57d175",
|
|
10
|
-
500: "#34c759",
|
|
11
|
-
600: "#22973f",
|
|
12
|
-
700: "#1e7735",
|
|
13
|
-
800: "#1d5e2e",
|
|
14
|
-
900: "#194e28",
|
|
15
|
-
DEFAULT: "#34c759",
|
|
16
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.commonColors = exports.colors = void 0;
|
|
4
|
-
const common_1 = require("./common");
|
|
5
|
-
Object.defineProperty(exports, "commonColors", { enumerable: true, get: function () { return common_1.commonColors; } });
|
|
6
|
-
const colors = {
|
|
7
|
-
...common_1.commonColors,
|
|
8
|
-
};
|
|
9
|
-
exports.colors = colors;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.orange = void 0;
|
|
4
|
-
exports.orange = {
|
|
5
|
-
50: "#fff4ed",
|
|
6
|
-
100: "#ffe6d5",
|
|
7
|
-
200: "#fecaaa",
|
|
8
|
-
300: "#fea473",
|
|
9
|
-
400: "#fc743b",
|
|
10
|
-
500: "#fa541c",
|
|
11
|
-
600: "#eb350b",
|
|
12
|
-
700: "#c3240b",
|
|
13
|
-
800: "#9b1e11",
|
|
14
|
-
900: "#7c1c12",
|
|
15
|
-
DEFAULT: "#fa541c",
|
|
16
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.pink = void 0;
|
|
4
|
-
exports.pink = {
|
|
5
|
-
50: "#fef1f9",
|
|
6
|
-
100: "#fee5f6",
|
|
7
|
-
200: "#fecced",
|
|
8
|
-
300: "#ffa2df",
|
|
9
|
-
400: "#fe68c6",
|
|
10
|
-
500: "#EB2F96",
|
|
11
|
-
600: "#D42A87",
|
|
12
|
-
700: "#CB0B6F",
|
|
13
|
-
800: "#A70D5B",
|
|
14
|
-
900: "#8B104E",
|
|
15
|
-
DEFAULT: "#EB2F96",
|
|
16
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.purple = void 0;
|
|
4
|
-
exports.purple = {
|
|
5
|
-
50: "#faf5ff",
|
|
6
|
-
100: "#f4e9fe",
|
|
7
|
-
200: "#ead6fe",
|
|
8
|
-
300: "#dab6fc",
|
|
9
|
-
400: "#c487f9",
|
|
10
|
-
500: "#ab55f3",
|
|
11
|
-
600: "#9937e6",
|
|
12
|
-
700: "#8326ca",
|
|
13
|
-
800: "#6f24a5",
|
|
14
|
-
900: "#5b1e85",
|
|
15
|
-
DEFAULT: "#ab55f3",
|
|
16
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.red = void 0;
|
|
4
|
-
exports.red = {
|
|
5
|
-
50: "#fff1f2",
|
|
6
|
-
100: "#ffe1e3",
|
|
7
|
-
200: "#ffc8cb",
|
|
8
|
-
300: "#ffa1a6",
|
|
9
|
-
400: "#fe6b73",
|
|
10
|
-
500: "#f74e57",
|
|
11
|
-
600: "#e41e29",
|
|
12
|
-
700: "#c0151e",
|
|
13
|
-
800: "#9e161d",
|
|
14
|
-
900: "#83191f",
|
|
15
|
-
DEFAULT: "#f74e57",
|
|
16
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.yellow = void 0;
|
|
4
|
-
exports.yellow = {
|
|
5
|
-
50: "#fffee7",
|
|
6
|
-
100: "#fffec1",
|
|
7
|
-
200: "#fff886",
|
|
8
|
-
300: "#ffec41",
|
|
9
|
-
400: "#ffdb0d",
|
|
10
|
-
500: "#ffcc00",
|
|
11
|
-
600: "#d19500",
|
|
12
|
-
700: "#a66a02",
|
|
13
|
-
800: "#89530a",
|
|
14
|
-
900: "#74430f",
|
|
15
|
-
DEFAULT: "#ffcc00",
|
|
16
|
-
};
|