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AAoB,CACtC,cAAe,WACf,eAAgB,QAExB","file":"/npm/cx-theme-material@26.3.1/build/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/cx-theme-material@26.3.1/build/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\n/** @jsxImportSource react */\nimport { Localization } from \"cx/ui\";\nimport { Icon } from \"cx/widgets\";\nimport { VDOM } from \"cx/ui\";\nexport function applyThemeOverrides() {\n    Localization.override(\"cx/widgets/Dropdown\", {\n        arrow: false,\n        offset: 0,\n        elementExplode: 0,\n    });\n    Localization.override(\"cx/widgets/Window\", {\n        animate: true,\n        destroyDelay: 200,\n    });\n    Localization.override(\"cx/widgets/MenuItem\", {\n        dropdownOptions: {\n            pad: false,\n        },\n    });\n    // enable wrapper focus tracking so appropriate css class can be applied to it\n    Localization.override(\"cx/widgets/Field\", {\n        trackFocus: true,\n    });\n    // set all MsgBox buttons to flat-primary\n    Localization.override(\"cx/widgets/MsgBox\", {\n        buttonMod: \"flat-primary\",\n        footerDirection: \"row-reverse\",\n        footerJustify: \"start\",\n    });\n    // show all borders on all grids\n    Localization.override(\"cx/widgets/Grid\", {\n        showBorder: true,\n    });\n    // material icons added\n    Icon.registerFactory((name, props) => {\n        return VDOM.createElement(\"i\", {\n            ...props,\n            className: \"material-icons \" + (props.className || \"\"),\n        }, name);\n    });\n    Icon.unregister(\"close\");\n    Icon.unregister(\"folder\");\n    Icon.register(\"calendar\", (props) => Icon.render(\"date_range\", props));\n    Icon.register(\"drop-down\", (props) => Icon.render(\"keyboard_arrow_down\", props));\n    Icon.register(\"sort-asc\", (props) => Icon.render(\"arrow_upward\", props));\n    Icon.register(\"folder-open\", (props) => Icon.render(\"folder_open\", props));\n    Icon.register(\"file\", (props) => Icon.render(\"insert_drive_file\", props));\n    Icon.register(\"forward\", (props) => {\n        return (_jsxs(\"svg\", { ...props, viewBox: \"0 0 24 24\", children: [_jsx(\"path\", { fill: \"currentColor\", strokeWidth: \"0\", stroke: \"currentColor\", d: \"M11.59 16.34l4.58-4.59-4.58-4.59L13 5.75l6 6-6 6z\" }), _jsx(\"path\", { fill: \"currentColor\", strokeWidth: \"0\", stroke: \"currentColor\", d: \"M4.59 16.34l4.58-4.59-4.58-4.59L6 5.75l6 6-6 6z\" })] }));\n    });\n}\napplyThemeOverrides();\nexport function enableMaterialLabelPlacement() {\n    Localization.override(\"cx/widgets/Field\", {\n        labelPlacement: \"material\",\n    });\n    Localization.override(\"cx/widgets/LabeledContainer\", {\n        labelPlacement: \"material\",\n    });\n}\nexport function enableMaterialHelpPlacement() {\n    Localization.override(\"cx/widgets/Field\", {\n        helpPlacement: \"material\",\n        validationMode: \"help\",\n    });\n}\n"]}