@k-int/stripes-kint-components 1.5.0 → 2.0.0
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/CHANGELOG.md +40 -1
- package/es/index.js +80 -25
- package/es/lib/ActionList/ActionList.js +92 -33
- package/es/lib/ActionList/ActionListFieldArray.js +202 -104
- package/es/lib/ActionList/index.js +7 -3
- package/es/lib/CustomProperties/Config/CustomPropertiesLookup.js +198 -0
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +321 -0
- package/es/lib/CustomProperties/Config/CustomPropertiesView.js +166 -0
- package/es/lib/CustomProperties/Config/CustomPropertyForm.js +357 -0
- package/es/lib/CustomProperties/Config/index.js +41 -0
- package/es/lib/EditableRefdataList/EditableRefdataList.js +69 -24
- package/es/lib/EditableRefdataList/index.js +7 -3
- package/es/lib/EditableSettingsList/EditableSettingsList.js +90 -0
- package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.js +90 -0
- package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.test.js +181 -0
- package/es/lib/{Settings → EditableSettingsList/SettingField}/EditSettingValue.js +72 -9
- package/es/lib/EditableSettingsList/SettingField/EditSettingValue.test.js +447 -0
- package/es/lib/{Settings → EditableSettingsList/SettingField}/RenderSettingValue.js +45 -7
- package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.test.js +495 -0
- package/es/lib/EditableSettingsList/SettingField/SettingField.js +187 -0
- package/es/lib/EditableSettingsList/SettingField/SettingField.test.js +180 -0
- package/es/lib/EditableSettingsList/SettingField/index.js +35 -0
- package/es/lib/EditableSettingsList/index.js +35 -0
- package/es/lib/FormModal/FormModal.js +126 -0
- package/es/lib/FormModal/index.js +19 -0
- package/es/lib/NoResultsMessage/NoResultsMessage.js +65 -32
- package/es/lib/NoResultsMessage/index.js +7 -3
- package/es/lib/QueryTypedown/QueryTypedown.js +48 -9
- package/es/lib/QueryTypedown/index.js +6 -2
- package/es/lib/RefdataButtons/RefdataButtons.js +143 -0
- package/es/lib/RefdataButtons/index.js +19 -0
- package/es/lib/SASQLookupComponent/SASQLookupComponent.js +194 -140
- package/es/lib/SASQLookupComponent/index.js +6 -2
- package/es/lib/SASQRoute/SASQRoute.js +55 -18
- package/es/lib/SASQRoute/index.js +6 -2
- package/es/lib/SASQViewComponent/SASQViewComponent.js +50 -11
- package/es/lib/SASQViewComponent/index.js +6 -2
- package/es/lib/SearchField/SearchField.js +48 -13
- package/es/lib/SearchField/index.js +6 -2
- package/es/lib/SettingPage/SettingPage.js +99 -0
- package/es/lib/SettingPage/SettingPagePane.js +83 -0
- package/es/lib/SettingPage/index.js +27 -0
- package/es/lib/Typedown/Typedown.js +174 -99
- package/es/lib/Typedown/index.js +6 -2
- package/es/lib/constants/customProperties.js +60 -0
- package/es/lib/constants/eventCodes.js +31 -1
- package/es/lib/contexts/SettingsContext.js +41 -0
- package/es/lib/contexts/index.js +19 -0
- package/es/lib/hooks/index.js +44 -10
- package/es/lib/hooks/settingsHooks/index.js +27 -0
- package/es/lib/hooks/settingsHooks/useSettingSection.js +74 -0
- package/es/lib/hooks/settingsHooks/useSettings.js +175 -0
- package/es/lib/hooks/typedownHooks/index.js +8 -28
- package/es/lib/hooks/typedownHooks/useTypedown.js +129 -12
- package/es/lib/hooks/typedownHooks/useTypedownData.js +35 -2
- package/es/lib/hooks/typedownHooks/useTypedownToggle.js +39 -6
- package/es/lib/hooks/useActiveElement.js +33 -2
- package/es/lib/hooks/useCustomProperties.js +112 -0
- package/es/lib/hooks/useHelperApp.js +44 -11
- package/es/lib/hooks/useKiwtFieldArray.js +37 -4
- package/es/lib/hooks/useKiwtSASQuery.js +43 -9
- package/es/lib/hooks/useLocalStorageState.js +37 -4
- package/es/lib/hooks/useMutateCustomProperties.js +143 -0
- package/es/lib/hooks/useMutateRefdataValue.js +42 -9
- package/es/lib/hooks/useQIndex.js +42 -9
- package/es/lib/hooks/useRefdata.js +43 -16
- package/es/lib/hooks/useTemplates.js +36 -3
- package/es/lib/utils/buildUrl.js +43 -10
- package/es/lib/utils/generateKiwtQuery.js +33 -4
- package/es/lib/utils/generateKiwtQueryParams.js +31 -2
- package/es/lib/utils/index.js +41 -5
- package/es/lib/utils/refdataOptions.js +43 -0
- package/es/lib/utils/renderHelpText.js +109 -0
- package/es/lib/utils/selectorSafe.js +31 -2
- package/es/lib/utils/sortByLabel.js +55 -0
- package/es/lib/utils/toCamelCase.js +48 -0
- package/jest.config.js +15 -1
- package/package.json +19 -10
- package/src/index.js +25 -10
- package/src/lib/ActionList/ActionList.js +32 -22
- package/src/lib/ActionList/ActionListFieldArray.js +56 -10
- package/src/lib/ActionList/README.md +5 -1
- package/src/lib/ActionList/index.js +1 -1
- package/src/lib/CustomProperties/Config/CustomPropertiesLookup.js +111 -0
- package/src/lib/CustomProperties/Config/CustomPropertiesSettings.js +237 -0
- package/src/lib/CustomProperties/Config/CustomPropertiesView.js +150 -0
- package/src/lib/CustomProperties/Config/CustomPropertyForm.js +295 -0
- package/src/lib/CustomProperties/Config/index.js +4 -0
- package/src/lib/EditableRefdataList/EditableRefdataList.js +10 -5
- package/src/lib/EditableRefdataList/index.js +1 -1
- package/src/lib/{Settings → EditableSettingsList}/EditableSettingsList.js +0 -0
- package/src/lib/{Settings → EditableSettingsList}/EditableSettingsListFieldArray.js +2 -2
- package/src/lib/EditableSettingsList/EditableSettingsListFieldArray.test.js +111 -0
- package/src/lib/{Settings → EditableSettingsList/SettingField}/EditSettingValue.js +24 -1
- package/src/lib/EditableSettingsList/SettingField/EditSettingValue.test.js +379 -0
- package/src/lib/{Settings → EditableSettingsList/SettingField}/RenderSettingValue.js +2 -1
- package/src/lib/EditableSettingsList/SettingField/RenderSettingValue.test.js +368 -0
- package/src/lib/{Settings → EditableSettingsList/SettingField}/SettingField.js +7 -7
- package/src/lib/EditableSettingsList/SettingField/SettingField.test.js +80 -0
- package/src/lib/EditableSettingsList/SettingField/index.js +3 -0
- package/src/lib/EditableSettingsList/index.js +3 -0
- package/src/lib/FormModal/FormModal.js +71 -0
- package/src/lib/FormModal/index.js +1 -0
- package/src/lib/NoResultsMessage/NoResultsMessage.js +2 -2
- package/src/lib/NoResultsMessage/index.js +1 -1
- package/src/lib/{Settings → RefdataButtons}/RefdataButtons.js +1 -1
- package/src/lib/RefdataButtons/index.js +1 -0
- package/src/lib/SASQLookupComponent/SASQLookupComponent.js +7 -1
- package/src/lib/{Settings → SettingPage}/SettingPage.js +5 -5
- package/src/lib/{Settings → SettingPage}/SettingPagePane.js +12 -2
- package/src/lib/SettingPage/index.js +2 -0
- package/src/lib/Typedown/Typedown.js +52 -9
- package/src/lib/constants/customProperties.js +9 -0
- package/src/lib/{Settings → contexts}/SettingsContext.js +1 -1
- package/src/lib/contexts/index.js +2 -0
- package/src/lib/hooks/index.js +3 -0
- package/src/lib/hooks/settingsHooks/index.js +2 -0
- package/src/lib/{Settings → hooks/settingsHooks}/useSettingSection.js +0 -0
- package/src/lib/{Settings → hooks/settingsHooks}/useSettings.js +14 -6
- package/src/lib/hooks/typedownHooks/index.js +0 -3
- package/src/lib/hooks/typedownHooks/useTypedown.js +93 -11
- package/src/lib/hooks/useCustomProperties.js +73 -0
- package/src/lib/hooks/useMutateCustomProperties.js +62 -0
- package/src/lib/hooks/useRefdata.js +2 -8
- package/src/lib/utils/index.js +7 -0
- package/src/lib/utils/refdataOptions.js +7 -0
- package/src/lib/{Settings/utils → utils}/renderHelpText.js +1 -1
- package/src/lib/{Settings/utils → utils}/sortByLabel.js +1 -1
- package/src/lib/{Settings/utils → utils}/toCamelCase.js +0 -0
- package/test/helpers/index.js +1 -0
- package/test/helpers/translationsProperties.js +40 -0
- package/test/jest/helpers/KintHarness.js +36 -0
- package/test/jest/helpers/index.js +2 -0
- package/test/jest/helpers/renderWithKintHarness.js +15 -0
- package/test/jest/jest-transformer.js +4 -0
- package/test/jest/setupTests.js +1 -0
- package/translations/stripes-kint-components/en.json +48 -1
- package/yarn-error.log +14118 -0
- package/babelOptions.js +0 -30
- package/es/lib/Settings/EditableSettingsList.js +0 -57
- package/es/lib/Settings/EditableSettingsListFieldArray.js +0 -59
- package/es/lib/Settings/RefdataButtons.js +0 -100
- package/es/lib/Settings/SettingField.js +0 -144
- package/es/lib/Settings/SettingPage.js +0 -64
- package/es/lib/Settings/SettingPagePane.js +0 -43
- package/es/lib/Settings/SettingsContext.js +0 -18
- package/es/lib/Settings/index.js +0 -71
- package/es/lib/Settings/useSettingSection.js +0 -41
- package/es/lib/Settings/useSettings.js +0 -126
- package/es/lib/Settings/utils/index.js +0 -31
- package/es/lib/Settings/utils/renderHelpText.js +0 -57
- package/es/lib/Settings/utils/sortByLabel.js +0 -26
- package/es/lib/Settings/utils/toCamelCase.js +0 -19
- package/es/lib/TypeDown/TypeDown.js +0 -209
- package/es/lib/TypeDown/index.js +0 -15
- package/es/lib/hooks/typedownHooks/useTypedownFooter.js +0 -47
- package/es/lib/hooks/typedownHooks/useTypedownList.js +0 -45
- package/es/lib/hooks/typedownHooks/useTypedownSearchField.js +0 -47
- package/es/lib/utils/getFocusableElements.js +0 -132
- package/src/lib/Settings/index.js +0 -8
- package/src/lib/Settings/utils/index.js +0 -3
- package/src/lib/TypeDown/README.md +0 -1
- package/src/lib/TypeDown/TypeDown.js +0 -226
- package/src/lib/TypeDown/index.js +0 -1
- package/src/lib/hooks/typedownHooks/useTypedownFooter.js +0 -43
- package/src/lib/hooks/typedownHooks/useTypedownList.js +0 -36
- package/src/lib/hooks/typedownHooks/useTypedownSearchField.js +0 -39
- package/src/lib/utils/getFocusableElements.js +0 -99
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports
|
|
8
|
+
exports.default = void 0;
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
|
|
@@ -27,11 +27,18 @@ var _typedownHooks = require("../hooks/typedownHooks");
|
|
|
27
27
|
|
|
28
28
|
var _selectorSafe = _interopRequireDefault(require("../utils/selectorSafe"));
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
31
|
+
|
|
32
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
31
33
|
|
|
32
34
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
33
35
|
|
|
34
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return {
|
|
36
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
37
|
+
|
|
38
|
+
(function () {
|
|
39
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
40
|
+
enterModule && enterModule(module);
|
|
41
|
+
})();
|
|
35
42
|
|
|
36
43
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
37
44
|
|
|
@@ -45,10 +52,18 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
45
52
|
|
|
46
53
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
47
54
|
|
|
55
|
+
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
56
|
+
return a;
|
|
57
|
+
};
|
|
58
|
+
|
|
48
59
|
var Typedown = function Typedown(_ref) {
|
|
49
60
|
var dataOptions = _ref.dataOptions,
|
|
61
|
+
endOfList = _ref.endOfList,
|
|
62
|
+
id = _ref.id,
|
|
50
63
|
input = _ref.input,
|
|
64
|
+
isSelected = _ref.isSelected,
|
|
51
65
|
filterPath = _ref.filterPath,
|
|
66
|
+
label = _ref.label,
|
|
52
67
|
meta = _ref.meta,
|
|
53
68
|
onChange = _ref.onChange,
|
|
54
69
|
onType = _ref.onType,
|
|
@@ -56,14 +71,26 @@ var Typedown = function Typedown(_ref) {
|
|
|
56
71
|
renderFooter = _ref$renderFooter === void 0 ? null : _ref$renderFooter,
|
|
57
72
|
_ref$renderListItem = _ref.renderListItem,
|
|
58
73
|
renderListItem = _ref$renderListItem === void 0 ? null : _ref$renderListItem,
|
|
74
|
+
required = _ref.required,
|
|
59
75
|
_ref$uniqueIdentifica = _ref.uniqueIdentificationPath,
|
|
60
76
|
uniqueIdentificationPath = _ref$uniqueIdentifica === void 0 ? 'id' : _ref$uniqueIdentifica;
|
|
61
|
-
var selectedUniqueId = (0, _get3
|
|
77
|
+
var selectedUniqueId = (0, _get3.default)(input.value, uniqueIdentificationPath); // Display data needs to be in line with data options but also able to react to default handleType
|
|
62
78
|
|
|
63
79
|
var _useState = (0, _react.useState)(dataOptions),
|
|
64
80
|
_useState2 = _slicedToArray(_useState, 2),
|
|
65
81
|
displayData = _useState2[0],
|
|
66
|
-
setDisplayData = _useState2[1];
|
|
82
|
+
setDisplayData = _useState2[1]; // keep track of what we've typed and whether we've typed an exact match or not
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
var _useState3 = (0, _react.useState)(''),
|
|
86
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
87
|
+
currentlyTyped = _useState4[0],
|
|
88
|
+
setCurrentlyTyped = _useState4[1];
|
|
89
|
+
|
|
90
|
+
var _useState5 = (0, _react.useState)(false),
|
|
91
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
92
|
+
exactMatch = _useState6[0],
|
|
93
|
+
setExactMatch = _useState6[1];
|
|
67
94
|
|
|
68
95
|
(0, _react.useEffect)(function () {
|
|
69
96
|
setDisplayData(dataOptions);
|
|
@@ -80,17 +107,25 @@ var Typedown = function Typedown(_ref) {
|
|
|
80
107
|
setDisplayData(dataOptions.filter(function (item) {
|
|
81
108
|
var _get, _get$toLowerCase;
|
|
82
109
|
|
|
83
|
-
return (_get = (0, _get3
|
|
110
|
+
return (_get = (0, _get3.default)(item, filterPath)) === null || _get === void 0 ? void 0 : (_get$toLowerCase = _get.toLowerCase()) === null || _get$toLowerCase === void 0 ? void 0 : _get$toLowerCase.match(regex);
|
|
84
111
|
}));
|
|
85
112
|
} else if (e !== null && e !== void 0 && (_e$target2 = e.target) !== null && _e$target2 !== void 0 && _e$target2.value) {
|
|
86
113
|
setDisplayData(dataOptions.filter(function (item) {
|
|
87
114
|
var _get2, _get2$toLowerCase;
|
|
88
115
|
|
|
89
|
-
return (_get2 = (0, _get3
|
|
116
|
+
return (_get2 = (0, _get3.default)(item, uniqueIdentificationPath)) === null || _get2 === void 0 ? void 0 : (_get2$toLowerCase = _get2.toLowerCase()) === null || _get2$toLowerCase === void 0 ? void 0 : _get2$toLowerCase.match(regex);
|
|
90
117
|
}));
|
|
91
118
|
} else {
|
|
92
119
|
setDisplayData(dataOptions);
|
|
93
120
|
}
|
|
121
|
+
|
|
122
|
+
setCurrentlyTyped(e.target.value);
|
|
123
|
+
|
|
124
|
+
if (displayData.length === 1 && (0, _get3.default)(displayData[0], filterPath) === e.target.value) {
|
|
125
|
+
setExactMatch(true);
|
|
126
|
+
} else {
|
|
127
|
+
setExactMatch(false);
|
|
128
|
+
}
|
|
94
129
|
}; // Hook to set up all the essentials
|
|
95
130
|
|
|
96
131
|
|
|
@@ -111,10 +146,11 @@ var Typedown = function Typedown(_ref) {
|
|
|
111
146
|
searchWidth = _useTypedown$variable.searchWidth;
|
|
112
147
|
|
|
113
148
|
var renderItem = (0, _react.useCallback)(function (option) {
|
|
114
|
-
return /*#__PURE__*/
|
|
115
|
-
className: _TypeDown
|
|
116
|
-
|
|
117
|
-
|
|
149
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
150
|
+
className: _TypeDown.default.listItem,
|
|
151
|
+
children: renderListItem ? renderListItem(option, currentlyTyped, exactMatch) : (0, _get3.default)(option, uniqueIdentificationPath)
|
|
152
|
+
});
|
|
153
|
+
}, [currentlyTyped, exactMatch, renderListItem, uniqueIdentificationPath]);
|
|
118
154
|
var handleChange = (0, _react.useCallback)(function (value) {
|
|
119
155
|
input.onChange(value);
|
|
120
156
|
|
|
@@ -123,103 +159,142 @@ var Typedown = function Typedown(_ref) {
|
|
|
123
159
|
}
|
|
124
160
|
}, [input, onChange]);
|
|
125
161
|
var dropDown = (0, _react.useCallback)(function () {
|
|
126
|
-
return /*#__PURE__*/
|
|
127
|
-
className: _TypeDown
|
|
128
|
-
id: "typedown-parent-".concat((0, _selectorSafe
|
|
162
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
163
|
+
className: _TypeDown.default.dropdownMenu,
|
|
164
|
+
id: "typedown-parent-".concat((0, _selectorSafe.default)(input.name), "-menu"),
|
|
129
165
|
style: {
|
|
130
166
|
'--searchWidth': "".concat(searchWidth, "px")
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
}
|
|
158
|
-
}, [displayData, footerRef, handleChange, handleNextFocus, input, listKeyDownHandler, listRef, renderFooter, renderItem, searchWidth, uniqueIdentificationPath]);
|
|
167
|
+
},
|
|
168
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
169
|
+
ref: listRef,
|
|
170
|
+
className: _TypeDown.default.listContainer,
|
|
171
|
+
id: "typedown-list",
|
|
172
|
+
children: displayData !== null && displayData !== void 0 && displayData.length ? displayData === null || displayData === void 0 ? void 0 : displayData.map(function (d, index) {
|
|
173
|
+
var isSelectedEval = isSelected ? isSelected(input.value, d) : (0, _get3.default)(input.value, uniqueIdentificationPath) === (0, _get3.default)(d, uniqueIdentificationPath);
|
|
174
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("button", {
|
|
175
|
+
className: (0, _classnames.default)(_interactionStyles.interactionStyles, _TypeDown.default.fullWidth, _TypeDown.default.menuButton),
|
|
176
|
+
"data-selected": isSelectedEval,
|
|
177
|
+
id: "typedown-button-[".concat(index, "]"),
|
|
178
|
+
onClick: function onClick() {
|
|
179
|
+
handleChange(d);
|
|
180
|
+
handleNextFocus();
|
|
181
|
+
},
|
|
182
|
+
onKeyDown: listKeyDownHandler,
|
|
183
|
+
type: "button",
|
|
184
|
+
children: renderItem(d)
|
|
185
|
+
}, "typedown-button-[".concat(index, "]"));
|
|
186
|
+
}) : endOfList || /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.EndOfList, {})
|
|
187
|
+
}), renderFooter && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
188
|
+
ref: footerRef,
|
|
189
|
+
className: _TypeDown.default.footer,
|
|
190
|
+
id: "typedown-footer-".concat((0, _selectorSafe.default)(input.name)),
|
|
191
|
+
children: renderFooter(displayData, currentlyTyped, exactMatch)
|
|
192
|
+
})]
|
|
193
|
+
});
|
|
194
|
+
}, [currentlyTyped, displayData, endOfList, exactMatch, footerRef, handleChange, handleNextFocus, input, isSelected, listKeyDownHandler, listRef, renderFooter, renderItem, searchWidth, uniqueIdentificationPath]);
|
|
159
195
|
|
|
160
196
|
var renderSearchField = function renderSearchField() {
|
|
161
|
-
return /*#__PURE__*/
|
|
197
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
162
198
|
ref: triggerRef,
|
|
163
|
-
id: "typedown-parent-".concat((0, _selectorSafe
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
199
|
+
id: "typedown-parent-".concat((0, _selectorSafe.default)(input.name), "-searchField"),
|
|
200
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_SearchField.default // Pass meta through so correct styling gets applied to the TextField
|
|
201
|
+
, {
|
|
202
|
+
id: "typedown-searchField-".concat((0, _selectorSafe.default)(input.name)),
|
|
203
|
+
marginBottom0: true,
|
|
204
|
+
meta: meta,
|
|
205
|
+
onChange: handleType,
|
|
206
|
+
onKeyDown: searchFieldKeyDownHandler
|
|
207
|
+
})
|
|
208
|
+
});
|
|
172
209
|
};
|
|
173
210
|
|
|
174
|
-
return /*#__PURE__*/
|
|
175
|
-
ref: resizeRef
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
211
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
212
|
+
ref: resizeRef,
|
|
213
|
+
children: [label && /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Label, {
|
|
214
|
+
htmlFor: id,
|
|
215
|
+
id: "".concat(id, "-label"),
|
|
216
|
+
required: required,
|
|
217
|
+
children: label
|
|
218
|
+
}), renderSearchField(), /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Popper, {
|
|
219
|
+
anchorRef: triggerRef,
|
|
220
|
+
className: (0, _classnames.default)(_TypeDown.default.dropdown, _TypeDown.default.fullWidth),
|
|
221
|
+
isOpen: open,
|
|
222
|
+
modifiers: {
|
|
223
|
+
flip: {
|
|
224
|
+
boundariesElement: 'viewport',
|
|
225
|
+
padding: 10
|
|
226
|
+
},
|
|
227
|
+
preventOverflow: {
|
|
228
|
+
boundariesElement: 'viewport',
|
|
229
|
+
padding: 10
|
|
230
|
+
}
|
|
185
231
|
},
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
})));
|
|
232
|
+
overlayProps: {
|
|
233
|
+
'ref': overlayRef,
|
|
234
|
+
'tabIndex': '-1',
|
|
235
|
+
'onClick': function onClick(e) {
|
|
236
|
+
e.stopPropagation();
|
|
237
|
+
} // prevent propagation of click events
|
|
238
|
+
|
|
239
|
+
},
|
|
240
|
+
overlayRef: overlayRef,
|
|
241
|
+
portal: portal,
|
|
242
|
+
children: dropDown()
|
|
243
|
+
}, "typedown-menu-toggle"), selectedUniqueId && !open && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
244
|
+
className: (0, _classnames.default)(_TypeDown.default.selected, _TypeDown.default.selectedDisplay),
|
|
245
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
246
|
+
className: _TypeDown.default.selectedItem,
|
|
247
|
+
children: renderItem(input.value)
|
|
248
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.IconButton, {
|
|
249
|
+
className: _TypeDown.default.clearItem,
|
|
250
|
+
icon: "times-circle-solid",
|
|
251
|
+
onClick: function onClick() {
|
|
252
|
+
return handleChange();
|
|
253
|
+
}
|
|
254
|
+
})]
|
|
255
|
+
})]
|
|
256
|
+
});
|
|
212
257
|
};
|
|
213
258
|
|
|
259
|
+
__signature__(Typedown, "useState{[displayData, setDisplayData](dataOptions)}\nuseState{[currentlyTyped, setCurrentlyTyped]('')}\nuseState{[exactMatch, setExactMatch](false)}\nuseEffect{}\nuseTypedown{{\n refs: {\n listRef,\n triggerRef,\n overlayRef,\n footerRef\n },\n handlers: {\n handleNextFocus,\n listKeyDownHandler,\n searchFieldKeyDownHandler\n },\n variables: {\n open,\n portal,\n resizeRef,\n searchWidth\n }\n }}\nuseCallback{renderItem}\nuseCallback{handleChange}\nuseCallback{dropDown}", function () {
|
|
260
|
+
return [_typedownHooks.useTypedown];
|
|
261
|
+
});
|
|
262
|
+
|
|
214
263
|
Typedown.propTypes = {
|
|
215
|
-
dataOptions: _propTypes
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
264
|
+
dataOptions: _propTypes.default.arrayOf(_propTypes.default.object),
|
|
265
|
+
endOfList: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.node, _propTypes.default.element]),
|
|
266
|
+
filterPath: _propTypes.default.string,
|
|
267
|
+
id: _propTypes.default.string,
|
|
268
|
+
input: _propTypes.default.object,
|
|
269
|
+
isSelected: _propTypes.default.func,
|
|
270
|
+
label: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.element]),
|
|
271
|
+
meta: _propTypes.default.object,
|
|
272
|
+
onChange: _propTypes.default.func,
|
|
273
|
+
onType: _propTypes.default.func,
|
|
274
|
+
renderFooter: _propTypes.default.func,
|
|
275
|
+
renderListItem: _propTypes.default.func,
|
|
276
|
+
required: _propTypes.default.bool,
|
|
277
|
+
uniqueIdentificationPath: _propTypes.default.string
|
|
223
278
|
};
|
|
224
279
|
var _default = Typedown;
|
|
225
|
-
|
|
280
|
+
var _default2 = _default;
|
|
281
|
+
exports.default = _default2;
|
|
282
|
+
;
|
|
283
|
+
|
|
284
|
+
(function () {
|
|
285
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
286
|
+
|
|
287
|
+
if (!reactHotLoader) {
|
|
288
|
+
return;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
reactHotLoader.register(Typedown, "Typedown", "/home/ethan/FolioModules/stripes-kint-components/src/lib/Typedown/Typedown.js");
|
|
292
|
+
reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/Typedown/Typedown.js");
|
|
293
|
+
})();
|
|
294
|
+
|
|
295
|
+
;
|
|
296
|
+
|
|
297
|
+
(function () {
|
|
298
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
299
|
+
leaveModule && leaveModule(module);
|
|
300
|
+
})();
|
package/es/lib/Typedown/index.js
CHANGED
|
@@ -6,10 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
Object.defineProperty(exports, "default", {
|
|
7
7
|
enumerable: true,
|
|
8
8
|
get: function get() {
|
|
9
|
-
return _Typedown
|
|
9
|
+
return _Typedown.default;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
var _Typedown = _interopRequireDefault(require("./Typedown"));
|
|
14
14
|
|
|
15
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {
|
|
15
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
16
|
+
|
|
17
|
+
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
18
|
+
return a;
|
|
19
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.TYPE_CLASS_PREFIX = exports.TEXT_CLASS_NAME = exports.REFDATA_DEFINITION_CLASS_NAME = exports.REFDATA_CLASS_NAME = exports.INTEGER_CLASS_NAME = exports.DECIMAL_CLASS_NAME = exports.CONTAINER_CLASS_NAME = exports.BOOLEAN_CLASS_NAME = exports.BLOB_CLASS_NAME = void 0;
|
|
7
|
+
|
|
8
|
+
(function () {
|
|
9
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
10
|
+
enterModule && enterModule(module);
|
|
11
|
+
})();
|
|
12
|
+
|
|
13
|
+
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
14
|
+
return a;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
var TYPE_CLASS_PREFIX = 'com.k_int.web.toolkit.custprops.types.CustomProperty';
|
|
18
|
+
exports.TYPE_CLASS_PREFIX = TYPE_CLASS_PREFIX;
|
|
19
|
+
var BLOB_CLASS_NAME = 'com.k_int.web.toolkit.custprops.types.CustomPropertyBlob';
|
|
20
|
+
exports.BLOB_CLASS_NAME = BLOB_CLASS_NAME;
|
|
21
|
+
var BOOLEAN_CLASS_NAME = 'com.k_int.web.toolkit.custprops.types.CustomPropertyBoolean';
|
|
22
|
+
exports.BOOLEAN_CLASS_NAME = BOOLEAN_CLASS_NAME;
|
|
23
|
+
var CONTAINER_CLASS_NAME = 'com.k_int.web.toolkit.custprops.types.CustomPropertyContainer';
|
|
24
|
+
exports.CONTAINER_CLASS_NAME = CONTAINER_CLASS_NAME;
|
|
25
|
+
var DECIMAL_CLASS_NAME = 'com.k_int.web.toolkit.custprops.types.CustomPropertyDecimal';
|
|
26
|
+
exports.DECIMAL_CLASS_NAME = DECIMAL_CLASS_NAME;
|
|
27
|
+
var INTEGER_CLASS_NAME = 'com.k_int.web.toolkit.custprops.types.CustomPropertyInteger';
|
|
28
|
+
exports.INTEGER_CLASS_NAME = INTEGER_CLASS_NAME;
|
|
29
|
+
var REFDATA_CLASS_NAME = 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata';
|
|
30
|
+
exports.REFDATA_CLASS_NAME = REFDATA_CLASS_NAME;
|
|
31
|
+
var REFDATA_DEFINITION_CLASS_NAME = 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdataDefinition';
|
|
32
|
+
exports.REFDATA_DEFINITION_CLASS_NAME = REFDATA_DEFINITION_CLASS_NAME;
|
|
33
|
+
var TEXT_CLASS_NAME = 'com.k_int.web.toolkit.custprops.types.CustomPropertyText';
|
|
34
|
+
exports.TEXT_CLASS_NAME = TEXT_CLASS_NAME;
|
|
35
|
+
;
|
|
36
|
+
|
|
37
|
+
(function () {
|
|
38
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
39
|
+
|
|
40
|
+
if (!reactHotLoader) {
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
reactHotLoader.register(TYPE_CLASS_PREFIX, "TYPE_CLASS_PREFIX", "/home/ethan/FolioModules/stripes-kint-components/src/lib/constants/customProperties.js");
|
|
45
|
+
reactHotLoader.register(BLOB_CLASS_NAME, "BLOB_CLASS_NAME", "/home/ethan/FolioModules/stripes-kint-components/src/lib/constants/customProperties.js");
|
|
46
|
+
reactHotLoader.register(BOOLEAN_CLASS_NAME, "BOOLEAN_CLASS_NAME", "/home/ethan/FolioModules/stripes-kint-components/src/lib/constants/customProperties.js");
|
|
47
|
+
reactHotLoader.register(CONTAINER_CLASS_NAME, "CONTAINER_CLASS_NAME", "/home/ethan/FolioModules/stripes-kint-components/src/lib/constants/customProperties.js");
|
|
48
|
+
reactHotLoader.register(DECIMAL_CLASS_NAME, "DECIMAL_CLASS_NAME", "/home/ethan/FolioModules/stripes-kint-components/src/lib/constants/customProperties.js");
|
|
49
|
+
reactHotLoader.register(INTEGER_CLASS_NAME, "INTEGER_CLASS_NAME", "/home/ethan/FolioModules/stripes-kint-components/src/lib/constants/customProperties.js");
|
|
50
|
+
reactHotLoader.register(REFDATA_CLASS_NAME, "REFDATA_CLASS_NAME", "/home/ethan/FolioModules/stripes-kint-components/src/lib/constants/customProperties.js");
|
|
51
|
+
reactHotLoader.register(REFDATA_DEFINITION_CLASS_NAME, "REFDATA_DEFINITION_CLASS_NAME", "/home/ethan/FolioModules/stripes-kint-components/src/lib/constants/customProperties.js");
|
|
52
|
+
reactHotLoader.register(TEXT_CLASS_NAME, "TEXT_CLASS_NAME", "/home/ethan/FolioModules/stripes-kint-components/src/lib/constants/customProperties.js");
|
|
53
|
+
})();
|
|
54
|
+
|
|
55
|
+
;
|
|
56
|
+
|
|
57
|
+
(function () {
|
|
58
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
59
|
+
leaveModule && leaveModule(module);
|
|
60
|
+
})();
|
|
@@ -4,9 +4,39 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.UP_ARROW = exports.TAB = exports.DOWN_ARROW = void 0;
|
|
7
|
+
|
|
8
|
+
(function () {
|
|
9
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
10
|
+
enterModule && enterModule(module);
|
|
11
|
+
})();
|
|
12
|
+
|
|
13
|
+
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
14
|
+
return a;
|
|
15
|
+
};
|
|
16
|
+
|
|
7
17
|
var UP_ARROW = 'ArrowUp';
|
|
8
18
|
exports.UP_ARROW = UP_ARROW;
|
|
9
19
|
var DOWN_ARROW = 'ArrowDown';
|
|
10
20
|
exports.DOWN_ARROW = DOWN_ARROW;
|
|
11
21
|
var TAB = 'Tab';
|
|
12
|
-
exports.TAB = TAB;
|
|
22
|
+
exports.TAB = TAB;
|
|
23
|
+
;
|
|
24
|
+
|
|
25
|
+
(function () {
|
|
26
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
27
|
+
|
|
28
|
+
if (!reactHotLoader) {
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
reactHotLoader.register(UP_ARROW, "UP_ARROW", "/home/ethan/FolioModules/stripes-kint-components/src/lib/constants/eventCodes.js");
|
|
33
|
+
reactHotLoader.register(DOWN_ARROW, "DOWN_ARROW", "/home/ethan/FolioModules/stripes-kint-components/src/lib/constants/eventCodes.js");
|
|
34
|
+
reactHotLoader.register(TAB, "TAB", "/home/ethan/FolioModules/stripes-kint-components/src/lib/constants/eventCodes.js");
|
|
35
|
+
})();
|
|
36
|
+
|
|
37
|
+
;
|
|
38
|
+
|
|
39
|
+
(function () {
|
|
40
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
41
|
+
leaveModule && leaveModule(module);
|
|
42
|
+
})();
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = require("react");
|
|
9
|
+
|
|
10
|
+
(function () {
|
|
11
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
12
|
+
enterModule && enterModule(module);
|
|
13
|
+
})();
|
|
14
|
+
|
|
15
|
+
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
16
|
+
return a;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
var SettingsContext = /*#__PURE__*/(0, _react.createContext)();
|
|
20
|
+
var _default = SettingsContext;
|
|
21
|
+
var _default2 = _default;
|
|
22
|
+
exports.default = _default2;
|
|
23
|
+
;
|
|
24
|
+
|
|
25
|
+
(function () {
|
|
26
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
27
|
+
|
|
28
|
+
if (!reactHotLoader) {
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
reactHotLoader.register(SettingsContext, "SettingsContext", "/home/ethan/FolioModules/stripes-kint-components/src/lib/contexts/SettingsContext.js");
|
|
33
|
+
reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/contexts/SettingsContext.js");
|
|
34
|
+
})();
|
|
35
|
+
|
|
36
|
+
;
|
|
37
|
+
|
|
38
|
+
(function () {
|
|
39
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
40
|
+
leaveModule && leaveModule(module);
|
|
41
|
+
})();
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "SettingsContext", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _SettingsContext.default;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
var _SettingsContext = _interopRequireDefault(require("./SettingsContext"));
|
|
14
|
+
|
|
15
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
16
|
+
|
|
17
|
+
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
18
|
+
return a;
|
|
19
|
+
};
|
package/es/lib/hooks/index.js
CHANGED
|
@@ -6,55 +6,79 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
Object.defineProperty(exports, "useActiveElement", {
|
|
7
7
|
enumerable: true,
|
|
8
8
|
get: function get() {
|
|
9
|
-
return _useActiveElement
|
|
9
|
+
return _useActiveElement.default;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "useCustomProperties", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function get() {
|
|
15
|
+
return _useCustomProperties.default;
|
|
10
16
|
}
|
|
11
17
|
});
|
|
12
18
|
Object.defineProperty(exports, "useHelperApp", {
|
|
13
19
|
enumerable: true,
|
|
14
20
|
get: function get() {
|
|
15
|
-
return _useHelperApp
|
|
21
|
+
return _useHelperApp.default;
|
|
16
22
|
}
|
|
17
23
|
});
|
|
18
24
|
Object.defineProperty(exports, "useKiwtFieldArray", {
|
|
19
25
|
enumerable: true,
|
|
20
26
|
get: function get() {
|
|
21
|
-
return _useKiwtFieldArray
|
|
27
|
+
return _useKiwtFieldArray.default;
|
|
22
28
|
}
|
|
23
29
|
});
|
|
24
30
|
Object.defineProperty(exports, "useKiwtSASQuery", {
|
|
25
31
|
enumerable: true,
|
|
26
32
|
get: function get() {
|
|
27
|
-
return _useKiwtSASQuery
|
|
33
|
+
return _useKiwtSASQuery.default;
|
|
28
34
|
}
|
|
29
35
|
});
|
|
30
36
|
Object.defineProperty(exports, "useLocalStorageState", {
|
|
31
37
|
enumerable: true,
|
|
32
38
|
get: function get() {
|
|
33
|
-
return _useLocalStorageState
|
|
39
|
+
return _useLocalStorageState.default;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(exports, "useMutateCustomProperties", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function get() {
|
|
45
|
+
return _useMutateCustomProperties.default;
|
|
34
46
|
}
|
|
35
47
|
});
|
|
36
48
|
Object.defineProperty(exports, "useMutateRefdataValue", {
|
|
37
49
|
enumerable: true,
|
|
38
50
|
get: function get() {
|
|
39
|
-
return _useMutateRefdataValue
|
|
51
|
+
return _useMutateRefdataValue.default;
|
|
40
52
|
}
|
|
41
53
|
});
|
|
42
54
|
Object.defineProperty(exports, "useQIndex", {
|
|
43
55
|
enumerable: true,
|
|
44
56
|
get: function get() {
|
|
45
|
-
return _useQIndex
|
|
57
|
+
return _useQIndex.default;
|
|
46
58
|
}
|
|
47
59
|
});
|
|
48
60
|
Object.defineProperty(exports, "useRefdata", {
|
|
49
61
|
enumerable: true,
|
|
50
62
|
get: function get() {
|
|
51
|
-
return _useRefdata
|
|
63
|
+
return _useRefdata.default;
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
Object.defineProperty(exports, "useSettingSection", {
|
|
67
|
+
enumerable: true,
|
|
68
|
+
get: function get() {
|
|
69
|
+
return _settingsHooks.useSettingSection;
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
Object.defineProperty(exports, "useSettings", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function get() {
|
|
75
|
+
return _settingsHooks.useSettings;
|
|
52
76
|
}
|
|
53
77
|
});
|
|
54
78
|
Object.defineProperty(exports, "useTemplates", {
|
|
55
79
|
enumerable: true,
|
|
56
80
|
get: function get() {
|
|
57
|
-
return _useTemplates
|
|
81
|
+
return _useTemplates.default;
|
|
58
82
|
}
|
|
59
83
|
});
|
|
60
84
|
|
|
@@ -74,6 +98,16 @@ var _useLocalStorageState = _interopRequireDefault(require("./useLocalStorageSta
|
|
|
74
98
|
|
|
75
99
|
var _useQIndex = _interopRequireDefault(require("./useQIndex"));
|
|
76
100
|
|
|
101
|
+
var _settingsHooks = require("./settingsHooks");
|
|
102
|
+
|
|
77
103
|
var _useKiwtFieldArray = _interopRequireDefault(require("./useKiwtFieldArray"));
|
|
78
104
|
|
|
79
|
-
|
|
105
|
+
var _useCustomProperties = _interopRequireDefault(require("./useCustomProperties"));
|
|
106
|
+
|
|
107
|
+
var _useMutateCustomProperties = _interopRequireDefault(require("./useMutateCustomProperties"));
|
|
108
|
+
|
|
109
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
110
|
+
|
|
111
|
+
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
112
|
+
return a;
|
|
113
|
+
};
|