@bigbinary/neeto-molecules 4.1.62 → 4.1.64
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/v2/CardLayout.js +1 -1
- package/dist/cjs/v2/CardLayout.js.map +1 -1
- package/dist/cjs/v2/ErrorPage.js +1 -1
- package/dist/cjs/v2/ErrorPage.js.map +1 -1
- package/dist/cjs/v2/Header.js +1 -1
- package/dist/cjs/v2/Header.js.map +1 -1
- package/dist/cjs/v2/Settings.js +3 -5
- package/dist/cjs/v2/Settings.js.map +1 -1
- package/dist/v2/CardLayout.js +1 -1
- package/dist/v2/CardLayout.js.map +1 -1
- package/dist/v2/ErrorPage.js +1 -1
- package/dist/v2/ErrorPage.js.map +1 -1
- package/dist/v2/Header.js +1 -1
- package/dist/v2/Header.js.map +1 -1
- package/dist/v2/Settings.js +3 -5
- package/dist/v2/Settings.js.map +1 -1
- package/package.json +3 -3
- package/src/translations/ar.json +3 -3
- package/src/translations/bg.json +3 -3
- package/src/translations/ca.json +3 -3
- package/src/translations/cs.json +3 -3
- package/src/translations/da.json +3 -3
- package/src/translations/de.json +3 -3
- package/src/translations/en.json +3 -3
- package/src/translations/es-MX.json +3 -3
- package/src/translations/es.json +3 -3
- package/src/translations/et.json +4 -4
- package/src/translations/fi.json +4 -4
- package/src/translations/fil.json +3 -3
- package/src/translations/fr.json +3 -3
- package/src/translations/he.json +3 -3
- package/src/translations/hi.json +4 -4
- package/src/translations/hr.json +3 -3
- package/src/translations/hu.json +4 -4
- package/src/translations/id.json +3 -3
- package/src/translations/it.json +3 -3
- package/src/translations/ja.json +4 -4
- package/src/translations/ko.json +4 -4
- package/src/translations/nl.json +3 -3
- package/src/translations/pl.json +3 -3
- package/src/translations/pt-BR.json +3 -3
- package/src/translations/pt.json +3 -3
- package/src/translations/ro.json +3 -3
- package/src/translations/ru.json +3 -3
- package/src/translations/sk.json +3 -3
- package/src/translations/sl.json +3 -3
- package/src/translations/sv.json +3 -3
- package/src/translations/th.json +3 -3
- package/src/translations/tr.json +4 -4
- package/src/translations/uk.json +3 -3
- package/src/translations/vi.json +3 -3
- package/src/translations/zh-CN.json +4 -4
- package/src/translations/zh-TW.json +4 -4
package/dist/v2/Settings.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Settings.js","sources":["../../src/v2/components/Settings/constants.js","../../src/v2/components/Settings/IntegrationItem.jsx","../../src/v2/components/Settings/Item.jsx","../../src/v2/components/Settings/Category.jsx","../../src/v2/components/Settings/utils.js","../../src/v2/components/Settings/index.jsx"],"sourcesContent":["export const UNSUPPORTED_LINK_PROPS = [\"staticContext\", \"tReady\"];\n","import { memo } from \"react\";\n\nimport { Badge, Typography } from \"@bigbinary/neeto-atoms\";\nimport classnames from \"classnames\";\nimport { hyphenate } from \"neetocist\";\nimport { joinHyphenCase } from \"neetocommons/utils/general\";\nimport PropTypes from \"prop-types\";\nimport { omit } from \"ramda\";\nimport { useTranslation } from \"react-i18next\";\nimport { Link } from \"react-router-dom\";\n\nimport { UNSUPPORTED_LINK_PROPS } from \"./constants\";\n\nconst IntegrationItem = ({\n icon: Icon = null,\n description,\n label,\n path,\n href,\n isConnected,\n isMobileOrTablet = false,\n className = \"\",\n ...otherProps\n}) => {\n const { t } = useTranslation();\n\n const commonProps = {\n \"data-testid\": `${hyphenate(label).replace(/\\./g, \"-\")}-integration-card`,\n className: classnames(\n \"relative flex cursor-pointer flex-col items-start gap-3 rounded-lg border border-border px-6 py-6 no-underline outline-none transition-shadow duration-300 ease-in-out md:py-8 lg:flex-row xl:gap-4\",\n \"hover:shadow-[0px_0px_9.2px_0px_rgba(29,33,59,0.12)] hover:[&_[data-settings-heading]]:text-primary\",\n \"active:shadow-[0px_0px_9.2px_0px_rgba(29,33,59,0.12)] active:[&_[data-settings-heading]]:text-primary\",\n \"focus:border-primary focus:shadow-[0px_0px_9.2px_0px_rgba(29,33,59,0.12)] focus:[&_[data-settings-heading]]:text-primary\",\n \"focus-visible:border-primary focus-visible:shadow-[0px_0px_9.2px_0px_rgba(29,33,59,0.12)] focus-visible:[&_[data-settings-heading]]:text-primary\",\n className\n ),\n ...omit(UNSUPPORTED_LINK_PROPS, otherProps),\n };\n\n const LinkElement = href ? \"a\" : Link;\n const linkProps = href\n ? { href, ...commonProps }\n : { to: path, ...commonProps };\n\n return (\n <LinkElement {...linkProps}>\n {Icon && (\n <div className=\"border-border mt-0.5 flex shrink-0 items-center justify-center rounded-lg border p-1.5 shadow-sm xl:p-2.5\">\n <Icon\n data-testid={`${joinHyphenCase(label)}-integration-icon`}\n size={isMobileOrTablet ? 26 : 32}\n />\n </div>\n )}\n <div className=\"flex min-w-0 flex-1 flex-col gap-1\">\n <Typography asChild variant=\"h3\" weight=\"semibold\">\n <span\n className=\"text-foreground text-lg leading-6 transition-colors duration-300 ease-in-out\"\n data-settings-heading=\"\"\n data-testid=\"settings-item-heading\"\n >\n {label}\n </span>\n </Typography>\n <Typography asChild variant=\"body2\">\n <p\n className=\"text-muted-foreground\"\n data-testid=\"settings-item-description\"\n >\n {description}\n </p>\n </Typography>\n </div>\n {isConnected && (\n <Badge\n className=\"absolute top-2 right-2\"\n data-testid=\"integration-status-tag\"\n variant=\"default\"\n >\n {t(\"neetoMolecules.integrationCard.connected\")}\n </Badge>\n )}\n </LinkElement>\n );\n};\n\nIntegrationItem.propTypes = {\n /**\n * The icon component to display. Accepts lucide-react icons or brand logos.\n */\n icon: PropTypes.oneOfType([\n PropTypes.element,\n PropTypes.func,\n PropTypes.object,\n ]),\n /**\n * A description of the integration.\n */\n description: PropTypes.string,\n /**\n * The label text for the integration item.\n */\n label: PropTypes.string.isRequired,\n /**\n * The internal route path for the integration item link.\n */\n path: PropTypes.string,\n /**\n * The external URL for the integration item link.\n */\n href: PropTypes.string,\n /**\n * Whether the integration is currently connected.\n */\n isConnected: PropTypes.bool,\n /**\n * Whether the current viewport is mobile or tablet size.\n */\n isMobileOrTablet: PropTypes.bool,\n /**\n * Additional CSS classes for the link element.\n */\n className: PropTypes.string,\n};\n\nexport default memo(IntegrationItem);\n","import { memo } from \"react\";\n\nimport { Typography } from \"@bigbinary/neeto-atoms\";\nimport classnames from \"classnames\";\nimport { joinHyphenCase } from \"neetocommons/utils/general\";\nimport PropTypes from \"prop-types\";\nimport { omit } from \"ramda\";\nimport { Link } from \"react-router-dom\";\n\nimport { UNSUPPORTED_LINK_PROPS } from \"./constants\";\n\nconst Item = ({\n label,\n description,\n icon: Icon = null,\n path,\n href,\n dataTestid,\n className = \"\",\n children,\n ...otherProps\n}) => {\n const commonProps = {\n \"data-testid\": dataTestid,\n className: classnames(\n \"group flex cursor-pointer flex-col gap-y-4 rounded-lg border border-border p-6 no-underline outline-none transition-shadow duration-300 ease-in-out\",\n \"hover:shadow-[0px_0px_9.2px_0px_rgba(29,33,59,0.12)] hover:[&_[data-settings-heading]]:text-primary\",\n \"active:shadow-[0px_0px_9.2px_0px_rgba(29,33,59,0.12)] active:[&_[data-settings-heading]]:text-primary\",\n \"focus:border-primary focus:shadow-[0px_0px_9.2px_0px_rgba(29,33,59,0.12)] focus:[&_[data-settings-heading]]:text-primary\",\n \"focus-visible:border-primary focus-visible:shadow-[0px_0px_9.2px_0px_rgba(29,33,59,0.12)] focus-visible:[&_[data-settings-heading]]:text-primary\",\n className\n ),\n ...omit(UNSUPPORTED_LINK_PROPS, otherProps),\n };\n\n const LinkElement = href ? \"a\" : Link;\n const linkProps = href\n ? { href, ...commonProps }\n : { to: path, ...commonProps };\n\n return (\n <LinkElement {...linkProps}>\n <div data-testid={`settings-item-${joinHyphenCase(label)}`}>\n <div className=\"mb-2.5 flex items-center gap-3\">\n {Icon && <Icon className=\"text-muted-foreground\" size={24} />}\n <Typography asChild variant=\"h3\" weight=\"semibold\">\n <span\n className=\"text-foreground text-lg leading-6 transition-colors duration-300 ease-in-out\"\n data-settings-heading=\"\"\n data-testid=\"settings-item-heading\"\n >\n {label}\n </span>\n </Typography>\n </div>\n <Typography asChild variant=\"body2\">\n <p\n className=\"text-muted-foreground\"\n data-testid=\"settings-item-description\"\n >\n {description}\n </p>\n </Typography>\n </div>\n {children && (\n <div className=\"border-border border-t pt-3\">{children}</div>\n )}\n </LinkElement>\n );\n};\n\nItem.propTypes = {\n /**\n * The label text for the settings item.\n */\n label: PropTypes.string.isRequired,\n /**\n * A description of the settings item.\n */\n description: PropTypes.string,\n /**\n * The icon component to display. Accepts lucide-react icons.\n */\n icon: PropTypes.oneOfType([\n PropTypes.element,\n PropTypes.func,\n PropTypes.object,\n ]),\n /**\n * The internal route path for the settings item link.\n */\n path: PropTypes.string,\n /**\n * The external URL for the settings item link.\n */\n href: PropTypes.string,\n /**\n * A custom data-testid attribute for the link element.\n */\n dataTestid: PropTypes.string,\n /**\n * Additional CSS classes for the link element.\n */\n className: PropTypes.string,\n /**\n * Optional children rendered below the description, separated by a border.\n */\n children: PropTypes.node,\n};\n\nexport default memo(Item);\n","import { Typography } from \"@bigbinary/neeto-atoms\";\nimport classnames from \"classnames\";\nimport { isPresent } from \"neetocist\";\nimport { useBreakpoints } from \"neetocommons/react-utils\";\n\nimport IntegrationItem from \"./IntegrationItem\";\nimport Item from \"./Item\";\n\nconst Category = ({ items, label, id, isIntegration }) => {\n const { isSize } = useBreakpoints();\n const SettingsCard = isIntegration ? IntegrationItem : Item;\n const isMobileOrTablet = isSize(\"mobile\") || isSize(\"tablet\");\n\n const isLabelPresent = isPresent(label);\n\n return (\n <div\n {...{ id }}\n className={classnames(\"flex flex-col\", { \"mb-7\": isLabelPresent })}\n >\n {isLabelPresent && (\n <Typography asChild variant=\"h2\" weight=\"semibold\">\n <h2 className=\"mt-2 mb-6\" data-testid=\"settings-category-heading\">\n {label}\n </h2>\n </Typography>\n )}\n <div\n className={classnames(\n \"grid grid-cols-1 gap-3 py-1 md:grid-cols-2 lg:grid-cols-2 lg:gap-4\",\n {\n \"xl:grid-cols-2 2xl:grid-cols-3\": isIntegration,\n \"xl:grid-cols-3 2xl:grid-cols-4\": !isIntegration,\n }\n )}\n >\n {items.map(item => (\n <SettingsCard\n key={item.label}\n {...item}\n {...(isIntegration && { isMobileOrTablet })}\n />\n ))}\n </div>\n </div>\n );\n};\n\nexport default Category;\n","import { filterBy, isNotEmpty } from \"neetocist\";\n\nconst isTextMatching = (label, searchTerm) =>\n label.toLowerCase().includes(searchTerm.trim().toLowerCase());\n\nexport const scrollIntoSettingCategory = activeCategory => {\n document.getElementById(activeCategory)?.scrollIntoView({\n behavior: \"smooth\",\n });\n};\n\nexport const filterCategories = ({ categories = [], searchTerm = \"\" }) => {\n const isSearchTermBlank = !searchTerm.trim();\n\n const filteredCategories = isSearchTermBlank\n ? categories\n : categories.map(category => ({\n ...category,\n items: filterBy(\n ({ label, description }) =>\n isTextMatching(label, searchTerm) ||\n isTextMatching(description, searchTerm),\n category.items\n ),\n }));\n\n return filterBy({ items: isNotEmpty }, filteredCategories);\n};\n","import { useEffect } from \"react\";\n\nimport classnames from \"classnames\";\nimport useQueryParams from \"neetocommons/react-utils/useQueryParams\";\nimport PropTypes from \"prop-types\";\nimport { isEmpty } from \"ramda\";\nimport { useTranslation } from \"react-i18next\";\n\nimport Category from \"./Category\";\nimport { filterCategories, scrollIntoSettingCategory } from \"./utils\";\n\nimport Header from \"../Header\";\n\nconst Settings = ({\n isTitleHidden = false,\n isSearchHidden = false,\n title,\n headerProps = {},\n categories = [],\n className = \"\",\n}) => {\n const { t } = useTranslation();\n\n const { category: categoryParam, searchTerm = \"\" } = useQueryParams();\n\n const filteredCategories = filterCategories({ categories, searchTerm });\n\n const isHeaderVisible = !isSearchHidden || !isTitleHidden;\n\n const headerTitle = title ?? t(\"neetoMolecules.settingsPage.title\");\n\n useEffect(() => {\n scrollIntoSettingCategory(categoryParam);\n }, [categoryParam]);\n\n return (\n <div\n className={classnames(\n \"flex h-dvh grow flex-col items-start justify-start overflow-y-auto px-5 md:px-10\",\n { \"h-auto overflow-y-auto\": isTitleHidden },\n className\n )}\n >\n {isHeaderVisible && (\n <Header\n className={classnames({ \"min-h-0 pt-8 pb-4\": isTitleHidden })}\n title={!isTitleHidden && headerTitle}\n searchProps={\n isSearchHidden\n ? null\n : {\n className: \"w-72\",\n placeholder: t(\n \"neetoMolecules.settingsPage.placeholder.search\"\n ),\n }\n }\n {...headerProps}\n />\n )}\n {isEmpty(filteredCategories) ? (\n <div\n className=\"flex h-full w-full flex-grow items-center justify-center\"\n data-testid=\"settings-no-data\"\n >\n <div className=\"text-muted-foreground flex flex-col items-center gap-2\">\n <p className=\"text-lg font-medium\">\n {t(\"neetoMolecules.settingsPage.noData\")}\n </p>\n </div>\n </div>\n ) : (\n <div className=\"w-full\">\n {filteredCategories.map(({ id, label, items, isIntegration }) => (\n <Category {...{ id, isIntegration, items, label }} key={id} />\n ))}\n </div>\n )}\n </div>\n );\n};\n\nSettings.propTypes = {\n /**\n * Whether to hide the title or not.\n */\n isTitleHidden: PropTypes.bool,\n /**\n * This can be used to customize the title.\n */\n title: PropTypes.string,\n /**\n * Whether to hide the search bar or not.\n */\n isSearchHidden: PropTypes.bool,\n /**\n * An array of setting categories to be displayed.\n */\n categories: PropTypes.array,\n /**\n * Additional classes to be added to the container.\n */\n className: PropTypes.string,\n /**\n * Props to be passed to the header component.\n */\n headerProps: PropTypes.object,\n};\n\nexport default Settings;\n"],"names":["UNSUPPORTED_LINK_PROPS","IntegrationItem","_ref","_ref$icon","icon","Icon","description","label","path","href","isConnected","_ref$isMobileOrTablet","isMobileOrTablet","_ref$className","className","otherProps","_objectWithoutProperties","_excluded","_useTranslation","useTranslation","t","commonProps","_objectSpread","concat","hyphenate","replace","classnames","omit","LinkElement","Link","linkProps","to","_jsxs","children","_jsx","joinHyphenCase","size","Typography","asChild","variant","weight","Badge","memo","Item","dataTestid","Category","items","id","isIntegration","_useBreakpoints","useBreakpoints","isSize","SettingsCard","isLabelPresent","isPresent","map","item","isTextMatching","searchTerm","toLowerCase","includes","trim","scrollIntoSettingCategory","activeCategory","_document$getElementB","document","getElementById","scrollIntoView","behavior","filterCategories","_ref$categories","categories","_ref$searchTerm","isSearchTermBlank","filteredCategories","category","filterBy","_ref2","isNotEmpty","Settings","_ref$isTitleHidden","isTitleHidden","_ref$isSearchHidden","isSearchHidden","title","_ref$headerProps","headerProps","_useQueryParams","useQueryParams","categoryParam","_useQueryParams$searc","isHeaderVisible","headerTitle","useEffect","Header","searchProps","placeholder","isEmpty","_createElement","key"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAO,IAAMA,sBAAsB,GAAG,CAAC,eAAe,EAAE,QAAQ,CAAC;;;;;ACajE,IAAMC,eAAe,GAAG,SAAlBA,eAAeA,CAAAC,IAAA,EAUf;AAAA,EAAA,IAAAC,SAAA,GAAAD,IAAA,CATJE,IAAI;AAAEC,IAAAA,IAAI,GAAAF,SAAA,KAAA,MAAA,GAAG,IAAI,GAAAA,SAAA;IACjBG,WAAW,GAAAJ,IAAA,CAAXI,WAAW;IACXC,KAAK,GAAAL,IAAA,CAALK,KAAK;IACLC,IAAI,GAAAN,IAAA,CAAJM,IAAI;IACJC,IAAI,GAAAP,IAAA,CAAJO,IAAI;IACJC,WAAW,GAAAR,IAAA,CAAXQ,WAAW;IAAAC,qBAAA,GAAAT,IAAA,CACXU,gBAAgB;AAAhBA,IAAAA,gBAAgB,GAAAD,qBAAA,KAAA,MAAA,GAAG,KAAK,GAAAA,qBAAA;IAAAE,cAAA,GAAAX,IAAA,CACxBY,SAAS;AAATA,IAAAA,SAAS,GAAAD,cAAA,KAAA,MAAA,GAAG,EAAE,GAAAA,cAAA;AACXE,IAAAA,UAAU,GAAAC,wBAAA,CAAAd,IAAA,EAAAe,WAAA,CAAA;AAEb,EAAA,IAAAC,eAAA,GAAcC,cAAc,EAAE;IAAtBC,CAAC,GAAAF,eAAA,CAADE,CAAC;EAET,IAAMC,WAAW,GAAAC,eAAA,CAAA;AACf,IAAA,aAAa,EAAA,EAAA,CAAAC,MAAA,CAAKC,SAAS,CAACjB,KAAK,CAAC,CAACkB,OAAO,CAAC,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AAA8B,KAAA,CAAF9B,EAAE;UAAExC,KAAK,GAAAsE,KAAA,CAALtE,KAAK;UAAEuC,KAAK,GAAA+B,KAAA,CAAL/B,KAAK;UAAEE,aAAa,GAAA6B,KAAA,CAAb7B,aAAa;QAAA,oBACxDkD,aAAA,CAACrD,QAAQ,EAAA;AAAOE,UAAAA,EAAE,EAAFA,EAAE;AAAEC,UAAAA,aAAa,EAAbA,aAAa;AAAEF,UAAAA,KAAK,EAALA,KAAK;AAAEvC,UAAAA,KAAK,EAALA,KAAK;AAAI4F,UAAAA,GAAG,EAAEpD;AAAG,SAAE,CAAC;MAAA,CAC/D;AAAC,KACC,CACN;AAAA,GACE,CAAC;AAEV;;;;"}
|
|
1
|
+
{"version":3,"file":"Settings.js","sources":["../../src/v2/components/Settings/constants.js","../../src/v2/components/Settings/IntegrationItem.jsx","../../src/v2/components/Settings/Item.jsx","../../src/v2/components/Settings/Category.jsx","../../src/v2/components/Settings/utils.js","../../src/v2/components/Settings/index.jsx"],"sourcesContent":["export const UNSUPPORTED_LINK_PROPS = [\"staticContext\", \"tReady\"];\n","import { memo } from \"react\";\n\nimport { Badge, Typography } from \"@bigbinary/neeto-atoms\";\nimport classnames from \"classnames\";\nimport { hyphenate } from \"neetocist\";\nimport { joinHyphenCase } from \"neetocommons/utils/general\";\nimport PropTypes from \"prop-types\";\nimport { omit } from \"ramda\";\nimport { useTranslation } from \"react-i18next\";\nimport { Link } from \"react-router-dom\";\n\nimport { UNSUPPORTED_LINK_PROPS } from \"./constants\";\n\nconst IntegrationItem = ({\n icon: Icon = null,\n description,\n label,\n path,\n href,\n isConnected,\n isMobileOrTablet = false,\n className = \"\",\n ...otherProps\n}) => {\n const { t } = useTranslation();\n\n const commonProps = {\n \"data-testid\": `${hyphenate(label).replace(/\\./g, \"-\")}-integration-card`,\n className: classnames(\n \"relative flex cursor-pointer flex-col items-start gap-3 rounded-lg border border-border px-6 py-6 no-underline outline-none transition-shadow duration-300 ease-in-out md:py-8 lg:flex-row xl:gap-4\",\n \"hover:shadow-[0px_0px_9.2px_0px_rgba(29,33,59,0.12)] hover:[&_[data-settings-heading]]:text-primary\",\n \"active:shadow-[0px_0px_9.2px_0px_rgba(29,33,59,0.12)] active:[&_[data-settings-heading]]:text-primary\",\n \"focus:border-primary focus:shadow-[0px_0px_9.2px_0px_rgba(29,33,59,0.12)] focus:[&_[data-settings-heading]]:text-primary\",\n \"focus-visible:border-primary focus-visible:shadow-[0px_0px_9.2px_0px_rgba(29,33,59,0.12)] focus-visible:[&_[data-settings-heading]]:text-primary\",\n className\n ),\n ...omit(UNSUPPORTED_LINK_PROPS, otherProps),\n };\n\n const LinkElement = href ? \"a\" : Link;\n const linkProps = href\n ? { href, ...commonProps }\n : { to: path, ...commonProps };\n\n return (\n <LinkElement {...linkProps}>\n {Icon && (\n <div className=\"border-border mt-0.5 flex shrink-0 items-center justify-center rounded-lg border p-1.5 shadow-sm xl:p-2.5\">\n <Icon\n data-testid={`${joinHyphenCase(label)}-integration-icon`}\n size={isMobileOrTablet ? 26 : 32}\n />\n </div>\n )}\n <div className=\"flex min-w-0 flex-1 flex-col gap-1\">\n <Typography asChild variant=\"h5\" weight=\"semibold\">\n <span data-settings-heading=\"\" data-testid=\"settings-item-heading\">\n {label}\n </span>\n </Typography>\n <Typography asChild variant=\"body2\">\n <p\n className=\"text-muted-foreground\"\n data-testid=\"settings-item-description\"\n >\n {description}\n </p>\n </Typography>\n </div>\n {isConnected && (\n <Badge\n className=\"absolute top-2 right-2\"\n data-testid=\"integration-status-tag\"\n variant=\"default\"\n >\n {t(\"neetoMolecules.integrationCard.connected\")}\n </Badge>\n )}\n </LinkElement>\n );\n};\n\nIntegrationItem.propTypes = {\n /**\n * The icon component to display. Accepts lucide-react icons or brand logos.\n */\n icon: PropTypes.oneOfType([\n PropTypes.element,\n PropTypes.func,\n PropTypes.object,\n ]),\n /**\n * A description of the integration.\n */\n description: PropTypes.string,\n /**\n * The label text for the integration item.\n */\n label: PropTypes.string.isRequired,\n /**\n * The internal route path for the integration item link.\n */\n path: PropTypes.string,\n /**\n * The external URL for the integration item link.\n */\n href: PropTypes.string,\n /**\n * Whether the integration is currently connected.\n */\n isConnected: PropTypes.bool,\n /**\n * Whether the current viewport is mobile or tablet size.\n */\n isMobileOrTablet: PropTypes.bool,\n /**\n * Additional CSS classes for the link element.\n */\n className: PropTypes.string,\n};\n\nexport default memo(IntegrationItem);\n","import { memo } from \"react\";\n\nimport { Typography } from \"@bigbinary/neeto-atoms\";\nimport classnames from \"classnames\";\nimport { joinHyphenCase } from \"neetocommons/utils/general\";\nimport PropTypes from \"prop-types\";\nimport { omit } from \"ramda\";\nimport { Link } from \"react-router-dom\";\n\nimport { UNSUPPORTED_LINK_PROPS } from \"./constants\";\n\nconst Item = ({\n label,\n description,\n icon: Icon = null,\n path,\n href,\n dataTestid,\n className = \"\",\n children,\n ...otherProps\n}) => {\n const commonProps = {\n \"data-testid\": dataTestid,\n className: classnames(\n \"group flex cursor-pointer flex-col gap-y-4 rounded-lg border border-border p-6 no-underline outline-none transition-shadow duration-300 ease-in-out\",\n \"hover:shadow-[0px_0px_9.2px_0px_rgba(29,33,59,0.12)] hover:[&_[data-settings-heading]]:text-primary\",\n \"active:shadow-[0px_0px_9.2px_0px_rgba(29,33,59,0.12)] active:[&_[data-settings-heading]]:text-primary\",\n \"focus:border-primary focus:shadow-[0px_0px_9.2px_0px_rgba(29,33,59,0.12)] focus:[&_[data-settings-heading]]:text-primary\",\n \"focus-visible:border-primary focus-visible:shadow-[0px_0px_9.2px_0px_rgba(29,33,59,0.12)] focus-visible:[&_[data-settings-heading]]:text-primary\",\n className\n ),\n ...omit(UNSUPPORTED_LINK_PROPS, otherProps),\n };\n\n const LinkElement = href ? \"a\" : Link;\n const linkProps = href\n ? { href, ...commonProps }\n : { to: path, ...commonProps };\n\n return (\n <LinkElement {...linkProps}>\n <div data-testid={`settings-item-${joinHyphenCase(label)}`}>\n <div className=\"mb-2.5 flex items-center gap-3\">\n {Icon && <Icon className=\"text-muted-foreground\" size={24} />}\n <Typography asChild variant=\"h5\" weight=\"semibold\">\n <span data-settings-heading=\"\" data-testid=\"settings-item-heading\">\n {label}\n </span>\n </Typography>\n </div>\n <Typography asChild variant=\"body2\">\n <p\n className=\"text-muted-foreground\"\n data-testid=\"settings-item-description\"\n >\n {description}\n </p>\n </Typography>\n </div>\n {children && (\n <div className=\"border-border border-t pt-3\">{children}</div>\n )}\n </LinkElement>\n );\n};\n\nItem.propTypes = {\n /**\n * The label text for the settings item.\n */\n label: PropTypes.string.isRequired,\n /**\n * A description of the settings item.\n */\n description: PropTypes.string,\n /**\n * The icon component to display. Accepts lucide-react icons.\n */\n icon: PropTypes.oneOfType([\n PropTypes.element,\n PropTypes.func,\n PropTypes.object,\n ]),\n /**\n * The internal route path for the settings item link.\n */\n path: PropTypes.string,\n /**\n * The external URL for the settings item link.\n */\n href: PropTypes.string,\n /**\n * A custom data-testid attribute for the link element.\n */\n dataTestid: PropTypes.string,\n /**\n * Additional CSS classes for the link element.\n */\n className: PropTypes.string,\n /**\n * Optional children rendered below the description, separated by a border.\n */\n children: PropTypes.node,\n};\n\nexport default memo(Item);\n","import { Typography } from \"@bigbinary/neeto-atoms\";\nimport classnames from \"classnames\";\nimport { isPresent } from \"neetocist\";\nimport { useBreakpoints } from \"neetocommons/react-utils\";\n\nimport IntegrationItem from \"./IntegrationItem\";\nimport Item from \"./Item\";\n\nconst Category = ({ items, label, id, isIntegration }) => {\n const { isSize } = useBreakpoints();\n const SettingsCard = isIntegration ? IntegrationItem : Item;\n const isMobileOrTablet = isSize(\"mobile\") || isSize(\"tablet\");\n\n const isLabelPresent = isPresent(label);\n\n return (\n <div\n {...{ id }}\n className={classnames(\"flex flex-col\", { \"mb-7\": isLabelPresent })}\n >\n {isLabelPresent && (\n <Typography asChild variant=\"h4\" weight=\"semibold\">\n <h2 className=\"mt-2 mb-6\" data-testid=\"settings-category-heading\">\n {label}\n </h2>\n </Typography>\n )}\n <div\n className={classnames(\n \"grid grid-cols-1 gap-3 py-1 md:grid-cols-2 lg:grid-cols-2 lg:gap-4\",\n {\n \"xl:grid-cols-2 2xl:grid-cols-3\": isIntegration,\n \"xl:grid-cols-3 2xl:grid-cols-4\": !isIntegration,\n }\n )}\n >\n {items.map(item => (\n <SettingsCard\n key={item.label}\n {...item}\n {...(isIntegration && { isMobileOrTablet })}\n />\n ))}\n </div>\n </div>\n );\n};\n\nexport default Category;\n","import { filterBy, isNotEmpty } from \"neetocist\";\n\nconst isTextMatching = (label, searchTerm) =>\n label.toLowerCase().includes(searchTerm.trim().toLowerCase());\n\nexport const scrollIntoSettingCategory = activeCategory => {\n document.getElementById(activeCategory)?.scrollIntoView({\n behavior: \"smooth\",\n });\n};\n\nexport const filterCategories = ({ categories = [], searchTerm = \"\" }) => {\n const isSearchTermBlank = !searchTerm.trim();\n\n const filteredCategories = isSearchTermBlank\n ? categories\n : categories.map(category => ({\n ...category,\n items: filterBy(\n ({ label, description }) =>\n isTextMatching(label, searchTerm) ||\n isTextMatching(description, searchTerm),\n category.items\n ),\n }));\n\n return filterBy({ items: isNotEmpty }, filteredCategories);\n};\n","import { useEffect } from \"react\";\n\nimport classnames from \"classnames\";\nimport useQueryParams from \"neetocommons/react-utils/useQueryParams\";\nimport PropTypes from \"prop-types\";\nimport { isEmpty } from \"ramda\";\nimport { useTranslation } from \"react-i18next\";\n\nimport Category from \"./Category\";\nimport { filterCategories, scrollIntoSettingCategory } from \"./utils\";\n\nimport Header from \"../Header\";\n\nconst Settings = ({\n isTitleHidden = false,\n isSearchHidden = false,\n title,\n headerProps = {},\n categories = [],\n className = \"\",\n}) => {\n const { t } = useTranslation();\n\n const { category: categoryParam, searchTerm = \"\" } = useQueryParams();\n\n const filteredCategories = filterCategories({ categories, searchTerm });\n\n const isHeaderVisible = !isSearchHidden || !isTitleHidden;\n\n const headerTitle = title ?? t(\"neetoMolecules.settingsPage.title\");\n\n useEffect(() => {\n scrollIntoSettingCategory(categoryParam);\n }, [categoryParam]);\n\n return (\n <div\n className={classnames(\n \"flex h-dvh grow flex-col items-start justify-start overflow-y-auto px-5 md:px-10\",\n { \"h-auto overflow-y-auto\": isTitleHidden },\n className\n )}\n >\n {isHeaderVisible && (\n <Header\n className={classnames({ \"min-h-0 pt-8 pb-4\": isTitleHidden })}\n title={!isTitleHidden && headerTitle}\n searchProps={\n isSearchHidden\n ? null\n : {\n className: \"w-72\",\n placeholder: t(\n \"neetoMolecules.settingsPage.placeholder.search\"\n ),\n }\n }\n {...headerProps}\n />\n )}\n {isEmpty(filteredCategories) ? (\n <div\n className=\"flex h-full w-full flex-grow items-center justify-center\"\n data-testid=\"settings-no-data\"\n >\n <div className=\"text-muted-foreground flex flex-col items-center gap-2\">\n <p className=\"text-lg font-medium\">\n {t(\"neetoMolecules.settingsPage.noData\")}\n </p>\n </div>\n </div>\n ) : (\n <div className=\"w-full\">\n {filteredCategories.map(({ id, label, items, isIntegration }) => (\n <Category {...{ id, isIntegration, items, label }} key={id} />\n ))}\n </div>\n )}\n </div>\n );\n};\n\nSettings.propTypes = {\n /**\n * Whether to hide the title or not.\n */\n isTitleHidden: PropTypes.bool,\n /**\n * This can be used to customize the title.\n */\n title: PropTypes.string,\n /**\n * Whether to hide the search bar or not.\n */\n isSearchHidden: PropTypes.bool,\n /**\n * An array of setting categories to be displayed.\n */\n categories: PropTypes.array,\n /**\n * Additional classes to be added to the container.\n */\n className: PropTypes.string,\n /**\n * Props to be passed to the header component.\n */\n headerProps: PropTypes.object,\n};\n\nexport default Settings;\n"],"names":["UNSUPPORTED_LINK_PROPS","IntegrationItem","_ref","_ref$icon","icon","Icon","description","label","path","href","isConnected","_ref$isMobileOrTablet","isMobileOrTablet","_ref$className","className","otherProps","_objectWithoutProperties","_excluded","_useTranslation","useTranslation","t","commonProps","_objectSpread","concat","hyphenate","replace","classnames","omit","LinkElement","Link","linkProps","to","_jsxs","children","_jsx","joinHyphenCase","size","Typography","asChild","variant","weight","Badge","memo","Item","dataTestid","Category","items","id","isIntegration","_useBreakpoints","useBreakpoints","isSize","SettingsCard","isLabelPresent","isPresent","map","item","isTextMatching","searchTerm","toLowerCase","includes","trim","scrollIntoSettingCategory","activeCategory","_document$getElementB","document","getElementById","scrollIntoView","behavior","filterCategories","_ref$categories","categories","_ref$searchTerm","isSearchTermBlank","filteredCategories","category","filterBy","_ref2","isNotEmpty","Settings","_ref$isTitleHidden","isTitleHidden","_ref$isSearchHidden","isSearchHidden","title","_ref$headerProps","headerProps","_useQueryParams","useQueryParams","categoryParam","_useQueryParams$searc","isHeaderVisible","headerTitle","useEffect","Header","searchProps","placeholder","isEmpty","_createElement","key"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAO,IAAMA,sBAAsB,GAAG,CAAC,eAAe,EAAE,QAAQ,CAAC;;;;;ACajE,IAAMC,eAAe,GAAG,SAAlBA,eAAeA,CAAAC,IAAA,EAUf;AAAA,EAAA,IAAAC,SAAA,GAAAD,IAAA,CATJE,IAAI;AAAEC,IAAAA,IAAI,GAAAF,SAAA,KAAA,MAAA,GAAG,IAAI,GAAAA,SAAA;IACjBG,WAAW,GAAAJ,IAAA,CAAXI,WAAW;IACXC,KAAK,GAAAL,IAAA,CAALK,KAAK;IACLC,IAAI,GAAAN,IAAA,CAAJM,IAAI;IACJC,IAAI,GAAAP,IAAA,CAAJO,IAAI;IACJC,WAAW,GAAAR,IAAA,CAAXQ,WAAW;IAAAC,qBAAA,GAAAT,IAAA,CACXU,gBAAgB;AAAhBA,IAAAA,gBAAgB,GAAAD,qBAAA,KAAA,MAAA,GAAG,KAAK,GAAAA,qBAAA;IAAAE,cAAA,GAAAX,IAAA,CACxBY,SAAS;AAATA,IAAAA,SAAS,GAAAD,cAAA,KAAA,MAAA,GAAG,EAAE,GAAAA,cAAA;AACXE,IAAAA,UAAU,GAAAC,wBAAA,CAAAd,IAAA,EAAAe,WAAA,CAAA;AAEb,EAAA,IAAAC,eAAA,GAAcC,cAAc,EAAE;IAAtBC,CAAC,GAAAF,eAAA,CAADE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,CAACnB,GAAG,CAAC,UAAAsB,KAAA,EAAA;AAAA,QAAA,IAAG9B,EAAE,GAAA8B,KAAA,CAAF9B,EAAE;UAAExC,KAAK,GAAAsE,KAAA,CAALtE,KAAK;UAAEuC,KAAK,GAAA+B,KAAA,CAAL/B,KAAK;UAAEE,aAAa,GAAA6B,KAAA,CAAb7B,aAAa;QAAA,oBACxDkD,aAAA,CAACrD,QAAQ,EAAA;AAAOE,UAAAA,EAAE,EAAFA,EAAE;AAAEC,UAAAA,aAAa,EAAbA,aAAa;AAAEF,UAAAA,KAAK,EAALA,KAAK;AAAEvC,UAAAA,KAAK,EAALA,KAAK;AAAI4F,UAAAA,GAAG,EAAEpD;AAAG,SAAE,CAAC;MAAA,CAC/D;AAAC,KACC,CACN;AAAA,GACE,CAAC;AAEV;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-molecules",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.64",
|
|
4
4
|
"description": "A package of reusable molecular components for neeto products.",
|
|
5
5
|
"repository": "git@github.com:bigbinary/neeto-molecules.git",
|
|
6
6
|
"author": "Amaljith K <amaljith.k@bigbinary.com>",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@babel/runtime": "7.26.10",
|
|
59
59
|
"@bigbinary/babel-preset-neeto": "^1.0.14",
|
|
60
60
|
"@bigbinary/eslint-plugin-neeto": "1.9.0",
|
|
61
|
-
"@bigbinary/neeto-atoms": "1.0.
|
|
61
|
+
"@bigbinary/neeto-atoms": "1.0.20",
|
|
62
62
|
"@bigbinary/neeto-audit-frontend": "2.4.3",
|
|
63
63
|
"@bigbinary/neeto-cist": "1.0.17",
|
|
64
64
|
"@bigbinary/neeto-commons-frontend": "4.13.120",
|
|
@@ -235,7 +235,7 @@
|
|
|
235
235
|
"peerDependencies": {
|
|
236
236
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
237
237
|
"@babel/runtime": "7.26.0",
|
|
238
|
-
"@bigbinary/neeto-atoms": "1.0.
|
|
238
|
+
"@bigbinary/neeto-atoms": "1.0.20",
|
|
239
239
|
"@bigbinary/neeto-cist": "1.0.17",
|
|
240
240
|
"@bigbinary/neeto-commons-frontend": "4.13.120",
|
|
241
241
|
"@bigbinary/neeto-editor": "1.47.99",
|
package/src/translations/ar.json
CHANGED
|
@@ -244,9 +244,9 @@
|
|
|
244
244
|
"installNeetoUI": "<div>تحتاج إلى تثبيت الإصدار @bigbinary/neetoui ^3.5.11 لاستخدام نموذج تسجيل الدخول.<br />تشغيل الأمر:<br /><code>yarn add @bigbinary/neetoui@^3.5.11</code></div>"
|
|
245
245
|
},
|
|
246
246
|
"errorPage": {
|
|
247
|
-
"cantBeFound": "الصفحة التي تبحث عنها
|
|
248
|
-
"unauthorized": "ليس لديك إذن
|
|
249
|
-
"internalServerError": "واجه الخادم خطأ
|
|
247
|
+
"cantBeFound": "الصفحة التي تبحث عنها مفقودة.",
|
|
248
|
+
"unauthorized": "ليس لديك إذن للوصول إلى هذه الصفحة.",
|
|
249
|
+
"internalServerError": "واجه الخادم خطأ ولم يتمكن من إكمال طلبك.",
|
|
250
250
|
"backToHome": "العودة إلى الصفحة الرئيسية",
|
|
251
251
|
"contactUs": "إذا استمرت المشكلة، يرجى <button>الاتصال بنا</button>.",
|
|
252
252
|
"title": {
|
package/src/translations/bg.json
CHANGED
|
@@ -958,9 +958,9 @@
|
|
|
958
958
|
"installNeetoUI": "<div>Трябва да имате инсталирана версия ^3.5.11 на @bigbinary/neetoui, за да използвате формата за вход.<br />Изпълнете командата:<br /><code>yarn add @bigbinary/neetoui@^3.5.11</code></div>"
|
|
959
959
|
},
|
|
960
960
|
"errorPage": {
|
|
961
|
-
"cantBeFound": "Страницата, която търсите,
|
|
962
|
-
"unauthorized": "Нямате
|
|
963
|
-
"internalServerError": "Сървърът
|
|
961
|
+
"cantBeFound": "Страницата, която търсите, липсва.",
|
|
962
|
+
"unauthorized": "Нямате права да достъпите тази страница.",
|
|
963
|
+
"internalServerError": "Сървърът срещна грешка и не можа да завърши вашето искане.",
|
|
964
964
|
"backToHome": "Назад към началната страница",
|
|
965
965
|
"contactUs": "Ако проблемът продължава, моля <button>свържете се с нас</button>.",
|
|
966
966
|
"title": {
|
package/src/translations/ca.json
CHANGED
|
@@ -244,9 +244,9 @@
|
|
|
244
244
|
"installNeetoUI": "<div>Necessites tenir instal·lat @bigbinary/neetoui versió ^3.5.11 per utilitzar el formulari d'inici de sessió.<br />Executa la comanda:<br /><code>yarn add @bigbinary/neetoui@^3.5.11</code></div>"
|
|
245
245
|
},
|
|
246
246
|
"errorPage": {
|
|
247
|
-
"cantBeFound": "La pàgina que
|
|
248
|
-
"unauthorized": "No tens permisos
|
|
249
|
-
"internalServerError": "El servidor ha trobat un error i
|
|
247
|
+
"cantBeFound": "La pàgina que busques no existeix.",
|
|
248
|
+
"unauthorized": "No tens permisos per accedir a aquesta pàgina.",
|
|
249
|
+
"internalServerError": "El servidor ha trobat un error i no ha pogut completar la teva sol·licitud.",
|
|
250
250
|
"backToHome": "Tornar a casa",
|
|
251
251
|
"contactUs": "Si el problema persisteix se si us plau <button>contacta amb nosaltres</button>.",
|
|
252
252
|
"title": {
|
package/src/translations/cs.json
CHANGED
|
@@ -244,9 +244,9 @@
|
|
|
244
244
|
"installNeetoUI": "<div>Musíte mít nainstalovanou verzi @bigbinary/neetoui ^3.5.11, abyste mohli používat přihlašovací formulář.<br />Spusťte příkaz:<br /><code>yarn add @bigbinary/neetoui@^3.5.11</code></div>"
|
|
245
245
|
},
|
|
246
246
|
"errorPage": {
|
|
247
|
-
"cantBeFound": "Stránka, kterou hledáte
|
|
248
|
-
"unauthorized": "Nemáte oprávnění
|
|
249
|
-
"internalServerError": "Server narazil na chybu a
|
|
247
|
+
"cantBeFound": "Stránka, kterou hledáte, chybí.",
|
|
248
|
+
"unauthorized": "Nemáte oprávnění k přístupu na tuto stránku.",
|
|
249
|
+
"internalServerError": "Server narazil na chybu a nemohl dokončit vaši žádost.",
|
|
250
250
|
"backToHome": "Zpět na domovskou stránku",
|
|
251
251
|
"contactUs": "Pokud problém přetrvává, prosím <button>kontaktujte nás</button>.",
|
|
252
252
|
"title": {
|
package/src/translations/da.json
CHANGED
|
@@ -244,9 +244,9 @@
|
|
|
244
244
|
"installNeetoUI": "<div>Du skal have @bigbinary/neetoui version ^3.5.11 installeret for at bruge loginformularen.<br />Kør kommandoen:<br /><code>yarn add @bigbinary/neetoui@^3.5.11</code></div>"
|
|
245
245
|
},
|
|
246
246
|
"errorPage": {
|
|
247
|
-
"cantBeFound": "
|
|
248
|
-
"unauthorized": "Du har ikke tilladelse
|
|
249
|
-
"internalServerError": "Serveren stødte på en fejl og
|
|
247
|
+
"cantBeFound": "Siden, du leder efter, mangler.",
|
|
248
|
+
"unauthorized": "Du har ikke tilladelse til at få adgang til denne side.",
|
|
249
|
+
"internalServerError": "Serveren stødte på en fejl og kunne ikke fuldføre din anmodning.",
|
|
250
250
|
"backToHome": "Tilbage til startsiden",
|
|
251
251
|
"contactUs": "Hvis problemet fortsætter, bedes du <button>kontakte os</button>.",
|
|
252
252
|
"title": {
|
package/src/translations/de.json
CHANGED
|
@@ -87,9 +87,9 @@
|
|
|
87
87
|
"installNeetoUI": "<div>Sie müssen @bigbinary/neetoui Version ^3.5.11 installiert haben, um das Anmeldeformular zu verwenden.<br />Führen Sie den Befehl aus:<br /><code>yarn add @bigbinary/neetoui@^3.5.11</code></div>"
|
|
88
88
|
},
|
|
89
89
|
"errorPage": {
|
|
90
|
-
"cantBeFound": "Die Seite,
|
|
91
|
-
"unauthorized": "Sie haben keine
|
|
92
|
-
"internalServerError": "Der Server
|
|
90
|
+
"cantBeFound": "Die Seite, die Sie suchen, ist nicht vorhanden.",
|
|
91
|
+
"unauthorized": "Sie haben keine Berechtigung, auf diese Seite zuzugreifen.",
|
|
92
|
+
"internalServerError": "Der Server ist auf einen Fehler gestoßen und konnte Ihre Anfrage nicht abschließen.",
|
|
93
93
|
"backToHome": "Zurück zur Startseite",
|
|
94
94
|
"contactUs": "Wenn das Problem weiterhin besteht, <button>kontaktieren Sie uns</button>.",
|
|
95
95
|
"title": {
|
package/src/translations/en.json
CHANGED
|
@@ -92,9 +92,9 @@
|
|
|
92
92
|
"installNeetoUI": "<div>You need to have @bigbinary/neetoui version ^3.5.11 installed to use the login form.<br />Run the command:<br /><code>yarn add @bigbinary/neetoui@^3.5.11</code></div>"
|
|
93
93
|
},
|
|
94
94
|
"errorPage": {
|
|
95
|
-
"cantBeFound": "The page you're looking
|
|
96
|
-
"unauthorized": "You don't have permissions
|
|
97
|
-
"internalServerError": "The server encountered an error and
|
|
95
|
+
"cantBeFound": "The page you're looking for is missing.",
|
|
96
|
+
"unauthorized": "You don't have permissions to access this page.",
|
|
97
|
+
"internalServerError": "The server encountered an error and could not complete your request.",
|
|
98
98
|
"backToHome": "Back to home",
|
|
99
99
|
"contactUs": "If the problem persists please <button>contact us</button>.",
|
|
100
100
|
"title": {
|
|
@@ -244,9 +244,9 @@
|
|
|
244
244
|
"installNeetoUI": "<div>Necesitas tener instalada la versión @bigbinary/neetoui ^3.5.11 para usar el formulario de inicio de sesión.<br />Ejecuta el comando:<br /><code>yarn add @bigbinary/neetoui@^3.5.11</code></div>"
|
|
245
245
|
},
|
|
246
246
|
"errorPage": {
|
|
247
|
-
"cantBeFound": "La página que
|
|
248
|
-
"unauthorized": "No tienes permisos
|
|
249
|
-
"internalServerError": "El servidor encontró un error y
|
|
247
|
+
"cantBeFound": "La página que buscas está perdida.",
|
|
248
|
+
"unauthorized": "No tienes permisos para acceder a esta página.",
|
|
249
|
+
"internalServerError": "El servidor encontró un error y no pudo completar tu solicitud.",
|
|
250
250
|
"backToHome": "Regresar a inicio",
|
|
251
251
|
"contactUs": "Si el problema persiste, por favor <button>contacta con nosotros</button>.",
|
|
252
252
|
"title": {
|
package/src/translations/es.json
CHANGED
|
@@ -87,9 +87,9 @@
|
|
|
87
87
|
"installNeetoUI": "<div>Necesita tener instalada la versión @bigbinary/neetoui ^3.5.11 para utilizar el formulario de inicio de sesión.<br />Ejecute el comando:<br /><code>yarn add @bigbinary/neetoui@^3.5.11</code></div>"
|
|
88
88
|
},
|
|
89
89
|
"errorPage": {
|
|
90
|
-
"cantBeFound": "La página que estás buscando
|
|
91
|
-
"unauthorized": "No tienes permisos
|
|
92
|
-
"internalServerError": "El servidor encontró un error y
|
|
90
|
+
"cantBeFound": "La página que estás buscando no existe.",
|
|
91
|
+
"unauthorized": "No tienes permisos para acceder a esta página.",
|
|
92
|
+
"internalServerError": "El servidor encontró un error y no pudo completar tu solicitud.",
|
|
93
93
|
"backToHome": "Volver a inicio",
|
|
94
94
|
"contactUs": "Si el problema persiste, por favor <button>contáctanos</button>.",
|
|
95
95
|
"title": {
|
package/src/translations/et.json
CHANGED
|
@@ -244,9 +244,9 @@
|
|
|
244
244
|
"installNeetoUI": "<div>Peate installima @bigbinary/neetoui versiooni ^3.5.11, et kasutada sisselogimise vormi.<br />Käivita käsk:<br /><code>yarn add @bigbinary/neetoui@^3.5.11</code></div>"
|
|
245
245
|
},
|
|
246
246
|
"errorPage": {
|
|
247
|
-
"cantBeFound": "Otsitav leht
|
|
248
|
-
"unauthorized": "Teil
|
|
249
|
-
"internalServerError": "
|
|
247
|
+
"cantBeFound": "Otsitav leht ei ole olemas.",
|
|
248
|
+
"unauthorized": "Teil ei ole õigusi sellele lehele juurde pääseda.",
|
|
249
|
+
"internalServerError": "Server kohtas viga ja ei suutnud teie päringut täita.",
|
|
250
250
|
"backToHome": "Tagasi avalehele",
|
|
251
251
|
"contactUs": "Kui probleem püsib, palun <button>võtke meiega ühendust</button>.",
|
|
252
252
|
"title": {
|
|
@@ -989,4 +989,4 @@
|
|
|
989
989
|
"cancel": "Tühista"
|
|
990
990
|
}
|
|
991
991
|
}
|
|
992
|
-
}
|
|
992
|
+
}
|
package/src/translations/fi.json
CHANGED
|
@@ -244,9 +244,9 @@
|
|
|
244
244
|
"installNeetoUI": "<div>Tarvitset @bigbinary/neetoui version ^3.5.11 asennettuna käyttääksesi kirjautumislomaketta.<br />Suorita komento:<br /><code>yarn add @bigbinary/neetoui@^3.5.11</code></div>"
|
|
245
245
|
},
|
|
246
246
|
"errorPage": {
|
|
247
|
-
"cantBeFound": "
|
|
248
|
-
"unauthorized": "Sinulla ei ole oikeuksia
|
|
249
|
-
"internalServerError": "Palvelimella tapahtui virhe
|
|
247
|
+
"cantBeFound": "Etsimääsi sivua ei löydy.",
|
|
248
|
+
"unauthorized": "Sinulla ei ole oikeuksia käyttää tätä sivua.",
|
|
249
|
+
"internalServerError": "Palvelimella tapahtui virhe, eikä pyyntöä voitu suorittaa.",
|
|
250
250
|
"backToHome": "Takaisin kotisivulle",
|
|
251
251
|
"contactUs": "Jos ongelma jatkuu, ole hyvä ja <button>ota yhteyttä meihin</button>.",
|
|
252
252
|
"title": {
|
|
@@ -989,4 +989,4 @@
|
|
|
989
989
|
"cancel": "Peruuta"
|
|
990
990
|
}
|
|
991
991
|
}
|
|
992
|
-
}
|
|
992
|
+
}
|
|
@@ -244,9 +244,9 @@
|
|
|
244
244
|
"installNeetoUI": "<div>Kailangan mong i-install ang @bigbinary/neetoui version ^3.5.11 upang magamit ang form ng login.<br />Patakbuhin ang utos:<br /><code>yarn add @bigbinary/neetoui@^3.5.11</code></div>"
|
|
245
245
|
},
|
|
246
246
|
"errorPage": {
|
|
247
|
-
"cantBeFound": "Ang
|
|
248
|
-
"unauthorized": "Wala kang pahintulot
|
|
249
|
-
"internalServerError": "Nakaranas ng error ang server at
|
|
247
|
+
"cantBeFound": "Ang pahinang hinahanap mo ay nawawala.",
|
|
248
|
+
"unauthorized": "Wala kang pahintulot na ma-access ang pahinang ito.",
|
|
249
|
+
"internalServerError": "Nakaranas ng error ang server at hindi nito natapos ang iyong kahilingan.",
|
|
250
250
|
"backToHome": "Bumalik sa bahay",
|
|
251
251
|
"contactUs": "Kung magpapatuloy ang problema mangyaring <button>makipag-ugnayan sa amin</button>.",
|
|
252
252
|
"title": {
|
package/src/translations/fr.json
CHANGED
|
@@ -87,9 +87,9 @@
|
|
|
87
87
|
"installNeetoUI": "<div>Vous devez avoir @bigbinary/neetoui version ^3.5.11 installée pour utiliser le formulaire de connexion.<br />Exécutez la commande :<br /><code>yarn add @bigbinary/neetoui@^3.5.11</code></div>"
|
|
88
88
|
},
|
|
89
89
|
"errorPage": {
|
|
90
|
-
"cantBeFound": "La page que vous recherchez
|
|
91
|
-
"unauthorized": "Vous n'avez pas les
|
|
92
|
-
"internalServerError": "Le serveur a rencontré une erreur et
|
|
90
|
+
"cantBeFound": "La page que vous recherchez est manquante.",
|
|
91
|
+
"unauthorized": "Vous n'avez pas les autorisations pour accéder à cette page.",
|
|
92
|
+
"internalServerError": "Le serveur a rencontré une erreur et n'a pas pu traiter votre demande.",
|
|
93
93
|
"backToHome": "Retour à l'accueil",
|
|
94
94
|
"contactUs": "Si le problème persiste, veuillez <button>contacter notre support</button>.",
|
|
95
95
|
"title": {
|
package/src/translations/he.json
CHANGED
|
@@ -93,9 +93,9 @@
|
|
|
93
93
|
"installNeetoUI": "<div>אתה צריך להתקין את @bigbinary/neetoui גרסה ^3.5.11 כדי להשתמש בצורה להתחברות.<br />הרץ את הפקודה:<br /><code>yarn add @bigbinary/neetoui@^3.5.11</code></div>"
|
|
94
94
|
},
|
|
95
95
|
"errorPage": {
|
|
96
|
-
"cantBeFound": "
|
|
97
|
-
"unauthorized": "אין לך הרשאות
|
|
98
|
-
"internalServerError": "השרת נתקל בשגיאה
|
|
96
|
+
"cantBeFound": "העמוד שאתה מחפש חסר.",
|
|
97
|
+
"unauthorized": "אין לך הרשאות לגשת לעמוד הזה.",
|
|
98
|
+
"internalServerError": "השרת נתקל בשגיאה ולא הצליח להשלים את הבקשה שלך.",
|
|
99
99
|
"backToHome": "חזרה הביתה",
|
|
100
100
|
"contactUs": "אם הבעיה נמשכת, אנא <button>צור איתנו קשר</button>.",
|
|
101
101
|
"title": {
|
package/src/translations/hi.json
CHANGED
|
@@ -733,9 +733,9 @@
|
|
|
733
733
|
"installNeetoUI": "<div>आपको लॉगिन फॉर्म का उपयोग करने के लिए @bigbinary/neetoui संस्करण ^3.5.11 स्थापित करना होगा।<br />कमांड चलाएँ:<br /><code>yarn add @bigbinary/neetoui@^3.5.11</code></div>"
|
|
734
734
|
},
|
|
735
735
|
"errorPage": {
|
|
736
|
-
"cantBeFound": "आप जिस पृष्ठ
|
|
737
|
-
"unauthorized": "आपके पास इस पृष्ठ तक
|
|
738
|
-
"internalServerError": "सर्वर
|
|
736
|
+
"cantBeFound": "आप जिस पृष्ठ की तलाश कर रहे हैं, वह गायब है।",
|
|
737
|
+
"unauthorized": "आपके पास इस पृष्ठ तक पहुँचने की अनुमति नहीं है।",
|
|
738
|
+
"internalServerError": "सर्वर में एक त्रुटि आई और आपकी अनुरोध को पूरा नहीं कर सका।",
|
|
739
739
|
"backToHome": "घर पर वापस जाएं",
|
|
740
740
|
"contactUs": "यदि समस्या बनी रहती है, तो कृपया <button>हमसे संपर्क करें</button>।",
|
|
741
741
|
"title": {
|
|
@@ -976,4 +976,4 @@
|
|
|
976
976
|
"plural": "फॉर्म"
|
|
977
977
|
}
|
|
978
978
|
}
|
|
979
|
-
}
|
|
979
|
+
}
|
package/src/translations/hr.json
CHANGED
|
@@ -244,9 +244,9 @@
|
|
|
244
244
|
"installNeetoUI": "<div>Morate imati @bigbinary/neetoui verziju ^3.5.11 instaliranu za korištenje prijavnog obrasca.<br />Pokrenite naredbu:<br /><code>yarn add @bigbinary/neetoui@^3.5.11</code></div>"
|
|
245
245
|
},
|
|
246
246
|
"errorPage": {
|
|
247
|
-
"cantBeFound": "Stranica koju tražite
|
|
248
|
-
"unauthorized": "Nemate
|
|
249
|
-
"internalServerError": "Poslužitelj je naišao na
|
|
247
|
+
"cantBeFound": "Stranica koju tražite ne postoji.",
|
|
248
|
+
"unauthorized": "Nemate dozvolu za pristup ovoj stranici.",
|
|
249
|
+
"internalServerError": "Poslužitelj je naišao na grešku i nije mogao dovršiti vaš zahtjev.",
|
|
250
250
|
"backToHome": "Povratak na početnu stranicu",
|
|
251
251
|
"contactUs": "Ako problem i dalje postoji, molimo <button>kontaktirajte nas</button>.",
|
|
252
252
|
"title": {
|
package/src/translations/hu.json
CHANGED
|
@@ -92,9 +92,9 @@
|
|
|
92
92
|
"installNeetoUI": "<div>Telepítened kell a @bigbinary/neetoui ^3.5.11 verzióját a bejelentkezési űrlap használatához.<br />Futtasd a parancsot:<br /><code>yarn add @bigbinary/neetoui@^3.5.11</code></div>"
|
|
93
93
|
},
|
|
94
94
|
"errorPage": {
|
|
95
|
-
"cantBeFound": "A keresett oldal
|
|
96
|
-
"unauthorized": "Nincsenek
|
|
97
|
-
"internalServerError": "A szerver hibát észlelt és
|
|
95
|
+
"cantBeFound": "A keresett oldal hiányzik.",
|
|
96
|
+
"unauthorized": "Nincsenek jogosultságai ennek az oldalnak a megtekintésére.",
|
|
97
|
+
"internalServerError": "A szerver hibát észlelt, és nem tudta teljesíteni a kérését.",
|
|
98
98
|
"backToHome": "Vissza a főoldalra",
|
|
99
99
|
"contactUs": "Ha a probléma továbbra is fennáll, kérlek <button>érj el minket</button>.",
|
|
100
100
|
"title": {
|
|
@@ -972,4 +972,4 @@
|
|
|
972
972
|
"cancel": "Mégse"
|
|
973
973
|
}
|
|
974
974
|
}
|
|
975
|
-
}
|
|
975
|
+
}
|
package/src/translations/id.json
CHANGED
|
@@ -244,9 +244,9 @@
|
|
|
244
244
|
"installNeetoUI": "<div>Anda perlu menginstal @bigbinary/neetoui versi ^3.5.11 untuk menggunakan formulir masuk.<br />Jalankan perintah:<br /><code>yarn add @bigbinary/neetoui@^3.5.11</code></div>"
|
|
245
245
|
},
|
|
246
246
|
"errorPage": {
|
|
247
|
-
"cantBeFound": "Halaman yang Anda cari
|
|
248
|
-
"unauthorized": "Anda tidak memiliki izin
|
|
249
|
-
"internalServerError": "Server mengalami kesalahan dan
|
|
247
|
+
"cantBeFound": "Halaman yang Anda cari tidak ditemukan.",
|
|
248
|
+
"unauthorized": "Anda tidak memiliki izin untuk mengakses halaman ini.",
|
|
249
|
+
"internalServerError": "Server mengalami kesalahan dan tidak dapat menyelesaikan permintaan Anda.",
|
|
250
250
|
"backToHome": "Kembali ke beranda",
|
|
251
251
|
"contactUs": "Jika masalah berlanjut, silakan <button>hubungi kami</button>.",
|
|
252
252
|
"title": {
|
package/src/translations/it.json
CHANGED
|
@@ -244,9 +244,9 @@
|
|
|
244
244
|
"installNeetoUI": "<div>È necessario avere la versione @bigbinary/neetoui ^3.5.11 installata per utilizzare il modulo di accesso.<br />Esegui il comando:<br /><code>yarn add @bigbinary/neetoui@^3.5.11</code></div>"
|
|
245
245
|
},
|
|
246
246
|
"errorPage": {
|
|
247
|
-
"cantBeFound": "La pagina che stai cercando
|
|
248
|
-
"unauthorized": "Non hai permessi
|
|
249
|
-
"internalServerError": "Il server ha
|
|
247
|
+
"cantBeFound": "La pagina che stai cercando è mancante.",
|
|
248
|
+
"unauthorized": "Non hai i permessi per accedere a questa pagina.",
|
|
249
|
+
"internalServerError": "Il server ha riscontrato un errore e non è riuscito a completare la tua richiesta.",
|
|
250
250
|
"backToHome": "Torna alla home",
|
|
251
251
|
"contactUs": "Se il problema persiste, per favore <button>contattaci</button>.",
|
|
252
252
|
"title": {
|
package/src/translations/ja.json
CHANGED
|
@@ -244,9 +244,9 @@
|
|
|
244
244
|
"installNeetoUI": "<div>ログインフォームを使用するには、@bigbinary/neetouiバージョン^3.5.11をインストールする必要があります。<br />このコマンドを実行してください:<br /><code>yarn add @bigbinary/neetoui@^3.5.11</code></div>"
|
|
245
245
|
},
|
|
246
246
|
"errorPage": {
|
|
247
|
-
"cantBeFound": "
|
|
248
|
-
"unauthorized": "
|
|
249
|
-
"internalServerError": "
|
|
247
|
+
"cantBeFound": "お探しのページはありません。",
|
|
248
|
+
"unauthorized": "このページにアクセスする権限がありません。",
|
|
249
|
+
"internalServerError": "サーバーでエラーが発生し、リクエストを完了できませんでした。",
|
|
250
250
|
"backToHome": "ホームに戻る",
|
|
251
251
|
"contactUs": "問題が解決しない場合は、<button>お問い合わせください</button>。",
|
|
252
252
|
"title": {
|
|
@@ -989,4 +989,4 @@
|
|
|
989
989
|
"cancel": "キャンセル"
|
|
990
990
|
}
|
|
991
991
|
}
|
|
992
|
-
}
|
|
992
|
+
}
|
package/src/translations/ko.json
CHANGED
|
@@ -244,9 +244,9 @@
|
|
|
244
244
|
"installNeetoUI": "<div>로그인 양식을 사용하려면 @bigbinary/neetoui 버전 ^3.5.11이 설치되어 있어야 합니다.<br />다음 명령을 실행하세요:<br /><code>yarn add @bigbinary/neetoui@^3.5.11</code></div>"
|
|
245
245
|
},
|
|
246
246
|
"errorPage": {
|
|
247
|
-
"cantBeFound": "찾고 있는 페이지가
|
|
248
|
-
"unauthorized": "이 페이지에 접근할 권한이
|
|
249
|
-
"internalServerError": "서버에서 오류가 발생하여
|
|
247
|
+
"cantBeFound": "찾고 있는 페이지가 없습니다.",
|
|
248
|
+
"unauthorized": "이 페이지에 접근할 권한이 없습니다.",
|
|
249
|
+
"internalServerError": "서버에서 오류가 발생하여 요청을 완료할 수 없습니다.",
|
|
250
250
|
"backToHome": "홈으로 돌아가기",
|
|
251
251
|
"contactUs": "문제가 지속되면 <button>문의해주세요</button>.",
|
|
252
252
|
"title": {
|
|
@@ -989,4 +989,4 @@
|
|
|
989
989
|
"cancel": "취소"
|
|
990
990
|
}
|
|
991
991
|
}
|
|
992
|
-
}
|
|
992
|
+
}
|
package/src/translations/nl.json
CHANGED
|
@@ -87,9 +87,9 @@
|
|
|
87
87
|
"installNeetoUI": "<div>U moet @bigbinary/neetoui versie ^3.5.11 hebben geïnstalleerd om het inlogformulier te gebruiken.<br />Voer de opdracht uit:<br /><code>yarn add @bigbinary/neetoui@^3.5.11</code></div>"
|
|
88
88
|
},
|
|
89
89
|
"errorPage": {
|
|
90
|
-
"cantBeFound": "De pagina
|
|
91
|
-
"unauthorized": "
|
|
92
|
-
"internalServerError": "De server heeft een fout
|
|
90
|
+
"cantBeFound": "De pagina die je zoekt is ontbreekt.",
|
|
91
|
+
"unauthorized": "Je hebt geen toestemming om deze pagina te openen.",
|
|
92
|
+
"internalServerError": "De server heeft een fout aangetroffen en kon je verzoek niet voltooien.",
|
|
93
93
|
"backToHome": "Terug naar de startpagina",
|
|
94
94
|
"contactUs": "Als het probleem aanhoudt, neem dan <button>contact met ons op</button>.",
|
|
95
95
|
"title": {
|
package/src/translations/pl.json
CHANGED
|
@@ -87,9 +87,9 @@
|
|
|
87
87
|
"installNeetoUI": "<div>Musisz mieć zainstalowaną wersję @bigbinary/neetoui ^3.5.11, aby korzystać z formularza logowania.<br />Uruchom komendę:<br />yarn add @bigbinary/neetoui@^3.5.11</div>"
|
|
88
88
|
},
|
|
89
89
|
"errorPage": {
|
|
90
|
-
"cantBeFound": "Strona, której szukasz
|
|
91
|
-
"unauthorized": "Nie masz uprawnień
|
|
92
|
-
"internalServerError": "Serwer napotkał błąd i
|
|
90
|
+
"cantBeFound": "Strona, której szukasz, jest niedostępna.",
|
|
91
|
+
"unauthorized": "Nie masz uprawnień do dostępu do tej strony.",
|
|
92
|
+
"internalServerError": "Serwer napotkał błąd i nie mógł zrealizować Twojej prośby.",
|
|
93
93
|
"backToHome": "Powrót do strony głównej",
|
|
94
94
|
"contactUs": "Jeśli problem będzie się powtarzał, proszę <button>kontaktować się z nami</button>.",
|
|
95
95
|
"title": {
|
|
@@ -244,9 +244,9 @@
|
|
|
244
244
|
"installNeetoUI": "<div>Você precisa ter a versão @bigbinary/neetoui ^3.5.11 instalada para usar o formulário de login.<br />Execute o comando:<br /><code>yarn add @bigbinary/neetoui@^3.5.11</code></div>"
|
|
245
245
|
},
|
|
246
246
|
"errorPage": {
|
|
247
|
-
"cantBeFound": "A página que você está procurando
|
|
248
|
-
"unauthorized": "Você não tem permissão
|
|
249
|
-
"internalServerError": "O servidor encontrou um erro e
|
|
247
|
+
"cantBeFound": "A página que você está procurando está ausente.",
|
|
248
|
+
"unauthorized": "Você não tem permissão para acessar esta página.",
|
|
249
|
+
"internalServerError": "O servidor encontrou um erro e não conseguiu completar sua solicitação.",
|
|
250
250
|
"backToHome": "Voltar para a página inicial",
|
|
251
251
|
"contactUs": "Se o problema persistir, por favor <button>entre em contato conosco</button>.",
|
|
252
252
|
"title": {
|
package/src/translations/pt.json
CHANGED
|
@@ -87,9 +87,9 @@
|
|
|
87
87
|
"installNeetoUI": "<div>Você precisa ter a versão @bigbinary/neetoui ^3.5.11 instalada para usar o formulário de login.<br />Execute o comando:<br /><code>yarn add @bigbinary/neetoui@^3.5.11</code></div>"
|
|
88
88
|
},
|
|
89
89
|
"errorPage": {
|
|
90
|
-
"cantBeFound": "A página que você está procurando
|
|
91
|
-
"unauthorized": "Você não tem
|
|
92
|
-
"internalServerError": "O servidor encontrou um erro e
|
|
90
|
+
"cantBeFound": "A página que você está procurando está ausente.",
|
|
91
|
+
"unauthorized": "Você não tem permissões para acessar esta página.",
|
|
92
|
+
"internalServerError": "O servidor encontrou um erro e não pôde completar seu pedido.",
|
|
93
93
|
"backToHome": "Voltar para a página inicial",
|
|
94
94
|
"contactUs": "Se o problema persistir, por favor <button>entre em contato conosco</button>.",
|
|
95
95
|
"title": {
|
package/src/translations/ro.json
CHANGED
|
@@ -244,9 +244,9 @@
|
|
|
244
244
|
"installNeetoUI": "<div>Trebuie să aveți @bigbinary/neetoui versiunea ^3.5.11 instalată pentru a folosi formularul de conectare.<br />Rulați comanda:<br /><code>yarn add @bigbinary/neetoui@^3.5.11</code></div>"
|
|
245
245
|
},
|
|
246
246
|
"errorPage": {
|
|
247
|
-
"cantBeFound": "Pagina pe care o căutați
|
|
248
|
-
"unauthorized": "Nu aveți
|
|
249
|
-
"internalServerError": "Serverul a întâmpinat o eroare și
|
|
247
|
+
"cantBeFound": "Pagina pe care o căutați lipsește.",
|
|
248
|
+
"unauthorized": "Nu aveți permisiunea de a accesa această pagină.",
|
|
249
|
+
"internalServerError": "Serverul a întâmpinat o eroare și nu a putut finaliza cererea dumneavoastră.",
|
|
250
250
|
"backToHome": "Înapoi la acasă",
|
|
251
251
|
"contactUs": "Dacă problema persistă, vă rugăm să <button>contactați-ne</button>.",
|
|
252
252
|
"title": {
|
package/src/translations/ru.json
CHANGED
|
@@ -238,9 +238,9 @@
|
|
|
238
238
|
"installNeetoUI": "<div>Вам необходимо установить @bigbinary/neetoui версии ^3.5.11, чтобы использовать форму входа.<br />Выполните команду:<br /><code>yarn add @bigbinary/neetoui@^3.5.11</code></div>"
|
|
239
239
|
},
|
|
240
240
|
"errorPage": {
|
|
241
|
-
"cantBeFound": "Страница, которую вы
|
|
242
|
-
"unauthorized": "У вас нет
|
|
243
|
-
"internalServerError": "Сервер столкнулся с ошибкой и
|
|
241
|
+
"cantBeFound": "Страница, которую вы ищете, отсутствует.",
|
|
242
|
+
"unauthorized": "У вас нет прав для доступа к этой странице.",
|
|
243
|
+
"internalServerError": "Сервер столкнулся с ошибкой и не смог завершить ваш запрос.",
|
|
244
244
|
"backToHome": "Назад на главную",
|
|
245
245
|
"contactUs": "Если проблема не исчезнет, пожалуйста, <button>свяжитесь с нами</button>.",
|
|
246
246
|
"title": {
|