@dreamcommerce/aurora 0.3.4-150 → 0.3.4-151
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/build/cjs/src/components/controls/components/cell_selector.js +1 -2
- package/build/cjs/src/components/controls/components/cell_selector.js.map +1 -1
- package/build/cjs/src/components/controls/css_classes.js +0 -2
- package/build/cjs/src/components/controls/css_classes.js.map +1 -1
- package/build/cjs/src/translations/en.json.js +9 -9
- package/build/cjs/src/translations/pl.json.js +9 -10
- package/build/cjs/src/translations/pl.json.js.map +1 -1
- package/build/esm/src/components/controls/components/cell_selector.js +2 -3
- package/build/esm/src/components/controls/components/cell_selector.js.map +1 -1
- package/build/esm/src/components/controls/css_classes.js +1 -2
- package/build/esm/src/components/controls/css_classes.js.map +1 -1
- package/build/esm/src/translations/en.json +9 -9
- package/build/esm/src/translations/en.json.js +9 -9
- package/build/esm/src/translations/pl.json +9 -10
- package/build/esm/src/translations/pl.json.js +9 -10
- package/build/esm/src/translations/pl.json.js.map +1 -1
- package/package.json +1 -1
|
@@ -41,8 +41,7 @@ var CellSelector = function (_a) {
|
|
|
41
41
|
onChange === null || onChange === void 0 ? void 0 : onChange(cellIndex + (withValueOffset ? 1 : 0));
|
|
42
42
|
};
|
|
43
43
|
return (React__default['default'].createElement("div", { className: main_module['default'][css_classes.cellSelector] + " " + className },
|
|
44
|
-
React__default['default'].createElement("div", { className: main_module['default'][css_classes.cellSelectorContainer] }, Array.from({ length: rows }).map(function (_, rowIndex) { return (React__default['default'].createElement("div", { key: "CellSelector-" + name + "-Row-" + rowIndex, className: main_module['default'][css_classes.cellSelectorRow] }, Array.from({ length: cols }).map(function (_, colIndex) { return (React__default['default'].createElement("div", { key: "CellSelector-" + name + "-Row-" + rowIndex + "-Col-" + colIndex, className: main_module['default'][css_classes.cellSelectorCell] + " " + (isSelected(rowIndex, colIndex) ? main_module['default'][css_classes.cellSelectorCellActive] : ''), onClick: function () { return onClick(rowIndex, colIndex); } })); }))); }))
|
|
45
|
-
React__default['default'].createElement("div", { className: main_module['default'][css_classes.cellSelectorDescription] }, t("Selected cell " + (selectedCell !== null && selectedCell !== void 0 ? selectedCell : -1)))));
|
|
44
|
+
React__default['default'].createElement("div", { className: main_module['default'][css_classes.cellSelectorContainer] }, Array.from({ length: rows }).map(function (_, rowIndex) { return (React__default['default'].createElement("div", { key: "CellSelector-" + name + "-Row-" + rowIndex, className: main_module['default'][css_classes.cellSelectorRow] }, Array.from({ length: cols }).map(function (_, colIndex) { return (React__default['default'].createElement("div", { key: "CellSelector-" + name + "-Row-" + rowIndex + "-Col-" + colIndex, className: main_module['default'][css_classes.cellSelectorCell] + " " + (isSelected(rowIndex, colIndex) ? main_module['default'][css_classes.cellSelectorCellActive] : ''), onClick: function () { return onClick(rowIndex, colIndex); } })); }))); }))));
|
|
46
45
|
};
|
|
47
46
|
|
|
48
47
|
exports.default = CellSelector;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cell_selector.js","sources":["../../../../../../src/components/controls/components/cell_selector.tsx"],"sourcesContent":["import React, { useEffect, useState } from 'react';\nimport styles from '@css/cell_selector/main.module.less';\nimport {\n cellSelector,\n cellSelectorRow,\n cellSelectorCell,\n cellSelectorCellActive,\n cellSelectorContainer,\n cellSelectorDescription,\n} from '../css_classes';\nimport { ICellSelector } from '@components/controls/types';\nimport { useTranslation } from 'react-i18next';\n\nconst CellSelector: React.FC<ICellSelector> = ({\n rows = 3,\n cols = 3,\n name,\n initialSelected,\n withValueOffset = true,\n onChange,\n className = '',\n}) => {\n const [selectedCell, setSelectedCell] = useState(initialSelected);\n const { t } = useTranslation();\n\n useEffect(() => {\n if (initialSelected === undefined) {\n setSelectedCell(initialSelected);\n } else {\n setSelectedCell(initialSelected - (withValueOffset ? 1 : 0));\n }\n }, [setSelectedCell, withValueOffset, initialSelected]);\n\n const isSelected = (row: number, col: number) => {\n if (selectedCell === undefined) {\n return false;\n }\n if (parseInt(`${selectedCell / cols}`) !== row) {\n return false;\n }\n if (selectedCell % cols !== col) {\n return false;\n }\n\n return true;\n };\n\n const onClick = (row: number, col: number) => {\n const cellIndex = row * cols + col;\n setSelectedCell(cellIndex);\n onChange?.(cellIndex + (withValueOffset ? 1 : 0));\n };\n\n return (\n <div className={`${styles[cellSelector]} ${className}`}>\n <div className={styles[cellSelectorContainer]}>\n {Array.from({ length: rows }).map((_, rowIndex) => (\n <div key={`CellSelector-${name}-Row-${rowIndex}`} className={styles[cellSelectorRow]}>\n {Array.from({ length: cols }).map((_, colIndex) => (\n <div\n key={`CellSelector-${name}-Row-${rowIndex}-Col-${colIndex}`}\n className={`${styles[cellSelectorCell]} ${isSelected(rowIndex, colIndex) ? styles[cellSelectorCellActive] : ''}`}\n onClick={() => onClick(rowIndex, colIndex)}\n />\n ))}\n </div>\n ))}\n </div>\n
|
|
1
|
+
{"version":3,"file":"cell_selector.js","sources":["../../../../../../src/components/controls/components/cell_selector.tsx"],"sourcesContent":["import React, { useEffect, useState } from 'react';\nimport styles from '@css/cell_selector/main.module.less';\nimport {\n cellSelector,\n cellSelectorRow,\n cellSelectorCell,\n cellSelectorCellActive,\n cellSelectorContainer,\n cellSelectorDescription,\n} from '../css_classes';\nimport { ICellSelector } from '@components/controls/types';\nimport { useTranslation } from 'react-i18next';\n\nconst CellSelector: React.FC<ICellSelector> = ({\n rows = 3,\n cols = 3,\n name,\n initialSelected,\n withValueOffset = true,\n onChange,\n className = '',\n}) => {\n const [selectedCell, setSelectedCell] = useState(initialSelected);\n const { t } = useTranslation();\n\n useEffect(() => {\n if (initialSelected === undefined) {\n setSelectedCell(initialSelected);\n } else {\n setSelectedCell(initialSelected - (withValueOffset ? 1 : 0));\n }\n }, [setSelectedCell, withValueOffset, initialSelected]);\n\n const isSelected = (row: number, col: number) => {\n if (selectedCell === undefined) {\n return false;\n }\n if (parseInt(`${selectedCell / cols}`) !== row) {\n return false;\n }\n if (selectedCell % cols !== col) {\n return false;\n }\n\n return true;\n };\n\n const onClick = (row: number, col: number) => {\n const cellIndex = row * cols + col;\n setSelectedCell(cellIndex);\n onChange?.(cellIndex + (withValueOffset ? 1 : 0));\n };\n\n return (\n <div className={`${styles[cellSelector]} ${className}`}>\n <div className={styles[cellSelectorContainer]}>\n {Array.from({ length: rows }).map((_, rowIndex) => (\n <div key={`CellSelector-${name}-Row-${rowIndex}`} className={styles[cellSelectorRow]}>\n {Array.from({ length: cols }).map((_, colIndex) => (\n <div\n key={`CellSelector-${name}-Row-${rowIndex}-Col-${colIndex}`}\n className={`${styles[cellSelectorCell]} ${isSelected(rowIndex, colIndex) ? styles[cellSelectorCellActive] : ''}`}\n onClick={() => onClick(rowIndex, colIndex)}\n />\n ))}\n </div>\n ))}\n </div>\n </div>\n );\n};\n\nexport default CellSelector;\n"],"names":["useEffect","React","styles","cellSelector","cellSelectorContainer","cellSelectorRow","cellSelectorCell","cellSelectorCellActive"],"mappings":";;;;;;;;;;;;;IAaM,YAAY,GAA4B,UAAC,EAQ9C;QAPG,YAAQ,EAAR,6BAAQ,EACR,YAAQ,EAAR,6BAAQ,EACR,cAAI,EACJ,oCAAe,EACf,uBAAsB,EAAtB,2CAAsB,EACtB,sBAAQ,EACR,iBAAc,EAAd,mCAAc;IAER,IAAA,oCAA2D,EAA1D,oBAAY,EAAE,uBAA4C,CAAC;IAC1D,IAAA,qCAAC,CAAsB;IAE/BA,eAAS,CAAC;QACN,IAAI,eAAe,KAAK,SAAS,EAAE;YAC/B,eAAe,CAAC,eAAe,CAAC,CAAC;SACpC;aAAM;YACH,eAAe,CAAC,eAAe,IAAI,eAAe,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;SAChE;KACJ,EAAE,CAAC,eAAe,EAAE,eAAe,EAAE,eAAe,CAAC,CAAC,CAAC;IAExD,IAAM,UAAU,GAAG,UAAC,GAAW,EAAE,GAAW;QACxC,IAAI,YAAY,KAAK,SAAS,EAAE;YAC5B,OAAO,KAAK,CAAC;SAChB;QACD,IAAI,QAAQ,CAAC,KAAG,YAAY,GAAG,IAAM,CAAC,KAAK,GAAG,EAAE;YAC5C,OAAO,KAAK,CAAC;SAChB;QACD,IAAI,YAAY,GAAG,IAAI,KAAK,GAAG,EAAE;YAC7B,OAAO,KAAK,CAAC;SAChB;QAED,OAAO,IAAI,CAAC;KACf,CAAC;IAEF,IAAM,OAAO,GAAG,UAAC,GAAW,EAAE,GAAW;QACrC,IAAM,SAAS,GAAG,GAAG,GAAG,IAAI,GAAG,GAAG,CAAC;QACnC,eAAe,CAAC,SAAS,CAAC,CAAC;QAC3B,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAG,SAAS,IAAI,eAAe,GAAG,CAAC,GAAG,CAAC,CAAC,EAAE;KACrD,CAAC;IAEF,QACIC,iDAAK,SAAS,EAAKC,sBAAM,CAACC,wBAAY,CAAC,SAAI,SAAW;QAClDF,iDAAK,SAAS,EAAEC,sBAAM,CAACE,iCAAqB,CAAC,IACxC,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,UAAC,CAAC,EAAE,QAAQ,IAAK,QAC/CH,iDAAK,GAAG,EAAE,kBAAgB,IAAI,aAAQ,QAAU,EAAE,SAAS,EAAEC,sBAAM,CAACG,2BAAe,CAAC,IAC/E,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,UAAC,CAAC,EAAE,QAAQ,IAAK,QAC/CJ,iDACI,GAAG,EAAE,kBAAgB,IAAI,aAAQ,QAAQ,aAAQ,QAAU,EAC3D,SAAS,EAAKC,sBAAM,CAACI,4BAAgB,CAAC,UAAI,UAAU,CAAC,QAAQ,EAAE,QAAQ,CAAC,GAAGJ,sBAAM,CAACK,kCAAsB,CAAC,GAAG,EAAE,CAAE,EAChH,OAAO,EAAE,cAAM,OAAA,OAAO,CAAC,QAAQ,EAAE,QAAQ,CAAC,GAAA,GAC5C,IACL,CAAC,CACA,IACT,CAAC,CACA,CACJ,EACR;AACN;;;;"}
|
|
@@ -38,7 +38,6 @@ var radioControl = radio + "__control";
|
|
|
38
38
|
var radioLabel = radio + "__label";
|
|
39
39
|
var cellSelector = 'cell-selector';
|
|
40
40
|
var cellSelectorContainer = cellSelector + "__container";
|
|
41
|
-
var cellSelectorDescription = cellSelector + "__description";
|
|
42
41
|
var cellSelectorRow = cellSelector + "__row";
|
|
43
42
|
var cellSelectorCell = cellSelector + "__cell";
|
|
44
43
|
var cellSelectorCellActive = cellSelectorCell + "_active";
|
|
@@ -47,7 +46,6 @@ exports.cellSelector = cellSelector;
|
|
|
47
46
|
exports.cellSelectorCell = cellSelectorCell;
|
|
48
47
|
exports.cellSelectorCellActive = cellSelectorCellActive;
|
|
49
48
|
exports.cellSelectorContainer = cellSelectorContainer;
|
|
50
|
-
exports.cellSelectorDescription = cellSelectorDescription;
|
|
51
49
|
exports.cellSelectorRow = cellSelectorRow;
|
|
52
50
|
exports.checkbox = checkbox;
|
|
53
51
|
exports.checkboxControl = checkboxControl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"css_classes.js","sources":["../../../../../src/components/controls/css_classes.ts"],"sourcesContent":["export const cssControls = 'controls';\nexport const cssControlsError = 'controls_error';\nexport const cssControlsLabel = `${cssControls}__label`;\nexport const cssControlsContent = `${cssControls}__content`;\nexport const cssControlsElement = `${cssControls}__element`;\nexport const cssControlsElementPrefix = `${cssControls}__element_prefix`;\nexport const cssControlsElementPostfix = `${cssControls}__element_postfix`;\nexport const cssControlsElementCheckbox = `${cssControls}__element_checkbox`;\nexport const cssControlsElementRadio = `${cssControls}__element_radio`;\nexport const cssControlsErrors = `${cssControls}__errors`;\nexport const cssControlsErrorsList = `${cssControls}__errors-list`;\nexport const cssControlsErrorsListItem = `${cssControls}__errors-list-item`;\n\nexport const cssControl = 'control';\nexport const cssControlS = 'control_s';\nexport const cssControlWrapper = 'control_wrapper';\nexport const cssControlFocus = 'control_focus';\nexport const cssControlDisabled = 'control_disabled';\nexport const cssControlReadonly = 'control_readonly';\nexport const cssControlError = 'control_error';\nexport const cssControlInput = 'control__input';\n\nexport const checkbox = 'checkbox';\nexport const checkboxDisabled = `${checkbox}_disabled`;\nexport const checkboxControl = `${checkbox}__control`;\nexport const checkboxLabel = `${checkbox}__label`;\nexport const checkboxIcon = `${checkbox}__icon`;\n\nexport const checkboxSwitch = 'checkbox-switch';\nexport const checkboxSwitchDisabled = `${checkboxSwitch}_disabled`;\nexport const checkboxSwitchControl = `${checkboxSwitch}__control`;\nexport const checkboxSwitchLabel = `${checkboxSwitch}__label`;\nexport const checkboxSwitchIcon = `${checkboxSwitch}__icon`;\n\nexport const radio = 'radio';\nexport const radioDisabled = `${radio}_disabled`;\nexport const radioControl = `${radio}__control`;\nexport const radioLabel = `${radio}__label`;\n\nexport const cellSelector = 'cell-selector';\nexport const cellSelectorContainer = `${cellSelector}__container`;\nexport const cellSelectorDescription = `${cellSelector}__description`;\nexport const cellSelectorRow = `${cellSelector}__row`;\nexport const cellSelectorCell = `${cellSelector}__cell`;\nexport const cellSelectorCellActive = `${cellSelectorCell}_active`;\n"],"names":[],"mappings":";;;;IAAa,WAAW,GAAG,WAAW;IACzB,gBAAgB,GAAG,iBAAiB;IACpC,gBAAgB,GAAM,WAAW,aAAU;IAC3C,kBAAkB,GAAM,WAAW,eAAY;IAC/C,kBAAkB,GAAM,WAAW,eAAY;IAC/C,wBAAwB,GAAM,WAAW,sBAAmB;IAC5D,yBAAyB,GAAM,WAAW,uBAAoB;IAC9D,0BAA0B,GAAM,WAAW,wBAAqB;IAChE,uBAAuB,GAAM,WAAW,qBAAkB;IAC1D,iBAAiB,GAAM,WAAW,cAAW;IAC7C,qBAAqB,GAAM,WAAW,mBAAgB;IACtD,yBAAyB,GAAM,WAAW,wBAAqB;IAE/D,UAAU,GAAG,UAAU;IACvB,WAAW,GAAG,YAAY;IAC1B,iBAAiB,GAAG,kBAAkB;IACtC,eAAe,GAAG,gBAAgB;IAClC,kBAAkB,GAAG,mBAAmB;IACxC,kBAAkB,GAAG,mBAAmB;IACxC,eAAe,GAAG,gBAAgB;IAClC,eAAe,GAAG,iBAAiB;IAEnC,QAAQ,GAAG,WAAW;IACtB,gBAAgB,GAAM,QAAQ,eAAY;IAC1C,eAAe,GAAM,QAAQ,eAAY;IACzC,aAAa,GAAM,QAAQ,aAAU;IACrC,YAAY,GAAM,QAAQ,YAAS;IAEnC,cAAc,GAAG,kBAAkB;IACnC,sBAAsB,GAAM,cAAc,eAAY;IACtD,qBAAqB,GAAM,cAAc,eAAY;IACrD,mBAAmB,GAAM,cAAc,aAAU;IACjD,kBAAkB,GAAM,cAAc,YAAS;IAE/C,KAAK,GAAG,QAAQ;IAChB,aAAa,GAAM,KAAK,eAAY;IACpC,YAAY,GAAM,KAAK,eAAY;IACnC,UAAU,GAAM,KAAK,aAAU;IAE/B,YAAY,GAAG,gBAAgB;IAC/B,qBAAqB,GAAM,YAAY,iBAAc;
|
|
1
|
+
{"version":3,"file":"css_classes.js","sources":["../../../../../src/components/controls/css_classes.ts"],"sourcesContent":["export const cssControls = 'controls';\nexport const cssControlsError = 'controls_error';\nexport const cssControlsLabel = `${cssControls}__label`;\nexport const cssControlsContent = `${cssControls}__content`;\nexport const cssControlsElement = `${cssControls}__element`;\nexport const cssControlsElementPrefix = `${cssControls}__element_prefix`;\nexport const cssControlsElementPostfix = `${cssControls}__element_postfix`;\nexport const cssControlsElementCheckbox = `${cssControls}__element_checkbox`;\nexport const cssControlsElementRadio = `${cssControls}__element_radio`;\nexport const cssControlsErrors = `${cssControls}__errors`;\nexport const cssControlsErrorsList = `${cssControls}__errors-list`;\nexport const cssControlsErrorsListItem = `${cssControls}__errors-list-item`;\n\nexport const cssControl = 'control';\nexport const cssControlS = 'control_s';\nexport const cssControlWrapper = 'control_wrapper';\nexport const cssControlFocus = 'control_focus';\nexport const cssControlDisabled = 'control_disabled';\nexport const cssControlReadonly = 'control_readonly';\nexport const cssControlError = 'control_error';\nexport const cssControlInput = 'control__input';\n\nexport const checkbox = 'checkbox';\nexport const checkboxDisabled = `${checkbox}_disabled`;\nexport const checkboxControl = `${checkbox}__control`;\nexport const checkboxLabel = `${checkbox}__label`;\nexport const checkboxIcon = `${checkbox}__icon`;\n\nexport const checkboxSwitch = 'checkbox-switch';\nexport const checkboxSwitchDisabled = `${checkboxSwitch}_disabled`;\nexport const checkboxSwitchControl = `${checkboxSwitch}__control`;\nexport const checkboxSwitchLabel = `${checkboxSwitch}__label`;\nexport const checkboxSwitchIcon = `${checkboxSwitch}__icon`;\n\nexport const radio = 'radio';\nexport const radioDisabled = `${radio}_disabled`;\nexport const radioControl = `${radio}__control`;\nexport const radioLabel = `${radio}__label`;\n\nexport const cellSelector = 'cell-selector';\nexport const cellSelectorContainer = `${cellSelector}__container`;\nexport const cellSelectorDescription = `${cellSelector}__description`;\nexport const cellSelectorRow = `${cellSelector}__row`;\nexport const cellSelectorCell = `${cellSelector}__cell`;\nexport const cellSelectorCellActive = `${cellSelectorCell}_active`;\n"],"names":[],"mappings":";;;;IAAa,WAAW,GAAG,WAAW;IACzB,gBAAgB,GAAG,iBAAiB;IACpC,gBAAgB,GAAM,WAAW,aAAU;IAC3C,kBAAkB,GAAM,WAAW,eAAY;IAC/C,kBAAkB,GAAM,WAAW,eAAY;IAC/C,wBAAwB,GAAM,WAAW,sBAAmB;IAC5D,yBAAyB,GAAM,WAAW,uBAAoB;IAC9D,0BAA0B,GAAM,WAAW,wBAAqB;IAChE,uBAAuB,GAAM,WAAW,qBAAkB;IAC1D,iBAAiB,GAAM,WAAW,cAAW;IAC7C,qBAAqB,GAAM,WAAW,mBAAgB;IACtD,yBAAyB,GAAM,WAAW,wBAAqB;IAE/D,UAAU,GAAG,UAAU;IACvB,WAAW,GAAG,YAAY;IAC1B,iBAAiB,GAAG,kBAAkB;IACtC,eAAe,GAAG,gBAAgB;IAClC,kBAAkB,GAAG,mBAAmB;IACxC,kBAAkB,GAAG,mBAAmB;IACxC,eAAe,GAAG,gBAAgB;IAClC,eAAe,GAAG,iBAAiB;IAEnC,QAAQ,GAAG,WAAW;IACtB,gBAAgB,GAAM,QAAQ,eAAY;IAC1C,eAAe,GAAM,QAAQ,eAAY;IACzC,aAAa,GAAM,QAAQ,aAAU;IACrC,YAAY,GAAM,QAAQ,YAAS;IAEnC,cAAc,GAAG,kBAAkB;IACnC,sBAAsB,GAAM,cAAc,eAAY;IACtD,qBAAqB,GAAM,cAAc,eAAY;IACrD,mBAAmB,GAAM,cAAc,aAAU;IACjD,kBAAkB,GAAM,cAAc,YAAS;IAE/C,KAAK,GAAG,QAAQ;IAChB,aAAa,GAAM,KAAK,eAAY;IACpC,YAAY,GAAM,KAAK,eAAY;IACnC,UAAU,GAAM,KAAK,aAAU;IAE/B,YAAY,GAAG,gBAAgB;IAC/B,qBAAqB,GAAM,YAAY,iBAAc;IAErD,eAAe,GAAM,YAAY,WAAQ;IACzC,gBAAgB,GAAM,YAAY,YAAS;IAC3C,sBAAsB,GAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -68,15 +68,15 @@ var en = {
|
|
|
68
68
|
Add: Add,
|
|
69
69
|
Search: Search,
|
|
70
70
|
"Selected cell -1": "Not selected",
|
|
71
|
-
"Selected cell 0": "
|
|
72
|
-
"Selected cell 1": "
|
|
73
|
-
"Selected cell 2": "
|
|
74
|
-
"Selected cell 3": "
|
|
75
|
-
"Selected cell 4": "
|
|
76
|
-
"Selected cell 5": "
|
|
77
|
-
"Selected cell 6": "
|
|
78
|
-
"Selected cell 7": "
|
|
79
|
-
"Selected cell 8": "
|
|
71
|
+
"Selected cell 0": "Top left",
|
|
72
|
+
"Selected cell 1": "Top center",
|
|
73
|
+
"Selected cell 2": "Top right",
|
|
74
|
+
"Selected cell 3": "Middle left",
|
|
75
|
+
"Selected cell 4": "Middle center",
|
|
76
|
+
"Selected cell 5": "Middle right",
|
|
77
|
+
"Selected cell 6": "Bottom left",
|
|
78
|
+
"Selected cell 7": "Bottom center",
|
|
79
|
+
"Selected cell 8": "Bottom right"
|
|
80
80
|
};
|
|
81
81
|
|
|
82
82
|
exports.Add = Add;
|
|
@@ -67,17 +67,16 @@ var pl = {
|
|
|
67
67
|
"Last Year": "Ostatni Rok",
|
|
68
68
|
Add: Add,
|
|
69
69
|
Search: Search,
|
|
70
|
-
"Selected cell": "A tak sobie",
|
|
71
70
|
"Selected cell -1": "Nie wybrano",
|
|
72
|
-
"Selected cell 0": "
|
|
73
|
-
"Selected cell 1": "
|
|
74
|
-
"Selected cell 2": "
|
|
75
|
-
"Selected cell 3": "
|
|
76
|
-
"Selected cell 4": "
|
|
77
|
-
"Selected cell 5": "
|
|
78
|
-
"Selected cell 6": "
|
|
79
|
-
"Selected cell 7": "
|
|
80
|
-
"Selected cell 8": "
|
|
71
|
+
"Selected cell 0": "Góra z lewej",
|
|
72
|
+
"Selected cell 1": "Góra na środku",
|
|
73
|
+
"Selected cell 2": "Góra z prawej",
|
|
74
|
+
"Selected cell 3": "Środek z lewej",
|
|
75
|
+
"Selected cell 4": "Środek",
|
|
76
|
+
"Selected cell 5": "Środek z prawej",
|
|
77
|
+
"Selected cell 6": "Dół z lewej",
|
|
78
|
+
"Selected cell 7": "Dół na środku",
|
|
79
|
+
"Selected cell 8": "Dół z prawej"
|
|
81
80
|
};
|
|
82
81
|
|
|
83
82
|
exports.Add = Add;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pl.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pl.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useState, useEffect } from 'react';
|
|
2
2
|
import { useTranslation } from '../../../../node_modules/react-i18next/dist/es/useTranslation.js';
|
|
3
|
-
import { cellSelector, cellSelectorContainer, cellSelectorRow, cellSelectorCell, cellSelectorCellActive
|
|
3
|
+
import { cellSelector, cellSelectorContainer, cellSelectorRow, cellSelectorCell, cellSelectorCellActive } from '../css_classes.js';
|
|
4
4
|
import styles from '../../../css/cell_selector/main.module.less.js';
|
|
5
5
|
|
|
6
6
|
var CellSelector = function (_a) {
|
|
@@ -33,8 +33,7 @@ var CellSelector = function (_a) {
|
|
|
33
33
|
onChange === null || onChange === void 0 ? void 0 : onChange(cellIndex + (withValueOffset ? 1 : 0));
|
|
34
34
|
};
|
|
35
35
|
return (React.createElement("div", { className: styles[cellSelector] + " " + className },
|
|
36
|
-
React.createElement("div", { className: styles[cellSelectorContainer] }, Array.from({ length: rows }).map(function (_, rowIndex) { return (React.createElement("div", { key: "CellSelector-" + name + "-Row-" + rowIndex, className: styles[cellSelectorRow] }, Array.from({ length: cols }).map(function (_, colIndex) { return (React.createElement("div", { key: "CellSelector-" + name + "-Row-" + rowIndex + "-Col-" + colIndex, className: styles[cellSelectorCell] + " " + (isSelected(rowIndex, colIndex) ? styles[cellSelectorCellActive] : ''), onClick: function () { return onClick(rowIndex, colIndex); } })); }))); }))
|
|
37
|
-
React.createElement("div", { className: styles[cellSelectorDescription] }, t("Selected cell " + (selectedCell !== null && selectedCell !== void 0 ? selectedCell : -1)))));
|
|
36
|
+
React.createElement("div", { className: styles[cellSelectorContainer] }, Array.from({ length: rows }).map(function (_, rowIndex) { return (React.createElement("div", { key: "CellSelector-" + name + "-Row-" + rowIndex, className: styles[cellSelectorRow] }, Array.from({ length: cols }).map(function (_, colIndex) { return (React.createElement("div", { key: "CellSelector-" + name + "-Row-" + rowIndex + "-Col-" + colIndex, className: styles[cellSelectorCell] + " " + (isSelected(rowIndex, colIndex) ? styles[cellSelectorCellActive] : ''), onClick: function () { return onClick(rowIndex, colIndex); } })); }))); }))));
|
|
38
37
|
};
|
|
39
38
|
|
|
40
39
|
export default CellSelector;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cell_selector.js","sources":["../../../../../../src/components/controls/components/cell_selector.tsx"],"sourcesContent":["import React, { useEffect, useState } from 'react';\nimport styles from '@css/cell_selector/main.module.less';\nimport {\n cellSelector,\n cellSelectorRow,\n cellSelectorCell,\n cellSelectorCellActive,\n cellSelectorContainer,\n cellSelectorDescription,\n} from '../css_classes';\nimport { ICellSelector } from '@components/controls/types';\nimport { useTranslation } from 'react-i18next';\n\nconst CellSelector: React.FC<ICellSelector> = ({\n rows = 3,\n cols = 3,\n name,\n initialSelected,\n withValueOffset = true,\n onChange,\n className = '',\n}) => {\n const [selectedCell, setSelectedCell] = useState(initialSelected);\n const { t } = useTranslation();\n\n useEffect(() => {\n if (initialSelected === undefined) {\n setSelectedCell(initialSelected);\n } else {\n setSelectedCell(initialSelected - (withValueOffset ? 1 : 0));\n }\n }, [setSelectedCell, withValueOffset, initialSelected]);\n\n const isSelected = (row: number, col: number) => {\n if (selectedCell === undefined) {\n return false;\n }\n if (parseInt(`${selectedCell / cols}`) !== row) {\n return false;\n }\n if (selectedCell % cols !== col) {\n return false;\n }\n\n return true;\n };\n\n const onClick = (row: number, col: number) => {\n const cellIndex = row * cols + col;\n setSelectedCell(cellIndex);\n onChange?.(cellIndex + (withValueOffset ? 1 : 0));\n };\n\n return (\n <div className={`${styles[cellSelector]} ${className}`}>\n <div className={styles[cellSelectorContainer]}>\n {Array.from({ length: rows }).map((_, rowIndex) => (\n <div key={`CellSelector-${name}-Row-${rowIndex}`} className={styles[cellSelectorRow]}>\n {Array.from({ length: cols }).map((_, colIndex) => (\n <div\n key={`CellSelector-${name}-Row-${rowIndex}-Col-${colIndex}`}\n className={`${styles[cellSelectorCell]} ${isSelected(rowIndex, colIndex) ? styles[cellSelectorCellActive] : ''}`}\n onClick={() => onClick(rowIndex, colIndex)}\n />\n ))}\n </div>\n ))}\n </div>\n
|
|
1
|
+
{"version":3,"file":"cell_selector.js","sources":["../../../../../../src/components/controls/components/cell_selector.tsx"],"sourcesContent":["import React, { useEffect, useState } from 'react';\nimport styles from '@css/cell_selector/main.module.less';\nimport {\n cellSelector,\n cellSelectorRow,\n cellSelectorCell,\n cellSelectorCellActive,\n cellSelectorContainer,\n cellSelectorDescription,\n} from '../css_classes';\nimport { ICellSelector } from '@components/controls/types';\nimport { useTranslation } from 'react-i18next';\n\nconst CellSelector: React.FC<ICellSelector> = ({\n rows = 3,\n cols = 3,\n name,\n initialSelected,\n withValueOffset = true,\n onChange,\n className = '',\n}) => {\n const [selectedCell, setSelectedCell] = useState(initialSelected);\n const { t } = useTranslation();\n\n useEffect(() => {\n if (initialSelected === undefined) {\n setSelectedCell(initialSelected);\n } else {\n setSelectedCell(initialSelected - (withValueOffset ? 1 : 0));\n }\n }, [setSelectedCell, withValueOffset, initialSelected]);\n\n const isSelected = (row: number, col: number) => {\n if (selectedCell === undefined) {\n return false;\n }\n if (parseInt(`${selectedCell / cols}`) !== row) {\n return false;\n }\n if (selectedCell % cols !== col) {\n return false;\n }\n\n return true;\n };\n\n const onClick = (row: number, col: number) => {\n const cellIndex = row * cols + col;\n setSelectedCell(cellIndex);\n onChange?.(cellIndex + (withValueOffset ? 1 : 0));\n };\n\n return (\n <div className={`${styles[cellSelector]} ${className}`}>\n <div className={styles[cellSelectorContainer]}>\n {Array.from({ length: rows }).map((_, rowIndex) => (\n <div key={`CellSelector-${name}-Row-${rowIndex}`} className={styles[cellSelectorRow]}>\n {Array.from({ length: cols }).map((_, colIndex) => (\n <div\n key={`CellSelector-${name}-Row-${rowIndex}-Col-${colIndex}`}\n className={`${styles[cellSelectorCell]} ${isSelected(rowIndex, colIndex) ? styles[cellSelectorCellActive] : ''}`}\n onClick={() => onClick(rowIndex, colIndex)}\n />\n ))}\n </div>\n ))}\n </div>\n </div>\n );\n};\n\nexport default CellSelector;\n"],"names":[],"mappings":";;;;;IAaM,YAAY,GAA4B,UAAC,EAQ9C;QAPG,YAAQ,EAAR,6BAAQ,EACR,YAAQ,EAAR,6BAAQ,EACR,cAAI,EACJ,oCAAe,EACf,uBAAsB,EAAtB,2CAAsB,EACtB,sBAAQ,EACR,iBAAc,EAAd,mCAAc;IAER,IAAA,8BAA2D,EAA1D,oBAAY,EAAE,uBAA4C,CAAC;IAC1D,IAAA,sBAAC,CAAsB;IAE/B,SAAS,CAAC;QACN,IAAI,eAAe,KAAK,SAAS,EAAE;YAC/B,eAAe,CAAC,eAAe,CAAC,CAAC;SACpC;aAAM;YACH,eAAe,CAAC,eAAe,IAAI,eAAe,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;SAChE;KACJ,EAAE,CAAC,eAAe,EAAE,eAAe,EAAE,eAAe,CAAC,CAAC,CAAC;IAExD,IAAM,UAAU,GAAG,UAAC,GAAW,EAAE,GAAW;QACxC,IAAI,YAAY,KAAK,SAAS,EAAE;YAC5B,OAAO,KAAK,CAAC;SAChB;QACD,IAAI,QAAQ,CAAC,KAAG,YAAY,GAAG,IAAM,CAAC,KAAK,GAAG,EAAE;YAC5C,OAAO,KAAK,CAAC;SAChB;QACD,IAAI,YAAY,GAAG,IAAI,KAAK,GAAG,EAAE;YAC7B,OAAO,KAAK,CAAC;SAChB;QAED,OAAO,IAAI,CAAC;KACf,CAAC;IAEF,IAAM,OAAO,GAAG,UAAC,GAAW,EAAE,GAAW;QACrC,IAAM,SAAS,GAAG,GAAG,GAAG,IAAI,GAAG,GAAG,CAAC;QACnC,eAAe,CAAC,SAAS,CAAC,CAAC;QAC3B,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAG,SAAS,IAAI,eAAe,GAAG,CAAC,GAAG,CAAC,CAAC,EAAE;KACrD,CAAC;IAEF,QACI,6BAAK,SAAS,EAAK,MAAM,CAAC,YAAY,CAAC,SAAI,SAAW;QAClD,6BAAK,SAAS,EAAE,MAAM,CAAC,qBAAqB,CAAC,IACxC,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,UAAC,CAAC,EAAE,QAAQ,IAAK,QAC/C,6BAAK,GAAG,EAAE,kBAAgB,IAAI,aAAQ,QAAU,EAAE,SAAS,EAAE,MAAM,CAAC,eAAe,CAAC,IAC/E,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,UAAC,CAAC,EAAE,QAAQ,IAAK,QAC/C,6BACI,GAAG,EAAE,kBAAgB,IAAI,aAAQ,QAAQ,aAAQ,QAAU,EAC3D,SAAS,EAAK,MAAM,CAAC,gBAAgB,CAAC,UAAI,UAAU,CAAC,QAAQ,EAAE,QAAQ,CAAC,GAAG,MAAM,CAAC,sBAAsB,CAAC,GAAG,EAAE,CAAE,EAChH,OAAO,EAAE,cAAM,OAAA,OAAO,CAAC,QAAQ,EAAE,QAAQ,CAAC,GAAA,GAC5C,IACL,CAAC,CACA,IACT,CAAC,CACA,CACJ,EACR;AACN;;;;"}
|
|
@@ -34,10 +34,9 @@ var radioControl = radio + "__control";
|
|
|
34
34
|
var radioLabel = radio + "__label";
|
|
35
35
|
var cellSelector = 'cell-selector';
|
|
36
36
|
var cellSelectorContainer = cellSelector + "__container";
|
|
37
|
-
var cellSelectorDescription = cellSelector + "__description";
|
|
38
37
|
var cellSelectorRow = cellSelector + "__row";
|
|
39
38
|
var cellSelectorCell = cellSelector + "__cell";
|
|
40
39
|
var cellSelectorCellActive = cellSelectorCell + "_active";
|
|
41
40
|
|
|
42
|
-
export { cellSelector, cellSelectorCell, cellSelectorCellActive, cellSelectorContainer,
|
|
41
|
+
export { cellSelector, cellSelectorCell, cellSelectorCellActive, cellSelectorContainer, cellSelectorRow, checkbox, checkboxControl, checkboxDisabled, checkboxIcon, checkboxLabel, checkboxSwitch, checkboxSwitchControl, checkboxSwitchDisabled, checkboxSwitchIcon, checkboxSwitchLabel, cssControl, cssControlDisabled, cssControlError, cssControlFocus, cssControlInput, cssControlReadonly, cssControlS, cssControlWrapper, cssControls, cssControlsContent, cssControlsElement, cssControlsElementCheckbox, cssControlsElementPostfix, cssControlsElementPrefix, cssControlsElementRadio, cssControlsError, cssControlsErrors, cssControlsErrorsList, cssControlsErrorsListItem, cssControlsLabel, radio, radioControl, radioDisabled, radioLabel };
|
|
43
42
|
//# sourceMappingURL=css_classes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"css_classes.js","sources":["../../../../../src/components/controls/css_classes.ts"],"sourcesContent":["export const cssControls = 'controls';\nexport const cssControlsError = 'controls_error';\nexport const cssControlsLabel = `${cssControls}__label`;\nexport const cssControlsContent = `${cssControls}__content`;\nexport const cssControlsElement = `${cssControls}__element`;\nexport const cssControlsElementPrefix = `${cssControls}__element_prefix`;\nexport const cssControlsElementPostfix = `${cssControls}__element_postfix`;\nexport const cssControlsElementCheckbox = `${cssControls}__element_checkbox`;\nexport const cssControlsElementRadio = `${cssControls}__element_radio`;\nexport const cssControlsErrors = `${cssControls}__errors`;\nexport const cssControlsErrorsList = `${cssControls}__errors-list`;\nexport const cssControlsErrorsListItem = `${cssControls}__errors-list-item`;\n\nexport const cssControl = 'control';\nexport const cssControlS = 'control_s';\nexport const cssControlWrapper = 'control_wrapper';\nexport const cssControlFocus = 'control_focus';\nexport const cssControlDisabled = 'control_disabled';\nexport const cssControlReadonly = 'control_readonly';\nexport const cssControlError = 'control_error';\nexport const cssControlInput = 'control__input';\n\nexport const checkbox = 'checkbox';\nexport const checkboxDisabled = `${checkbox}_disabled`;\nexport const checkboxControl = `${checkbox}__control`;\nexport const checkboxLabel = `${checkbox}__label`;\nexport const checkboxIcon = `${checkbox}__icon`;\n\nexport const checkboxSwitch = 'checkbox-switch';\nexport const checkboxSwitchDisabled = `${checkboxSwitch}_disabled`;\nexport const checkboxSwitchControl = `${checkboxSwitch}__control`;\nexport const checkboxSwitchLabel = `${checkboxSwitch}__label`;\nexport const checkboxSwitchIcon = `${checkboxSwitch}__icon`;\n\nexport const radio = 'radio';\nexport const radioDisabled = `${radio}_disabled`;\nexport const radioControl = `${radio}__control`;\nexport const radioLabel = `${radio}__label`;\n\nexport const cellSelector = 'cell-selector';\nexport const cellSelectorContainer = `${cellSelector}__container`;\nexport const cellSelectorDescription = `${cellSelector}__description`;\nexport const cellSelectorRow = `${cellSelector}__row`;\nexport const cellSelectorCell = `${cellSelector}__cell`;\nexport const cellSelectorCellActive = `${cellSelectorCell}_active`;\n"],"names":[],"mappings":"IAAa,WAAW,GAAG,WAAW;IACzB,gBAAgB,GAAG,iBAAiB;IACpC,gBAAgB,GAAM,WAAW,aAAU;IAC3C,kBAAkB,GAAM,WAAW,eAAY;IAC/C,kBAAkB,GAAM,WAAW,eAAY;IAC/C,wBAAwB,GAAM,WAAW,sBAAmB;IAC5D,yBAAyB,GAAM,WAAW,uBAAoB;IAC9D,0BAA0B,GAAM,WAAW,wBAAqB;IAChE,uBAAuB,GAAM,WAAW,qBAAkB;IAC1D,iBAAiB,GAAM,WAAW,cAAW;IAC7C,qBAAqB,GAAM,WAAW,mBAAgB;IACtD,yBAAyB,GAAM,WAAW,wBAAqB;IAE/D,UAAU,GAAG,UAAU;IACvB,WAAW,GAAG,YAAY;IAC1B,iBAAiB,GAAG,kBAAkB;IACtC,eAAe,GAAG,gBAAgB;IAClC,kBAAkB,GAAG,mBAAmB;IACxC,kBAAkB,GAAG,mBAAmB;IACxC,eAAe,GAAG,gBAAgB;IAClC,eAAe,GAAG,iBAAiB;IAEnC,QAAQ,GAAG,WAAW;IACtB,gBAAgB,GAAM,QAAQ,eAAY;IAC1C,eAAe,GAAM,QAAQ,eAAY;IACzC,aAAa,GAAM,QAAQ,aAAU;IACrC,YAAY,GAAM,QAAQ,YAAS;IAEnC,cAAc,GAAG,kBAAkB;IACnC,sBAAsB,GAAM,cAAc,eAAY;IACtD,qBAAqB,GAAM,cAAc,eAAY;IACrD,mBAAmB,GAAM,cAAc,aAAU;IACjD,kBAAkB,GAAM,cAAc,YAAS;IAE/C,KAAK,GAAG,QAAQ;IAChB,aAAa,GAAM,KAAK,eAAY;IACpC,YAAY,GAAM,KAAK,eAAY;IACnC,UAAU,GAAM,KAAK,aAAU;IAE/B,YAAY,GAAG,gBAAgB;IAC/B,qBAAqB,GAAM,YAAY,iBAAc;
|
|
1
|
+
{"version":3,"file":"css_classes.js","sources":["../../../../../src/components/controls/css_classes.ts"],"sourcesContent":["export const cssControls = 'controls';\nexport const cssControlsError = 'controls_error';\nexport const cssControlsLabel = `${cssControls}__label`;\nexport const cssControlsContent = `${cssControls}__content`;\nexport const cssControlsElement = `${cssControls}__element`;\nexport const cssControlsElementPrefix = `${cssControls}__element_prefix`;\nexport const cssControlsElementPostfix = `${cssControls}__element_postfix`;\nexport const cssControlsElementCheckbox = `${cssControls}__element_checkbox`;\nexport const cssControlsElementRadio = `${cssControls}__element_radio`;\nexport const cssControlsErrors = `${cssControls}__errors`;\nexport const cssControlsErrorsList = `${cssControls}__errors-list`;\nexport const cssControlsErrorsListItem = `${cssControls}__errors-list-item`;\n\nexport const cssControl = 'control';\nexport const cssControlS = 'control_s';\nexport const cssControlWrapper = 'control_wrapper';\nexport const cssControlFocus = 'control_focus';\nexport const cssControlDisabled = 'control_disabled';\nexport const cssControlReadonly = 'control_readonly';\nexport const cssControlError = 'control_error';\nexport const cssControlInput = 'control__input';\n\nexport const checkbox = 'checkbox';\nexport const checkboxDisabled = `${checkbox}_disabled`;\nexport const checkboxControl = `${checkbox}__control`;\nexport const checkboxLabel = `${checkbox}__label`;\nexport const checkboxIcon = `${checkbox}__icon`;\n\nexport const checkboxSwitch = 'checkbox-switch';\nexport const checkboxSwitchDisabled = `${checkboxSwitch}_disabled`;\nexport const checkboxSwitchControl = `${checkboxSwitch}__control`;\nexport const checkboxSwitchLabel = `${checkboxSwitch}__label`;\nexport const checkboxSwitchIcon = `${checkboxSwitch}__icon`;\n\nexport const radio = 'radio';\nexport const radioDisabled = `${radio}_disabled`;\nexport const radioControl = `${radio}__control`;\nexport const radioLabel = `${radio}__label`;\n\nexport const cellSelector = 'cell-selector';\nexport const cellSelectorContainer = `${cellSelector}__container`;\nexport const cellSelectorDescription = `${cellSelector}__description`;\nexport const cellSelectorRow = `${cellSelector}__row`;\nexport const cellSelectorCell = `${cellSelector}__cell`;\nexport const cellSelectorCellActive = `${cellSelectorCell}_active`;\n"],"names":[],"mappings":"IAAa,WAAW,GAAG,WAAW;IACzB,gBAAgB,GAAG,iBAAiB;IACpC,gBAAgB,GAAM,WAAW,aAAU;IAC3C,kBAAkB,GAAM,WAAW,eAAY;IAC/C,kBAAkB,GAAM,WAAW,eAAY;IAC/C,wBAAwB,GAAM,WAAW,sBAAmB;IAC5D,yBAAyB,GAAM,WAAW,uBAAoB;IAC9D,0BAA0B,GAAM,WAAW,wBAAqB;IAChE,uBAAuB,GAAM,WAAW,qBAAkB;IAC1D,iBAAiB,GAAM,WAAW,cAAW;IAC7C,qBAAqB,GAAM,WAAW,mBAAgB;IACtD,yBAAyB,GAAM,WAAW,wBAAqB;IAE/D,UAAU,GAAG,UAAU;IACvB,WAAW,GAAG,YAAY;IAC1B,iBAAiB,GAAG,kBAAkB;IACtC,eAAe,GAAG,gBAAgB;IAClC,kBAAkB,GAAG,mBAAmB;IACxC,kBAAkB,GAAG,mBAAmB;IACxC,eAAe,GAAG,gBAAgB;IAClC,eAAe,GAAG,iBAAiB;IAEnC,QAAQ,GAAG,WAAW;IACtB,gBAAgB,GAAM,QAAQ,eAAY;IAC1C,eAAe,GAAM,QAAQ,eAAY;IACzC,aAAa,GAAM,QAAQ,aAAU;IACrC,YAAY,GAAM,QAAQ,YAAS;IAEnC,cAAc,GAAG,kBAAkB;IACnC,sBAAsB,GAAM,cAAc,eAAY;IACtD,qBAAqB,GAAM,cAAc,eAAY;IACrD,mBAAmB,GAAM,cAAc,aAAU;IACjD,kBAAkB,GAAM,cAAc,YAAS;IAE/C,KAAK,GAAG,QAAQ;IAChB,aAAa,GAAM,KAAK,eAAY;IACpC,YAAY,GAAM,KAAK,eAAY;IACnC,UAAU,GAAM,KAAK,aAAU;IAE/B,YAAY,GAAG,gBAAgB;IAC/B,qBAAqB,GAAM,YAAY,iBAAc;IAErD,eAAe,GAAM,YAAY,WAAQ;IACzC,gBAAgB,GAAM,YAAY,YAAS;IAC3C,sBAAsB,GAAM,gBAAgB;;;;"}
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
"Add": "Add",
|
|
39
39
|
"Search": "Search",
|
|
40
40
|
"Selected cell -1": "Not selected",
|
|
41
|
-
"Selected cell 0": "
|
|
42
|
-
"Selected cell 1": "
|
|
43
|
-
"Selected cell 2": "
|
|
44
|
-
"Selected cell 3": "
|
|
45
|
-
"Selected cell 4": "
|
|
46
|
-
"Selected cell 5": "
|
|
47
|
-
"Selected cell 6": "
|
|
48
|
-
"Selected cell 7": "
|
|
49
|
-
"Selected cell 8": "
|
|
41
|
+
"Selected cell 0": "Top left",
|
|
42
|
+
"Selected cell 1": "Top center",
|
|
43
|
+
"Selected cell 2": "Top right",
|
|
44
|
+
"Selected cell 3": "Middle left",
|
|
45
|
+
"Selected cell 4": "Middle center",
|
|
46
|
+
"Selected cell 5": "Middle right",
|
|
47
|
+
"Selected cell 6": "Bottom left",
|
|
48
|
+
"Selected cell 7": "Bottom center",
|
|
49
|
+
"Selected cell 8": "Bottom right"
|
|
50
50
|
}
|
|
@@ -64,15 +64,15 @@ var en = {
|
|
|
64
64
|
Add: Add,
|
|
65
65
|
Search: Search,
|
|
66
66
|
"Selected cell -1": "Not selected",
|
|
67
|
-
"Selected cell 0": "
|
|
68
|
-
"Selected cell 1": "
|
|
69
|
-
"Selected cell 2": "
|
|
70
|
-
"Selected cell 3": "
|
|
71
|
-
"Selected cell 4": "
|
|
72
|
-
"Selected cell 5": "
|
|
73
|
-
"Selected cell 6": "
|
|
74
|
-
"Selected cell 7": "
|
|
75
|
-
"Selected cell 8": "
|
|
67
|
+
"Selected cell 0": "Top left",
|
|
68
|
+
"Selected cell 1": "Top center",
|
|
69
|
+
"Selected cell 2": "Top right",
|
|
70
|
+
"Selected cell 3": "Middle left",
|
|
71
|
+
"Selected cell 4": "Middle center",
|
|
72
|
+
"Selected cell 5": "Middle right",
|
|
73
|
+
"Selected cell 6": "Bottom left",
|
|
74
|
+
"Selected cell 7": "Bottom center",
|
|
75
|
+
"Selected cell 8": "Bottom right"
|
|
76
76
|
};
|
|
77
77
|
|
|
78
78
|
export default en;
|
|
@@ -37,15 +37,14 @@
|
|
|
37
37
|
"Last Year": "Ostatni Rok",
|
|
38
38
|
"Add": "Dodaj",
|
|
39
39
|
"Search": "Szukaj",
|
|
40
|
-
"Selected cell": "A tak sobie",
|
|
41
40
|
"Selected cell -1": "Nie wybrano",
|
|
42
|
-
"Selected cell 0": "
|
|
43
|
-
"Selected cell 1": "
|
|
44
|
-
"Selected cell 2": "
|
|
45
|
-
"Selected cell 3": "
|
|
46
|
-
"Selected cell 4": "
|
|
47
|
-
"Selected cell 5": "
|
|
48
|
-
"Selected cell 6": "
|
|
49
|
-
"Selected cell 7": "
|
|
50
|
-
"Selected cell 8": "
|
|
41
|
+
"Selected cell 0": "Góra z lewej",
|
|
42
|
+
"Selected cell 1": "Góra na środku",
|
|
43
|
+
"Selected cell 2": "Góra z prawej",
|
|
44
|
+
"Selected cell 3": "Środek z lewej",
|
|
45
|
+
"Selected cell 4": "Środek",
|
|
46
|
+
"Selected cell 5": "Środek z prawej",
|
|
47
|
+
"Selected cell 6": "Dół z lewej",
|
|
48
|
+
"Selected cell 7": "Dół na środku",
|
|
49
|
+
"Selected cell 8": "Dół z prawej"
|
|
51
50
|
}
|
|
@@ -63,17 +63,16 @@ var pl = {
|
|
|
63
63
|
"Last Year": "Ostatni Rok",
|
|
64
64
|
Add: Add,
|
|
65
65
|
Search: Search,
|
|
66
|
-
"Selected cell": "A tak sobie",
|
|
67
66
|
"Selected cell -1": "Nie wybrano",
|
|
68
|
-
"Selected cell 0": "
|
|
69
|
-
"Selected cell 1": "
|
|
70
|
-
"Selected cell 2": "
|
|
71
|
-
"Selected cell 3": "
|
|
72
|
-
"Selected cell 4": "
|
|
73
|
-
"Selected cell 5": "
|
|
74
|
-
"Selected cell 6": "
|
|
75
|
-
"Selected cell 7": "
|
|
76
|
-
"Selected cell 8": "
|
|
67
|
+
"Selected cell 0": "Góra z lewej",
|
|
68
|
+
"Selected cell 1": "Góra na środku",
|
|
69
|
+
"Selected cell 2": "Góra z prawej",
|
|
70
|
+
"Selected cell 3": "Środek z lewej",
|
|
71
|
+
"Selected cell 4": "Środek",
|
|
72
|
+
"Selected cell 5": "Środek z prawej",
|
|
73
|
+
"Selected cell 6": "Dół z lewej",
|
|
74
|
+
"Selected cell 7": "Dół na środku",
|
|
75
|
+
"Selected cell 8": "Dół z prawej"
|
|
77
76
|
};
|
|
78
77
|
|
|
79
78
|
export default pl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pl.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pl.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|