orc-shared 1.1.0-dev.9 → 1.2.0-dev.10

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.
Files changed (309) hide show
  1. package/dist/actions/applications.js +1 -1
  2. package/dist/actions/authentication.js +1 -1
  3. package/dist/actions/countries.js +1 -1
  4. package/dist/actions/locale.js +1 -1
  5. package/dist/actions/makeApiAction.js +73 -3
  6. package/dist/actions/makeOrcApiAction.js +2 -2
  7. package/dist/actions/metadata.js +295 -31
  8. package/dist/actions/modules.js +63 -1
  9. package/dist/actions/navigation.js +3 -3
  10. package/dist/actions/requestState.js +78 -0
  11. package/dist/actions/requestsApi.js +58 -7
  12. package/dist/actions/scopes.js +59 -22
  13. package/dist/actions/timezones.js +1 -1
  14. package/dist/actions/toasts.js +1 -1
  15. package/dist/actions/versionInfo.js +1 -1
  16. package/dist/actions/view.js +1 -1
  17. package/dist/buildStore.js +7 -4
  18. package/dist/components/AppFrame/About.js +6 -5
  19. package/dist/components/AppFrame/ApplicationSelector/ApplicationDialog.js +115 -62
  20. package/dist/components/AppFrame/ApplicationSelector/index.js +45 -47
  21. package/dist/components/AppFrame/MenuItem.js +6 -15
  22. package/dist/components/AppFrame/Preferences.js +3 -3
  23. package/dist/components/AppFrame/Sidebar.js +20 -9
  24. package/dist/components/AppFrame/Topbar.js +1 -1
  25. package/dist/components/ApplicationModuleLoader.js +143 -0
  26. package/dist/components/Authenticate.js +13 -13
  27. package/dist/components/CategoryList.js +1 -1
  28. package/dist/components/Checkbox.js +1 -1
  29. package/dist/components/DropMenu/Menu.js +1 -1
  30. package/dist/components/DropMenu/index.js +1 -1
  31. package/dist/components/Form/FieldList.js +3 -3
  32. package/dist/components/Form/Form.js +1 -1
  33. package/dist/components/Form/Inputs/Button.js +1 -1
  34. package/dist/components/Form/Inputs/FieldButtons.js +1 -1
  35. package/dist/components/Form/Inputs/Number.js +1 -1
  36. package/dist/components/Form/Inputs/ReadOnly.js +1 -1
  37. package/dist/components/Form/Inputs/SmallButton.js +1 -1
  38. package/dist/components/Form/Inputs/Text.js +1 -1
  39. package/dist/components/Form/Inputs/Time.js +1 -1
  40. package/dist/components/Form/Inputs/Toggles.js +1 -1
  41. package/dist/components/Form/Inputs/Translation.js +3 -3
  42. package/dist/components/List/HeadCell.js +1 -1
  43. package/dist/components/List/List.js +1 -1
  44. package/dist/components/List/Row.js +1 -1
  45. package/dist/components/List/enhanceColumnDefs.js +2 -2
  46. package/dist/components/MaterialUI/DataDisplay/List.js +1 -1
  47. package/dist/components/MaterialUI/DataDisplay/Notification.js +2 -2
  48. package/dist/components/MaterialUI/DataDisplay/NotificationProps.js +1 -1
  49. package/dist/components/MaterialUI/DataDisplay/PredefinedElements/Translations.js +3 -3
  50. package/dist/components/MaterialUI/DataDisplay/SelectionList.js +19 -6
  51. package/dist/components/MaterialUI/DataDisplay/Table.js +28 -10
  52. package/dist/components/MaterialUI/DataDisplay/TableProps.js +5 -2
  53. package/dist/components/MaterialUI/DataDisplay/TransferList.js +5 -2
  54. package/dist/components/MaterialUI/DataDisplay/chipProps.js +1 -1
  55. package/dist/components/MaterialUI/DataDisplay/collapsableListProps.js +1 -1
  56. package/dist/components/MaterialUI/DataDisplay/dividerProps.js +1 -1
  57. package/dist/components/MaterialUI/DataDisplay/index.js +1 -1
  58. package/dist/components/MaterialUI/DataDisplay/modalProps.js +1 -1
  59. package/dist/components/MaterialUI/DataDisplay/useTableSelection.js +3 -3
  60. package/dist/components/MaterialUI/Feedback/useNotification.js +1 -1
  61. package/dist/components/MaterialUI/Inputs/Autocomplete.js +2 -2
  62. package/dist/components/MaterialUI/Inputs/AutocompleteProps.js +1 -1
  63. package/dist/components/MaterialUI/Inputs/CheckboxGroupProps.js +1 -1
  64. package/dist/components/MaterialUI/Inputs/CheckboxProps.js +1 -1
  65. package/dist/components/MaterialUI/Inputs/DatePicker.js +11 -0
  66. package/dist/components/MaterialUI/Inputs/InputBase.js +3 -2
  67. package/dist/components/MaterialUI/Inputs/InputBaseProps.js +1 -1
  68. package/dist/components/MaterialUI/Inputs/PredefinedElements/SearchControl.js +1 -1
  69. package/dist/components/MaterialUI/Inputs/RadioProps.js +1 -1
  70. package/dist/components/MaterialUI/Inputs/Select.js +2 -2
  71. package/dist/components/MaterialUI/Inputs/SelectProps.js +1 -1
  72. package/dist/components/MaterialUI/Inputs/Switch.js +3 -3
  73. package/dist/components/MaterialUI/Inputs/SwitchProps.js +1 -1
  74. package/dist/components/MaterialUI/Inputs/TimePicker.js +19 -8
  75. package/dist/components/MaterialUI/Inputs/createInput.js +3 -3
  76. package/dist/components/MaterialUI/Inputs/index.js +1 -1
  77. package/dist/components/MaterialUI/Inputs/standaloneRadioProps.js +1 -1
  78. package/dist/components/MaterialUI/Navigation/DropDownMenuProps.js +1 -1
  79. package/dist/components/MaterialUI/Navigation/ExternalLink.js +113 -0
  80. package/dist/components/MaterialUI/Navigation/TabBar.js +38 -33
  81. package/dist/components/MaterialUI/ScopeSelector/ScopeSelector.js +6 -4
  82. package/dist/components/MaterialUI/ScopeSelector/ScopeTreeView.js +8 -4
  83. package/dist/components/MaterialUI/ScopeSelector/TreeItem.js +9 -6
  84. package/dist/components/MaterialUI/Surfaces/ExpansionPanel.js +11 -2
  85. package/dist/components/MaterialUI/Surfaces/SectionExpansionPanel.js +10 -2
  86. package/dist/components/MaterialUI/Surfaces/expansionPanelProps.js +5 -2
  87. package/dist/components/MaterialUI/Surfaces/paperProps.js +1 -1
  88. package/dist/components/MaterialUI/muiThemes.js +26 -6
  89. package/dist/components/MaterialUI/textProps.js +1 -1
  90. package/dist/components/Modules.js +132 -25
  91. package/dist/components/MultiSelector.js +1 -1
  92. package/dist/components/Navigation/Bar.js +3 -3
  93. package/dist/components/Navigation/Tab.js +1 -1
  94. package/dist/components/Navigation/useNavigationState.js +30 -4
  95. package/dist/components/Placeholder.js +1 -1
  96. package/dist/components/Routing/FullPage.js +5 -1
  97. package/dist/components/Routing/Page.js +5 -3
  98. package/dist/components/Routing/Segment.js +4 -3
  99. package/dist/components/Routing/SegmentPage.js +8 -6
  100. package/dist/components/Routing/withWaypointing.js +14 -4
  101. package/dist/components/Scope/ScopeNode.js +1 -1
  102. package/dist/components/Scope/Selector.js +1 -1
  103. package/dist/components/Scope/index.js +11 -3
  104. package/dist/components/Scope/useScopeConfirmationModalState.js +7 -16
  105. package/dist/components/Scope/useScopeData.js +4 -13
  106. package/dist/components/Scope/useScopeSelect.js +1 -1
  107. package/dist/components/Selector.js +1 -1
  108. package/dist/components/Sidepanel.js +1 -2
  109. package/dist/components/Spritesheet.js +1 -1
  110. package/dist/components/Switch.js +1 -1
  111. package/dist/components/Text.js +1 -1
  112. package/dist/components/ToastList.js +1 -1
  113. package/dist/components/Toolbar.js +1 -1
  114. package/dist/components/Treeview/Label.js +1 -1
  115. package/dist/components/Treeview/Leaf.js +1 -1
  116. package/dist/components/Treeview/Node.js +3 -3
  117. package/dist/components/Treeview/index.js +2 -2
  118. package/dist/components/Treeview/settings.js +1 -1
  119. package/dist/constants.js +44 -2
  120. package/dist/content/icons/html-templates.svg +3 -0
  121. package/dist/content/icons/lock.svg +3 -0
  122. package/dist/content/icons/orckestra-icon.svg +5 -0
  123. package/dist/content/icons/unlock.svg +3 -0
  124. package/dist/content/iconsSheet.svg +14 -0
  125. package/dist/content/orckestra-logo-white.png +0 -0
  126. package/dist/getThemeOverrides.js +2 -2
  127. package/dist/hocs/withInfiniteScroll.js +1 -1
  128. package/dist/hocs/withUpdateHandler.js +2 -2
  129. package/dist/hooks/useDispatchWithModulesData.js +1 -1
  130. package/dist/hooks/useEditState.js +3 -3
  131. package/dist/hooks/useEntityLoader.js +182 -0
  132. package/dist/hooks/useFullEntityEditState.js +3 -3
  133. package/dist/hooks/useInfiniteScroll.js +104 -0
  134. package/dist/hooks/useLabelMessage.js +3 -3
  135. package/dist/hooks/useLoader.js +1 -0
  136. package/dist/hooks/useMultipleFieldEditState.js +2 -2
  137. package/dist/hooks/useNavigationHandler.js +1 -1
  138. package/dist/hooks/useNotificationRequestState.js +159 -0
  139. package/dist/hooks/useRequestState.js +146 -0
  140. package/dist/hooks/useSelectorAndUnwrap.js +1 -1
  141. package/dist/reducers/metadata.js +52 -26
  142. package/dist/reducers/modules.js +39 -1
  143. package/dist/reducers/requestStates.js +181 -0
  144. package/dist/reducers/scopes.js +27 -0
  145. package/dist/reducers/settings.js +31 -2
  146. package/dist/schemas/countries.js +1 -1
  147. package/dist/schemas/definitions.js +1 -1
  148. package/dist/schemas/metadata.js +1 -1
  149. package/dist/schemas/productDefinitions.js +1 -1
  150. package/dist/schemas/timezones.js +1 -1
  151. package/dist/selectors/applications.js +1 -1
  152. package/dist/selectors/authentication.js +57 -19
  153. package/dist/selectors/countries.js +1 -1
  154. package/dist/selectors/locale.js +1 -1
  155. package/dist/selectors/metadata.js +104 -14
  156. package/dist/selectors/modules.js +15 -1
  157. package/dist/selectors/navigation.js +1 -1
  158. package/dist/selectors/requestStates.js +82 -0
  159. package/dist/selectors/requests.js +1 -1
  160. package/dist/selectors/scope.js +7 -1
  161. package/dist/selectors/settings.js +13 -1
  162. package/dist/selectors/versionInfo.js +1 -1
  163. package/dist/selectors/view.js +1 -1
  164. package/dist/sharedMessages.js +44 -0
  165. package/dist/spawnerMiddleware.js +1 -1
  166. package/dist/utils/displayModeHelper.js +1 -1
  167. package/dist/utils/flatten.js +2 -2
  168. package/dist/utils/localizationHelper.js +1 -1
  169. package/dist/utils/mapHelper.js +1 -1
  170. package/dist/utils/modelValidationHelper.js +2 -2
  171. package/dist/utils/parseHelper.js +1 -1
  172. package/dist/utils/propertyHelper.js +2 -2
  173. package/dist/utils/propertyValidator.js +1 -1
  174. package/dist/utils/setTranslationWithFallback.js +3 -2
  175. package/dist/utils/testUtils.js +6 -2
  176. package/dist/utils/timezoneHelper.js +111 -0
  177. package/dist/utils/unwrapImmutable.js +1 -1
  178. package/dist/utils/urlHelper.js +11 -1
  179. package/package.json +6 -9
  180. package/src/actions/makeApiAction.js +24 -1
  181. package/src/actions/makeApiAction.test.js +76 -3
  182. package/src/actions/metadata.js +130 -0
  183. package/src/actions/metadata.test.js +337 -5
  184. package/src/actions/modules.js +30 -0
  185. package/src/actions/modules.test.js +50 -1
  186. package/src/actions/requestState.js +8 -0
  187. package/src/actions/requestState.test.js +14 -0
  188. package/src/actions/requestsApi.js +30 -0
  189. package/src/actions/scopes.js +33 -7
  190. package/src/actions/scopes.test.js +84 -14
  191. package/src/buildStore.js +2 -0
  192. package/src/components/AppFrame/About.js +2 -2
  193. package/src/components/AppFrame/AppFrame.test.js +15 -16
  194. package/src/components/AppFrame/ApplicationSelector/ApplicationDialog.js +105 -82
  195. package/src/components/AppFrame/ApplicationSelector/ApplicationDialog.test.js +60 -23
  196. package/src/components/AppFrame/ApplicationSelector/ApplicationSelector.test.js +22 -89
  197. package/src/components/AppFrame/ApplicationSelector/index.js +34 -15
  198. package/src/components/AppFrame/MenuItem.js +3 -5
  199. package/src/components/AppFrame/MenuItem.test.js +2 -24
  200. package/src/components/AppFrame/Sidebar.js +11 -12
  201. package/src/components/AppFrame/Sidebar.test.js +18 -0
  202. package/src/components/AppFrame/Topbar.test.js +2 -4
  203. package/src/components/ApplicationModuleLoader.js +52 -0
  204. package/src/components/ApplicationModuleLoader.test.js +149 -0
  205. package/src/components/Authenticate.js +5 -4
  206. package/src/components/Authenticate.test.js +23 -4
  207. package/src/components/MaterialUI/DataDisplay/SelectionList.js +14 -6
  208. package/src/components/MaterialUI/DataDisplay/SelectionList.test.js +21 -11
  209. package/src/components/MaterialUI/DataDisplay/Table.js +29 -5
  210. package/src/components/MaterialUI/DataDisplay/Table.test.js +23 -0
  211. package/src/components/MaterialUI/DataDisplay/TableProps.js +2 -0
  212. package/src/components/MaterialUI/DataDisplay/TableProps.test.js +2 -0
  213. package/src/components/MaterialUI/DataDisplay/TransferList.js +3 -0
  214. package/src/components/MaterialUI/Inputs/DatePicker.js +11 -0
  215. package/src/components/MaterialUI/Inputs/InputBase.js +3 -1
  216. package/src/components/MaterialUI/Inputs/InputBase.test.js +38 -0
  217. package/src/components/MaterialUI/Inputs/TimePicker.js +9 -3
  218. package/src/components/MaterialUI/Inputs/TimePicker.test.js +263 -118
  219. package/src/components/MaterialUI/Navigation/ExternalLink.js +25 -0
  220. package/src/components/MaterialUI/Navigation/ExternalLink.test.js +26 -0
  221. package/src/components/MaterialUI/Navigation/TabBar.js +82 -78
  222. package/src/components/MaterialUI/Navigation/TabBar.test.js +129 -3
  223. package/src/components/MaterialUI/ScopeSelector/ScopeSelector.js +4 -2
  224. package/src/components/MaterialUI/ScopeSelector/ScopeSelector.test.js +29 -0
  225. package/src/components/MaterialUI/ScopeSelector/ScopeTreeView.js +4 -1
  226. package/src/components/MaterialUI/ScopeSelector/ScopeTreeView.test.js +52 -0
  227. package/src/components/MaterialUI/ScopeSelector/TreeItem.js +9 -6
  228. package/src/components/MaterialUI/ScopeSelector/TreeItem.test.js +63 -2
  229. package/src/components/MaterialUI/Surfaces/ExpansionPanel.js +14 -1
  230. package/src/components/MaterialUI/Surfaces/ExpansionPanel.test.js +16 -0
  231. package/src/components/MaterialUI/Surfaces/SectionExpansionPanel.js +11 -2
  232. package/src/components/MaterialUI/Surfaces/SectionExpansionPanel.test.js +36 -0
  233. package/src/components/MaterialUI/Surfaces/expansionPanelProps.js +2 -0
  234. package/src/components/MaterialUI/Surfaces/expansionPanelProps.test.js +2 -2
  235. package/src/components/MaterialUI/muiThemes.js +23 -3
  236. package/src/components/Modules.js +108 -13
  237. package/src/components/Modules.test.js +431 -12
  238. package/src/components/Navigation/Navigation.test.js +2 -0
  239. package/src/components/Navigation/useNavigationState.js +21 -1
  240. package/src/components/Navigation/useNavigationState.test.js +10 -0
  241. package/src/components/Provision.test.js +34 -0
  242. package/src/components/Routing/FullPage.js +4 -2
  243. package/src/components/Routing/FullPage.test.js +75 -0
  244. package/src/components/Routing/Page.js +2 -2
  245. package/src/components/Routing/Page.test.js +20 -0
  246. package/src/components/Routing/Segment.js +5 -2
  247. package/src/components/Routing/Segment.test.js +22 -1
  248. package/src/components/Routing/SegmentPage.js +12 -4
  249. package/src/components/Routing/SubPage.test.js +1 -1
  250. package/src/components/Routing/withWaypointing.js +19 -17
  251. package/src/components/Routing/withWaypointing.test.js +81 -3
  252. package/src/components/Scope/Scope.test.js +117 -0
  253. package/src/components/Scope/index.js +6 -10
  254. package/src/components/Scope/useScopeConfirmationModalState.js +5 -16
  255. package/src/components/Scope/useScopeConfirmationModalState.test.js +39 -13
  256. package/src/components/Scope/useScopeData.js +0 -3
  257. package/src/components/Scope/useScopeData.test.js +0 -27
  258. package/src/components/Sidepanel.js +0 -1
  259. package/src/components/Sidepanel.test.js +0 -3
  260. package/src/constants.js +33 -0
  261. package/src/content/icons/html-templates.svg +3 -0
  262. package/src/content/icons/lock.svg +3 -0
  263. package/src/content/icons/orckestra-icon.svg +5 -0
  264. package/src/content/icons/unlock.svg +3 -0
  265. package/src/content/iconsSheet.svg +14 -0
  266. package/src/content/orckestra-logo-white.png +0 -0
  267. package/src/hocs/withScopeData.test.js +0 -31
  268. package/src/hooks/useEntityLoader.js +68 -0
  269. package/src/hooks/useEntityLoader.test.js +266 -0
  270. package/src/hooks/useInfiniteScroll.js +25 -0
  271. package/src/hooks/useInfiniteScroll.test.js +87 -0
  272. package/src/hooks/useLoader.js +1 -0
  273. package/src/hooks/useNotificationRequestState.js +78 -0
  274. package/src/hooks/useNotificationRequestState.test.js +264 -0
  275. package/src/hooks/useRequestState.js +57 -0
  276. package/src/hooks/useRequestState.test.js +217 -0
  277. package/src/reducers/metadata.js +76 -16
  278. package/src/reducers/metadata.test.js +458 -4
  279. package/src/reducers/modules.js +48 -2
  280. package/src/reducers/modules.test.js +117 -2
  281. package/src/reducers/requestStates.js +98 -0
  282. package/src/reducers/requestStates.test.js +399 -0
  283. package/src/reducers/scopes.js +30 -0
  284. package/src/reducers/scopes.test.js +45 -1
  285. package/src/reducers/settings.js +26 -2
  286. package/src/reducers/settings.test.js +74 -6
  287. package/src/selectors/authentication.js +53 -28
  288. package/src/selectors/authentication.test.js +600 -12
  289. package/src/selectors/locale.test.js +0 -2
  290. package/src/selectors/metadata.js +73 -13
  291. package/src/selectors/metadata.test.js +479 -8
  292. package/src/selectors/modules.js +7 -0
  293. package/src/selectors/modules.test.js +16 -1
  294. package/src/selectors/requestStates.js +12 -0
  295. package/src/selectors/requestStates.test.js +83 -0
  296. package/src/selectors/scope.js +2 -0
  297. package/src/selectors/scope.test.js +5 -0
  298. package/src/selectors/settings.js +6 -0
  299. package/src/sharedMessages.js +44 -0
  300. package/src/translations/en-US.json +12 -1
  301. package/src/translations/fr-CA.json +13 -2
  302. package/src/utils/modelValidationHelper.js +1 -1
  303. package/src/utils/setTranslationWithFallback.js +1 -1
  304. package/src/utils/setTranslationWithFallback.test.js +4 -14
  305. package/src/utils/testUtils.js +3 -1
  306. package/src/utils/timezoneHelper.js +140 -0
  307. package/src/utils/timezoneHelper.test.js +33 -0
  308. package/src/utils/urlHelper.js +6 -0
  309. package/src/translations/it-IT.json +0 -54
@@ -3,3 +3,10 @@ import { createSelector } from "reselect";
3
3
  const modulesData = state => state.get("modules");
4
4
 
5
5
  export const modulesSelector = createSelector(modulesData, data => data.getIn(["tree"]));
6
+
7
+ export const getScopeModuleInformationSelector = createSelector(modulesData, data => {
8
+ return {
9
+ visibleModules: data.getIn(["visibleModules"]).toJS(),
10
+ ...data.getIn(["lastScopeAndModuleSelection"]).toJS(),
11
+ };
12
+ });
@@ -1,5 +1,5 @@
1
1
  import Immutable from "immutable";
2
- import { modulesSelector } from "./modules";
2
+ import { getScopeModuleInformationSelector, modulesSelector } from "./modules";
3
3
 
4
4
  describe("modulesSelector", () => {
5
5
  let state;
@@ -7,6 +7,12 @@ describe("modulesSelector", () => {
7
7
  state = Immutable.fromJS({
8
8
  modules: {
9
9
  tree: "modulesTree",
10
+ visibleModules: ["a", "module123"],
11
+ lastScopeAndModuleSelection: {
12
+ scope: "Norway",
13
+ moduleName: "Profiles",
14
+ routingPerformed: false,
15
+ },
10
16
  },
11
17
  });
12
18
  });
@@ -14,4 +20,13 @@ describe("modulesSelector", () => {
14
20
  it("Retrieves modules", () => {
15
21
  expect(modulesSelector, "when called with", [state], "to equal", "modulesTree");
16
22
  });
23
+
24
+ it("Retrieves modules and scope information", () => {
25
+ expect(getScopeModuleInformationSelector, "when called with", [state], "to equal", {
26
+ visibleModules: ["a", "module123"],
27
+ scope: "Norway",
28
+ moduleName: "Profiles",
29
+ routingPerformed: false,
30
+ });
31
+ });
17
32
  });
@@ -0,0 +1,12 @@
1
+ import { createSelector } from "reselect";
2
+ import { castArray } from "lodash";
3
+ import { requestStateOperationMap } from "../constants";
4
+
5
+ const requestStateData = state => state.get("requestStates");
6
+
7
+ export const getRequestStateInfo = (operation, keys) => {
8
+ return createSelector(requestStateData, data => {
9
+ const firstSegment = requestStateOperationMap[operation];
10
+ return data.getIn([firstSegment, ...castArray(keys), "state"]) ?? {};
11
+ });
12
+ };
@@ -0,0 +1,83 @@
1
+ import Immutable from "immutable";
2
+ import { getRequestStateInfo } from "./requestStates";
3
+ import { requestStateOperations } from "../constants";
4
+
5
+ describe("getRequestStateInfo", () => {
6
+ let state;
7
+ beforeEach(() => {
8
+ state = Immutable.fromJS({
9
+ requestStates: {
10
+ deletes: {
11
+ key1: {
12
+ key2: {
13
+ state: {
14
+ inProgress: true,
15
+ value: false,
16
+ error: false,
17
+ },
18
+ },
19
+ },
20
+ },
21
+ updates: {
22
+ key3: {
23
+ state: {
24
+ inProgress: false,
25
+ value: true,
26
+ error: false,
27
+ },
28
+ },
29
+ },
30
+ },
31
+ });
32
+ });
33
+
34
+ it("gets the info of a requestState from state", () => {
35
+ const expected = Immutable.fromJS({
36
+ inProgress: true,
37
+ value: false,
38
+ error: false,
39
+ });
40
+
41
+ expect(
42
+ getRequestStateInfo,
43
+ "called with",
44
+ [requestStateOperations.delete, ["key1", "key2"]],
45
+ "called with",
46
+ [state],
47
+ "to equal",
48
+ expected,
49
+ );
50
+ });
51
+
52
+ it("gets empty info of an unknown requestState from state", () => {
53
+ const expected = {};
54
+
55
+ expect(
56
+ getRequestStateInfo,
57
+ "called with",
58
+ [requestStateOperations.delete, ["key1"]],
59
+ "called with",
60
+ [state],
61
+ "to equal",
62
+ expected,
63
+ );
64
+ });
65
+
66
+ it("gets the info of a requestState from state using a string instead of array for key", () => {
67
+ const expected = Immutable.fromJS({
68
+ inProgress: false,
69
+ value: true,
70
+ error: false,
71
+ });
72
+
73
+ expect(
74
+ getRequestStateInfo,
75
+ "called with",
76
+ [requestStateOperations.update, ["key3"]],
77
+ "called with",
78
+ [state],
79
+ "to equal",
80
+ expected,
81
+ );
82
+ });
83
+ });
@@ -13,6 +13,8 @@ import { getLocalization } from "../utils/localizationHelper";
13
13
 
14
14
  const scopeData = state => state.get("scopes");
15
15
 
16
+ export const getScopesSelector = createSelector(scopeData, scopes => scopes);
17
+
16
18
  const localizedScopesSelector = createSelector(scopeData, currentLocaleOrDefault, (scopes, locale) =>
17
19
  scopes.map(scope =>
18
20
  scope.withMutations(s => {
@@ -7,6 +7,7 @@ import {
7
7
  localizedScopeSelector,
8
8
  localizedScopesSelectorByIds,
9
9
  isCurrentScopeAuthorizedSelector,
10
+ getScopesSelector,
10
11
  } from "./scope";
11
12
 
12
13
  let state;
@@ -94,6 +95,10 @@ beforeEach(() => {
94
95
  });
95
96
  });
96
97
 
98
+ describe("getScopesSelector", () => {
99
+ it("gets all scopes", () => expect(getScopesSelector, "called with", [state], "to equal", state.get("scopes")));
100
+ });
101
+
97
102
  describe("currentScopeSelector", () => {
98
103
  afterEach(() => {
99
104
  resetLastScope();
@@ -5,3 +5,9 @@ const settingsData = state => state.get("settings");
5
5
  export const defaultAppId = createSelector(settingsData, data => data.get("defaultApp"));
6
6
 
7
7
  export const defaultScopeSelector = createSelector(settingsData, data => data.get("defaultScope"));
8
+
9
+ export const getLoadedModulesScopeSelector = createSelector(settingsData, data =>
10
+ data.get("loadedModulesScope").toJS(),
11
+ );
12
+
13
+ export const getApplicationModulesSelector = createSelector(settingsData, data => data.get("modules").toJS());
@@ -1,6 +1,10 @@
1
1
  import { defineMessages } from "react-intl";
2
2
 
3
3
  const sharedMessages = defineMessages({
4
+ appSelectorTitle: {
5
+ id: "orc-shared.appSelectorTitle",
6
+ defaultMessage: "Orckestra Commerce Cloud Applications List",
7
+ },
4
8
  scopeFilterPlaceholder: {
5
9
  id: "orc-shared.scopeFilterPlaceholder",
6
10
  defaultMessage: "Type a scope name",
@@ -211,6 +215,46 @@ const sharedMessages = defineMessages({
211
215
  id: "orc-shared.fieldMustBeValidPhoneExtension",
212
216
  defaultMessage: "This field must be a valid phone extension",
213
217
  },
218
+ embedded: {
219
+ id: "orc-shared.embedded",
220
+ defaultMessage: "Embedded",
221
+ },
222
+ shared: {
223
+ id: "orc-shared.shared",
224
+ defaultMessage: "Shared",
225
+ },
226
+ dataTypeText: {
227
+ id: "orc-shared.dataTypeText",
228
+ defaultMessage: "Text",
229
+ },
230
+ dataTypeBoolean: {
231
+ id: "orc-shared.dataTypeBoolean",
232
+ defaultMessage: "Yes/No Choice",
233
+ },
234
+ dataTypeDate: {
235
+ id: "orc-shared.dataTypeDate",
236
+ defaultMessage: "Date/Calendar",
237
+ },
238
+ dataTypeDecimal: {
239
+ id: "orc-shared.dataTypeDecimal",
240
+ defaultMessage: "Decimal Number",
241
+ },
242
+ dataTypeInteger: {
243
+ id: "orc-shared.dataTypeInteger",
244
+ defaultMessage: "Whole Number",
245
+ },
246
+ dataTypeEntityReference: {
247
+ id: "orc-shared.dataTypeEntityReference",
248
+ defaultMessage: "Profile Reference",
249
+ },
250
+ dataTypeLookup: {
251
+ id: "orc-shared.dataTypeLookup",
252
+ defaultMessage: "Lookup List",
253
+ },
254
+ errorUnknown: {
255
+ id: "orc-shared.errorUnknown",
256
+ defaultMessage: "Unknown Error",
257
+ },
214
258
  });
215
259
 
216
260
  export default sharedMessages;
@@ -4,6 +4,7 @@
4
4
  "orc-shared.add": "Add",
5
5
  "orc-shared.allRightsReserved": "All rights reserved.",
6
6
  "orc-shared.applyChanges": "Apply Changes",
7
+ "orc-shared.appSelectorTitle": "Orckestra Commerce Cloud Applications List",
7
8
  "orc-shared.back": "Back",
8
9
  "orc-shared.cancel": "Cancel",
9
10
  "orc-shared.ccDescription": "The API-first commerce platform that makes omnichannel retail work.",
@@ -50,5 +51,15 @@
50
51
  "orc-shared.status": "Status",
51
52
  "orc-shared.unsavedChanges": "This entity has unsaved changes. All changes will be lost.\n\nAre you sure you want to close it?",
52
53
  "orc-shared.valueName": "Value Name",
53
- "orc-shared.yes": "Yes"
54
+ "orc-shared.yes": "Yes",
55
+ "orc-shared.embedded": "Embedded",
56
+ "orc-shared.shared": "Shared",
57
+ "orc-shared.dataTypeText": "Text",
58
+ "orc-shared.dataTypeBoolean": "Yes/No Choice",
59
+ "orc-shared.dataTypeDate": "Date/Calendar",
60
+ "orc-shared.dataTypeDecimal": "Decimal Number",
61
+ "orc-shared.dataTypeInteger": "Whole Number",
62
+ "orc-shared.dataTypeEntityReference": "Profile Reference",
63
+ "orc-shared.dataTypeLookup": "Lookup List",
64
+ "orc-shared.errorUnknown": "Unknown Error"
54
65
  }
@@ -4,7 +4,8 @@
4
4
  "orc-shared.add": "Ajouter",
5
5
  "orc-shared.allRightsReserved": "Tout droits réservés.",
6
6
  "orc-shared.applyChanges": "Appliquer les modifications",
7
- "orc-shared.back": "Arrière",
7
+ "orc-shared.appSelectorTitle": "Orckestra Commerce Cloud : Liste des applications",
8
+ "orc-shared.back": "Précédent",
8
9
  "orc-shared.cancel": "Annuler",
9
10
  "orc-shared.ccDescription": "La plateforme de commerce « API-first » qui rend le commerce de détail omnicanal fluide.",
10
11
  "orc-shared.ccName": "Orckestra Commerce Cloud",
@@ -50,5 +51,15 @@
50
51
  "orc-shared.status": "Statut",
51
52
  "orc-shared.unsavedChanges": "Ce dossier contient des modifications qui ne sont sauvegardées. Si vous quittez, les modifications seront perdues.\n\nVoulez vous vraiment quitter?",
52
53
  "orc-shared.valueName": "Nom de la valeur",
53
- "orc-shared.yes": "Oui"
54
+ "orc-shared.yes": "Oui",
55
+ "orc-shared.embedded": "Intégré",
56
+ "orc-shared.shared": "Partagé",
57
+ "orc-shared.dataTypeText": "Texte",
58
+ "orc-shared.dataTypeBoolean": "Choix Oui/Non",
59
+ "orc-shared.dataTypeDate": "Date/Calendrier",
60
+ "orc-shared.dataTypeDecimal": "Nombre décimal",
61
+ "orc-shared.dataTypeInteger": "Nombre entier",
62
+ "orc-shared.dataTypeEntityReference": "Profil de référence",
63
+ "orc-shared.dataTypeLookup": "Index des listes",
64
+ "orc-shared.errorUnknown": "Erreur inconnue"
54
65
  }
@@ -11,7 +11,7 @@ export const validationRules = {
11
11
  [validationErrorTypes.fieldMustBeValidEmail]: value => {
12
12
  if (!value) return true;
13
13
  const regexRule = new RegExp(
14
- "^(([\\w-]+[\\.\\+]?)+[\\w-]+|([a-zA-Z]{1}))@((([0-1]?[0-9]{1,2}|25[0-5]|2[0-4][0-9])\\.([0-1]?[0-9]{1,2}|25[0-5]|2[0-4][0-9])\\.([0-1]?[0-9]{1,2}|25[0-5]|2[0-4][0-9])\\.([0-1]?[0-9]{1,2}|25[0-5]|2[0-4][0-9])){1}|([a-zA-Z0-9][a-zA-Z0-9\\.\\-]+[a-zA-Z0-9]\\.)[a-zA-Z]{2,12})$",
14
+ "^(([\\w-]+[\\.\\+])+[\\w-]+|([a-zA-Z]{1}|[\\w-]{2,}))@((([0-1]?[0-9]{1,2}|25[0-5]|2[0-4][0-9])\\.([0-1]?[0-9]{1,2}|25[0-5]|2[0-4][0-9])\\.([0-1]?[0-9]{1,2}|25[0-5]|2[0-4][0-9])\\.([0-1]?[0-9]{1,2}|25[0-5]|2[0-4][0-9])){1}|(([a-zA-Z0-9][a-zA-Z0-9\\.\\-]+[a-zA-Z0-9])|([a-zA-Z0-9]{1,}))\\.[a-zA-Z]{2,12})$",
15
15
  );
16
16
  return regexRule.test(value);
17
17
  },
@@ -1,7 +1,7 @@
1
1
  import { flatten } from "./flatten";
2
2
 
3
3
  export const setTranslationWithFallbackValue = (locale, obj, fallbackValue, ...field) => {
4
- if (!obj || !obj.getIn(flatten([field]))) return obj;
4
+ if (!obj) return obj;
5
5
  const value = obj.getIn(flatten([field, locale])) || fallbackValue || "";
6
6
  return obj.setIn(flatten([field]), value);
7
7
  };
@@ -79,6 +79,7 @@ describe("setTranslationWithFallbackField", () => {
79
79
  Immutable.fromJS({
80
80
  name: "fallbackName",
81
81
  hat: { name: {} },
82
+ pets: { name: "fallbackName" },
82
83
  }),
83
84
  ));
84
85
  });
@@ -138,23 +139,12 @@ describe("setTranslationWithFallbackValue", () => {
138
139
  }),
139
140
  ));
140
141
 
141
- it("returns same object if field does not exist", () =>
142
+ it("returns same object if object does not exist", () =>
142
143
  expect(
143
144
  setTranslationWithFallbackValue,
144
145
  "when called with",
145
- [
146
- "fr",
147
- Immutable.fromJS({
148
- name: "fallbackName",
149
- hat: { name: {} },
150
- }),
151
- "fallbakValue",
152
- ["pets", "name"],
153
- ],
146
+ ["fr", null, "fallbakValue", ["pets", "name"]],
154
147
  "to equal",
155
- Immutable.fromJS({
156
- name: "fallbackName",
157
- hat: { name: {} },
158
- }),
148
+ null,
159
149
  ));
160
150
  });
@@ -185,7 +185,9 @@ export const TestWrapper = ({
185
185
  const MuiThemeProviderWrapper = ({ children }) => {
186
186
  if (muiThemeProvider == null) return children;
187
187
 
188
- return <MuiThemeProvider theme={muiThemeProvider.theme}>{children}</MuiThemeProvider>;
188
+ const theme = muiThemeProvider.theme ?? createMuiTheme();
189
+
190
+ return <MuiThemeProvider theme={theme}>{children}</MuiThemeProvider>;
189
191
  };
190
192
 
191
193
  const MemoryRouterWrapper = ({ children }) => {
@@ -0,0 +1,140 @@
1
+ export const getTimeZone = () => Intl.DateTimeFormat().resolvedOptions().timeZone;
2
+
3
+ export const getTimeZoneByName = name => {
4
+ for (let [key, value] of timeZonesList.entries()) {
5
+ if (value === name) return key;
6
+ }
7
+
8
+ return getTimeZone();
9
+ };
10
+
11
+ export const getTimeZoneName = () => {
12
+ const customerTimezone = getTimeZone();
13
+ const timezoneName = timeZonesList.get(customerTimezone);
14
+ return timezoneName;
15
+ };
16
+
17
+ export const timeZonesList = new Map([
18
+ ["Africa/Bangui", "W. Central Africa Standard Time"],
19
+ ["Africa/Cairo", "Egypt Standard Time"],
20
+ ["Africa/Casablanca", "Morocco Standard Time"],
21
+ ["Africa/Harare", "South Africa Standard Time"],
22
+ ["Africa/Johannesburg", "South Africa Standard Time"],
23
+ ["Africa/Lagos", "W. Central Africa Standard Time"],
24
+ ["Africa/Monrovia", "Greenwich Standard Time"],
25
+ ["Africa/Nairobi", "E. Africa Standard Time"],
26
+ ["Africa/Windhoek", "Namibia Standard Time"],
27
+ ["America/Anchorage", "Alaskan Standard Time"],
28
+ ["America/Argentina/San_Juan", "Argentina Standard Time"],
29
+ ["America/Asuncion", "Paraguay Standard Time"],
30
+ ["America/Bahia", "Bahia Standard Time"],
31
+ ["America/Bogota", "SA Pacific Standard Time"],
32
+ ["America/Buenos_Aires", "Argentina Standard Time"],
33
+ ["America/Caracas", "Venezuela Standard Time"],
34
+ ["America/Cayenne", "SA Eastern Standard Time"],
35
+ ["America/Chicago", "Central Standard Time"],
36
+ ["America/Chihuahua", "Mountain Standard Time (Mexico)"],
37
+ ["America/Cuiaba", "Central Brazilian Standard Time"],
38
+ ["America/Denver", "Mountain Standard Time"],
39
+ ["America/Fortaleza", "SA Eastern Standard Time"],
40
+ ["America/Godthab", "Greenland Standard Time"],
41
+ ["America/Guatemala", "Central America Standard Time"],
42
+ ["America/Halifax", "Atlantic Standard Time"],
43
+ ["America/Indianapolis", "US Eastern Standard Time"],
44
+ ["America/Indiana/Indianapolis", "US Eastern Standard Time"],
45
+ ["America/La_Paz", "SA Western Standard Time"],
46
+ ["America/Los_Angeles", "Pacific Standard Time"],
47
+ ["America/Mexico_City", "Mexico Standard Time"],
48
+ ["America/Montevideo", "Montevideo Standard Time"],
49
+ ["America/New_York", "Eastern Standard Time"],
50
+ ["America/Noronha", "UTC-02"],
51
+ ["America/Phoenix", "US Mountain Standard Time"],
52
+ ["America/Regina", "Canada Central Standard Time"],
53
+ ["America/Santa_Isabel", "Pacific Standard Time (Mexico)"],
54
+ ["America/Santiago", "Pacific SA Standard Time"],
55
+ ["America/Sao_Paulo", "E. South America Standard Time"],
56
+ ["America/St_Johns", "Newfoundland Standard Time"],
57
+ ["America/Tijuana", "Pacific Standard Time"],
58
+ ["Antarctica/McMurdo", "New Zealand Standard Time"],
59
+ ["Atlantic/South_Georgia", "UTC-02"],
60
+ ["Asia/Almaty", "Central Asia Standard Time"],
61
+ ["Asia/Amman", "Jordan Standard Time"],
62
+ ["Asia/Baghdad", "Arabic Standard Time"],
63
+ ["Asia/Baku", "Azerbaijan Standard Time"],
64
+ ["Asia/Bangkok", "SE Asia Standard Time"],
65
+ ["Asia/Beirut", "Middle East Standard Time"],
66
+ ["Asia/Calcutta", "India Standard Time"],
67
+ ["Asia/Colombo", "Sri Lanka Standard Time"],
68
+ ["Asia/Damascus", "Syria Standard Time"],
69
+ ["Asia/Dhaka", "Bangladesh Standard Time"],
70
+ ["Asia/Dubai", "Arabian Standard Time"],
71
+ ["Asia/Irkutsk", "North Asia East Standard Time"],
72
+ ["Asia/Jerusalem", "Israel Standard Time"],
73
+ ["Asia/Kabul", "Afghanistan Standard Time"],
74
+ ["Asia/Kamchatka", "Kamchatka Standard Time"],
75
+ ["Asia/Karachi", "Pakistan Standard Time"],
76
+ ["Asia/Katmandu", "Nepal Standard Time"],
77
+ ["Asia/Kolkata", "India Standard Time"],
78
+ ["Asia/Krasnoyarsk", "North Asia Standard Time"],
79
+ ["Asia/Kuala_Lumpur", "Singapore Standard Time"],
80
+ ["Asia/Kuwait", "Arab Standard Time"],
81
+ ["Asia/Magadan", "Magadan Standard Time"],
82
+ ["Asia/Muscat", "Arabian Standard Time"],
83
+ ["Asia/Novosibirsk", "N. Central Asia Standard Time"],
84
+ ["Asia/Oral", "West Asia Standard Time"],
85
+ ["Asia/Rangoon", "Myanmar Standard Time"],
86
+ ["Asia/Riyadh", "Arab Standard Time"],
87
+ ["Asia/Seoul", "Korea Standard Time"],
88
+ ["Asia/Shanghai", "China Standard Time"],
89
+ ["Asia/Singapore", "Singapore Standard Time"],
90
+ ["Asia/Taipei", "Taipei Standard Time"],
91
+ ["Asia/Tashkent", "West Asia Standard Time"],
92
+ ["Asia/Tbilisi", "Georgian Standard Time"],
93
+ ["Asia/Tehran", "Iran Standard Time"],
94
+ ["Asia/Tokyo", "Tokyo Standard Time"],
95
+ ["Asia/Ulaanbaatar", "Ulaanbaatar Standard Time"],
96
+ ["Asia/Vladivostok", "Vladivostok Standard Time"],
97
+ ["Asia/Yakutsk", "Yakutsk Standard Time"],
98
+ ["Asia/Yekaterinburg", "Ekaterinburg Standard Time"],
99
+ ["Asia/Yerevan", "Armenian Standard Time"],
100
+ ["Atlantic/Azores", "Azores Standard Time"],
101
+ ["Atlantic/Cape_Verde", "Cape Verde Standard Time"],
102
+ ["Atlantic/Reykjavik", "Greenwich Standard Time"],
103
+ ["Australia/Adelaide", "Cen. Australia Standard Time"],
104
+ ["Australia/Brisbane", "E. Australia Standard Time"],
105
+ ["Australia/Darwin", "AUS Central Standard Time"],
106
+ ["Australia/Hobart", "Tasmania Standard Time"],
107
+ ["Australia/Perth", "W. Australia Standard Time"],
108
+ ["Australia/Sydney", "AUS Eastern Standard Time"],
109
+ ["UTC", "UTC"],
110
+ ["Etc/GMT+11", "UTC-11"],
111
+ ["Etc/GMT+12", "Dateline Standard Time"],
112
+ ["Etc/GMT+2", "UTC-02"],
113
+ ["Etc/GMT-12", "UTC+12"],
114
+ ["Europe/Amsterdam", "W. Europe Standard Time"],
115
+ ["Europe/Athens", "GTB Standard Time"],
116
+ ["Europe/Belgrade", "Central Europe Standard Time"],
117
+ ["Europe/Berlin", "W. Europe Standard Time"],
118
+ ["Europe/Brussels", "Romance Standard Time"],
119
+ ["Europe/Budapest", "Central Europe Standard Time"],
120
+ ["Europe/Dublin", "GMT Standard Time"],
121
+ ["Europe/Helsinki", "FLE Standard Time"],
122
+ ["Europe/Istanbul", "GTB Standard Time"],
123
+ ["Europe/Kiev", "FLE Standard Time"],
124
+ ["Europe/London", "GMT Standard Time"],
125
+ ["Europe/Minsk", "E. Europe Standard Time"],
126
+ ["Europe/Moscow", "Russian Standard Time"],
127
+ ["Europe/Paris", "Romance Standard Time"],
128
+ ["Europe/Sarajevo", "Central European Standard Time"],
129
+ ["Europe/Warsaw", "Central European Standard Time"],
130
+ ["Indian/Mauritius", "Mauritius Standard Time"],
131
+ ["Pacific/Apia", "Samoa Standard Time"],
132
+ ["Pacific/Auckland", "New Zealand Standard Time"],
133
+ ["Pacific/Fiji", "Fiji Standard Time"],
134
+ ["Pacific/Guadalcanal", "Central Pacific Standard Time"],
135
+ ["Pacific/Guam", "West Pacific Standard Time"],
136
+ ["Pacific/Honolulu", "Hawaiian Standard Time"],
137
+ ["Pacific/Pago_Pago", "UTC-11"],
138
+ ["Pacific/Port_Moresby", "West Pacific Standard Time"],
139
+ ["Pacific/Tongatapu", "Tonga Standard Time"],
140
+ ]);
@@ -0,0 +1,33 @@
1
+ import { getTimeZone, getTimeZoneByName, getTimeZoneName } from "./timezoneHelper";
2
+
3
+ describe("Timezone Helper", () => {
4
+ beforeEach(() => {
5
+ jest.spyOn(Intl, "DateTimeFormat").mockImplementation(() => ({
6
+ resolvedOptions: () => ({
7
+ timeZone: "Europe/Amsterdam",
8
+ }),
9
+ }));
10
+ });
11
+
12
+ afterEach(() => {
13
+ jest.restoreAllMocks();
14
+ });
15
+
16
+ it("Retrieves customer timezone", () => {
17
+ expect(getTimeZone, "called with", [], "to satisfy", "Europe/Amsterdam");
18
+ });
19
+
20
+ it("Retrieves timezone short name by passed name", () => {
21
+ const timezoneName = "Central America Standard Time";
22
+ expect(getTimeZoneByName, "called with", [timezoneName], "to satisfy", "America/Guatemala");
23
+ });
24
+
25
+ it("Returns user timezone if passed name is not found", () => {
26
+ const timezoneName = "Test Timezone";
27
+ expect(getTimeZoneByName, "called with", [timezoneName], "to satisfy", "Europe/Amsterdam");
28
+ });
29
+
30
+ it("Retrieves user timezone name", () => {
31
+ expect(getTimeZoneName, "called with", [], "to satisfy", "W. Europe Standard Time");
32
+ });
33
+ });
@@ -26,3 +26,9 @@ export const tryGetNewEntityIdKey = url => {
26
26
  if (match) return match[1];
27
27
  }
28
28
  };
29
+
30
+ export const resolveEntityId = (url, path, entityIdKey) => {
31
+ const newKey = tryGetNewEntityIdKey(url);
32
+ const key = entityIdKey === newKey ? entityIdKey : `:${entityIdKey}`;
33
+ return getValueFromUrlByKey(url, path, key);
34
+ };
@@ -1,54 +0,0 @@
1
- {
2
- "orc-shared.about": "About",
3
- "orc-shared.active": "Attivo",
4
- "orc-shared.add": "Inserisci",
5
- "orc-shared.allRightsReserved": "Tutti i diritti riservati.",
6
- "orc-shared.applyChanges": "Applica i cambiamenti",
7
- "orc-shared.back": "Indietro",
8
- "orc-shared.cancel": "Annulla",
9
- "orc-shared.ccDescription": "The API-first commerce platform that makes omnichannel retail work.",
10
- "orc-shared.ccName": "Orckestra Commerce Cloud",
11
- "orc-shared.ccVersion": "Commerce Cloud {version}",
12
- "orc-shared.close": "Chiuso",
13
- "orc-shared.confirmation": "Conferma",
14
- "orc-shared.copyright": "© 2021 Orckestra Technologies Inc.",
15
- "orc-shared.copyrightTermsNotice": "Avviso: Questo programma è tutelato dalle leggi sul copyright e dalle disposizioni dei trattati internazionali. La riproduzione o distribuzione non autorizzata di questo programma, o di parte di esso, sarà perseguibile civilmente e penalmente nella misura massima consentita dalla legge in vigore. Orckestra è un marchio di Orckestra Technologies Inc. Tutti gli altri marchi sono proprietà dei rispettivi titolari.",
16
- "orc-shared.defaultApp": "Applicazione predefinita",
17
- "orc-shared.delete": "Elimina",
18
- "orc-shared.description": "Descrizione",
19
- "orc-shared.displayLanguage": "Lingua di visualizzazione",
20
- "orc-shared.displayName": "Nome da visualizzare",
21
- "orc-shared.error": "Errore",
22
- "orc-shared.fieldIsRequired": "Richiesto",
23
- "orc-shared.fieldMustBeValidEmail": "Questo campo deve essere un'e-mail valida",
24
- "orc-shared.fieldMustBeValidPhoneExtension": "This field must be a valid phone extension",
25
- "orc-shared.fieldMustBeValidPhoneNumber": "This field must be a valid phone number",
26
- "orc-shared.help": "Guida",
27
- "orc-shared.inactive": "Inattivo",
28
- "orc-shared.internetExplorerWarningContent": "You are using a browser that we no longer support. For a better experience with our HTML web applications, we recommend you to use the latest version of one of the following browsers:",
29
- "orc-shared.internetExplorerWarningTitle": "Improve your experience.",
30
- "orc-shared.needToRefresh": "Non sei autorizzato a eseguire una richiesta. Per ricaricare l’applicazione fai clic su Aggiorna.",
31
- "orc-shared.next": "Il prossimo",
32
- "orc-shared.no": "No",
33
- "orc-shared.notAvailable": "N/A",
34
- "orc-shared.orcScriptsVersion": "Orc-Scripts Framework {version}",
35
- "orc-shared.orcSecretVersion": "Orc-Secret Framework {version}",
36
- "orc-shared.orcSharedVersion": "Orc-Shared Framework {version}",
37
- "orc-shared.preferences": "Preferences",
38
- "orc-shared.refresh": "Aggiorna",
39
- "orc-shared.remove": "Rimuovi",
40
- "orc-shared.save": "Salva",
41
- "orc-shared.scopeChangeWithOpenedTabsConfirmation": "One or more entities opened will be closed. Would you like to change scope now?",
42
- "orc-shared.scopeChangeWithOpenedTabsTitle": "Confirm scope change",
43
- "orc-shared.scopeChangeWithUnsavedDataConfirmation": "One or more entities opened will be closed with unsaved data. Would you like to change scope?",
44
- "orc-shared.scopeChangeWithUnsavedDataTitle": "Confirm scope change without saving data",
45
- "orc-shared.scopeFilterPlaceholder": "Type a scope name",
46
- "orc-shared.showFewerLanguages": "Mostra più lingue",
47
- "orc-shared.showMoreLanguages": "Mostra meno lingue",
48
- "orc-shared.signOut": "Esci",
49
- "orc-shared.sortOrder": "Ordinamento",
50
- "orc-shared.status": "Stato",
51
- "orc-shared.unsavedChanges": "This entity has unsaved changes. All changes will be lost.\n\nAre you sure you want to close it?",
52
- "orc-shared.valueName": "Nome valore",
53
- "orc-shared.yes": "Si"
54
- }