@evlop/commons 1.0.131 → 1.0.134

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. package/dist/src/components/I18nManager.d.ts +4 -0
  2. package/dist/src/components/I18nManager.d.ts.map +1 -0
  3. package/dist/src/components/I18nManager.js +20 -0
  4. package/dist/src/components/I18nManager.js.map +1 -0
  5. package/dist/src/components/index.d.ts +1 -0
  6. package/dist/src/components/index.d.ts.map +1 -1
  7. package/dist/src/components/index.js +1 -0
  8. package/dist/src/components/index.js.map +1 -1
  9. package/dist/src/constants/i18ninstance.d.ts +1 -1
  10. package/dist/src/constants/i18ninstance.d.ts.map +1 -1
  11. package/dist/src/constants/i18ninstance.js +4 -3
  12. package/dist/src/constants/i18ninstance.js.map +1 -1
  13. package/dist/src/constants/index.d.ts +1 -1
  14. package/dist/src/constants/index.d.ts.map +1 -1
  15. package/dist/src/constants/index.js +2 -1
  16. package/dist/src/constants/index.js.map +1 -1
  17. package/dist/src/contexts/DataContext.d.ts +1 -1
  18. package/dist/src/contexts/DataContext.d.ts.map +1 -1
  19. package/dist/src/contexts/DataContext.js +2 -2
  20. package/dist/src/contexts/DataContext.js.map +1 -1
  21. package/dist/src/providers/Scope.d.ts +4 -0
  22. package/dist/src/providers/Scope.d.ts.map +1 -1
  23. package/dist/src/providers/Scope.js +5 -1
  24. package/dist/src/providers/Scope.js.map +1 -1
  25. package/dist/src/providers/Scopes.d.ts +11 -0
  26. package/dist/src/providers/Scopes.d.ts.map +1 -0
  27. package/dist/src/providers/Scopes.js +38 -0
  28. package/dist/src/providers/Scopes.js.map +1 -0
  29. package/dist/src/providers/index.d.ts +2 -1
  30. package/dist/src/providers/index.d.ts.map +1 -1
  31. package/dist/src/providers/index.js +2 -1
  32. package/dist/src/providers/index.js.map +1 -1
  33. package/dist/src/reducers/config/index.d.ts +6 -0
  34. package/dist/src/reducers/config/index.d.ts.map +1 -1
  35. package/dist/src/reducers/config/index.js +19 -3
  36. package/dist/src/reducers/config/index.js.map +1 -1
  37. package/package.json +1 -1
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export declare const I18nManager: React.FC;
3
+ export default I18nManager;
4
+ //# sourceMappingURL=I18nManager.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"I18nManager.d.ts","sourceRoot":"","sources":["../../../src/components/I18nManager.tsx"],"names":[],"mappings":"AACA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAIvC,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAU/B,CAAA;AAED,eAAe,WAAW,CAAC"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.I18nManager = void 0;
7
+ const lodash_1 = require("lodash");
8
+ const react_1 = require("react");
9
+ const i18ninstance_1 = __importDefault(require("../constants/i18ninstance"));
10
+ const useConfig_1 = require("../hooks/useConfig");
11
+ const I18nManager = () => {
12
+ const i18nResources = useConfig_1.useConfig('i18n');
13
+ react_1.useEffect(() => {
14
+ lodash_1.forEach(i18nResources, (values, language) => i18ninstance_1.default.addResources(language, 'common', values));
15
+ }, [i18nResources]);
16
+ return null;
17
+ };
18
+ exports.I18nManager = I18nManager;
19
+ exports.default = exports.I18nManager;
20
+ //# sourceMappingURL=I18nManager.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"I18nManager.js","sourceRoot":"","sources":["../../../src/components/I18nManager.tsx"],"names":[],"mappings":";;;;;;AAAA,mCAA+B;AAC/B,iCAAuC;AACvC,6EAAqD;AACrD,kDAA+C;AAExC,MAAM,WAAW,GAAa,GAAG,EAAE;IACxC,MAAM,aAAa,GAAG,qBAAS,CAAC,MAAM,CAAC,CAAC;IAExC,iBAAS,CAAC,GAAG,EAAE;QACb,gBAAO,CAAC,aAAa,EAAE,CAAC,MAAM,EAAE,QAAQ,EAAE,EAAE,CAC1C,sBAAY,CAAC,YAAY,CAAC,QAAQ,EAAE,QAAQ,EAAE,MAAM,CAAC,CACtD,CAAC;IACJ,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC;IAEpB,OAAO,IAAI,CAAC;AACd,CAAC,CAAA;AAVY,QAAA,WAAW,eAUvB;AAED,kBAAe,mBAAW,CAAC"}
@@ -1,3 +1,4 @@
1
+ export * from './I18nManager';
1
2
  export * from './EmptyComponent';
2
3
  export * from './hoc';
3
4
  export * from './SkipSSR';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.tsx"],"names":[],"mappings":"AAgBA,cAAc,kBAAkB,CAAC;AAEjC,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.tsx"],"names":[],"mappings":"AAgBA,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AAEjC,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC"}
@@ -26,6 +26,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
26
26
  // export * from './FontChooser';
27
27
  // export * from './FontSizeChooser';
28
28
  // export * from './SubToolbar';
29
+ __exportStar(require("./I18nManager"), exports);
29
30
  __exportStar(require("./EmptyComponent"), exports);
30
31
  // export * from './BackgroundCho';
31
32
  __exportStar(require("./hoc"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,8BAA8B;AAC9B,iCAAiC;AACjC,qCAAqC;AACrC,qCAAqC;AACrC,uCAAuC;AACvC,mCAAmC;AACnC,iCAAiC;AACjC,mCAAmC;AACnC,iCAAiC;AACjC,sCAAsC;AACtC,wCAAwC;AACxC,kCAAkC;AAClC,iCAAiC;AACjC,iCAAiC;AACjC,qCAAqC;AACrC,gCAAgC;AAChC,mDAAiC;AACjC,mCAAmC;AACnC,wCAAsB;AACtB,4CAA0B;AAE1B,4CAA4C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,8BAA8B;AAC9B,iCAAiC;AACjC,qCAAqC;AACrC,qCAAqC;AACrC,uCAAuC;AACvC,mCAAmC;AACnC,iCAAiC;AACjC,mCAAmC;AACnC,iCAAiC;AACjC,sCAAsC;AACtC,wCAAwC;AACxC,kCAAkC;AAClC,iCAAiC;AACjC,iCAAiC;AACjC,qCAAqC;AACrC,gCAAgC;AAChC,gDAA8B;AAC9B,mDAAiC;AACjC,mCAAmC;AACnC,wCAAsB;AACtB,4CAA0B;AAE1B,4CAA4C"}
@@ -1,3 +1,3 @@
1
- declare const i18nInstance: import("i18next").i18n;
1
+ export declare const i18nInstance: import("i18next").i18n;
2
2
  export default i18nInstance;
3
3
  //# sourceMappingURL=i18ninstance.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"i18ninstance.d.ts","sourceRoot":"","sources":["../../../src/constants/i18ninstance.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,YAAY,wBAA2B,CAAC;AAM9C,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"i18ninstance.d.ts","sourceRoot":"","sources":["../../../src/constants/i18ninstance.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,wBAA2B,CAAC;AAMrD,eAAe,YAAY,CAAC"}
@@ -3,11 +3,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.i18nInstance = void 0;
6
7
  const i18next_1 = __importDefault(require("i18next"));
7
- const i18nInstance = i18next_1.default.createInstance();
8
- i18nInstance.init({
8
+ exports.i18nInstance = i18next_1.default.createInstance();
9
+ exports.i18nInstance.init({
9
10
  fallbackLng: ['en', 'EN'],
10
11
  defaultNS: "common",
11
12
  });
12
- exports.default = i18nInstance;
13
+ exports.default = exports.i18nInstance;
13
14
  //# sourceMappingURL=i18ninstance.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"i18ninstance.js","sourceRoot":"","sources":["../../../src/constants/i18ninstance.ts"],"names":[],"mappings":";;;;;AAAA,sDAA8B;AAE9B,MAAM,YAAY,GAAG,iBAAO,CAAC,cAAc,EAAE,CAAC;AAC9C,YAAY,CAAC,IAAI,CAAC;IACd,WAAW,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC;IACzB,SAAS,EAAE,QAAQ;CACtB,CAAC,CAAC;AAEH,kBAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"i18ninstance.js","sourceRoot":"","sources":["../../../src/constants/i18ninstance.ts"],"names":[],"mappings":";;;;;;AAAA,sDAA8B;AAEjB,QAAA,YAAY,GAAG,iBAAO,CAAC,cAAc,EAAE,CAAC;AACrD,oBAAY,CAAC,IAAI,CAAC;IACd,WAAW,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC;IACzB,SAAS,EAAE,QAAQ;CACtB,CAAC,CAAC;AAEH,kBAAe,oBAAY,CAAC"}
@@ -11,5 +11,5 @@ export declare const TYPE_COMPONENT = "type/component";
11
11
  export declare const DATA_SOURCE_KEY_NAMESPACE = "a0aec1c8-4fed-4d5d-b399-504887b3b8e4";
12
12
  export { API_BASE_URL, SOCKET_URL };
13
13
  export { default as iconInfo } from './iconInfo';
14
- export { default as i18ninstance } from './i18ninstance';
14
+ export { default as i18ninstance, i18nInstance } from './i18ninstance';
15
15
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/constants/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAI9D,eAAO,MAAM,MAAM,SAAiC,CAAC;AAErD,eAAO,MAAM,MAAM,SAA0E,CAAC;AAE9F,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AACnD,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAG/C,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AAErD,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAE/C,eAAO,MAAM,yBAAyB,yCAAyC,CAAC;AAChF,OAAO,EAAC,YAAY,EAAE,UAAU,EAAC,CAAA;AAEjC,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/constants/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAI9D,eAAO,MAAM,MAAM,SAAiC,CAAC;AAErD,eAAO,MAAM,MAAM,SAA0E,CAAC;AAE9F,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AACnD,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAG/C,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AAErD,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAE/C,eAAO,MAAM,yBAAyB,yCAAyC,CAAC;AAChF,OAAO,EAAC,YAAY,EAAE,UAAU,EAAC,CAAA;AAEjC,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.i18ninstance = exports.iconInfo = exports.SOCKET_URL = exports.API_BASE_URL = exports.DATA_SOURCE_KEY_NAMESPACE = exports.TYPE_COMPONENT = exports.HORIZONTAL_LAYOUT = exports.VERTICAL_LAYOUT = exports.DIRECTION_LEFT = exports.DIRECTION_BOTTOM = exports.DIRECTION_RIGHT = exports.DIRECTION_TOP = exports.IS_SSR = exports.isNode = void 0;
6
+ exports.i18nInstance = exports.i18ninstance = exports.iconInfo = exports.SOCKET_URL = exports.API_BASE_URL = exports.DATA_SOURCE_KEY_NAMESPACE = exports.TYPE_COMPONENT = exports.HORIZONTAL_LAYOUT = exports.VERTICAL_LAYOUT = exports.DIRECTION_LEFT = exports.DIRECTION_BOTTOM = exports.DIRECTION_RIGHT = exports.DIRECTION_TOP = exports.IS_SSR = exports.isNode = void 0;
7
7
  const platformSpecific_1 = require("./platformSpecific");
8
8
  Object.defineProperty(exports, "API_BASE_URL", { enumerable: true, get: function () { return platformSpecific_1.API_BASE_URL; } });
9
9
  Object.defineProperty(exports, "SOCKET_URL", { enumerable: true, get: function () { return platformSpecific_1.SOCKET_URL; } });
@@ -21,4 +21,5 @@ var iconInfo_1 = require("./iconInfo");
21
21
  Object.defineProperty(exports, "iconInfo", { enumerable: true, get: function () { return __importDefault(iconInfo_1).default; } });
22
22
  var i18ninstance_1 = require("./i18ninstance");
23
23
  Object.defineProperty(exports, "i18ninstance", { enumerable: true, get: function () { return __importDefault(i18ninstance_1).default; } });
24
+ Object.defineProperty(exports, "i18nInstance", { enumerable: true, get: function () { return i18ninstance_1.i18nInstance; } });
24
25
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/constants/index.tsx"],"names":[],"mappings":";;;;;;AAAA,yDAA8D;AAoBtD,6FApBC,+BAAY,OAoBD;AAAE,2FApBC,6BAAU,OAoBD;AA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AA,cAAc,GAAG,gBAAgB,CAAC;AAElC,QAAA,yBAAyB,GAAG,sCAAsC,CAAC;AAGhF,uCAAiD;AAAxC,qHAAA,OAAO,OAAY;AAC5B,+CAAuE;AAA9D,6HAAA,OAAO,OAAgB;AAAE,4GAAA,YAAY,OAAA"}
@@ -1,5 +1,5 @@
1
1
  declare const DataContext: import("react").Context<{}>;
2
2
  export declare const DataProvider: import("react").Provider<{}>;
3
- export declare const ComponentData: import("react").Consumer<{}>;
3
+ export declare const DataConsumer: import("react").Consumer<{}>;
4
4
  export default DataContext;
5
5
  //# sourceMappingURL=DataContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataContext.d.ts","sourceRoot":"","sources":["../../../src/contexts/DataContext.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,WAAW,6BAAoB,CAAC;AAEtC,eAAO,MAAM,YAAY,8BAAuB,CAAC;AAEjD,eAAO,MAAM,aAAa,8BAAuB,CAAC;AAElD,eAAe,WAAW,CAAA"}
1
+ {"version":3,"file":"DataContext.d.ts","sourceRoot":"","sources":["../../../src/contexts/DataContext.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,WAAW,6BAAoB,CAAC;AAEtC,eAAO,MAAM,YAAY,8BAAuB,CAAC;AAEjD,eAAO,MAAM,YAAY,8BAAuB,CAAC;AAEjD,eAAe,WAAW,CAAA"}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ComponentData = exports.DataProvider = void 0;
3
+ exports.DataConsumer = exports.DataProvider = void 0;
4
4
  const react_1 = require("react");
5
5
  const DataContext = react_1.createContext({});
6
6
  exports.DataProvider = DataContext.Provider;
7
- exports.ComponentData = DataContext.Consumer;
7
+ exports.DataConsumer = DataContext.Consumer;
8
8
  exports.default = DataContext;
9
9
  //# sourceMappingURL=DataContext.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataContext.js","sourceRoot":"","sources":["../../../src/contexts/DataContext.tsx"],"names":[],"mappings":";;;AAAA,iCAAoC;AAEpC,MAAM,WAAW,GAAG,qBAAa,CAAC,EAAE,CAAC,CAAC;AAEzB,QAAA,YAAY,GAAG,WAAW,CAAC,QAAQ,CAAC;AAEpC,QAAA,aAAa,GAAG,WAAW,CAAC,QAAQ,CAAC;AAElD,kBAAe,WAAW,CAAA"}
1
+ {"version":3,"file":"DataContext.js","sourceRoot":"","sources":["../../../src/contexts/DataContext.tsx"],"names":[],"mappings":";;;AAAA,iCAAoC;AAEpC,MAAM,WAAW,GAAG,qBAAa,CAAC,EAAE,CAAC,CAAC;AAEzB,QAAA,YAAY,GAAG,WAAW,CAAC,QAAQ,CAAC;AAEpC,QAAA,YAAY,GAAG,WAAW,CAAC,QAAQ,CAAC;AAEjD,kBAAe,WAAW,CAAA"}
@@ -3,6 +3,10 @@ interface ScopeProps {
3
3
  name: string;
4
4
  value: any;
5
5
  }
6
+ /**
7
+ * @description use is to provide single scopes name and value
8
+ */
6
9
  export declare const Scope: React.FunctionComponent<ScopeProps>;
10
+ export declare const ScopeProvider: React.FunctionComponent<ScopeProps>;
7
11
  export default Scope;
8
12
  //# sourceMappingURL=Scope.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Scope.d.ts","sourceRoot":"","sources":["../../../src/providers/Scope.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgB,MAAM,OAAO,CAAC;AAIrC,UAAU,UAAU;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,GAAG,CAAC;CACd;AAED,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAerD,CAAC;AAEF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"Scope.d.ts","sourceRoot":"","sources":["../../../src/providers/Scope.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgB,MAAM,OAAO,CAAC;AAIrC,UAAU,UAAU;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,GAAG,CAAC;CACd;AAED;;GAEG;AACH,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAerD,CAAC;AAEF,eAAO,MAAM,aAAa,qCAAQ,CAAC;AAEnC,eAAe,KAAK,CAAC"}
@@ -19,15 +19,19 @@ var __importStar = (this && this.__importStar) || function (mod) {
19
19
  return result;
20
20
  };
21
21
  Object.defineProperty(exports, "__esModule", { value: true });
22
- exports.Scope = void 0;
22
+ exports.ScopeProvider = exports.Scope = void 0;
23
23
  const react_1 = __importStar(require("react"));
24
24
  const contexts_1 = require("../contexts");
25
25
  const hooks_1 = require("../hooks");
26
+ /**
27
+ * @description use is to provide single scopes name and value
28
+ */
26
29
  const Scope = ({ name, value, children }) => {
27
30
  const scope = hooks_1.useScope();
28
31
  const newScope = react_1.useMemo(() => (Object.assign(Object.assign({}, scope), { [name]: value })), [scope, name, value]);
29
32
  return (react_1.default.createElement(contexts_1.DataProvider, { value: newScope }, children));
30
33
  };
31
34
  exports.Scope = Scope;
35
+ exports.ScopeProvider = exports.Scope;
32
36
  exports.default = exports.Scope;
33
37
  //# sourceMappingURL=Scope.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Scope.js","sourceRoot":"","sources":["../../../src/providers/Scope.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAqC;AACrC,0CAAyC;AACzC,oCAAkC;AAO3B,MAAM,KAAK,GAAwC,CAAC,EAAC,IAAI,EAAE,KAAK,EAAG,QAAQ,EAAC,EAAE,EAAE;IACnF,MAAM,KAAK,GAAG,gBAAQ,EAAE,CAAC;IAEzB,MAAM,QAAQ,GAAG,eAAO,CAAC,GAAE,EAAE,CAAA,iCAElB,KAAK,KACR,CAAC,IAAI,CAAC,EAAE,KAAK,IAEpB,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC;IAEzB,OAAO,CACH,8BAAC,uBAAY,IAAC,KAAK,EAAE,QAAQ,IACxB,QAAQ,CACE,CAClB,CAAC;AACN,CAAC,CAAC;AAfW,QAAA,KAAK,SAehB;AAEF,kBAAe,aAAK,CAAC"}
1
+ {"version":3,"file":"Scope.js","sourceRoot":"","sources":["../../../src/providers/Scope.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAqC;AACrC,0CAAyC;AACzC,oCAAkC;AAOlC;;GAEG;AACI,MAAM,KAAK,GAAwC,CAAC,EAAC,IAAI,EAAE,KAAK,EAAG,QAAQ,EAAC,EAAE,EAAE;IACnF,MAAM,KAAK,GAAG,gBAAQ,EAAE,CAAC;IAEzB,MAAM,QAAQ,GAAG,eAAO,CAAC,GAAE,EAAE,CAAA,iCAElB,KAAK,KACR,CAAC,IAAI,CAAC,EAAE,KAAK,IAEpB,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC;IAEzB,OAAO,CACH,8BAAC,uBAAY,IAAC,KAAK,EAAE,QAAQ,IACxB,QAAQ,CACE,CAClB,CAAC;AACN,CAAC,CAAC;AAfW,QAAA,KAAK,SAehB;AAEW,QAAA,aAAa,GAAG,aAAK,CAAC;AAEnC,kBAAe,aAAK,CAAC"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ interface ScopesProps {
3
+ values: Object;
4
+ }
5
+ /**
6
+ * @description use is to provide multiple scopes
7
+ */
8
+ export declare const Scopes: React.FunctionComponent<ScopesProps>;
9
+ export declare const ScopesProvider: React.FunctionComponent<ScopesProps>;
10
+ export default Scopes;
11
+ //# sourceMappingURL=Scopes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Scopes.d.ts","sourceRoot":"","sources":["../../../src/providers/Scopes.tsx"],"names":[],"mappings":"AACA,OAAO,KAAgB,MAAM,OAAO,CAAC;AAIrC,UAAU,WAAW;IACjB,MAAM,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAUvD,CAAC;AAEF,eAAO,MAAM,cAAc,sCAAS,CAAC;AAErC,eAAe,MAAM,CAAC"}
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
11
+ }) : function(o, v) {
12
+ o["default"] = v;
13
+ });
14
+ var __importStar = (this && this.__importStar) || function (mod) {
15
+ if (mod && mod.__esModule) return mod;
16
+ var result = {};
17
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18
+ __setModuleDefault(result, mod);
19
+ return result;
20
+ };
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ exports.ScopesProvider = exports.Scopes = void 0;
23
+ const lodash_1 = require("lodash");
24
+ const react_1 = __importStar(require("react"));
25
+ const contexts_1 = require("../contexts");
26
+ const hooks_1 = require("../hooks");
27
+ /**
28
+ * @description use is to provide multiple scopes
29
+ */
30
+ const Scopes = ({ values, children }) => {
31
+ const scope = hooks_1.useScope();
32
+ const newScope = react_1.useMemo(() => lodash_1.assign({}, scope, values), [scope, values]);
33
+ return (react_1.default.createElement(contexts_1.DataProvider, { value: newScope }, children));
34
+ };
35
+ exports.Scopes = Scopes;
36
+ exports.ScopesProvider = exports.Scopes;
37
+ exports.default = exports.Scopes;
38
+ //# sourceMappingURL=Scopes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Scopes.js","sourceRoot":"","sources":["../../../src/providers/Scopes.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,mCAAgC;AAChC,+CAAqC;AACrC,0CAAyC;AACzC,oCAAkC;AAMlC;;GAEG;AACI,MAAM,MAAM,GAAyC,CAAC,EAAC,MAAM,EAAE,QAAQ,EAAC,EAAE,EAAE;IAC/E,MAAM,KAAK,GAAG,gBAAQ,EAAE,CAAC;IAEzB,MAAM,QAAQ,GAAG,eAAO,CAAC,GAAE,EAAE,CAAC,eAAM,CAAC,EAAE,EAAE,KAAK,EAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC;IAE1E,OAAO,CACH,8BAAC,uBAAY,IAAC,KAAK,EAAE,QAAQ,IACxB,QAAQ,CACE,CAClB,CAAC;AACN,CAAC,CAAC;AAVW,QAAA,MAAM,UAUjB;AAEW,QAAA,cAAc,GAAG,cAAM,CAAC;AAErC,kBAAe,cAAM,CAAC"}
@@ -1,3 +1,4 @@
1
- export * from './Scope';
2
1
  export * from './DataSource';
2
+ export * from './Scope';
3
+ export * from './Scopes';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/providers/index.tsx"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/providers/index.tsx"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC"}
@@ -10,6 +10,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
10
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./Scope"), exports);
14
13
  __exportStar(require("./DataSource"), exports);
14
+ __exportStar(require("./Scope"), exports);
15
+ __exportStar(require("./Scopes"), exports);
15
16
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/providers/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAAwB;AACxB,+CAA6B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/providers/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA6B;AAC7B,0CAAwB;AACxB,2CAAyB"}
@@ -13,6 +13,12 @@ export declare function addSettingsField(field: any, configName?: string): {
13
13
  configName: string;
14
14
  field: any;
15
15
  };
16
+ export declare const getAllConfig: () => {
17
+ endpoint: string;
18
+ types: string[];
19
+ method: any;
20
+ isRestRequest: boolean;
21
+ };
16
22
  export declare const getConfig: (configName?: string) => {
17
23
  endpoint: string;
18
24
  types: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/reducers/config/index.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,YAAY,sBAAsB,CAAC;AAChD,eAAO,MAAM,UAAU,eAAe,CAAC;AAEvC,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AAEvD,eAAO,MAAM,mBAAmB,wBAAwB,CAAC;AACzD,eAAO,MAAM,mBAAmB,wBAAwB,CAAC;AACzD,eAAO,MAAM,mBAAmB,wBAAwB,CAAC;AAEzD,wBAAgB,gBAAgB,CAAC,KAAK,KAAA,EAAE,UAAU,SAAQ;;;;EAMzD;AAED,eAAO,MAAM,SAAS;;;;;;;;;CAOpB,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;CAQrB,CAAC;AAEH,aAAK,WAAW,GAAG;IAAE,IAAI,EAAE,GAAG,CAAC;IAAC,MAAM,EAAE,GAAG,CAAA;CAAE,CAAC;AAE9C,QAAA,MAAM,MAAM;;;CA6BX,CAAA;AAID,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/reducers/config/index.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,YAAY,sBAAsB,CAAC;AAChD,eAAO,MAAM,UAAU,eAAe,CAAC;AAEvC,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AAEvD,eAAO,MAAM,mBAAmB,wBAAwB,CAAC;AACzD,eAAO,MAAM,mBAAmB,wBAAwB,CAAC;AACzD,eAAO,MAAM,mBAAmB,wBAAwB,CAAC;AAEzD,wBAAgB,gBAAgB,CAAC,KAAK,KAAA,EAAE,UAAU,SAAQ;;;;EAMzD;AAED,eAAO,MAAM,YAAY;;;;;CAKvB,CAAA;AAEF,eAAO,MAAM,SAAS;;;;;;;;;CAOpB,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;CAQrB,CAAC;AAEH,aAAK,WAAW,GAAG;IAAE,IAAI,EAAE,GAAG,CAAC;IAAC,MAAM,EAAE,GAAG,CAAA;CAAE,CAAC;AAE9C,QAAA,MAAM,MAAM;;;CAkCX,CAAA;AAID,eAAe,MAAM,CAAC"}
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.saveConfig = exports.getConfig = exports.addSettingsField = exports.SAVE_CONFIG_FAILURE = exports.SAVE_CONFIG_SUCCESS = exports.SAVE_CONFIG_REQUEST = exports.GET_CONFIG_FAILURE = exports.GET_CONFIG_SUCCESS = exports.GET_CONFIG_REQUEST = exports.SET_CONFIG = exports.UPDATE_THEME = exports.ADD_SITE_PAGE = exports.ADD_SETTINGS_FIELD = void 0;
6
+ exports.saveConfig = exports.getConfig = exports.getAllConfig = exports.addSettingsField = exports.SAVE_CONFIG_FAILURE = exports.SAVE_CONFIG_SUCCESS = exports.SAVE_CONFIG_REQUEST = exports.GET_CONFIG_FAILURE = exports.GET_CONFIG_SUCCESS = exports.GET_CONFIG_REQUEST = exports.SET_CONFIG = exports.UPDATE_THEME = exports.ADD_SITE_PAGE = exports.ADD_SETTINGS_FIELD = void 0;
7
7
  const redux_rest_1 = require("@mukti107/redux-rest");
8
8
  const lodash_1 = require("lodash");
9
9
  const initialState_1 = __importDefault(require("./initialState"));
@@ -25,6 +25,13 @@ function addSettingsField(field, configName = 'web') {
25
25
  };
26
26
  }
27
27
  exports.addSettingsField = addSettingsField;
28
+ const getAllConfig = () => ({
29
+ endpoint: 'config',
30
+ types: [exports.GET_CONFIG_REQUEST, exports.GET_CONFIG_SUCCESS, exports.GET_CONFIG_FAILURE],
31
+ method: redux_rest_1.GET,
32
+ isRestRequest: true,
33
+ });
34
+ exports.getAllConfig = getAllConfig;
28
35
  const getConfig = (configName = 'web') => ({
29
36
  endpoint: 'config/:configName',
30
37
  types: [exports.GET_CONFIG_REQUEST, exports.GET_CONFIG_SUCCESS, exports.GET_CONFIG_FAILURE],
@@ -47,8 +54,17 @@ exports.saveConfig = saveConfig;
47
54
  const config = (state = initialState_1.default, action) => {
48
55
  switch (action.type) {
49
56
  case exports.SAVE_CONFIG_SUCCESS:
50
- case exports.GET_CONFIG_SUCCESS:
51
- return Object.assign(Object.assign({}, state), { data: Object.assign(Object.assign({}, state.data), { [action.configName]: action.response }) });
57
+ case exports.GET_CONFIG_SUCCESS: {
58
+ const { configName, response: configData } = action;
59
+ const configDataNewState = Object.assign({}, state.data);
60
+ if (configName) {
61
+ lodash_1.set(configDataNewState, configName, configData);
62
+ }
63
+ else {
64
+ lodash_1.assign(configDataNewState, configData);
65
+ }
66
+ return Object.assign(Object.assign({}, state), { data: configDataNewState });
67
+ }
52
68
  case exports.SET_CONFIG:
53
69
  return Object.assign(Object.assign({}, state), { data: lodash_1.reduce(action.values, (oldState, value, path) => lodash_1.set(oldState, path, value), lodash_1.cloneDeep(state.data)) });
54
70
  case exports.ADD_SETTINGS_FIELD: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/reducers/config/index.tsx"],"names":[],"mappings":";;;;;;AAAA,qDAAgD;AAChD,mCAAgD;AAChD,kEAAgD;AAEnC,QAAA,kBAAkB,GAAG,oBAAoB,CAAC;AAC1C,QAAA,aAAa,GAAG,eAAe,CAAC;AAChC,QAAA,YAAY,GAAG,mBAAmB,CAAC;AACnC,QAAA,UAAU,GAAG,YAAY,CAAC;AAE1B,QAAA,kBAAkB,GAAG,oBAAoB,CAAC;AAC1C,QAAA,kBAAkB,GAAG,oBAAoB,CAAC;AAC1C,QAAA,kBAAkB,GAAG,oBAAoB,CAAC;AAE1C,QAAA,mBAAmB,GAAG,qBAAqB,CAAC;AAC5C,QAAA,mBAAmB,GAAG,qBAAqB,CAAC;AAC5C,QAAA,mBAAmB,GAAG,qBAAqB,CAAC;AAEzD,SAAgB,gBAAgB,CAAC,KAAK,EAAE,UAAU,GAAG,KAAK;IACtD,OAAO;QACH,IAAI,EAAE,0BAAkB;QACxB,UAAU;QACV,KAAK;KACR,CAAA;AACL,CAAC;AAND,4CAMC;AAEM,MAAM,SAAS,GAAG,CAAC,UAAU,GAAI,KAAK,EAAC,EAAE,CAAA,CAAC;IAC7C,QAAQ,EAAE,oBAAoB;IAC9B,KAAK,EAAC,CAAC,0BAAkB,EAAE,0BAAkB,EAAE,0BAAkB,CAAC;IAClE,UAAU,EAAC,EAAE,UAAU,EAAE;IACzB,UAAU;IACV,MAAM,EAAE,gBAAG;IACX,aAAa,EAAE,IAAI;CACtB,CAAC,CAAC;AAPU,QAAA,SAAS,aAOnB;AAEI,MAAM,UAAU,GAAG,CAAC,IAAI,E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AAK,CAAC;YAC/D,uCACO,KAAK,KACR,MAAM,kCACC,KAAK,CAAC,MAAM,KACf,CAAC,MAAM,CAAC,UAAU,CAAC,EAAE,CAAC,GAAG,MAAM,EAAE,MAAM,CAAC,KAAK,CAAE,OAErD;SACL;QACD;YACI,OAAO,KAAK,CAAC;KACpB;AACL,CAAC,CAAA;AAED,MAAM,CAAC,OAAO,GAAG,IAAI,CAAC;AAEtB,kBAAe,MAAM,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evlop/commons",
3
- "version": "1.0.131",
3
+ "version": "1.0.134",
4
4
  "description": "",
5
5
  "main": "dist/main.js",
6
6
  "peerDependencies": {