@salutejs/plasma-new-hope 0.186.0-canary.1511.11718939010.0 → 0.186.0-canary.1534.11720486647.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/index.css +0 -23
- package/cjs/index.js +0 -6
- package/cjs/index.js.map +1 -1
- package/emotion/cjs/components/_Icon/Icon.assets/ArrowBarDown.js +23 -0
- package/emotion/cjs/components/_Icon/Icons/IconArrowBarDown.js +22 -0
- package/emotion/cjs/components/_Icon/index.js +8 -1
- package/emotion/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.js +215 -0
- package/emotion/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.stories.tsx +58 -0
- package/emotion/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.styles.js +80 -0
- package/emotion/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.template-docs.mdx +136 -0
- package/emotion/cjs/index.js +0 -11
- package/emotion/es/components/_Icon/Icon.assets/ArrowBarDown.js +16 -0
- package/emotion/es/components/_Icon/Icons/IconArrowBarDown.js +15 -0
- package/emotion/es/components/_Icon/index.js +2 -1
- package/emotion/es/examples/plasma_b2c/components/Dropzone/Dropzone.js +207 -0
- package/emotion/es/examples/plasma_b2c/components/Dropzone/Dropzone.stories.tsx +58 -0
- package/emotion/es/examples/plasma_b2c/components/Dropzone/Dropzone.styles.js +73 -0
- package/emotion/es/examples/plasma_b2c/components/Dropzone/Dropzone.template-docs.mdx +136 -0
- package/emotion/es/index.js +1 -2
- package/es/index.css +0 -23
- package/es/index.js +0 -2
- package/es/index.js.map +1 -1
- package/package.json +2 -2
- package/styled-components/cjs/components/_Icon/Icon.assets/ArrowBarDown.js +23 -0
- package/styled-components/cjs/components/_Icon/Icons/IconArrowBarDown.js +22 -0
- package/styled-components/cjs/components/_Icon/index.js +8 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.js +215 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.stories.tsx +58 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.styles.js +33 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.template-docs.mdx +136 -0
- package/styled-components/cjs/index.js +0 -11
- package/styled-components/es/components/_Icon/Icon.assets/ArrowBarDown.js +16 -0
- package/styled-components/es/components/_Icon/Icons/IconArrowBarDown.js +15 -0
- package/styled-components/es/components/_Icon/index.js +2 -1
- package/styled-components/es/examples/plasma_b2c/components/Dropzone/Dropzone.js +207 -0
- package/styled-components/es/examples/plasma_b2c/components/Dropzone/Dropzone.stories.tsx +58 -0
- package/styled-components/es/examples/plasma_b2c/components/Dropzone/Dropzone.styles.js +26 -0
- package/styled-components/es/examples/plasma_b2c/components/Dropzone/Dropzone.template-docs.mdx +136 -0
- package/styled-components/es/index.js +1 -2
- package/types/components/_Icon/Icon.assets/ArrowBarDown.d.ts +4 -0
- package/types/components/_Icon/Icon.assets/ArrowBarDown.d.ts.map +1 -0
- package/types/components/_Icon/Icons/IconArrowBarDown.d.ts +4 -0
- package/types/components/_Icon/Icons/IconArrowBarDown.d.ts.map +1 -0
- package/types/components/_Icon/index.d.ts +1 -0
- package/types/components/_Icon/index.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Dropzone/Dropzone.d.ts +20 -0
- package/types/examples/plasma_b2c/components/Dropzone/Dropzone.d.ts.map +1 -0
- package/types/examples/plasma_b2c/components/Dropzone/Dropzone.styles.d.ts +15 -0
- package/types/examples/plasma_b2c/components/Dropzone/Dropzone.styles.d.ts.map +1 -0
- package/types/examples/plasma_b2c/components/Dropzone/Dropzone.types.d.ts +72 -0
- package/types/examples/plasma_b2c/components/Dropzone/Dropzone.types.d.ts.map +1 -0
- package/types/index.d.ts +0 -1
- package/types/index.d.ts.map +1 -1
- package/cjs/components/NumberInput/NumberInput.css +0 -52
- package/cjs/components/NumberInput/NumberInput.js +0 -207
- package/cjs/components/NumberInput/NumberInput.js.map +0 -1
- package/cjs/components/NumberInput/NumberInput.styles.js +0 -9
- package/cjs/components/NumberInput/NumberInput.styles.js.map +0 -1
- package/cjs/components/NumberInput/NumberInput.styles_jeawjl.css +0 -1
- package/cjs/components/NumberInput/NumberInput.tokens.js +0 -102
- package/cjs/components/NumberInput/NumberInput.tokens.js.map +0 -1
- package/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +0 -19
- package/cjs/components/NumberInput/ui/ActionButton/ActionButton.js.map +0 -1
- package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +0 -22
- package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js.map +0 -1
- package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles_x642ct.css +0 -1
- package/cjs/components/NumberInput/ui/Input/Input.css +0 -15
- package/cjs/components/NumberInput/ui/Input/Input.js +0 -205
- package/cjs/components/NumberInput/ui/Input/Input.js.map +0 -1
- package/cjs/components/NumberInput/ui/Input/Input.styles.js +0 -96
- package/cjs/components/NumberInput/ui/Input/Input.styles.js.map +0 -1
- package/cjs/components/NumberInput/ui/Input/Input.styles_fhgb95.css +0 -8
- package/cjs/components/NumberInput/utils/index.js +0 -12
- package/cjs/components/NumberInput/utils/index.js.map +0 -1
- package/cjs/components/NumberInput/variations/_background-type/base.js +0 -9
- package/cjs/components/NumberInput/variations/_background-type/base.js.map +0 -1
- package/cjs/components/NumberInput/variations/_background-type/base_dx9knv.css +0 -1
- package/cjs/components/NumberInput/variations/_disabled/base.js +0 -9
- package/cjs/components/NumberInput/variations/_disabled/base.js.map +0 -1
- package/cjs/components/NumberInput/variations/_disabled/base_1sl0mh8.css +0 -1
- package/cjs/components/NumberInput/variations/_segmentation/base.js +0 -9
- package/cjs/components/NumberInput/variations/_segmentation/base.js.map +0 -1
- package/cjs/components/NumberInput/variations/_segmentation/base_14s5rot.css +0 -1
- package/cjs/components/NumberInput/variations/_shape/base.js +0 -9
- package/cjs/components/NumberInput/variations/_shape/base.js.map +0 -1
- package/cjs/components/NumberInput/variations/_shape/base_k05biw.css +0 -1
- package/cjs/components/NumberInput/variations/_size/base.js +0 -9
- package/cjs/components/NumberInput/variations/_size/base.js.map +0 -1
- package/cjs/components/NumberInput/variations/_size/base_yqdmk4.css +0 -1
- package/cjs/components/NumberInput/variations/_view/base.js +0 -9
- package/cjs/components/NumberInput/variations/_view/base.js.map +0 -1
- package/cjs/components/NumberInput/variations/_view/base_tnfbb5.css +0 -1
- package/emotion/cjs/components/NumberInput/NumberInput.js +0 -216
- package/emotion/cjs/components/NumberInput/NumberInput.styles.js +0 -17
- package/emotion/cjs/components/NumberInput/NumberInput.template-doc.mdx +0 -214
- package/emotion/cjs/components/NumberInput/NumberInput.tokens.js +0 -99
- package/emotion/cjs/components/NumberInput/index.js +0 -31
- package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +0 -18
- package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +0 -16
- package/emotion/cjs/components/NumberInput/ui/Input/Input.js +0 -213
- package/emotion/cjs/components/NumberInput/ui/Input/Input.styles.js +0 -81
- package/emotion/cjs/components/NumberInput/ui/Input/Input.types.js +0 -5
- package/emotion/cjs/components/NumberInput/ui/index.js +0 -19
- package/emotion/cjs/components/NumberInput/utils/index.js +0 -9
- package/emotion/cjs/components/NumberInput/variations/_background-type/base.js +0 -10
- package/emotion/cjs/components/NumberInput/variations/_background-type/tokens.json +0 -6
- package/emotion/cjs/components/NumberInput/variations/_disabled/base.js +0 -9
- package/emotion/cjs/components/NumberInput/variations/_disabled/tokens.json +0 -4
- package/emotion/cjs/components/NumberInput/variations/_segmentation/base.js +0 -12
- package/emotion/cjs/components/NumberInput/variations/_segmentation/tokens.json +0 -1
- package/emotion/cjs/components/NumberInput/variations/_shape/base.js +0 -11
- package/emotion/cjs/components/NumberInput/variations/_shape/tokens.json +0 -1
- package/emotion/cjs/components/NumberInput/variations/_size/base.js +0 -13
- package/emotion/cjs/components/NumberInput/variations/_size/tokens.json +0 -22
- package/emotion/cjs/components/NumberInput/variations/_view/base.js +0 -13
- package/emotion/cjs/components/NumberInput/variations/_view/tokens.json +0 -14
- package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +0 -46
- package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.js +0 -11
- package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +0 -108
- package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.config.js +0 -46
- package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.js +0 -11
- package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +0 -108
- package/emotion/es/components/NumberInput/NumberInput.js +0 -208
- package/emotion/es/components/NumberInput/NumberInput.styles.js +0 -11
- package/emotion/es/components/NumberInput/NumberInput.template-doc.mdx +0 -214
- package/emotion/es/components/NumberInput/NumberInput.tokens.js +0 -93
- package/emotion/es/components/NumberInput/index.js +0 -2
- package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.js +0 -11
- package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +0 -9
- package/emotion/es/components/NumberInput/ui/Input/Input.js +0 -204
- package/emotion/es/components/NumberInput/ui/Input/Input.styles.js +0 -74
- package/emotion/es/components/NumberInput/ui/Input/Input.types.js +0 -1
- package/emotion/es/components/NumberInput/ui/index.js +0 -2
- package/emotion/es/components/NumberInput/utils/index.js +0 -3
- package/emotion/es/components/NumberInput/variations/_background-type/base.js +0 -4
- package/emotion/es/components/NumberInput/variations/_background-type/tokens.json +0 -6
- package/emotion/es/components/NumberInput/variations/_disabled/base.js +0 -3
- package/emotion/es/components/NumberInput/variations/_disabled/tokens.json +0 -4
- package/emotion/es/components/NumberInput/variations/_segmentation/base.js +0 -6
- package/emotion/es/components/NumberInput/variations/_segmentation/tokens.json +0 -1
- package/emotion/es/components/NumberInput/variations/_shape/base.js +0 -5
- package/emotion/es/components/NumberInput/variations/_shape/tokens.json +0 -1
- package/emotion/es/components/NumberInput/variations/_size/base.js +0 -7
- package/emotion/es/components/NumberInput/variations/_size/tokens.json +0 -22
- package/emotion/es/components/NumberInput/variations/_view/base.js +0 -7
- package/emotion/es/components/NumberInput/variations/_view/tokens.json +0 -14
- package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +0 -40
- package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.js +0 -5
- package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +0 -108
- package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.config.js +0 -40
- package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.js +0 -5
- package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +0 -108
- package/es/components/NumberInput/NumberInput.css +0 -52
- package/es/components/NumberInput/NumberInput.js +0 -202
- package/es/components/NumberInput/NumberInput.js.map +0 -1
- package/es/components/NumberInput/NumberInput.styles.js +0 -5
- package/es/components/NumberInput/NumberInput.styles.js.map +0 -1
- package/es/components/NumberInput/NumberInput.styles_jeawjl.css +0 -1
- package/es/components/NumberInput/NumberInput.tokens.js +0 -96
- package/es/components/NumberInput/NumberInput.tokens.js.map +0 -1
- package/es/components/NumberInput/ui/ActionButton/ActionButton.js +0 -15
- package/es/components/NumberInput/ui/ActionButton/ActionButton.js.map +0 -1
- package/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +0 -18
- package/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js.map +0 -1
- package/es/components/NumberInput/ui/ActionButton/ActionButton.styles_x642ct.css +0 -1
- package/es/components/NumberInput/ui/Input/Input.css +0 -15
- package/es/components/NumberInput/ui/Input/Input.js +0 -201
- package/es/components/NumberInput/ui/Input/Input.js.map +0 -1
- package/es/components/NumberInput/ui/Input/Input.styles.js +0 -85
- package/es/components/NumberInput/ui/Input/Input.styles.js.map +0 -1
- package/es/components/NumberInput/ui/Input/Input.styles_fhgb95.css +0 -8
- package/es/components/NumberInput/utils/index.js +0 -6
- package/es/components/NumberInput/utils/index.js.map +0 -1
- package/es/components/NumberInput/variations/_background-type/base.js +0 -5
- package/es/components/NumberInput/variations/_background-type/base.js.map +0 -1
- package/es/components/NumberInput/variations/_background-type/base_dx9knv.css +0 -1
- package/es/components/NumberInput/variations/_disabled/base.js +0 -5
- package/es/components/NumberInput/variations/_disabled/base.js.map +0 -1
- package/es/components/NumberInput/variations/_disabled/base_1sl0mh8.css +0 -1
- package/es/components/NumberInput/variations/_segmentation/base.js +0 -5
- package/es/components/NumberInput/variations/_segmentation/base.js.map +0 -1
- package/es/components/NumberInput/variations/_segmentation/base_14s5rot.css +0 -1
- package/es/components/NumberInput/variations/_shape/base.js +0 -5
- package/es/components/NumberInput/variations/_shape/base.js.map +0 -1
- package/es/components/NumberInput/variations/_shape/base_k05biw.css +0 -1
- package/es/components/NumberInput/variations/_size/base.js +0 -5
- package/es/components/NumberInput/variations/_size/base.js.map +0 -1
- package/es/components/NumberInput/variations/_size/base_yqdmk4.css +0 -1
- package/es/components/NumberInput/variations/_view/base.js +0 -5
- package/es/components/NumberInput/variations/_view/base.js.map +0 -1
- package/es/components/NumberInput/variations/_view/base_tnfbb5.css +0 -1
- package/styled-components/cjs/components/NumberInput/NumberInput.js +0 -216
- package/styled-components/cjs/components/NumberInput/NumberInput.styles.js +0 -8
- package/styled-components/cjs/components/NumberInput/NumberInput.template-doc.mdx +0 -214
- package/styled-components/cjs/components/NumberInput/NumberInput.tokens.js +0 -99
- package/styled-components/cjs/components/NumberInput/NumberInput.types.js +0 -5
- package/styled-components/cjs/components/NumberInput/index.js +0 -31
- package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +0 -18
- package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +0 -15
- package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.types.js +0 -5
- package/styled-components/cjs/components/NumberInput/ui/Input/Input.js +0 -213
- package/styled-components/cjs/components/NumberInput/ui/Input/Input.styles.js +0 -48
- package/styled-components/cjs/components/NumberInput/ui/Input/Input.types.js +0 -5
- package/styled-components/cjs/components/NumberInput/ui/index.js +0 -19
- package/styled-components/cjs/components/NumberInput/utils/index.js +0 -9
- package/styled-components/cjs/components/NumberInput/variations/_background-type/base.js +0 -10
- package/styled-components/cjs/components/NumberInput/variations/_background-type/tokens.json +0 -6
- package/styled-components/cjs/components/NumberInput/variations/_disabled/base.js +0 -9
- package/styled-components/cjs/components/NumberInput/variations/_disabled/tokens.json +0 -4
- package/styled-components/cjs/components/NumberInput/variations/_segmentation/base.js +0 -12
- package/styled-components/cjs/components/NumberInput/variations/_segmentation/tokens.json +0 -1
- package/styled-components/cjs/components/NumberInput/variations/_shape/base.js +0 -11
- package/styled-components/cjs/components/NumberInput/variations/_shape/tokens.json +0 -1
- package/styled-components/cjs/components/NumberInput/variations/_size/base.js +0 -13
- package/styled-components/cjs/components/NumberInput/variations/_size/tokens.json +0 -22
- package/styled-components/cjs/components/NumberInput/variations/_view/base.js +0 -13
- package/styled-components/cjs/components/NumberInput/variations/_view/tokens.json +0 -14
- package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +0 -46
- package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.js +0 -11
- package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +0 -108
- package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.config.js +0 -46
- package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.js +0 -11
- package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +0 -108
- package/styled-components/es/components/NumberInput/NumberInput.js +0 -208
- package/styled-components/es/components/NumberInput/NumberInput.styles.js +0 -2
- package/styled-components/es/components/NumberInput/NumberInput.template-doc.mdx +0 -214
- package/styled-components/es/components/NumberInput/NumberInput.tokens.js +0 -93
- package/styled-components/es/components/NumberInput/NumberInput.types.js +0 -1
- package/styled-components/es/components/NumberInput/index.js +0 -2
- package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.js +0 -11
- package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +0 -8
- package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.types.js +0 -1
- package/styled-components/es/components/NumberInput/ui/Input/Input.js +0 -204
- package/styled-components/es/components/NumberInput/ui/Input/Input.styles.js +0 -41
- package/styled-components/es/components/NumberInput/ui/Input/Input.types.js +0 -1
- package/styled-components/es/components/NumberInput/ui/index.js +0 -2
- package/styled-components/es/components/NumberInput/utils/index.js +0 -3
- package/styled-components/es/components/NumberInput/variations/_background-type/base.js +0 -4
- package/styled-components/es/components/NumberInput/variations/_background-type/tokens.json +0 -6
- package/styled-components/es/components/NumberInput/variations/_disabled/base.js +0 -3
- package/styled-components/es/components/NumberInput/variations/_disabled/tokens.json +0 -4
- package/styled-components/es/components/NumberInput/variations/_segmentation/base.js +0 -6
- package/styled-components/es/components/NumberInput/variations/_segmentation/tokens.json +0 -1
- package/styled-components/es/components/NumberInput/variations/_shape/base.js +0 -5
- package/styled-components/es/components/NumberInput/variations/_shape/tokens.json +0 -1
- package/styled-components/es/components/NumberInput/variations/_size/base.js +0 -7
- package/styled-components/es/components/NumberInput/variations/_size/tokens.json +0 -22
- package/styled-components/es/components/NumberInput/variations/_view/base.js +0 -7
- package/styled-components/es/components/NumberInput/variations/_view/tokens.json +0 -14
- package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +0 -40
- package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.js +0 -5
- package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +0 -108
- package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.config.js +0 -40
- package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.js +0 -5
- package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +0 -108
- package/types/components/NumberInput/NumberInput.d.ts +0 -38
- package/types/components/NumberInput/NumberInput.d.ts.map +0 -1
- package/types/components/NumberInput/NumberInput.styles.d.ts +0 -2
- package/types/components/NumberInput/NumberInput.styles.d.ts.map +0 -1
- package/types/components/NumberInput/NumberInput.tokens.d.ts +0 -88
- package/types/components/NumberInput/NumberInput.tokens.d.ts.map +0 -1
- package/types/components/NumberInput/NumberInput.types.d.ts +0 -112
- package/types/components/NumberInput/NumberInput.types.d.ts.map +0 -1
- package/types/components/NumberInput/index.d.ts +0 -3
- package/types/components/NumberInput/index.d.ts.map +0 -1
- package/types/components/NumberInput/ui/ActionButton/ActionButton.d.ts +0 -4
- package/types/components/NumberInput/ui/ActionButton/ActionButton.d.ts.map +0 -1
- package/types/components/NumberInput/ui/ActionButton/ActionButton.styles.d.ts +0 -45
- package/types/components/NumberInput/ui/ActionButton/ActionButton.styles.d.ts.map +0 -1
- package/types/components/NumberInput/ui/ActionButton/ActionButton.types.d.ts +0 -7
- package/types/components/NumberInput/ui/ActionButton/ActionButton.types.d.ts.map +0 -1
- package/types/components/NumberInput/ui/Input/Input.d.ts +0 -19
- package/types/components/NumberInput/ui/Input/Input.d.ts.map +0 -1
- package/types/components/NumberInput/ui/Input/Input.styles.d.ts +0 -30
- package/types/components/NumberInput/ui/Input/Input.styles.d.ts.map +0 -1
- package/types/components/NumberInput/ui/Input/Input.types.d.ts +0 -19
- package/types/components/NumberInput/ui/Input/Input.types.d.ts.map +0 -1
- package/types/components/NumberInput/ui/index.d.ts +0 -3
- package/types/components/NumberInput/ui/index.d.ts.map +0 -1
- package/types/components/NumberInput/utils/index.d.ts +0 -4
- package/types/components/NumberInput/utils/index.d.ts.map +0 -1
- package/types/components/NumberInput/variations/_background-type/base.d.ts +0 -2
- package/types/components/NumberInput/variations/_background-type/base.d.ts.map +0 -1
- package/types/components/NumberInput/variations/_disabled/base.d.ts +0 -2
- package/types/components/NumberInput/variations/_disabled/base.d.ts.map +0 -1
- package/types/components/NumberInput/variations/_segmentation/base.d.ts +0 -2
- package/types/components/NumberInput/variations/_segmentation/base.d.ts.map +0 -1
- package/types/components/NumberInput/variations/_shape/base.d.ts +0 -2
- package/types/components/NumberInput/variations/_shape/base.d.ts.map +0 -1
- package/types/components/NumberInput/variations/_size/base.d.ts +0 -2
- package/types/components/NumberInput/variations/_size/base.d.ts.map +0 -1
- package/types/components/NumberInput/variations/_view/base.d.ts +0 -2
- package/types/components/NumberInput/variations/_view/base.d.ts.map +0 -1
- package/types/examples/plasma_b2c/components/NumberInput/NumberInput.config.d.ts +0 -39
- package/types/examples/plasma_b2c/components/NumberInput/NumberInput.config.d.ts.map +0 -1
- package/types/examples/plasma_b2c/components/NumberInput/NumberInput.d.ts +0 -82
- package/types/examples/plasma_b2c/components/NumberInput/NumberInput.d.ts.map +0 -1
- package/types/examples/plasma_web/components/NumberInput/NumberInput.config.d.ts +0 -39
- package/types/examples/plasma_web/components/NumberInput/NumberInput.config.d.ts.map +0 -1
- package/types/examples/plasma_web/components/NumberInput/NumberInput.d.ts +0 -82
- package/types/examples/plasma_web/components/NumberInput/NumberInput.d.ts.map +0 -1
- /package/emotion/cjs/{components/NumberInput/NumberInput.types.js → examples/plasma_b2c/components/Dropzone/Dropzone.types.js} +0 -0
- /package/emotion/es/{components/NumberInput/NumberInput.types.js → examples/plasma_b2c/components/Dropzone/Dropzone.types.js} +0 -0
- /package/{emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.types.js → styled-components/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.types.js} +0 -0
- /package/{emotion/es/components/NumberInput/ui/ActionButton/ActionButton.types.js → styled-components/es/examples/plasma_b2c/components/Dropzone/Dropzone.types.js} +0 -0
@@ -1,99 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.tokens = exports.privateTokens = exports.classes = void 0;
|
7
|
-
var classes = exports.classes = {
|
8
|
-
actionButtonDecrement: 'action-button-decrement',
|
9
|
-
actionButtonDecrementDisabled: 'action-button-decrement-disabled',
|
10
|
-
actionButtonIncrement: 'action-button-increment',
|
11
|
-
actionButtonIncrementDisabled: 'action-button-increment-disabled',
|
12
|
-
textBefore: 'text-before',
|
13
|
-
textAfter: 'text-after',
|
14
|
-
solidView: 'solid-view',
|
15
|
-
segmentedView: 'segmented-view',
|
16
|
-
clearView: 'clear-view',
|
17
|
-
errorAnimation: 'error-animation',
|
18
|
-
disabled: 'number-input-disabled',
|
19
|
-
loading: 'number-input-loading',
|
20
|
-
focused: 'number-input-focused',
|
21
|
-
manualInput: 'manual-input-number-input'
|
22
|
-
};
|
23
|
-
var privateTokens = exports.privateTokens = {
|
24
|
-
inputWidth: '--plasma_private-number-input_width',
|
25
|
-
segmentationBorderRadius: '--plasma_private-segmentation-border-radius',
|
26
|
-
segmentationInputBorderRadius: '--plasma_private-segmentation_input_border-radius',
|
27
|
-
topBoxShadow: '--plasma_private-number-input_top-box-shadow',
|
28
|
-
bottomBoxShadow: '--plasma_private-number-input_bottom-box-shadow',
|
29
|
-
leftBoxShadow: '--plasma_private-number-input_left-box-shadow',
|
30
|
-
rightBoxShadow: '--plasma_private-number-input_right-box-shadow'
|
31
|
-
};
|
32
|
-
var tokens = exports.tokens = {
|
33
|
-
// Root size tokens
|
34
|
-
rootMinWidth: '--plasma-number-input_min-width',
|
35
|
-
disabledOpacity: '--plasma-number-input_disabled-opacity',
|
36
|
-
rootBorderWidth: '--plasma-number-input_input-border-width',
|
37
|
-
wrapperBorderColor: '--plasma-number-input_wrapper_border-color',
|
38
|
-
wrapperBorderColorFocus: '--plasma-number-input_wrapper_border-color_focus',
|
39
|
-
// Action button view tokens
|
40
|
-
iconButtonColor: '--plasma-number-input_icon-button_color',
|
41
|
-
iconButtonBackgroundColor: '--plasma-number-input_icon-button_background-color',
|
42
|
-
iconButtonColorHover: '--plasma-number-input_icon-button_color-hover',
|
43
|
-
iconButtonColorSolidHover: '--plasma-number-input_icon-button_color_solid-hover',
|
44
|
-
iconButtonBackgroundColorHover: '--plasma-number-input_icon-button_background-color-hover',
|
45
|
-
iconButtonColorActive: '--plasma-number-input_icon-button_color-active',
|
46
|
-
iconButtonColorSolidActive: '--plasma-number-input_icon-button_color_solid-active',
|
47
|
-
iconButtonBackgroundColorActive: '--plasma-number-input_icon-button_background-color-active',
|
48
|
-
actionButtonDisabledOpacity: '--plasma-number-input_action-button_disabled-opacity',
|
49
|
-
// Action button size tokens
|
50
|
-
iconButtonHeight: '--plasma-number-input_icon-button_height',
|
51
|
-
iconButtonWidth: '--plasma-number-input_icon-button_width',
|
52
|
-
iconButtonPadding: '--plasma-number-input_icon-button_padding',
|
53
|
-
iconButtonRadius: '--plasma-number-input_icon-button_radius',
|
54
|
-
iconButtonSegmentationRadius: '--plasma-number-input_icon-button_segmentation_radius',
|
55
|
-
iconButtonFontFamily: '--plasma-number-input_icon-button_font-family',
|
56
|
-
iconButtonFontSize: '--plasma-number-input_icon-button_font-size',
|
57
|
-
iconButtonFontStyle: '--plasma-number-input_icon-button_font-style',
|
58
|
-
iconButtonFontWeight: '--plasma-number-input_icon-button_font-weight',
|
59
|
-
iconButtonLetterSpacing: '--plasma-number-input_icon-button_letter-spacing',
|
60
|
-
iconButtonLineHeight: '--plasma-number-input_icon-button_line-height',
|
61
|
-
// Input size tokens
|
62
|
-
inputWrapperBorderWidth: '--plasma-number-input_input-wrapper_border-width',
|
63
|
-
inputWrapperMargin: '--plasma-number-input_input-wrapper_margin',
|
64
|
-
inputWrapperBorderRadius: '--plasma-number-input_input-wrapper_border-radius',
|
65
|
-
textWrapperHeight: '--plasma-number-input_text-wrapper_height',
|
66
|
-
textWrapperPadding: '--plasma-number-input_text-wrapper_padding',
|
67
|
-
fontFamily: '--plasma-number-input_font-family',
|
68
|
-
fontStyle: '--plasma-number-input_font-style',
|
69
|
-
fontSize: '--plasma-number-input_font-size',
|
70
|
-
fontWeight: '--plasma-number-input_font-weight',
|
71
|
-
letterSpacing: '--plasma-number-input_letter-spacing',
|
72
|
-
lineHeight: '--plasma-number-input_line-height',
|
73
|
-
textBeforeMarginRight: '--plasma-number-input_text-before_margin-right',
|
74
|
-
textAfterMarginLeft: '--plasma-number-input_text-after_margin-left',
|
75
|
-
// Input view tokens
|
76
|
-
caretColor: '--plasma-number-input_caret_color',
|
77
|
-
caretColorSolid: '--plasma-number-input_caret_color-solid',
|
78
|
-
color: '--plasma-number-input_color',
|
79
|
-
colorSolid: '--plasma-number-input_color-solid',
|
80
|
-
backgroundColor: '--plasma-number-input_background-color',
|
81
|
-
backgroundColorHover: '--plasma-number-input_background-color-hover',
|
82
|
-
backgroundColorFocus: '--plasma-number-input_background-color-focus',
|
83
|
-
backgroundColorSolidFocus: '--plasma-number-input_background-color-solid-focus',
|
84
|
-
backgroundColorSolid: '--plasma-number-input_background-color-solid',
|
85
|
-
borderColor: '--plasma-number-input_border-color',
|
86
|
-
borderColorHover: '--plasma-number-input_border-color-hover',
|
87
|
-
borderColorFocus: '--plasma-number-input_border-color-focus',
|
88
|
-
borderColorSolidFocus: '--plasma-number-input_border-color-solid-focus',
|
89
|
-
borderColorSolid: '--plasma-number-input_border-color-solid',
|
90
|
-
additionalTextColor: '--plasma-number-input_additional-text_color',
|
91
|
-
additionalTextColorSolid: '--plasma-number-input_additional-text_color-solid',
|
92
|
-
errorColor: '--plasma-number-input_error-color',
|
93
|
-
backgroundErrorColor: '--plasma-number-input_background_error-color',
|
94
|
-
borderErrorColor: '--plasma-number-input_border_error-color',
|
95
|
-
// Loader tokens
|
96
|
-
loaderSpinnerSize: '--plasma-number-input_loader-spinner_size',
|
97
|
-
loaderSpinnerColor: '--plasma-number-input_loader-spinner_color',
|
98
|
-
loaderSpinnerColorSolid: '--plasma-number-input_loader-spinner_color-solid'
|
99
|
-
};
|
@@ -1,31 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
Object.defineProperty(exports, "numberInputClasses", {
|
7
|
-
enumerable: true,
|
8
|
-
get: function get() {
|
9
|
-
return _NumberInput2.classes;
|
10
|
-
}
|
11
|
-
});
|
12
|
-
Object.defineProperty(exports, "numberInputConfig", {
|
13
|
-
enumerable: true,
|
14
|
-
get: function get() {
|
15
|
-
return _NumberInput.numberInputConfig;
|
16
|
-
}
|
17
|
-
});
|
18
|
-
Object.defineProperty(exports, "numberInputRoot", {
|
19
|
-
enumerable: true,
|
20
|
-
get: function get() {
|
21
|
-
return _NumberInput.numberInputRoot;
|
22
|
-
}
|
23
|
-
});
|
24
|
-
Object.defineProperty(exports, "numberInputTokens", {
|
25
|
-
enumerable: true,
|
26
|
-
get: function get() {
|
27
|
-
return _NumberInput2.tokens;
|
28
|
-
}
|
29
|
-
});
|
30
|
-
var _NumberInput = /*#__PURE__*/require("./NumberInput");
|
31
|
-
var _NumberInput2 = /*#__PURE__*/require("./NumberInput.tokens");
|
@@ -1,18 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.ActionButton = void 0;
|
7
|
-
var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
|
8
|
-
var _ActionButton = /*#__PURE__*/require("./ActionButton.styles");
|
9
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
10
|
-
var ActionButton = exports.ActionButton = function ActionButton(_ref) {
|
11
|
-
var icon = _ref.icon,
|
12
|
-
className = _ref.className,
|
13
|
-
onClick = _ref.onClick;
|
14
|
-
return /*#__PURE__*/_react["default"].createElement(_ActionButton.StyledIconButton, {
|
15
|
-
className: className,
|
16
|
-
onClick: onClick
|
17
|
-
}, icon);
|
18
|
-
};
|
@@ -1,16 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.StyledIconButton = void 0;
|
7
|
-
var _base = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("@emotion/styled/base"));
|
8
|
-
var _IconButton = /*#__PURE__*/require("../../../IconButton");
|
9
|
-
var _engines = /*#__PURE__*/require("../../../../engines");
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
11
|
-
var mergedIconButtonConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_IconButton.iconButtonConfig);
|
12
|
-
var IconButton = /*#__PURE__*/(0, _engines.component)(mergedIconButtonConfig);
|
13
|
-
var StyledIconButton = exports.StyledIconButton = /*#__PURE__*/(0, _base["default"])(IconButton, {
|
14
|
-
target: "e1l688ca0",
|
15
|
-
label: "plasma-new-hope__StyledIconButton"
|
16
|
-
})(process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvQWN0aW9uQnV0dG9uL0FjdGlvbkJ1dHRvbi5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBUWtEIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvQWN0aW9uQnV0dG9uL0FjdGlvbkJ1dHRvbi5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGljb25CdXR0b25Db25maWcgfSBmcm9tICcuLi8uLi8uLi9JY29uQnV0dG9uJztcbmltcG9ydCB7IGNvbXBvbmVudCwgbWVyZ2VDb25maWcgfSBmcm9tICcuLi8uLi8uLi8uLi9lbmdpbmVzJztcblxuY29uc3QgbWVyZ2VkSWNvbkJ1dHRvbkNvbmZpZyA9IG1lcmdlQ29uZmlnKGljb25CdXR0b25Db25maWcpO1xuY29uc3QgSWNvbkJ1dHRvbiA9IGNvbXBvbmVudChtZXJnZWRJY29uQnV0dG9uQ29uZmlnKTtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZEljb25CdXR0b24gPSBzdHlsZWQoSWNvbkJ1dHRvbilgYDtcbiJdfQ== */");
|
@@ -1,213 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
5
|
-
value: true
|
6
|
-
});
|
7
|
-
exports.NumberInput = void 0;
|
8
|
-
var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react"));
|
9
|
-
var _plasmaCore = /*#__PURE__*/require("@salutejs/plasma-core");
|
10
|
-
var _NumberInput = /*#__PURE__*/require("../../NumberInput.tokens");
|
11
|
-
var _utils = /*#__PURE__*/require("../../../../utils");
|
12
|
-
var _hooks = /*#__PURE__*/require("../../../../hooks");
|
13
|
-
var _utils2 = /*#__PURE__*/require("../../utils");
|
14
|
-
var _constants = /*#__PURE__*/require("../../../../utils/constants");
|
15
|
-
var _Input = /*#__PURE__*/require("./Input.styles");
|
16
|
-
var _StyledSpinner;
|
17
|
-
var _excluded = ["value", "min", "max", "isLoading", "loader", "disabled", "segmentation", "textBefore", "textAfter", "isManualInput", "isInputFocused", "setIsInputFocused", "setIsAnimationRun", "setInnerValue", "onChange", "onBlur", "onKeyDown"];
|
18
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
19
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
20
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
21
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
22
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
23
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
24
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
25
|
-
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
26
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
27
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
28
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
29
|
-
var NumberInput = exports.NumberInput = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
30
|
-
var value = _ref.value,
|
31
|
-
min = _ref.min,
|
32
|
-
max = _ref.max,
|
33
|
-
isLoading = _ref.isLoading,
|
34
|
-
loader = _ref.loader,
|
35
|
-
disabled = _ref.disabled,
|
36
|
-
segmentation = _ref.segmentation,
|
37
|
-
textBefore = _ref.textBefore,
|
38
|
-
textAfter = _ref.textAfter,
|
39
|
-
isManualInput = _ref.isManualInput,
|
40
|
-
isInputFocused = _ref.isInputFocused,
|
41
|
-
setIsInputFocused = _ref.setIsInputFocused,
|
42
|
-
setIsAnimationRun = _ref.setIsAnimationRun,
|
43
|
-
setInnerValue = _ref.setInnerValue,
|
44
|
-
onChange = _ref.onChange,
|
45
|
-
onBlur = _ref.onBlur,
|
46
|
-
onKeyDown = _ref.onKeyDown,
|
47
|
-
rest = _objectWithoutProperties(_ref, _excluded);
|
48
|
-
var _useState = (0, _react.useState)(value ? "".concat(String(value).length, "ch") : _utils2.defaultCharacterWidth),
|
49
|
-
_useState2 = _slicedToArray(_useState, 2),
|
50
|
-
dynamicWidth = _useState2[0],
|
51
|
-
setDynamicWidth = _useState2[1];
|
52
|
-
var _useState3 = (0, _react.useState)(Number(value)),
|
53
|
-
_useState4 = _slicedToArray(_useState3, 2),
|
54
|
-
lastValidValue = _useState4[0],
|
55
|
-
setLastValidValue = _useState4[1];
|
56
|
-
var _useState5 = (0, _react.useState)(undefined),
|
57
|
-
_useState6 = _slicedToArray(_useState5, 2),
|
58
|
-
errorClass = _useState6[0],
|
59
|
-
setErrorClass = _useState6[1];
|
60
|
-
var _useState7 = (0, _react.useState)(),
|
61
|
-
_useState8 = _slicedToArray(_useState7, 2),
|
62
|
-
errorValue = _useState8[0],
|
63
|
-
setErrorValue = _useState8[1];
|
64
|
-
var inputHelperRef = (0, _react.useRef)(null);
|
65
|
-
var wrapperRef = (0, _react.useRef)(null);
|
66
|
-
var textWrapperRef = (0, _react.useRef)(null);
|
67
|
-
var inputRef = (0, _react.useRef)(null);
|
68
|
-
var inputForkRef = (0, _plasmaCore.useForkRef)(inputRef, ref);
|
69
|
-
var solidViewClass = segmentation === 'solid' ? _NumberInput.classes.solidView : undefined;
|
70
|
-
var manualInputClass = isManualInput ? _NumberInput.classes.manualInput : undefined;
|
71
|
-
var getInputWidth = function getInputWidth() {
|
72
|
-
var _inputHelperRef$curre;
|
73
|
-
var firstRender = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
|
74
|
-
if (!firstRender && (_inputHelperRef$curre = inputHelperRef.current) !== null && _inputHelperRef$curre !== void 0 && _inputHelperRef$curre.clientWidth) {
|
75
|
-
var _inputHelperRef$curre2;
|
76
|
-
return "".concat((_inputHelperRef$curre2 = inputHelperRef.current) === null || _inputHelperRef$curre2 === void 0 ? void 0 : _inputHelperRef$curre2.clientWidth, "px");
|
77
|
-
}
|
78
|
-
if (value) {
|
79
|
-
return "".concat(String(value).length, "ch");
|
80
|
-
}
|
81
|
-
return _utils2.defaultCharacterWidth;
|
82
|
-
};
|
83
|
-
var setValues = function setValues(event, newValue) {
|
84
|
-
setLastValidValue(newValue);
|
85
|
-
setInnerValue(newValue);
|
86
|
-
if (onChange) {
|
87
|
-
onChange(event, newValue);
|
88
|
-
}
|
89
|
-
};
|
90
|
-
var validateValue = function validateValue(newValue) {
|
91
|
-
if (!newValue || !(0, _utils.isNumber)(newValue)) {
|
92
|
-
setValues(null, lastValidValue);
|
93
|
-
setIsAnimationRun(false);
|
94
|
-
return;
|
95
|
-
}
|
96
|
-
if (String(newValue).endsWith('.')) {
|
97
|
-
setValues(null, Number(newValue));
|
98
|
-
setIsAnimationRun(false);
|
99
|
-
return;
|
100
|
-
}
|
101
|
-
var resValue = Number(newValue);
|
102
|
-
if (max !== undefined && resValue > max) {
|
103
|
-
setErrorClass(_NumberInput.classes.errorAnimation);
|
104
|
-
setErrorValue(max);
|
105
|
-
setIsAnimationRun(true);
|
106
|
-
return;
|
107
|
-
}
|
108
|
-
if (min !== undefined && resValue < min) {
|
109
|
-
setErrorClass(_NumberInput.classes.errorAnimation);
|
110
|
-
setErrorValue(min);
|
111
|
-
setIsAnimationRun(true);
|
112
|
-
}
|
113
|
-
setIsAnimationRun(false);
|
114
|
-
};
|
115
|
-
var handleManualInputChange = function handleManualInputChange(event) {
|
116
|
-
var _textWrapperRef$curre, _wrapperRef$current;
|
117
|
-
if (!isManualInput || disabled) {
|
118
|
-
return;
|
119
|
-
}
|
120
|
-
setIsAnimationRun(true);
|
121
|
-
var newValue = event.target.value;
|
122
|
-
if (!newValue) {
|
123
|
-
setInnerValue('');
|
124
|
-
if (onChange) {
|
125
|
-
onChange(event, '');
|
126
|
-
}
|
127
|
-
return;
|
128
|
-
}
|
129
|
-
var cleanValue = newValue.replace(_utils2.excludingNumberSchema, '');
|
130
|
-
if (cleanValue.endsWith('.') || cleanValue === '-') {
|
131
|
-
setInnerValue(cleanValue);
|
132
|
-
if (onChange) {
|
133
|
-
onChange(event, cleanValue);
|
134
|
-
}
|
135
|
-
return;
|
136
|
-
}
|
137
|
-
var isValid = _utils2.numberSchema.test(cleanValue);
|
138
|
-
if (!isValid) {
|
139
|
-
setValues(event, lastValidValue);
|
140
|
-
return;
|
141
|
-
}
|
142
|
-
if (textWrapperRef !== null && textWrapperRef !== void 0 && textWrapperRef.current && wrapperRef !== null && wrapperRef !== void 0 && wrapperRef.current && (textWrapperRef === null || textWrapperRef === void 0 || (_textWrapperRef$curre = textWrapperRef.current) === null || _textWrapperRef$curre === void 0 ? void 0 : _textWrapperRef$curre.clientWidth) > (wrapperRef === null || wrapperRef === void 0 || (_wrapperRef$current = wrapperRef.current) === null || _wrapperRef$current === void 0 ? void 0 : _wrapperRef$current.clientWidth)) {
|
143
|
-
wrapperRef.current.scrollLeft = textWrapperRef.current.offsetWidth - textWrapperRef.current.offsetLeft || 0;
|
144
|
-
}
|
145
|
-
setValues(event, Number(cleanValue));
|
146
|
-
};
|
147
|
-
var handleClickInputWrapper = function handleClickInputWrapper() {
|
148
|
-
if (!isManualInput || !inputRef.current) {
|
149
|
-
return;
|
150
|
-
}
|
151
|
-
if (!isInputFocused) {
|
152
|
-
inputRef.current.select();
|
153
|
-
}
|
154
|
-
setIsInputFocused(true);
|
155
|
-
};
|
156
|
-
var handleBlur = function handleBlur(event) {
|
157
|
-
validateValue(value);
|
158
|
-
setIsInputFocused(false);
|
159
|
-
if (onBlur) {
|
160
|
-
onBlur(event);
|
161
|
-
}
|
162
|
-
};
|
163
|
-
var handleKeyDown = function handleKeyDown(event) {
|
164
|
-
if (!isManualInput || disabled) {
|
165
|
-
return;
|
166
|
-
}
|
167
|
-
if (event.keyCode === _constants.keyCodes.Enter) {
|
168
|
-
event.preventDefault();
|
169
|
-
validateValue(value);
|
170
|
-
if (onKeyDown) {
|
171
|
-
onKeyDown(event);
|
172
|
-
}
|
173
|
-
}
|
174
|
-
};
|
175
|
-
var handleEndErrorAnimation = function handleEndErrorAnimation(correctValue) {
|
176
|
-
setIsAnimationRun(false);
|
177
|
-
setIsInputFocused(false);
|
178
|
-
setErrorClass(undefined);
|
179
|
-
setValues(null, correctValue);
|
180
|
-
};
|
181
|
-
(0, _react.useEffect)(function () {
|
182
|
-
setDynamicWidth(getInputWidth());
|
183
|
-
}, []);
|
184
|
-
(0, _hooks.useDidMountEffect)(function () {
|
185
|
-
setDynamicWidth(getInputWidth(false));
|
186
|
-
}, [value]);
|
187
|
-
return /*#__PURE__*/_react["default"].createElement(_Input.InputWrapper, {
|
188
|
-
ref: wrapperRef,
|
189
|
-
className: (0, _utils.cx)(solidViewClass, errorClass, manualInputClass),
|
190
|
-
isManualInput: Boolean(isManualInput),
|
191
|
-
onClick: handleClickInputWrapper
|
192
|
-
}, /*#__PURE__*/_react["default"].createElement(_Input.TextWrapper, {
|
193
|
-
ref: textWrapperRef
|
194
|
-
}, !isLoading && textBefore && /*#__PURE__*/_react["default"].createElement(_Input.AdditionalText, {
|
195
|
-
className: _NumberInput.classes.textBefore
|
196
|
-
}, textBefore), isLoading ? /*#__PURE__*/_react["default"].createElement(_Input.Loader, null, loader || _StyledSpinner || (_StyledSpinner = /*#__PURE__*/_react["default"].createElement(_Input.StyledSpinner, null))) : /*#__PURE__*/_react["default"].createElement(_Input.DynamicInput, null, /*#__PURE__*/_react["default"].createElement(_Input.Input, _extends({
|
197
|
-
ref: inputForkRef,
|
198
|
-
dynamicWidth: dynamicWidth,
|
199
|
-
value: value,
|
200
|
-
isManualInput: Boolean(isManualInput),
|
201
|
-
tabIndex: disabled || !isManualInput ? -1 : 0,
|
202
|
-
onChange: handleManualInputChange,
|
203
|
-
onBlur: handleBlur,
|
204
|
-
onKeyDown: handleKeyDown,
|
205
|
-
onAnimationEnd: function onAnimationEnd() {
|
206
|
-
return handleEndErrorAnimation(Number(errorValue));
|
207
|
-
}
|
208
|
-
}, rest)), /*#__PURE__*/_react["default"].createElement(_Input.InputWidthHelper, {
|
209
|
-
ref: inputHelperRef
|
210
|
-
}, value)), !isLoading && textAfter && /*#__PURE__*/_react["default"].createElement(_Input.AdditionalText, {
|
211
|
-
className: _NumberInput.classes.textAfter
|
212
|
-
}, textAfter)));
|
213
|
-
});
|
@@ -1,81 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.TextWrapper = exports.StyledSpinner = exports.Loader = exports.InputWrapper = exports.InputWidthHelper = exports.Input = exports.DynamicInput = exports.AdditionalText = void 0;
|
7
|
-
var _base = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("@emotion/styled/base"));
|
8
|
-
var _engines = /*#__PURE__*/require("../../../../engines");
|
9
|
-
var _Spinner = /*#__PURE__*/require("../../../Spinner");
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
11
|
-
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
12
|
-
var mergedConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_Spinner.spinnerConfig);
|
13
|
-
var Spinner = /*#__PURE__*/(0, _engines.component)(mergedConfig);
|
14
|
-
var InputWrapper = exports.InputWrapper = /*#__PURE__*/(0, _base["default"])("div", {
|
15
|
-
target: "e15d8t3l7",
|
16
|
-
label: "plasma-new-hope__InputWrapper"
|
17
|
-
})("overflow-x:auto;overflow-y:hidden;flex:1;cursor:", function (_ref) {
|
18
|
-
var isManualInput = _ref.isManualInput;
|
19
|
-
return isManualInput ? 'text' : 'default';
|
20
|
-
}, ";::-webkit-scrollbar{display:none;}scrollbar-width:none;overscroll-behavior:contain;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvS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pdGlvbjogd2lkdGggMC4xcztcbmA7XG5cbmV4cG9ydCBjb25zdCBJbnB1dFdpZHRoSGVscGVyID0gc3R5bGVkLnNwYW5gXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIHotaW5kZXg6IC05OTk7XG4gICAgdmlzaWJpbGl0eTogaGlkZGVuO1xuICAgIHRvcDogMDtcbiAgICBsZWZ0OiAwO1xuICAgIG9wYWNpdHk6IDA7XG4gICAgaGVpZ2h0OiAwO1xuICAgIHdoaXRlLXNwYWNlOiBwcmU7XG5gO1xuIl19 */"));
|
21
|
-
var TextWrapper = exports.TextWrapper = /*#__PURE__*/(0, _base["default"])("div", {
|
22
|
-
target: "e15d8t3l6",
|
23
|
-
label: "plasma-new-hope__TextWrapper"
|
24
|
-
})(process.env.NODE_ENV === "production" ? {
|
25
|
-
name: "zvqxgx",
|
26
|
-
styles: "display:flex;align-items:center;justify-content:center;width:fit-content;margin:0 auto;box-sizing:border-box"
|
27
|
-
} : {
|
28
|
-
name: "zvqxgx",
|
29
|
-
styles: "display:flex;align-items:center;justify-content:center;width:fit-content;margin:0 auto;box-sizing:border-box",
|
30
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5wdXQvSW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXVCcUMiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC91aS9JbnB1dC9JbnB1dC5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGNvbXBvbmVudCwgbWVyZ2VD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
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
32
|
-
});
|
33
|
-
var AdditionalText = exports.AdditionalText = /*#__PURE__*/(0, _base["default"])("span", {
|
34
|
-
target: "e15d8t3l5",
|
35
|
-
label: "plasma-new-hope__AdditionalText"
|
36
|
-
})(process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5wdXQvSW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWdDeUMiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC91aS9JbnB1dC9JbnB1dC5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGNvbXBvbmVudCwgbWVyZ2VDb25maWcgfSBmcm9tICcuLi8uLi8uLi8uLi9lbmdpbmVzJztcbmltcG9ydCB7IHNwaW5uZXJDb25maWcgfSBmcm9tICcuLi8uLi8uLi9TcGlubmVyJztcblxuY29uc3QgbWVyZ2VkQ29uZmlnID0gbWVyZ2VDb25maWcoc3Bpbm5lckNvbmZpZyk7XG5jb25zdCBTcGlubmVyID0gY29tcG9uZW50KG1lcmdlZENvbmZpZyk7XG5cbmV4cG9ydCBjb25zdCBJbnB1dFdyYXBwZXIgPSBzdHlsZWQuZGl2PHsgaXNNYW51YWxJbnB1dDogYm9vbGVhbiB9PmBcbiAgICBvdmVyZmxvdy14OiBhdXRvO1xuICAgIG92ZXJmbG93LXk6IGhpZGRlbjtcbiAgICBmbGV4OiAxO1xuICAgIGN1cnNvcjogJHsoeyBpc01hbn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AgICB3aWR0aDogJHsoeyBkeW5hbWljV2lkdGggfSkgPT4gZHluYW1pY1dpZHRofTtcbiAgICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuICAgIGN1cnNvcjogJHsoeyBpc01hbnVhbElucHV0IH0pID0+IChpc01hbnVhbElucHV0ID8gJ3RleHQnIDogJ2RlZmF1bHQnKX07XG4gICAgcG9pbnRlci1ldmVudHM6ICR7KHsgaXNNYW51YWxJbnB1dCB9KSA9PiAoaXNNYW51YWxJbnB1dCA/ICdpbml0aWFsJyA6ICdub25lJyl9O1xuICAgIHRyYW5zaXRpb246IHdpZHRoIDAuMXM7XG5gO1xuXG5leHBvcnQgY29uc3QgSW5wdXRXaWR0aEhlbHBlciA9IHN0eWxlZC5zcGFuYFxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICB6LWluZGV4OiAtOTk5O1xuICAgIHZpc2liaWxpdHk6IGhpZGRlbjtcbiAgICB0b3A6IDA7XG4gICAgbGVmdDogMDtcbiAgICBvcGFjaXR5OiAwO1xuICAgIGhlaWdodDogMDtcbiAgICB3aGl0ZS1zcGFjZTogcHJlO1xuYDtcbiJdfQ== */");
|
37
|
-
var Loader = exports.Loader = /*#__PURE__*/(0, _base["default"])("div", {
|
38
|
-
target: "e15d8t3l4",
|
39
|
-
label: "plasma-new-hope__Loader"
|
40
|
-
})(process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5wdXQvSW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtDZ0MiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC91aS9JbnB1dC9Jbn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GRlbjtcbiAgICB0b3A6IDA7XG4gICAgbGVmdDogMDtcbiAgICBvcGFjaXR5OiAwO1xuICAgIGhlaWdodDogMDtcbiAgICB3aGl0ZS1zcGFjZTogcHJlO1xuYDtcbiJdfQ== */");
|
41
|
-
var StyledSpinner = exports.StyledSpinner = /*#__PURE__*/(0, _base["default"])(Spinner, {
|
42
|
-
target: "e15d8t3l3",
|
43
|
-
label: "plasma-new-hope__StyledSpinner"
|
44
|
-
})(process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5wdXQvSW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9DNEMiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC91aS9JbnB1dC9JbnB1dC5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGNvbXBvbmVudCwgbWVyZ2VDb25maWcgfSBmcm9tICcuLi8uLi8uLi8uLi9lbmdpbmVzJztcbmltcG9ydCB7IHNwaW5uZXJDb25maWcgfSBmcm9tICcuLi8uLi8uLi9TcGlubmVyJztcblxuY29uc3QgbWVyZ2VkQ29uZmlnID0gbWVyZ2VDb25maWcoc3Bpbm5lckNvbmZpZyk7XG5jb25zdCBTcGlubmVyID0gY29tcG9uZW50KG1lcmdlZENvbmZpZyk7XG5cbmV4cG9ydCBjb25zdCBJbnB1dFdyYXBwZXIgPSBzdHlsZWQuZGl2PHsgaXNNYW51YWxJbnB1dDogYm9vbGVhbiB9PmBcbiAgICBvdmVyZmxvdy14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HBhZGRpbmc6IDA7XG4gICAgYmFja2dyb3VuZC1jb2xvcjogdHJhbnNwYXJlbnQ7XG4gICAgb3V0bGluZTogbm9uZTtcbiAgICB3aWR0aDogJHsoeyBkeW5hbWljV2lkdGggfSkgPT4gZHluYW1pY1dpZHRofTtcbiAgICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuICAgIGN1cnNvcjogJHsoeyBpc01hbnVhbElucHV0IH0pID0+IChpc01hbnVhbElucHV0ID8gJ3RleHQnIDogJ2RlZmF1bHQnKX07XG4gICAgcG9pbnRlci1ldmVudHM6ICR7KHsgaXNNYW51YWxJbnB1dCB9KSA9PiAoaXNNYW51YWxJbnB1dCA/ICdpbml0aWFsJyA6ICdub25lJyl9O1xuICAgIHRyYW5zaXRpb246IHdpZHRoIDAuMXM7XG5gO1xuXG5leHBvcnQgY29uc3QgSW5wdXRXaWR0aEhlbHBlciA9IHN0eWxlZC5zcGFuYFxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICB6LWluZGV4OiAtOTk5O1xuICAgIHZpc2liaWxpdHk6IGhpZGRlbjtcbiAgICB0b3A6IDA7XG4gICAgbGVmdDogMDtcbiAgICBvcGFjaXR5OiAwO1xuICAgIGhlaWdodDogMDtcbiAgICB3aGl0ZS1zcGFjZTogcHJlO1xuYDtcbiJdfQ== */");
|
45
|
-
var DynamicInput = exports.DynamicInput = /*#__PURE__*/(0, _base["default"])("div", {
|
46
|
-
target: "e15d8t3l2",
|
47
|
-
label: "plasma-new-hope__DynamicInput"
|
48
|
-
})(process.env.NODE_ENV === "production" ? {
|
49
|
-
name: "bjn8wh",
|
50
|
-
styles: "position:relative"
|
51
|
-
} : {
|
52
|
-
name: "bjn8wh",
|
53
|
-
styles: "position:relative",
|
54
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvb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Jyl9O1xuICAgIHRyYW5zaXRpb246IHdpZHRoIDAuMXM7XG5gO1xuXG5leHBvcnQgY29uc3QgSW5wdXRXaWR0aEhlbHBlciA9IHN0eWxlZC5zcGFuYFxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICB6LWluZGV4OiAtOTk5O1xuICAgIHZpc2liaWxpdHk6IGhpZGRlbjtcbiAgICB0b3A6IDA7XG4gICAgbGVmdDogMDtcbiAgICBvcGFjaXR5OiAwO1xuICAgIGhlaWdodDogMDtcbiAgICB3aGl0ZS1zcGFjZTogcHJlO1xuYDtcbiJdfQ== */",
|
55
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
56
|
-
});
|
57
|
-
var Input = exports.Input = /*#__PURE__*/(0, _base["default"])("input", {
|
58
|
-
target: "e15d8t3l1",
|
59
|
-
label: "plasma-new-hope__Input"
|
60
|
-
})("box-sizing:border-box;appearance:none;border:0;padding:0;background-color:transparent;outline:none;width:", function (_ref2) {
|
61
|
-
var dynamicWidth = _ref2.dynamicWidth;
|
62
|
-
return dynamicWidth;
|
63
|
-
}, ";box-sizing:border-box;cursor:", function (_ref3) {
|
64
|
-
var isManualInput = _ref3.isManualInput;
|
65
|
-
return isManualInput ? 'text' : 'default';
|
66
|
-
}, ";pointer-events:", function (_ref4) {
|
67
|
-
var isManualInput = _ref4.isManualInput;
|
68
|
-
return isManualInput ? 'initial' : 'none';
|
69
|
-
}, ";transition:width 0.1s;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5wdXQvSW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTBDbUYiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL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ZTtcbiAgICB6LWluZGV4OiAtOTk5O1xuICAgIHZpc2liaWxpdHk6IGhpZGRlbjtcbiAgICB0b3A6IDA7XG4gICAgbGVmdDogMDtcbiAgICBvcGFjaXR5OiAwO1xuICAgIGhlaWdodDogMDtcbiAgICB3aGl0ZS1zcGFjZTogcHJlO1xuYDtcbiJdfQ== */"));
|
70
|
-
var InputWidthHelper = exports.InputWidthHelper = /*#__PURE__*/(0, _base["default"])("span", {
|
71
|
-
target: "e15d8t3l0",
|
72
|
-
label: "plasma-new-hope__InputWidthHelper"
|
73
|
-
})(process.env.NODE_ENV === "production" ? {
|
74
|
-
name: "1lglqkg",
|
75
|
-
styles: "position:absolute;z-index:-999;visibility:hidden;top:0;left:0;opacity:0;height:0;white-space:pre"
|
76
|
-
} : {
|
77
|
-
name: "1lglqkg",
|
78
|
-
styles: "position:absolute;z-index:-999;visibility:hidden;top:0;left:0;opacity:0;height:0;white-space:pre",
|
79
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5wdXQvSW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXdEMkMiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC91aS9JbnB1dC9JbnB1dC5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGNvbXBvbmVudCwgbWVyZ2VDb25maWcgfSBmcm9tICcuLi8uLi8uLi8uLi9lbmdpbmVzJztcbmltcG9ydCB7IHNwaW5uZXJDb25maWcgfSBmcm9tICcuLi8uLi8uLi9TcGlub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wb3NpdGlvbjogcmVsYXRpdmU7XG5gO1xuXG5leHBvcnQgY29uc3QgSW5wdXQgPSBzdHlsZWQuaW5wdXQ8eyBkeW5hbWljV2lkdGg6IHN0cmluZzsgaXNNYW51YWxJbnB1dDogYm9vbGVhbiB9PmBcbiAgICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuICAgIGFwcGVhcmFuY2U6IG5vbmU7XG4gICAgYm9yZGVyOiAwO1xuICAgIHBhZGRpbmc6IDA7XG4gICAgYmFja2dyb3VuZC1jb2xvcjogdHJhbnNwYXJlbnQ7XG4gICAgb3V0bGluZTogbm9uZTtcbiAgICB3aWR0aDogJHsoeyBkeW5hbWljV2lkdGggfSkgPT4gZHluYW1pY1dpZHRofTtcbiAgICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuICAgIGN1cnNvcjogJHsoeyBpc01hbnVhbElucHV0IH0pID0+IChpc01hbnVhbElucHV0ID8gJ3RleHQnIDogJ2RlZmF1bHQnKX07XG4gICAgcG9pbnRlci1ldmVudHM6ICR7KHsgaXNNYW51YWxJbnB1dCB9KSA9PiAoaXNNYW51YWxJbnB1dCA/ICdpbml0aWFsJyA6ICdub25lJyl9O1xuICAgIHRyYW5zaXRpb246IHdpZHRoIDAuMXM7XG5gO1xuXG5leHBvcnQgY29uc3QgSW5wdXRXaWR0aEhlbHBlciA9IHN0eWxlZC5zcGFuYFxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICB6LWluZGV4OiAtOTk5O1xuICAgIHZpc2liaWxpdHk6IGhpZGRlbjtcbiAgICB0b3A6IDA7XG4gICAgbGVmdDogMDtcbiAgICBvcGFjaXR5OiAwO1xuICAgIGhlaWdodDogMDtcbiAgICB3aGl0ZS1zcGFjZTogcHJlO1xuYDtcbiJdfQ== */",
|
80
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
81
|
-
});
|
@@ -1,19 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
Object.defineProperty(exports, "ActionButton", {
|
7
|
-
enumerable: true,
|
8
|
-
get: function get() {
|
9
|
-
return _ActionButton.ActionButton;
|
10
|
-
}
|
11
|
-
});
|
12
|
-
Object.defineProperty(exports, "NumberInput", {
|
13
|
-
enumerable: true,
|
14
|
-
get: function get() {
|
15
|
-
return _Input.NumberInput;
|
16
|
-
}
|
17
|
-
});
|
18
|
-
var _ActionButton = /*#__PURE__*/require("./ActionButton/ActionButton");
|
19
|
-
var _Input = /*#__PURE__*/require("./Input/Input");
|
@@ -1,9 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.numberSchema = exports.excludingNumberSchema = exports.defaultCharacterWidth = void 0;
|
7
|
-
var defaultCharacterWidth = exports.defaultCharacterWidth = '1ch';
|
8
|
-
var numberSchema = exports.numberSchema = /^(-)?\d+(\.\d+)?$/;
|
9
|
-
var excludingNumberSchema = exports.excludingNumberSchema = /[^-.\d]/g;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.base = void 0;
|
7
|
-
var _react = /*#__PURE__*/require("@emotion/react");
|
8
|
-
var _NumberInput = /*#__PURE__*/require("../../NumberInput.tokens");
|
9
|
-
var _Input = /*#__PURE__*/require("../../ui/Input/Input.styles");
|
10
|
-
var base = exports.base = /*#__PURE__*/(0, _react.css)(_Input.InputWrapper, "{background-color:var(", _NumberInput.tokens.backgroundColor, ");box-shadow:inset 0 0 0 var(", _NumberInput.tokens.inputWrapperBorderWidth, ") var(", _NumberInput.tokens.borderColor, ");&.", _NumberInput.classes.manualInput, ":hover{background-color:var(", _NumberInput.tokens.backgroundColorHover, ");box-shadow:inset 0 0 0 var(", _NumberInput.tokens.inputWrapperBorderWidth, ") var(", _NumberInput.tokens.borderColorHover, ");}};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdmFyaWF0aW9ucy9fYmFja2dyb3VuZC10eXBlL2Jhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS3VCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdmFyaWF0aW9ucy9fYmFja2dyb3VuZC10eXBlL2Jhc2UudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4uLy4uL051bWJlcklucHV0LnRva2Vucyc7XG5pbXBvcnQgeyBJbnB1dFdyYXBwZXIgfSBmcm9tICcuLi8uLi91aS9JbnB1dC9JbnB1dC5zdHlsZXMnO1xuXG5leHBvcnQgY29uc3QgYmFzZSA9IGNzc2BcbiAgICAke0lucHV0V3JhcHBlcn0ge1xuICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoJHt0b2tlbnMuYmFja2dyb3VuZENvbG9yfSk7XG4gICAgICAgIGJveC1zaGFkb3c6IGluc2V0IDAgMCAwIHZhcigke3Rva2Vucy5pbnB1dFdyYXBwZXJCb3JkZXJXaWR0aH0pIHZhcigke3Rva2Vucy5ib3JkZXJDb2xvcn0pO1xuXG4gICAgICAgICYuJHtjbGFzc2VzLm1hbnVhbElucHV0fTpob3ZlciB7XG4gICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoJHt0b2tlbnMuYmFja2dyb3VuZENvbG9ySG92ZXJ9KTtcbiAgICAgICAgICAgIGJveC1zaGFkb3c6IGluc2V0IDAgMCAwIHZhcigke3Rva2Vucy5pbnB1dFdyYXBwZXJCb3JkZXJXaWR0aH0pIHZhcigke3Rva2Vucy5ib3JkZXJDb2xvckhvdmVyfSk7XG4gICAgICAgIH1cbiAgICB9XG5gO1xuIl19 */"));
|
@@ -1,9 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.base = void 0;
|
7
|
-
var _react = /*#__PURE__*/require("@emotion/react");
|
8
|
-
var _NumberInput = /*#__PURE__*/require("../../NumberInput.tokens");
|
9
|
-
var base = exports.base = /*#__PURE__*/(0, _react.css)("&&.", _NumberInput.classes.disabled, "{pointer-events:none;opacity:var(", _NumberInput.tokens.disabledOpacity, ");cursor:not-allowed;};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdmFyaWF0aW9ucy9fZGlzYWJsZWQvYmFzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJdUIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC92YXJpYXRpb25zL19kaXNhYmxlZC9iYXNlLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyBjbGFzc2VzLCB0b2tlbnMgfSBmcm9tICcuLi8uLi9OdW1iZXJJbnB1dC50b2tlbnMnO1xuXG5leHBvcnQgY29uc3QgYmFzZSA9IGNzc2BcbiAgICAmJi4ke2NsYXNzZXMuZGlzYWJsZWR9IHtcbiAgICAgICAgcG9pbnRlci1ldmVudHM6IG5vbmU7XG4gICAgICAgIG9wYWNpdHk6IHZhcigke3Rva2Vucy5kaXNhYmxlZE9wYWNpdHl9KTtcbiAgICAgICAgY3Vyc29yOiBub3QtYWxsb3dlZDtcbiAgICB9XG5gO1xuIl19 */"));
|
@@ -1,12 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.base = void 0;
|
7
|
-
var _react = /*#__PURE__*/require("@emotion/react");
|
8
|
-
var _NumberInput = /*#__PURE__*/require("../../NumberInput.tokens");
|
9
|
-
var _ActionButton = /*#__PURE__*/require("../../ui/ActionButton/ActionButton.styles");
|
10
|
-
var _Input = /*#__PURE__*/require("../../ui/Input/Input.styles");
|
11
|
-
var _Spinner = /*#__PURE__*/require("../../../Spinner");
|
12
|
-
var base = exports.base = /*#__PURE__*/(0, _react.css)(_Input.InputWrapper, "{border-radius:var(", _NumberInput.tokens.inputWrapperBorderRadius, ");}", _ActionButton.StyledIconButton, "{", _NumberInput.privateTokens.segmentationBorderRadius, ":var(", _NumberInput.tokens.iconButtonRadius, ");&.", _NumberInput.classes.segmentedView, ",&.", _NumberInput.classes.solidView, "{", _NumberInput.privateTokens.segmentationBorderRadius, ":var(", _NumberInput.tokens.iconButtonSegmentationRadius, ", var(", _NumberInput.tokens.iconButtonRadius, "));}&.", _NumberInput.classes.actionButtonDecrement, "{border-radius:var(", _NumberInput.tokens.iconButtonRadius, ") var(", _NumberInput.privateTokens.segmentationBorderRadius, ") var(", _NumberInput.privateTokens.segmentationBorderRadius, ") var(", _NumberInput.tokens.iconButtonRadius, ");}&.", _NumberInput.classes.actionButtonIncrement, "{border-radius:var(", _NumberInput.privateTokens.segmentationBorderRadius, ") var(", _NumberInput.tokens.iconButtonRadius, ") var(", _NumberInput.tokens.iconButtonRadius, ") var(", _NumberInput.privateTokens.segmentationBorderRadius, ");}}&.", _NumberInput.classes.segmentedView, "{", _Input.InputWrapper, "{border-radius:var(", _NumberInput.tokens.iconButtonSegmentationRadius, ");}}&.", _NumberInput.classes.solidView, "{", _NumberInput.privateTokens.topBoxShadow, ":inset 0 var(", _NumberInput.tokens.rootBorderWidth, ") var(", _NumberInput.tokens.wrapperBorderColor, ");", _NumberInput.privateTokens.bottomBoxShadow, ":inset 0 calc(-1 * var(", _NumberInput.tokens.rootBorderWidth, ")) var(", _NumberInput.tokens.wrapperBorderColor, ");", _NumberInput.privateTokens.leftBoxShadow, ":inset var(", _NumberInput.tokens.rootBorderWidth, ") 0 var(", _NumberInput.tokens.wrapperBorderColor, ");", _NumberInput.privateTokens.rightBoxShadow, ":inset calc(-1 * var(", _NumberInput.tokens.rootBorderWidth, ")) 0 var(", _NumberInput.tokens.wrapperBorderColor, ");position:relative;&.", _NumberInput.classes.focused, ":not(", _NumberInput.classes.loading, "),&.", _NumberInput.classes.focused, ":not(", _NumberInput.classes.disabled, "){", _NumberInput.privateTokens.topBoxShadow, ":inset 0 var(", _NumberInput.tokens.rootBorderWidth, ") var(", _NumberInput.tokens.wrapperBorderColorFocus, ");", _NumberInput.privateTokens.bottomBoxShadow, ":inset 0 calc(-1 * var(", _NumberInput.tokens.rootBorderWidth, ")) var(", _NumberInput.tokens.wrapperBorderColorFocus, ");", _NumberInput.privateTokens.leftBoxShadow, ":inset var(", _NumberInput.tokens.rootBorderWidth, ") 0 var(", _NumberInput.tokens.wrapperBorderColorFocus, ");", _NumberInput.privateTokens.rightBoxShadow, ":inset calc(-1 * var(", _NumberInput.tokens.rootBorderWidth, ")) 0 var(", _NumberInput.tokens.wrapperBorderColorFocus, ");}&:before{content:'';position:absolute;top:0;left:50%;transform:translateX(-50%);width:calc(100% - var(", _NumberInput.tokens.iconButtonWidth, ") * 2);height:100%;background:var(", _NumberInput.tokens.backgroundColorSolid, ");box-shadow:var(", _NumberInput.privateTokens.topBoxShadow, "),var(", _NumberInput.privateTokens.bottomBoxShadow, ");}", _Input.InputWrapper, "{position:relative;color:var(", _NumberInput.tokens.colorSolid, ");&:not(", _NumberInput.classes.errorAnimation, ").", _NumberInput.classes.manualInput, ":focus-within{background-color:var(", _NumberInput.tokens.backgroundColorSolidFocus, ");box-shadow:inset 0 0 0 var(", _NumberInput.tokens.inputWrapperBorderWidth, ") var(", _NumberInput.tokens.borderColorSolidFocus, ");}}", _ActionButton.StyledIconButton, "{&.", _NumberInput.classes.actionButtonDecrement, "{box-shadow:var(", _NumberInput.privateTokens.bottomBoxShadow, "),var(", _NumberInput.privateTokens.topBoxShadow, "),var(", _NumberInput.privateTokens.leftBoxShadow, ");}&.", _NumberInput.classes.actionButtonIncrement, "{box-shadow:var(", _NumberInput.privateTokens.bottomBoxShadow, "),var(", _NumberInput.privateTokens.topBoxShadow, "),var(", _NumberInput.privateTokens.rightBoxShadow, ");}:hover,:active{background-color:var(", _NumberInput.tokens.iconButtonBackgroundColor, ");}:hover{color:var(", _NumberInput.tokens.iconButtonColorSolidHover, ");}:active{color:var(", _NumberInput.tokens.iconButtonColorSolidActive, ");}&.", _NumberInput.classes.actionButtonDecrementDisabled, ",&.", _NumberInput.classes.actionButtonIncrementDisabled, "{opacity:1;svg{opacity:var(", _NumberInput.tokens.actionButtonDisabledOpacity, ");}:hover,:active{color:var(", _NumberInput.tokens.iconButtonColor, ");svg{opacity:var(", _NumberInput.tokens.actionButtonDisabledOpacity, ");}}}}&.", _NumberInput.classes.clearView, "{", _ActionButton.StyledIconButton, "{&.", _NumberInput.classes.actionButtonDecrementDisabled, ",&.", _NumberInput.classes.actionButtonIncrementDisabled, "{:hover,:active{background-color:transparent;}}}}", _Input.StyledSpinner, "{", _Spinner.spinnerTokens.color, ":var(", _NumberInput.tokens.loaderSpinnerColorSolid, ");}", _Input.Input, "{caret-color:var(", _NumberInput.tokens.caretColorSolid, ", var(", _NumberInput.tokens.caretColor, "));&:not(.", _NumberInput.classes.errorAnimation, "){color:var(", _NumberInput.tokens.colorSolid, ");}}", _Input.AdditionalText, "{color:var(", _NumberInput.tokens.additionalTextColorSolid, ");}};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdmFyaWF0aW9ucy9fc2VnbWVudGF0aW9uL2Jhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBT3VCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdmFyaWF0aW9ucy9fc2VnbWVudGF0aW9uL2Jhc2UudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHByaXZhdGVUb2tlbnMsIHRva2VucyB9IGZyb20gJy4uLy4uL051bWJlcklucHV0LnRva2Vucyc7XG5pbXBvcnQgeyBTdHlsZWRJY29uQnV0dG9uIH0gZnJvbSAnLi4vLi4vdWkvQWN0aW9uQnV0dG9uL0FjdGlvbkJ1dHRvbi5zdHlsZXMnO1xuaW1wb3J0IHsgQWRkaXRpb25hbFRleHQsIElucHV0LCBJbnB1dFdyYXBwZXIsIFN0eWxlZFNwaW5uZXIgfSBmcm9tICcuLi8uLi91aS9JbnB1dC9JbnB1dC5zdHlsZXMnO1xuaW1wb3J0IHsgc3Bpbm5lclRva2VucyB9IGZyb20gJy4uLy4uLy4uL1NwaW5uZXInO1xuXG5leHBvcnQgY29uc3QgYmFzZSA9IGNzc2BcbiAgICAke0lucHV0V3JhcHBlcn0ge1xuICAgICAgICBib3JkZXItcmFkaXVzOi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H1cblxuICAgICAgICAgICAgJi4ke2NsYXNzZXMuYWN0aW9uQnV0dG9uSW5jcmVtZW50fSB7XG4gICAgICAgICAgICAgICAgYm94LXNoYWRvdzogdmFyKCR7cHJpdmF0ZVRva2Vucy5ib3R0b21Cb3hTaGFkb3d9KSwgdmFyKCR7cHJpdmF0ZVRva2Vucy50b3BCb3hTaGFkb3d9KSwgdmFyKCR7cHJpdmF0ZVRva2Vucy5yaWdodEJveFNoYWRvd30pO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICA6aG92ZXIsXG4gICAgICAgICAgICA6YWN0aXZlIHsgICAgICAgICAgICAgICAgXG4gICAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdmFyKCR7dG9rZW5zLmljb25CdXR0b25CYWNrZ3JvdW5kQ29sb3J9KTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgOmhvdmVyIHsgICAgICAgICAgICAgICAgXG4gICAgICAgICAgICAgICAgY29sb3I6IHZhcigke3Rva2Vucy5pY29uQnV0dG9uQ29sb3JTb2xpZEhvdmVyfSk7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIDphY3RpdmUgeyAgICAgICAgICAgICAgICBcbiAgICAgICAgICAgICAgICBjb2xvcjogdmFyKCR7dG9rZW5zLmljb25CdXR0b25Db2xvclNvbGlkQWN0aXZlfSk7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICYuJHtjbGFzc2VzLmFjdGlvbkJ1dHRvbkRlY3JlbWVudERpc2FibGVkfSwgJi4ke2NsYXNzZXMuYWN0aW9uQnV0dG9uSW5jcmVtZW50RGlzYWJsZWR9IHtcbiAgICAgICAgICAgICAgICBvcGFjaXR5OiAxO1xuXG4gICAgICAgICAgICAgICAgc3ZnIHtcbiAgICAgICAgICAgICAgICAgICAgb3BhY2l0eTogdmFyKCR7dG9rZW5zLmFjdGlvbkJ1dHRvbkRpc2FibGVkT3BhY2l0eX0pO1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIDpob3ZlcixcbiAgICAgICAgICAgICAgICA6YWN0aXZlIHtcbiAgICAgICAgICAgICAgICAgICAgY29sb3I6IHZhcigke3Rva2Vucy5pY29uQnV0dG9uQ29sb3J9KTtcblxuICAgICAgICAgICAgICAgICAgICBzdmcge1xuICAgICAgICAgICAgICAgICAgICAgICAgb3BhY2l0eTogdmFyKCR7dG9rZW5zLmFjdGlvbkJ1dHRvbkRpc2FibGVkT3BhY2l0eX0pO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMuY2xlYXJWaWV3fSB7XG4gICAgICAgICAgICAke1N0eWxlZEljb25CdXR0b259IHtcbiAgICAgICAgICAgICAgICAmLiR7Y2xhc3Nlcy5hY3Rpb25CdXR0b25EZWNyZW1lbnREaXNhYmxlZH0sICYuJHtjbGFzc2VzLmFjdGlvbkJ1dHRvbkluY3JlbWVudERpc2FibGVkfSB7XG4gICAgICAgICAgICAgICAgICAgIDpob3ZlcixcbiAgICAgICAgICAgICAgICAgICAgOmFjdGl2ZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB0cmFuc3BhcmVudDtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICR7U3R5bGVkU3Bpbm5lcn0ge1xuICAgICAgICAgICAgJHtzcGlubmVyVG9rZW5zLmNvbG9yfTogdmFyKCR7dG9rZW5zLmxvYWRlclNwaW5uZXJDb2xvclNvbGlkfSk7XG4gICAgICAgIH1cbiAgICBcbiAgICAgICAgJHtJbnB1dH0ge1xuICAgICAgICAgICAgY2FyZXQtY29sb3I6IHZhcigke3Rva2Vucy5jYXJldENvbG9yU29saWR9LCB2YXIoJHt0b2tlbnMuY2FyZXRDb2xvcn0pKTtcblxuICAgICAgICAgICAgJjpub3QoLiR7Y2xhc3Nlcy5lcnJvckFuaW1hdGlvbn0pe1xuICAgICAgICAgICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMuY29sb3JTb2xpZH0pO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgXG4gICAgICAgICR7QWRkaXRpb25hbFRleHR9IHtcbiAgICAgICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMuYWRkaXRpb25hbFRleHRDb2xvclNvbGlkfSk7XG4gICAgICAgIH1cbiAgICB9XG5gO1xuIl19 */"));
|