@bigbinary/neeto-rules-frontend 2.1.0 → 2.3.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/README.md +1 -0
- package/app/javascript/src/translations/en.json +2 -1
- package/dist/NeetoRules.js +9837 -0
- package/dist/NeetoRules.js.map +1 -0
- package/dist/NeetoRulesForm.js +5201 -0
- package/dist/NeetoRulesForm.js.map +1 -0
- package/dist/RulePreview.js +483 -0
- package/dist/RulePreview.js.map +1 -0
- package/dist/{index.cjs.js → cjs/NeetoRules.js} +126 -6019
- package/dist/cjs/NeetoRules.js.map +1 -0
- package/dist/cjs/NeetoRulesForm.js +5255 -0
- package/dist/cjs/NeetoRulesForm.js.map +1 -0
- package/dist/cjs/RulePreview.js +495 -0
- package/dist/cjs/RulePreview.js.map +1 -0
- package/dist/cjs/constants.js +10 -0
- package/dist/cjs/constants.js.map +1 -0
- package/dist/cjs/hooks.js +12 -0
- package/dist/cjs/hooks.js.map +1 -0
- package/dist/cjs/index.js +85 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/constants-12c6ac46.js +5 -0
- package/dist/constants-12c6ac46.js.map +1 -0
- package/dist/constants-2f1113f8.js +8 -0
- package/dist/constants-2f1113f8.js.map +1 -0
- package/dist/constants-67118957.js +55 -0
- package/dist/constants-67118957.js.map +1 -0
- package/dist/constants-7347bfc4.js +48 -0
- package/dist/constants-7347bfc4.js.map +1 -0
- package/dist/constants.js +2 -0
- package/dist/constants.js.map +1 -0
- package/dist/hooks.js +4 -0
- package/dist/hooks.js.map +1 -0
- package/dist/index.js +72 -15694
- package/dist/index.js.map +1 -1
- package/dist/slicedToArray-2af6bc03.js +98 -0
- package/dist/slicedToArray-2af6bc03.js.map +1 -0
- package/dist/slicedToArray-cc928132.js +106 -0
- package/dist/slicedToArray-cc928132.js.map +1 -0
- package/dist/toConsumableArray-1215bc07.js +53 -0
- package/dist/toConsumableArray-1215bc07.js.map +1 -0
- package/dist/toConsumableArray-9f1f441a.js +58 -0
- package/dist/toConsumableArray-9f1f441a.js.map +1 -0
- package/dist/useCustomDataStore-51ceac06.js +13 -0
- package/dist/useCustomDataStore-51ceac06.js.map +1 -0
- package/dist/useCustomDataStore-c57f5581.js +15 -0
- package/dist/useCustomDataStore-c57f5581.js.map +1 -0
- package/dist/useUtilityStore-e4b36ba2.js +27 -0
- package/dist/useUtilityStore-e4b36ba2.js.map +1 -0
- package/dist/useUtilityStore-ee4f96f8.js +25 -0
- package/dist/useUtilityStore-ee4f96f8.js.map +1 -0
- package/package.json +23 -11
- package/dist/index.cjs.js.map +0 -1
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
function _typeof(o) {
|
|
2
|
+
"@babel/helpers - typeof";
|
|
3
|
+
|
|
4
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
5
|
+
return typeof o;
|
|
6
|
+
} : function (o) {
|
|
7
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
8
|
+
}, _typeof(o);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
function _toPrimitive(input, hint) {
|
|
12
|
+
if (_typeof(input) !== "object" || input === null) return input;
|
|
13
|
+
var prim = input[Symbol.toPrimitive];
|
|
14
|
+
if (prim !== undefined) {
|
|
15
|
+
var res = prim.call(input, hint || "default");
|
|
16
|
+
if (_typeof(res) !== "object") return res;
|
|
17
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
18
|
+
}
|
|
19
|
+
return (hint === "string" ? String : Number)(input);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
function _toPropertyKey(arg) {
|
|
23
|
+
var key = _toPrimitive(arg, "string");
|
|
24
|
+
return _typeof(key) === "symbol" ? key : String(key);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
function _defineProperty(obj, key, value) {
|
|
28
|
+
key = _toPropertyKey(key);
|
|
29
|
+
if (key in obj) {
|
|
30
|
+
Object.defineProperty(obj, key, {
|
|
31
|
+
value: value,
|
|
32
|
+
enumerable: true,
|
|
33
|
+
configurable: true,
|
|
34
|
+
writable: true
|
|
35
|
+
});
|
|
36
|
+
} else {
|
|
37
|
+
obj[key] = value;
|
|
38
|
+
}
|
|
39
|
+
return obj;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
function _arrayWithHoles(arr) {
|
|
43
|
+
if (Array.isArray(arr)) return arr;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
function _iterableToArrayLimit(r, l) {
|
|
47
|
+
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
48
|
+
if (null != t) {
|
|
49
|
+
var e,
|
|
50
|
+
n,
|
|
51
|
+
i,
|
|
52
|
+
u,
|
|
53
|
+
a = [],
|
|
54
|
+
f = !0,
|
|
55
|
+
o = !1;
|
|
56
|
+
try {
|
|
57
|
+
if (i = (t = t.call(r)).next, 0 === l) {
|
|
58
|
+
if (Object(t) !== t) return;
|
|
59
|
+
f = !1;
|
|
60
|
+
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
|
61
|
+
} catch (r) {
|
|
62
|
+
o = !0, n = r;
|
|
63
|
+
} finally {
|
|
64
|
+
try {
|
|
65
|
+
if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
|
|
66
|
+
} finally {
|
|
67
|
+
if (o) throw n;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
return a;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
function _arrayLikeToArray(arr, len) {
|
|
75
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
76
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
77
|
+
return arr2;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
81
|
+
if (!o) return;
|
|
82
|
+
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
83
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
84
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
85
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
86
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
function _nonIterableRest() {
|
|
90
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
function _slicedToArray(arr, i) {
|
|
94
|
+
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export { _defineProperty as _, _slicedToArray as a, _arrayWithHoles as b, _unsupportedIterableToArray as c, _nonIterableRest as d, _typeof as e, _arrayLikeToArray as f };
|
|
98
|
+
//# sourceMappingURL=slicedToArray-2af6bc03.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slicedToArray-2af6bc03.js","sources":["../node_modules/@babel/runtime/helpers/esm/typeof.js","../node_modules/@babel/runtime/helpers/esm/toPrimitive.js","../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","../node_modules/@babel/runtime/helpers/esm/defineProperty.js","../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"],"sourcesContent":["export default function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}","import _typeof from \"./typeof.js\";\nexport default function _toPrimitive(input, hint) {\n if (_typeof(input) !== \"object\" || input === null) return input;\n var prim = input[Symbol.toPrimitive];\n if (prim !== undefined) {\n var res = prim.call(input, hint || \"default\");\n if (_typeof(res) !== \"object\") return res;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (hint === \"string\" ? String : Number)(input);\n}","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function _toPropertyKey(arg) {\n var key = toPrimitive(arg, \"string\");\n return _typeof(key) === \"symbol\" ? key : String(key);\n}","import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","export default function _iterableToArrayLimit(r, l) {\n var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"];\n if (null != t) {\n var e,\n n,\n i,\n u,\n a = [],\n f = !0,\n o = !1;\n try {\n if (i = (t = t.call(r)).next, 0 === l) {\n if (Object(t) !== t) return;\n f = !1;\n } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);\n } catch (r) {\n o = !0, n = r;\n } finally {\n try {\n if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return;\n } finally {\n if (o) throw n;\n }\n }\n return a;\n }\n}","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}"],"names":["toPrimitive","toPropertyKey","arrayLikeToArray","arrayWithHoles","iterableToArrayLimit","unsupportedIterableToArray","nonIterableRest"],"mappings":"AAAe,SAAS,OAAO,CAAC,CAAC,EAAE;AACnC,EAAE,yBAAyB,CAAC;AAC5B;AACA,EAAE,OAAO,OAAO,GAAG,UAAU,IAAI,OAAO,MAAM,IAAI,QAAQ,IAAI,OAAO,MAAM,CAAC,QAAQ,GAAG,UAAU,CAAC,EAAE;AACpG,IAAI,OAAO,OAAO,CAAC,CAAC;AACpB,GAAG,GAAG,UAAU,CAAC,EAAE;AACnB,IAAI,OAAO,CAAC,IAAI,UAAU,IAAI,OAAO,MAAM,IAAI,CAAC,CAAC,WAAW,KAAK,MAAM,IAAI,CAAC,KAAK,MAAM,CAAC,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC,CAAC;AACxH,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;AAChB;;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C;AAC9D,EAAE,IAAI,CAAC,KAAK,KAAK,IAAI,CAAC,KAAK,KAAK,EAAE,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACvD,EAAE,IAAI,CAAC,KAAK,WAAW,IAAI,0CAA0C,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,OAAOA,iBAAgB,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AAClH;;ACRe,SAAS,gBAAgB,GAAG;AAC3C,EAAE,MAAM,IAAI,SAAS,CAAC,2IAA2I,CAAC,CAAC;AACnK;;ACEe,SAAS,cAAc,CAAC,GAAG,EAAE,CAAC,EAAE;AAC/C,EAAE,OAAOC,eAAc,CAAC,GAAG,CAAC,IAAIC,qBAAoB,CAAC,GAAG,EAAE,CAAC,CAAC,IAAIC,2BAA0B,CAAC,GAAG,EAAE,CAAC,CAAC,IAAIC,gBAAe,EAAE,CAAC;AACxH;;;;"}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function _typeof(o) {
|
|
4
|
+
"@babel/helpers - typeof";
|
|
5
|
+
|
|
6
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
7
|
+
return typeof o;
|
|
8
|
+
} : function (o) {
|
|
9
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
10
|
+
}, _typeof(o);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
function _toPrimitive(input, hint) {
|
|
14
|
+
if (_typeof(input) !== "object" || input === null) return input;
|
|
15
|
+
var prim = input[Symbol.toPrimitive];
|
|
16
|
+
if (prim !== undefined) {
|
|
17
|
+
var res = prim.call(input, hint || "default");
|
|
18
|
+
if (_typeof(res) !== "object") return res;
|
|
19
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
20
|
+
}
|
|
21
|
+
return (hint === "string" ? String : Number)(input);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
function _toPropertyKey(arg) {
|
|
25
|
+
var key = _toPrimitive(arg, "string");
|
|
26
|
+
return _typeof(key) === "symbol" ? key : String(key);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
function _defineProperty(obj, key, value) {
|
|
30
|
+
key = _toPropertyKey(key);
|
|
31
|
+
if (key in obj) {
|
|
32
|
+
Object.defineProperty(obj, key, {
|
|
33
|
+
value: value,
|
|
34
|
+
enumerable: true,
|
|
35
|
+
configurable: true,
|
|
36
|
+
writable: true
|
|
37
|
+
});
|
|
38
|
+
} else {
|
|
39
|
+
obj[key] = value;
|
|
40
|
+
}
|
|
41
|
+
return obj;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
function _arrayWithHoles(arr) {
|
|
45
|
+
if (Array.isArray(arr)) return arr;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
function _iterableToArrayLimit(r, l) {
|
|
49
|
+
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
50
|
+
if (null != t) {
|
|
51
|
+
var e,
|
|
52
|
+
n,
|
|
53
|
+
i,
|
|
54
|
+
u,
|
|
55
|
+
a = [],
|
|
56
|
+
f = !0,
|
|
57
|
+
o = !1;
|
|
58
|
+
try {
|
|
59
|
+
if (i = (t = t.call(r)).next, 0 === l) {
|
|
60
|
+
if (Object(t) !== t) return;
|
|
61
|
+
f = !1;
|
|
62
|
+
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
|
63
|
+
} catch (r) {
|
|
64
|
+
o = !0, n = r;
|
|
65
|
+
} finally {
|
|
66
|
+
try {
|
|
67
|
+
if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
|
|
68
|
+
} finally {
|
|
69
|
+
if (o) throw n;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
return a;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
function _arrayLikeToArray(arr, len) {
|
|
77
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
78
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
79
|
+
return arr2;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
83
|
+
if (!o) return;
|
|
84
|
+
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
85
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
86
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
87
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
88
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
function _nonIterableRest() {
|
|
92
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
function _slicedToArray(arr, i) {
|
|
96
|
+
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
exports._arrayLikeToArray = _arrayLikeToArray;
|
|
100
|
+
exports._arrayWithHoles = _arrayWithHoles;
|
|
101
|
+
exports._defineProperty = _defineProperty;
|
|
102
|
+
exports._nonIterableRest = _nonIterableRest;
|
|
103
|
+
exports._slicedToArray = _slicedToArray;
|
|
104
|
+
exports._typeof = _typeof;
|
|
105
|
+
exports._unsupportedIterableToArray = _unsupportedIterableToArray;
|
|
106
|
+
//# sourceMappingURL=slicedToArray-cc928132.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slicedToArray-cc928132.js","sources":["../node_modules/@babel/runtime/helpers/esm/typeof.js","../node_modules/@babel/runtime/helpers/esm/toPrimitive.js","../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","../node_modules/@babel/runtime/helpers/esm/defineProperty.js","../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"],"sourcesContent":["export default function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}","import _typeof from \"./typeof.js\";\nexport default function _toPrimitive(input, hint) {\n if (_typeof(input) !== \"object\" || input === null) return input;\n var prim = input[Symbol.toPrimitive];\n if (prim !== undefined) {\n var res = prim.call(input, hint || \"default\");\n if (_typeof(res) !== \"object\") return res;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (hint === \"string\" ? String : Number)(input);\n}","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function _toPropertyKey(arg) {\n var key = toPrimitive(arg, \"string\");\n return _typeof(key) === \"symbol\" ? key : String(key);\n}","import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","export default function _iterableToArrayLimit(r, l) {\n var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"];\n if (null != t) {\n var e,\n n,\n i,\n u,\n a = [],\n f = !0,\n o = !1;\n try {\n if (i = (t = t.call(r)).next, 0 === l) {\n if (Object(t) !== t) return;\n f = !1;\n } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);\n } catch (r) {\n o = !0, n = r;\n } finally {\n try {\n if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return;\n } finally {\n if (o) throw n;\n }\n }\n return a;\n }\n}","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}"],"names":["toPrimitive","toPropertyKey","arrayLikeToArray","arrayWithHoles","iterableToArrayLimit","unsupportedIterableToArray","nonIterableRest"],"mappings":";;AAAe,SAAS,OAAO,CAAC,CAAC,EAAE;AACnC,EAAE,yBAAyB,CAAC;AAC5B;AACA,EAAE,OAAO,OAAO,GAAG,UA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AC,CAAC,EAAE,OAAO;AACjB,EAAE,IAAI,OAAO,CAAC,KAAK,QAAQ,EAAE,OAAOC,iBAAgB,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AAChE,EAAE,IAAI,CAAC,GAAG,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AACzD,EAAE,IAAI,CAAC,KAAK,QAAQ,IAAI,CAAC,CAAC,WAAW,EAAE,CAAC,GAAG,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC;AAC9D,EAAE,IAAI,CAAC,KAAK,KAAK,IAAI,CAAC,KAAK,KAAK,EAAE,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACvD,EAAE,IAAI,CAAC,KAAK,WAAW,IAAI,0CAA0C,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,OAAOA,iBAAgB,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AAClH;;ACRe,SAAS,gBAAgB,GAAG;AAC3C,EAAE,MAAM,IAAI,SAAS,CAAC,2IAA2I,CAAC,CAAC;AACnK;;ACEe,SAAS,cAAc,CAAC,GAAG,EAAE,CAAC,EAAE;AAC/C,EAAE,OAAOC,eAAc,CAAC,GAAG,CAAC,IAAIC,qBAAoB,CAAC,GAAG,EAAE,CAAC,CAAC,IAAIC,2BAA0B,CAAC,GAAG,EAAE,CAAC,CAAC,IAAIC,gBAAe,EAAE,CAAC;AACxH;;;;;;;;;;"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { f as _arrayLikeToArray, c as _unsupportedIterableToArray } from './slicedToArray-2af6bc03.js';
|
|
2
|
+
|
|
3
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
4
|
+
if (source == null) return {};
|
|
5
|
+
var target = {};
|
|
6
|
+
var sourceKeys = Object.keys(source);
|
|
7
|
+
var key, i;
|
|
8
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
9
|
+
key = sourceKeys[i];
|
|
10
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
11
|
+
target[key] = source[key];
|
|
12
|
+
}
|
|
13
|
+
return target;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
function _objectWithoutProperties(source, excluded) {
|
|
17
|
+
if (source == null) return {};
|
|
18
|
+
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
19
|
+
var key, i;
|
|
20
|
+
if (Object.getOwnPropertySymbols) {
|
|
21
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
22
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
23
|
+
key = sourceSymbolKeys[i];
|
|
24
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
25
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
26
|
+
target[key] = source[key];
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
return target;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
function getDefaultExportFromCjs (x) {
|
|
33
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
function _arrayWithoutHoles(arr) {
|
|
37
|
+
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
function _iterableToArray(iter) {
|
|
41
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
function _nonIterableSpread() {
|
|
45
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
function _toConsumableArray(arr) {
|
|
49
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export { _objectWithoutProperties as _, _toConsumableArray as a, _iterableToArray as b, getDefaultExportFromCjs as g };
|
|
53
|
+
//# sourceMappingURL=toConsumableArray-1215bc07.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toConsumableArray-1215bc07.js","sources":["../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js","../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","../node_modules/@babel/runtime/helpers/esm/iterableToArray.js","../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"],"sourcesContent":["export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}","import objectWithoutPropertiesLoose from \"./objectWithoutPropertiesLoose.js\";\nexport default function _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}"],"names":["objectWithoutPropertiesLoose","arrayLikeToArray","arrayWithoutHoles","iterableToArray","unsupportedIterableToArray","nonIterableSpread"],"mappings":";;AAAe,SAAS,6BAA6B,CAAC,MAAM,EAAE,QAAQ,EAAE;AACxE,EAAE,IAAI,MAAM,IAAI,IAAI,EAAE,OAAO,EAAE,CAAC;AAChC,EAAE,IAAI,MAAM,GAAG,EAAE,CAAC;AAClB,EAAE,IAAI,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AACvC,EAAE,IAAI,GAAG,EAAE,CAAC,CAAC;AACb,EAAE,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,UAAU,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AAC1C,IAAI,GAAG,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC;AACxB,IAAI,IAAI,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,SAAS;AAC7C,IAAI,MAAM,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;AAC9B,GAAG;AACH,EAAE,OAAO,MAAM,CAAC;AAChB;;ACVe,SAAS,wBAAwB,CAAC,MAAM,EAAE,QAAQ,EAAE;AACnE,EAAE,IAAI,MAAM,IAAI,IAAI,EAAE,OAAO,EAAE,CAAC;AAChC,EAAE,IAAI,MAAM,GAAGA,6BAA4B,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;AAC9D,EAAE,IAAI,GAA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0B,CAAC,GAAG,CAAC,IAAIC,kBAAiB,EAAE,CAAC;AAClH;;;;"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var slicedToArray = require('./slicedToArray-cc928132.js');
|
|
4
|
+
|
|
5
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
6
|
+
if (source == null) return {};
|
|
7
|
+
var target = {};
|
|
8
|
+
var sourceKeys = Object.keys(source);
|
|
9
|
+
var key, i;
|
|
10
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
11
|
+
key = sourceKeys[i];
|
|
12
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
13
|
+
target[key] = source[key];
|
|
14
|
+
}
|
|
15
|
+
return target;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
function _objectWithoutProperties(source, excluded) {
|
|
19
|
+
if (source == null) return {};
|
|
20
|
+
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
21
|
+
var key, i;
|
|
22
|
+
if (Object.getOwnPropertySymbols) {
|
|
23
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
24
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
25
|
+
key = sourceSymbolKeys[i];
|
|
26
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
27
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
28
|
+
target[key] = source[key];
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
return target;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
function getDefaultExportFromCjs (x) {
|
|
35
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
function _arrayWithoutHoles(arr) {
|
|
39
|
+
if (Array.isArray(arr)) return slicedToArray._arrayLikeToArray(arr);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
function _iterableToArray(iter) {
|
|
43
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
function _nonIterableSpread() {
|
|
47
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
function _toConsumableArray(arr) {
|
|
51
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || slicedToArray._unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
exports._iterableToArray = _iterableToArray;
|
|
55
|
+
exports._objectWithoutProperties = _objectWithoutProperties;
|
|
56
|
+
exports._toConsumableArray = _toConsumableArray;
|
|
57
|
+
exports.getDefaultExportFromCjs = getDefaultExportFromCjs;
|
|
58
|
+
//# sourceMappingURL=toConsumableArray-9f1f441a.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toConsumableArray-9f1f441a.js","sources":["../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js","../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","../node_modules/@babel/runtime/helpers/esm/iterableToArray.js","../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"],"sourcesContent":["export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}","import objectWithoutPropertiesLoose from \"./objectWithoutPropertiesLoose.js\";\nexport default function _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}"],"names":["objectWithoutPropertiesLoose","arrayLikeToArray","arrayWithoutHoles","iterableToArray","unsupportedIterableToArray","nonIterableSpread"],"mappings":";;;;AAAe,SAAS,6BAA6B,CAAC,MAAM,EAAE,QAAQ,EAAE;AACxE,EAAE,IAAI,MAAM,IAAI,IAAI,EAAE,OAAO,EAAE,CAAC;AAChC,EAAE,IAAI,MAAM,GAAG,EAAE,CAAC;AAClB,EAAE,IAAI,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AACvC,EAAE,IAAI,GAAG,EAAE,CAAC,CAAC;AACb,EAAE,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,UAAU,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AAC1C,IAAI,GAAG,GAAG,UAAU,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,IAAI,EAAE;AAC/C,EAAE,IAAI,OAAO,MAAM,KAAK,WAAW,IAAI,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,IAAI,IAAI,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,EAAE,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC5H;;ACFe,SAAS,kBAAkB,GAAG;AAC7C,EAAE,MAAM,IAAI,SAAS,CAAC,sIAAsI,CAAC,CAAC;AAC9J;;ACEe,SAAS,kBAAkB,CAAC,GAAG,EAAE;AAChD,EAAE,OAAOC,kBAAiB,CAAC,GAAG,CAAC,IAAIC,gBAAe,CAAC,GAAG,CAAC,IAAIC,yCAA0B,CAAC,GAAG,CAAC,IAAIC,kBAAiB,EAAE,CAAC;AAClH;;;;;;;"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { withImmutableActions } from '@bigbinary/neeto-commons-frontend/react-utils';
|
|
2
|
+
import { create } from 'zustand';
|
|
3
|
+
|
|
4
|
+
/** @type {import("neetocommons/react-utils").ZustandStoreHook} */
|
|
5
|
+
var useCustomDataStore = create(withImmutableActions(function (set) {
|
|
6
|
+
return {
|
|
7
|
+
customData: {},
|
|
8
|
+
setCustomDataState: set
|
|
9
|
+
};
|
|
10
|
+
}));
|
|
11
|
+
|
|
12
|
+
export { useCustomDataStore as u };
|
|
13
|
+
//# sourceMappingURL=useCustomDataStore-51ceac06.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCustomDataStore-51ceac06.js","sources":["../app/javascript/src/components/NeetoRulesForm/stores/useCustomDataStore.js"],"sourcesContent":["import { withImmutableActions } from \"neetocommons/react-utils\";\nimport { create } from \"zustand\";\n\n/** @type {import(\"neetocommons/react-utils\").ZustandStoreHook} */\nconst useCustomDataStore = create(\n withImmutableActions(set => ({ customData: {}, setCustomDataState: set }))\n);\n\nexport default useCustomDataStore;\n"],"names":["useCustomDataStore","create","withImmutableActions","set","customData","setCustomDataState"],"mappings":";;;AAGA;AACA,IAAMA,kBAAkB,GAAGC,MAAM,CAC/BC,oBAAoB,CAAC,UAAAC,GAAG,EAAA;EAAA,OAAK;IAAEC,UAAU,EAAE,EAAE;AAAEC,IAAAA,kBAAkB,EAAEF,GAAAA;GAAK,CAAA;AAAA,CAAC,CAC3E;;;;"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var reactUtils = require('@bigbinary/neeto-commons-frontend/react-utils');
|
|
4
|
+
var zustand = require('zustand');
|
|
5
|
+
|
|
6
|
+
/** @type {import("neetocommons/react-utils").ZustandStoreHook} */
|
|
7
|
+
var useCustomDataStore = zustand.create(reactUtils.withImmutableActions(function (set) {
|
|
8
|
+
return {
|
|
9
|
+
customData: {},
|
|
10
|
+
setCustomDataState: set
|
|
11
|
+
};
|
|
12
|
+
}));
|
|
13
|
+
|
|
14
|
+
exports.useCustomDataStore = useCustomDataStore;
|
|
15
|
+
//# sourceMappingURL=useCustomDataStore-c57f5581.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCustomDataStore-c57f5581.js","sources":["../app/javascript/src/components/NeetoRulesForm/stores/useCustomDataStore.js"],"sourcesContent":["import { withImmutableActions } from \"neetocommons/react-utils\";\nimport { create } from \"zustand\";\n\n/** @type {import(\"neetocommons/react-utils\").ZustandStoreHook} */\nconst useCustomDataStore = create(\n withImmutableActions(set => ({ customData: {}, setCustomDataState: set }))\n);\n\nexport default useCustomDataStore;\n"],"names":["useCustomDataStore","create","withImmutableActions","set","customData","setCustomDataState"],"mappings":";;;;;AAGA;AACA,IAAMA,kBAAkB,GAAGC,cAAM,CAC/BC,+BAAoB,CAAC,UAAAC,GAAG,EAAA;EAAA,OAAK;IAAEC,UAAU,EAAE,EAAE;AAAEC,IAAAA,kBAAkB,EAAEF,GAAAA;GAAK,CAAA;AAAA,CAAC,CAC3E;;;;"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var reactUtils = require('@bigbinary/neeto-commons-frontend/react-utils');
|
|
4
|
+
var zustand = require('zustand');
|
|
5
|
+
|
|
6
|
+
/** @type {import("neetocommons/react-utils").ZustandStoreHook} */
|
|
7
|
+
var useUtilityStore = zustand.create(reactUtils.withImmutableActions(function (set) {
|
|
8
|
+
return {
|
|
9
|
+
moreActionDropdownItems: [],
|
|
10
|
+
showPreviewPane: false,
|
|
11
|
+
setMoreActionDropdownItems: function setMoreActionDropdownItems(items) {
|
|
12
|
+
return set({
|
|
13
|
+
moreActionDropdownItems: items,
|
|
14
|
+
showPreviewPane: true
|
|
15
|
+
});
|
|
16
|
+
},
|
|
17
|
+
hidePreviewPane: function hidePreviewPane() {
|
|
18
|
+
return set({
|
|
19
|
+
moreActionDropdownItems: [],
|
|
20
|
+
showPreviewPane: false
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
}));
|
|
25
|
+
|
|
26
|
+
exports.useUtilityStore = useUtilityStore;
|
|
27
|
+
//# sourceMappingURL=useUtilityStore-e4b36ba2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useUtilityStore-e4b36ba2.js","sources":["../app/javascript/src/components/stores/useUtilityStore.js"],"sourcesContent":["import { withImmutableActions } from \"neetocommons/react-utils\";\nimport { create } from \"zustand\";\n\n/** @type {import(\"neetocommons/react-utils\").ZustandStoreHook} */\nconst useUtilityStore = create(\n withImmutableActions(set => ({\n moreActionDropdownItems: [],\n showPreviewPane: false,\n setMoreActionDropdownItems: items =>\n set({ moreActionDropdownItems: items, showPreviewPane: true }),\n hidePreviewPane: () =>\n set({ moreActionDropdownItems: [], showPreviewPane: false }),\n }))\n);\n\nexport default useUtilityStore;\n"],"names":["useUtilityStore","create","withImmutableActions","set","moreActionDropdownItems","showPreviewPane","setMoreActionDropdownItems","items","hidePreviewPane"],"mappings":";;;;;AAGA;AACA,IAAMA,eAAe,GAAGC,cAAM,CAC5BC,+BAAoB,CAAC,UAAAC,GAAG,EAAA;EAAA,OAAK;AAC3BC,IAAAA,uBAAuB,EAAE,EAAE;AAC3BC,IAAAA,eAAe,EAAE,KAAK;IACtBC,0BAA0B,EAAE,SAAAA,0BAAAA,CAAAC,KAAK,EAAA;AAAA,MAAA,OAC/BJ,GAAG,CAAC;AAAEC,QAAAA,uBAAuB,EAAEG,KAAK;AAAEF,QAAAA,eAAe,EAAE,IAAA;AAAK,OAAC,CAAC,CAAA;AAAA,KAAA;IAChEG,eAAe,EAAE,SAAAA,eAAA,GAAA;AAAA,MAAA,OACfL,GAAG,CAAC;AAAEC,QAAAA,uBAAuB,EAAE,EAAE;AAAEC,QAAAA,eAAe,EAAE,KAAA;AAAM,OAAC,CAAC,CAAA;AAAA,KAAA;GAC/D,CAAA;AAAA,CAAC,CACJ;;;;"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { withImmutableActions } from '@bigbinary/neeto-commons-frontend/react-utils';
|
|
2
|
+
import { create } from 'zustand';
|
|
3
|
+
|
|
4
|
+
/** @type {import("neetocommons/react-utils").ZustandStoreHook} */
|
|
5
|
+
var useUtilityStore = create(withImmutableActions(function (set) {
|
|
6
|
+
return {
|
|
7
|
+
moreActionDropdownItems: [],
|
|
8
|
+
showPreviewPane: false,
|
|
9
|
+
setMoreActionDropdownItems: function setMoreActionDropdownItems(items) {
|
|
10
|
+
return set({
|
|
11
|
+
moreActionDropdownItems: items,
|
|
12
|
+
showPreviewPane: true
|
|
13
|
+
});
|
|
14
|
+
},
|
|
15
|
+
hidePreviewPane: function hidePreviewPane() {
|
|
16
|
+
return set({
|
|
17
|
+
moreActionDropdownItems: [],
|
|
18
|
+
showPreviewPane: false
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
}));
|
|
23
|
+
|
|
24
|
+
export { useUtilityStore as u };
|
|
25
|
+
//# sourceMappingURL=useUtilityStore-ee4f96f8.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useUtilityStore-ee4f96f8.js","sources":["../app/javascript/src/components/stores/useUtilityStore.js"],"sourcesContent":["import { withImmutableActions } from \"neetocommons/react-utils\";\nimport { create } from \"zustand\";\n\n/** @type {import(\"neetocommons/react-utils\").ZustandStoreHook} */\nconst useUtilityStore = create(\n withImmutableActions(set => ({\n moreActionDropdownItems: [],\n showPreviewPane: false,\n setMoreActionDropdownItems: items =>\n set({ moreActionDropdownItems: items, showPreviewPane: true }),\n hidePreviewPane: () =>\n set({ moreActionDropdownItems: [], showPreviewPane: false }),\n }))\n);\n\nexport default useUtilityStore;\n"],"names":["useUtilityStore","create","withImmutableActions","set","moreActionDropdownItems","showPreviewPane","setMoreActionDropdownItems","items","hidePreviewPane"],"mappings":";;;AAGA;AACA,IAAMA,eAAe,GAAGC,MAAM,CAC5BC,oBAAoB,CAAC,UAAAC,GAAG,EAAA;EAAA,OAAK;AAC3BC,IAAAA,uBAAuB,EAAE,EAAE;AAC3BC,IAAAA,eAAe,EAAE,KAAK;IACtBC,0BAA0B,EAAE,SAAAA,0BAAAA,CAAAC,KAAK,EAAA;AAAA,MAAA,OAC/BJ,GAAG,CAAC;AAAEC,QAAAA,uBAAuB,EAAEG,KAAK;AAAEF,QAAAA,eAAe,EAAE,IAAA;AAAK,OAAC,CAAC,CAAA;AAAA,KAAA;IAChEG,eAAe,EAAE,SAAAA,eAAA,GAAA;AAAA,MAAA,OACfL,GAAG,CAAC;AAAEC,QAAAA,uBAAuB,EAAE,EAAE;AAAEC,QAAAA,eAAe,EAAE,KAAA;AAAM,OAAC,CAAC,CAAA;AAAA,KAAA;GAC/D,CAAA;AAAA,CAAC,CACJ;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-rules-frontend",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"description": "A repo acts as the source of truth for the new nano's structure, configs, data etc.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"homepage": "https://github.com/bigbinary/neeto-rules-nano",
|
|
@@ -17,6 +17,18 @@
|
|
|
17
17
|
"main": "dist/index.cjs.js",
|
|
18
18
|
"module": "dist/index.js",
|
|
19
19
|
"types": "types.d.ts",
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"import": "./dist/index.js",
|
|
23
|
+
"require": "./dist/cjs/index.js",
|
|
24
|
+
"types": "./types.d.ts"
|
|
25
|
+
},
|
|
26
|
+
"./*": {
|
|
27
|
+
"import": "./dist/*.js",
|
|
28
|
+
"require": "./dist/cjs/*.js",
|
|
29
|
+
"types": "./types.d.ts"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
20
32
|
"scripts": {
|
|
21
33
|
"build": "NODE_ENV=production rollup -c --environment production",
|
|
22
34
|
"build-preview": "NODE_ENV=production webpack",
|
|
@@ -51,12 +63,12 @@
|
|
|
51
63
|
"@bigbinary/eslint-plugin-neeto": "1.5.2",
|
|
52
64
|
"@bigbinary/neeto-audit-frontend": "2.0.12",
|
|
53
65
|
"@bigbinary/neeto-cist": "1.0.11",
|
|
54
|
-
"@bigbinary/neeto-commons-frontend": "4.
|
|
55
|
-
"@bigbinary/neeto-filters-frontend": "4.
|
|
66
|
+
"@bigbinary/neeto-commons-frontend": "4.4.1",
|
|
67
|
+
"@bigbinary/neeto-filters-frontend": "4.2.1",
|
|
56
68
|
"@bigbinary/neeto-hotkeys": "^1.0.1",
|
|
57
|
-
"@bigbinary/neeto-icons": "1.20.
|
|
58
|
-
"@bigbinary/neeto-molecules": "3.3.
|
|
59
|
-
"@bigbinary/neetoui": "8.2.
|
|
69
|
+
"@bigbinary/neeto-icons": "1.20.2",
|
|
70
|
+
"@bigbinary/neeto-molecules": "3.3.21",
|
|
71
|
+
"@bigbinary/neetoui": "8.2.5",
|
|
60
72
|
"@emotion/is-prop-valid": "1.2.0",
|
|
61
73
|
"@faker-js/faker": "8.2.0",
|
|
62
74
|
"@honeybadger-io/js": "6.5.3",
|
|
@@ -157,13 +169,13 @@
|
|
|
157
169
|
},
|
|
158
170
|
"peerDependencies": {
|
|
159
171
|
"@bigbinary/neeto-cist": "latest",
|
|
160
|
-
"@bigbinary/neeto-commons-frontend": "4.
|
|
172
|
+
"@bigbinary/neeto-commons-frontend": "4.4.1",
|
|
161
173
|
"@bigbinary/neeto-editor": "^1.26.3",
|
|
162
|
-
"@bigbinary/neeto-filters-frontend": "4.
|
|
174
|
+
"@bigbinary/neeto-filters-frontend": "4.2.1",
|
|
163
175
|
"@bigbinary/neeto-hotkeys": "^1.0.1",
|
|
164
|
-
"@bigbinary/neeto-icons": "1.20.
|
|
165
|
-
"@bigbinary/neeto-molecules": "3.3.
|
|
166
|
-
"@bigbinary/neetoui": "8.2.
|
|
176
|
+
"@bigbinary/neeto-icons": "1.20.2",
|
|
177
|
+
"@bigbinary/neeto-molecules": "3.3.21",
|
|
178
|
+
"@bigbinary/neetoui": "8.2.5",
|
|
167
179
|
"@honeybadger-io/js": "^6.5.3",
|
|
168
180
|
"@honeybadger-io/react": "^6.1.9",
|
|
169
181
|
"@tanstack/react-query": "5.40.0",
|