@axelor/aos-mobile-manufacturing 7.2.3 → 7.2.5

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 (111) hide show
  1. package/lib/api/index.d.ts +1 -0
  2. package/lib/api/index.js +2 -1
  3. package/lib/api/index.js.map +1 -1
  4. package/lib/api/machine-api.js +1 -1
  5. package/lib/api/manufacturing-order-api.d.ts +2 -1
  6. package/lib/api/manufacturing-order-api.js +5 -5
  7. package/lib/api/manufacturing-order-api.js.map +1 -1
  8. package/lib/api/operation-order-api.js +1 -1
  9. package/lib/api/prod-product-api.js +1 -1
  10. package/lib/api/production-config-api.d.ts +1 -0
  11. package/lib/api/production-config-api.js +23 -0
  12. package/lib/api/production-config-api.js.map +1 -0
  13. package/lib/api/production-file-api.js +1 -1
  14. package/lib/api/waste-product-api.js +1 -1
  15. package/lib/api/work-center-api.js +1 -1
  16. package/lib/components/index.js +1 -1
  17. package/lib/components/molecules/ManufacturingOrderDatesCard/ManufacturingOrderDatesCard.js +1 -1
  18. package/lib/components/molecules/OperationOrderDatesCard/OperationOrderDatesCard.js +1 -1
  19. package/lib/components/molecules/index.js +1 -1
  20. package/lib/components/organisms/ConsumedProductCard/ConsumedProductCard.js +1 -1
  21. package/lib/components/organisms/ConsumedProductGlobalCard/ConsumedProductGlobalCard.js +1 -1
  22. package/lib/components/organisms/LinkedManufacturingOrderCard/LinkedManufacturingOrderCard.js +1 -1
  23. package/lib/components/organisms/ManufacturingOrderButtons/ManufacturingOrderButtons.js +1 -1
  24. package/lib/components/organisms/ManufacturingOrderCard/ManufacturingOrderCard.js +1 -1
  25. package/lib/components/organisms/ManufacturingOrderHalfLabelCardList/ManufacturingOrderHalfLabelCardList.js +1 -1
  26. package/lib/components/organisms/ManufacturingOrderHeader/ManufacturingOrderHeader.js +1 -1
  27. package/lib/components/organisms/ManufacturingOrderNotesCardList/ManufacturingOrderNotesCardList.js +1 -1
  28. package/lib/components/organisms/ManufacturingOrderProductionOrderSetView/ManufacturingOrderProductionOrderSetView.js +1 -1
  29. package/lib/components/organisms/ManufacturingOrderSaleOrderSetView/ManufacturingOrderSaleOrderSetView.js +1 -1
  30. package/lib/components/organisms/OperationOrderCard/OperationOrderCard.js +1 -1
  31. package/lib/components/organisms/OperationOrderDetailsCard/OperationOrderDetailsCard.js +1 -1
  32. package/lib/components/organisms/OperationOrderHeader/OperationOrderHeader.js +1 -1
  33. package/lib/components/organisms/OperationOrderLabelTextList/OperationOrderLabelTextList.js +1 -1
  34. package/lib/components/organisms/OperationOrderStopwatch/OperationOrderStopwatch.js +1 -1
  35. package/lib/components/organisms/ProdProductFixedItems/ProdProductFixedItems.js +1 -1
  36. package/lib/components/organisms/ProducedProductCard/ProducedProductCard.js +1 -1
  37. package/lib/components/organisms/ProductionFileLargeCard/ProductionFileLargeCard.js +1 -1
  38. package/lib/components/organisms/ProductionFileSmallCard/ProductionFileSmallCard.js +1 -1
  39. package/lib/components/organisms/WasteProductCard/WasteProductCard.js +1 -1
  40. package/lib/components/organisms/index.js +1 -1
  41. package/lib/components/templates/ConsumedProductTrackingNumberSelect/ConsumedProductTrackingNumberSelect.js +1 -1
  42. package/lib/components/templates/MachineSearchBar/MachineSearchBar.js +1 -1
  43. package/lib/components/templates/WorkCenterSearchBar/WorkCenterSearchBar.js +1 -1
  44. package/lib/components/templates/index.js +1 -1
  45. package/lib/features/asyncFunctions-index.d.ts +1 -0
  46. package/lib/features/asyncFunctions-index.js +2 -1
  47. package/lib/features/asyncFunctions-index.js.map +1 -1
  48. package/lib/features/index.d.ts +1 -0
  49. package/lib/features/index.js +2 -1
  50. package/lib/features/index.js.map +1 -1
  51. package/lib/features/machinesSlice.js +1 -1
  52. package/lib/features/manufacturingOrderSlice.js +1 -1
  53. package/lib/features/manufacturingOrderSlice.js.map +1 -1
  54. package/lib/features/operationOrderSlice.d.ts +2 -1
  55. package/lib/features/operationOrderSlice.js +4 -3
  56. package/lib/features/operationOrderSlice.js.map +1 -1
  57. package/lib/features/prodProductSlice.js +2 -2
  58. package/lib/features/prodProductSlice.js.map +1 -1
  59. package/lib/features/productionConfigSlice.d.ts +13 -0
  60. package/lib/features/productionConfigSlice.js +43 -0
  61. package/lib/features/productionConfigSlice.js.map +1 -0
  62. package/lib/features/productionFileSlice.js +1 -1
  63. package/lib/features/wasteProductsSlice.js +1 -1
  64. package/lib/features/workCentersSlice.js +1 -1
  65. package/lib/hooks/use-manufacturing-headers.js +1 -1
  66. package/lib/i18n/en.json +2 -1
  67. package/lib/i18n/fr.json +2 -1
  68. package/lib/index.js +1 -1
  69. package/lib/models/index.js +1 -1
  70. package/lib/models/objectFields.js +1 -1
  71. package/lib/models/searchFields.js +1 -1
  72. package/lib/models/sortFields.js +1 -1
  73. package/lib/screens/manufactoringOrder/ManufacturingOrderDetailsScreen.js +1 -1
  74. package/lib/screens/manufactoringOrder/ManufacturingOrderListProductionOrderScreen.js +1 -1
  75. package/lib/screens/manufactoringOrder/ManufacturingOrderListSaleOrderScreen.js +1 -1
  76. package/lib/screens/manufactoringOrder/ManufacturingOrderListScreen.js +16 -3
  77. package/lib/screens/manufactoringOrder/ManufacturingOrderListScreen.js.map +1 -1
  78. package/lib/screens/manufactoringOrder/ManufacturingOrderOperationListScreen.js +2 -2
  79. package/lib/screens/manufactoringOrder/ManufacturingOrderOperationListScreen.js.map +1 -1
  80. package/lib/screens/manufactoringOrder/consumedProduct/ChildrenManufOrderListScreen.js +1 -1
  81. package/lib/screens/manufactoringOrder/consumedProduct/ConsumedProductDetailsScreen.js +13 -6
  82. package/lib/screens/manufactoringOrder/consumedProduct/ConsumedProductDetailsScreen.js.map +1 -1
  83. package/lib/screens/manufactoringOrder/consumedProduct/ConsumedProductListScreen.js +1 -1
  84. package/lib/screens/manufactoringOrder/consumedProduct/ConsumedProductSelectProductScreen.js +1 -1
  85. package/lib/screens/manufactoringOrder/consumedProduct/ConsumedProductSelectTrackingScreen.js +1 -1
  86. package/lib/screens/manufactoringOrder/consumedProduct/index.js +1 -1
  87. package/lib/screens/manufactoringOrder/index.js +1 -1
  88. package/lib/screens/manufactoringOrder/producedProduct/ProducedProductDetailsScreen.js +1 -1
  89. package/lib/screens/manufactoringOrder/producedProduct/ProducedProductListScreen.js +1 -1
  90. package/lib/screens/manufactoringOrder/producedProduct/ProducedProductSelectProductScreen.js +1 -1
  91. package/lib/screens/manufactoringOrder/producedProduct/ProducedProductSelectTrackingScreen.js +1 -1
  92. package/lib/screens/manufactoringOrder/producedProduct/index.js +1 -1
  93. package/lib/screens/manufactoringOrder/wasteProduct/WasteProductDetailsScreen.js +1 -1
  94. package/lib/screens/manufactoringOrder/wasteProduct/WasteProductListScreen.js +1 -1
  95. package/lib/screens/manufactoringOrder/wasteProduct/WasteProductSelectProductScreen.js +1 -1
  96. package/lib/screens/manufactoringOrder/wasteProduct/index.js +1 -1
  97. package/lib/screens/operationOrder/OperationOrderDetailsScreen.js +1 -1
  98. package/lib/screens/operationOrder/OperationOrderListScreen.js +3 -3
  99. package/lib/screens/operationOrder/OperationOrderListScreen.js.map +1 -1
  100. package/lib/screens/operationOrder/OperationOrderPlanningScreen.js +1 -1
  101. package/lib/screens/operationOrder/ProductionFileScreen.js +1 -1
  102. package/lib/screens/operationOrder/index.js +1 -1
  103. package/lib/types/index.js +1 -1
  104. package/lib/types/manufacturing-order.js +1 -1
  105. package/lib/types/operation-order.js +1 -1
  106. package/lib/utils/dates.js +1 -1
  107. package/lib/utils/dates.js.map +1 -1
  108. package/lib/utils/displayers.js +1 -1
  109. package/lib/utils/formaters.js +1 -1
  110. package/lib/utils/index.js +1 -1
  111. package/package.json +4 -4
@@ -2,6 +2,7 @@ export * from './machine-api';
2
2
  export * from './manufacturing-order-api';
3
3
  export * from './operation-order-api';
4
4
  export * from './prod-product-api';
5
+ export { fetchProductionConfig as fetchProductionConfigApi } from './production-config-api';
5
6
  export * from './production-file-api';
6
7
  export * from './waste-product-api';
7
8
  export * from './work-center-api';
package/lib/api/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -19,6 +19,7 @@ export * from './machine-api';
19
19
  export * from './manufacturing-order-api';
20
20
  export * from './operation-order-api';
21
21
  export * from './prod-product-api';
22
+ export { fetchProductionConfig as fetchProductionConfigApi } from './production-config-api';
22
23
  export * from './production-file-api';
23
24
  export * from './waste-product-api';
24
25
  export * from './work-center-api';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,cAAc,eAAe,CAAC;AAC9B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,cAAc,eAAe,CAAC;AAC9B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAC,qBAAqB,IAAI,wBAAwB,EAAC,MAAM,yBAAyB,CAAC;AAC1F,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,8 @@
1
- export function searchManufacturingOrderFilter({ companyId, workshopId, searchValue, page, }: {
1
+ export function searchManufacturingOrderFilter({ companyId, workshopId, searchValue, manageWorkshop, page, }: {
2
2
  companyId?: any;
3
3
  workshopId?: any;
4
4
  searchValue?: any;
5
+ manageWorkshop: any;
5
6
  page?: number;
6
7
  }): Promise<any>;
7
8
  export function fetchManufacturingOrder({ manufOrderId }: {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -17,7 +17,7 @@
17
17
  */
18
18
  import { axiosApiProvider, createStandardFetch, createStandardSearch, getSearchCriterias, } from '@axelor/aos-mobile-core';
19
19
  import ManufacturingOrder from '../types/manufacturing-order';
20
- const createManufOrderCriteria = (companyId, workshopId, searchValue) => {
20
+ const createManufOrderCriteria = (companyId, workshopId, manageWorkshop, searchValue) => {
21
21
  let criterias = [
22
22
  {
23
23
  fieldName: 'typeSelect',
@@ -58,7 +58,7 @@ const createManufOrderCriteria = (companyId, workshopId, searchValue) => {
58
58
  value: companyId,
59
59
  });
60
60
  }
61
- if (workshopId != null) {
61
+ if (workshopId != null && manageWorkshop) {
62
62
  criterias.push({
63
63
  operator: 'or',
64
64
  criteria: [
@@ -77,10 +77,10 @@ const createManufOrderCriteria = (companyId, workshopId, searchValue) => {
77
77
  }
78
78
  return criterias;
79
79
  };
80
- export async function searchManufacturingOrderFilter({ companyId = null, workshopId = null, searchValue = null, page = 0, }) {
80
+ export async function searchManufacturingOrderFilter({ companyId = null, workshopId = null, searchValue = null, manageWorkshop, page = 0, }) {
81
81
  return createStandardSearch({
82
82
  model: 'com.axelor.apps.production.db.ManufOrder',
83
- criteria: createManufOrderCriteria(companyId, workshopId, searchValue),
83
+ criteria: createManufOrderCriteria(companyId, workshopId, manageWorkshop, searchValue),
84
84
  fieldKey: 'manufacturing_manufacturingOrder',
85
85
  sortKey: 'manufacturing_manufacturingOrder',
86
86
  page,
@@ -1 +1 @@
1
- {"version":3,"file":"manufacturing-order-api.js","sourceRoot":"","sources":["../../src/api/manufacturing-order-api.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EACL,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,kBAAkB,MAAM,8BAA8B,CAAC;AAE9D,MAAM,wBAAwB,GAAG,CAAC,SAAS,EAAE,UAAU,EAAE,WAAW,EAAE,EAAE;IACtE,IAAI,SAAS,GAAG;QACd;YACE,SAAS,EAAE,YAAY;YACvB,QAAQ,EAAE,GAAG;YACb,KAAK,EAAE,kBAAkB,CAAC,IAAI,CAAC,UAAU;SAC1C;QACD;YACE,QAAQ,EAAE,IAAI;YACd,QAAQ,EAAE;gBACR;oBACE,SAAS,EAAE,cAAc;oBACzB,QAAQ,EAAE,GAAG;oBACb,KAAK,EAAE,kBAAkB,CAAC,MAAM,CAAC,OAAO;iBACzC;gBACD;oBACE,SAAS,EAAE,cAAc;oBACzB,QAAQ,EAAE,GAAG;oBACb,KAAK,EAAE,kBAAkB,CAAC,MAAM,CAAC,UAAU;iBAC5C;gBACD;oBACE,SAAS,EAAE,cAAc;oBACzB,QAAQ,EAAE,GAAG;oBACb,KAAK,EAAE,kBAAkB,CAAC,MAAM,CAAC,OAAO;iBACzC;gBACD;oBACE,SAAS,EAAE,cAAc;oBACzB,QAAQ,EAAE,GAAG;oBACb,KAAK,EAAE,kBAAkB,CAAC,MAAM,CAAC,QAAQ;iBAC1C;aACF;SACF;QACD,kBAAkB,CAAC,kCAAkC,EAAE,WAAW,CAAC;KACpE,CAAC;IAEF,IAAI,SAAS,IAAI,IAAI,EAAE;QACrB,SAA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AE,0CAA0C;QACjD,QAAQ,EAAE;YACR;gBACE,SAAS,EAAE,aAAa;gBACxB,QAAQ,EAAE,GAAG;gBACb,KAAK,EAAE,kBAAkB;aAC1B;SACF;QACD,QAAQ,EAAE,kCAAkC;QAC5C,OAAO,EAAE,kCAAkC;QAC3C,IAAI;KACL,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,8BAA8B,CAAC,EACnD,YAAY,EACZ,iBAAiB,EACjB,YAAY,GACb;IACC,OAAO,gBAAgB,CAAC,GAAG,CAAC;QAC1B,GAAG,EAAE,sBAAsB,YAAY,EAAE;QACzC,IAAI,EAAE;YACJ,OAAO,EAAE,iBAAiB;YAC1B,MAAM,EAAE,YAAY;SACrB;KACF,CAAC,CAAC;AACL,CAAC"}
1
+ {"version":3,"file":"manufacturing-order-api.js","sourceRoot":"","sources":["../../src/api/manufacturing-order-api.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EACL,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,kBAAkB,MAAM,8BAA8B,CAAC;AAE9D,MAAM,wBAAwB,GAAG,CAC/B,SAAS,EACT,UAAU,EACV,cAAc,EACd,WAAW,EACX,EAAE;IACF,IAAI,SAAS,GAAG;QACd;YACE,SAAS,EAAE,YAAY;YACvB,QAAQ,EAAE,GAAG;YACb,KAAK,EAAE,kBAAkB,CAAC,IAAI,CAAC,UAAU;SAC1C;QACD;YACE,QAAQ,EAAE,IAAI;YACd,QAAQ,EAAE;gBACR;oBACE,SAAS,EAAE,cAAc;oBACzB,QAAQ,EAAE,GAAG;oBACb,KAAK,EAAE,kBAAkB,CAAC,MAAM,CAAC,OAAO;iBACzC;gBACD;oBACE,SAAS,EAAE,cAAc;oBACzB,QAAQ,EAAE,GAAG;oBACb,KAAK,EAAE,kBAAkB,CAAC,MAAM,CAAC,UAAU;iBAC5C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zB,OAAO,IAAI,CAAC;KACb;IAED,OAAO,oBAAoB,CAAC;QAC1B,KAAK,EAAE,0CAA0C;QACjD,MAAM,EAAE,2BAA2B;QACnC,aAAa,EAAE;YACb,aAAa,EAAE,aAAa;SAC7B;QACD,QAAQ,EAAE,uCAAuC;QACjD,OAAO,EAAE,kCAAkC;QAC3C,IAAI;KACL,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,gCAAgC,CAAC,EACrD,kBAAkB,EAClB,IAAI,GAAG,CAAC,GACT;IACC,OAAO,oBAAoB,CAAC;QAC1B,KAAK,EAAE,0CAA0C;QACjD,QAAQ,EAAE;YACR;gBACE,SAAS,EAAE,aAAa;gBACxB,QAAQ,EAAE,GAAG;gBACb,KAAK,EAAE,kBAAkB;aAC1B;SACF;QACD,QAAQ,EAAE,kCAAkC;QAC5C,OAAO,EAAE,kCAAkC;QAC3C,IAAI;KACL,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,8BAA8B,CAAC,EACnD,YAAY,EACZ,iBAAiB,EACjB,YAAY,GACb;IACC,OAAO,gBAAgB,CAAC,GAAG,CAAC;QAC1B,GAAG,EAAE,sBAAsB,YAAY,EAAE;QACzC,IAAI,EAAE;YACJ,OAAO,EAAE,iBAAiB;YAC1B,MAAM,EAAE,YAAY;SACrB;KACF,CAAC,CAAC;AACL,CAAC"}
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -0,0 +1 @@
1
+ export function fetchProductionConfig(): Promise<any>;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Axelor Business Solutions
3
+ *
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
+ *
6
+ * This program is free software: you can redistribute it and/or modify
7
+ * it under the terms of the GNU Affero General Public License, version 3,
8
+ * as published by the Free Software Foundation.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU Affero General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU Affero General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ */
18
+ import { axiosApiProvider, RouterProvider } from '@axelor/aos-mobile-core';
19
+ export async function fetchProductionConfig() {
20
+ const route = await RouterProvider.get('AppProduction');
21
+ return axiosApiProvider.get({ url: route });
22
+ }
23
+ //# sourceMappingURL=production-config-api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"production-config-api.js","sourceRoot":"","sources":["../../src/api/production-config-api.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,gBAAgB,EAAE,cAAc,EAAC,MAAM,yBAAyB,CAAC;AAEzE,MAAM,CAAC,KAAK,UAAU,qBAAqB;IACzC,MAAM,KAAK,GAAG,MAAM,cAAc,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;IAExD,OAAO,gBAAgB,CAAC,GAAG,CAAC,EAAC,GAAG,EAAE,KAAK,EAAC,CAAC,CAAC;AAC5C,CAAC"}
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -2,6 +2,7 @@ export { searchMachines } from './machinesSlice';
2
2
  export { fetchChildrenOfManufacturingOrder, fetchLinkedManufOrders, fetchManufacturingOrders, fetchManufOrder, updateStatusOfManufOrder, } from './manufacturingOrderSlice';
3
3
  export { fetchOperationOrderById, fetchOperationOrders, fetchPlannedOperationOrder, updateOperationOrder, } from './operationOrderSlice';
4
4
  export { addProdProductToManufOrder, addTrackingNumberToConsumedProduct, fetchConsumedProducts, fetchConsumedProductWithId, fetchProdProductWithId, fetchProducedProducts, fetchProducedProductWithId, updateProdProductOfManufOrder, } from './prodProductSlice';
5
+ export { fetchProductionConfig } from './productionConfigSlice';
5
6
  export { fetchProductionFile } from './productionFileSlice';
6
7
  export { addWasteProductToManufOrder, declareWasteProductsOfManufOrder, fetchWasteProducts, updateWasteProductOfManufOrder, } from './wasteProductsSlice';
7
8
  export { searchWorkCenters } from './workCentersSlice';
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -19,6 +19,7 @@ export { searchMachines } from './machinesSlice';
19
19
  export { fetchChildrenOfManufacturingOrder, fetchLinkedManufOrders, fetchManufacturingOrders, fetchManufOrder, updateStatusOfManufOrder, } from './manufacturingOrderSlice';
20
20
  export { fetchOperationOrderById, fetchOperationOrders, fetchPlannedOperationOrder, updateOperationOrder, } from './operationOrderSlice';
21
21
  export { addProdProductToManufOrder, addTrackingNumberToConsumedProduct, fetchConsumedProducts, fetchConsumedProductWithId, fetchProdProductWithId, fetchProducedProducts, fetchProducedProductWithId, updateProdProductOfManufOrder, } from './prodProductSlice';
22
+ export { fetchProductionConfig } from './productionConfigSlice';
22
23
  export { fetchProductionFile } from './productionFileSlice';
23
24
  export { addWasteProductToManufOrder, declareWasteProductsOfManufOrder, fetchWasteProducts, updateWasteProductOfManufOrder, } from './wasteProductsSlice';
24
25
  export { searchWorkCenters } from './workCentersSlice';
@@ -1 +1 @@
1
- {"version":3,"file":"asyncFunctions-index.js","sourceRoot":"","sources":["../../src/features/asyncFunctions-index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EACL,iCAAiC,EACjC,sBAAsB,EACtB,wBAAwB,EACxB,eAAe,EACf,wBAAwB,GACzB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,uBAAuB,EACvB,oBAAoB,EACpB,0BAA0B,EAC1B,oBAAoB,GACrB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,0BAA0B,EAC1B,kCAAkC,EAClC,qBAAqB,EACrB,0BAA0B,EAC1B,sBAAsB,EACtB,qBAAqB,EACrB,0BAA0B,EAC1B,6BAA6B,GAC9B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAC,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EACL,2BAA2B,EAC3B,gCAAgC,EAChC,kBAAkB,EAClB,8BAA8B,GAC/B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAC,iBAAiB,EAAC,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"asyncFunctions-index.js","sourceRoot":"","sources":["../../src/features/asyncFunctions-index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EACL,iCAAiC,EACjC,sBAAsB,EACtB,wBAAwB,EACxB,eAAe,EACf,wBAAwB,GACzB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,uBAAuB,EACvB,oBAAoB,EACpB,0BAA0B,EAC1B,oBAAoB,GACrB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,0BAA0B,EAC1B,kCAAkC,EAClC,qBAAqB,EACrB,0BAA0B,EAC1B,sBAAsB,EACtB,qBAAqB,EACrB,0BAA0B,EAC1B,6BAA6B,GAC9B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAC,qBAAqB,EAAC,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAC,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EACL,2BAA2B,EAC3B,gCAAgC,EAChC,kBAAkB,EAClB,8BAA8B,GAC/B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAC,iBAAiB,EAAC,MAAM,oBAAoB,CAAC"}
@@ -2,6 +2,7 @@ export { machinesReducer as machines } from "./machinesSlice";
2
2
  export { manufacturingOrderReducer as manufacturingOrder } from "./manufacturingOrderSlice";
3
3
  export { operationOrderReducer as operationOrder } from "./operationOrderSlice";
4
4
  export { prodProductsReducer as prodProducts } from "./prodProductSlice";
5
+ export { productionAppConfigReducer as productionConfig } from "./productionConfigSlice";
5
6
  export { productionFileReducer as productionFile } from "./productionFileSlice";
6
7
  export { wasteProductsReducer as wasteProducts } from "./wasteProductsSlice";
7
8
  export { workCentersReducer as workCenters } from "./workCentersSlice";
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -19,6 +19,7 @@ export { machinesReducer as machines } from './machinesSlice';
19
19
  export { manufacturingOrderReducer as manufacturingOrder } from './manufacturingOrderSlice';
20
20
  export { operationOrderReducer as operationOrder } from './operationOrderSlice';
21
21
  export { prodProductsReducer as prodProducts } from './prodProductSlice';
22
+ export { productionAppConfigReducer as productionConfig } from './productionConfigSlice';
22
23
  export { productionFileReducer as productionFile } from './productionFileSlice';
23
24
  export { wasteProductsReducer as wasteProducts } from './wasteProductsSlice';
24
25
  export { workCentersReducer as workCenters } from './workCentersSlice';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/features/index.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,eAAe,IAAI,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AAC5D,OAAO,EAAC,yBAAyB,IAAI,kBAAkB,EAAC,MAAM,2BAA2B,CAAC;AAC1F,OAAO,EAAC,qBAAqB,IAAI,cAAc,EAAC,MAAM,uBAAuB,CAAC;AAC9E,OAAO,EAAC,mBAAmB,IAAI,YAAY,EAAC,MAAM,oBAAoB,CAAC;AACvE,OAAO,EAAC,qBAAqB,IAAI,cAAc,EAAC,MAAM,uBAAuB,CAAC;AAC9E,OAAO,EAAC,oBAAoB,IAAI,aAAa,EAAC,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAAC,kBAAkB,IAAI,WAAW,EAAC,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/features/index.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,eAAe,IAAI,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AAC5D,OAAO,EAAC,yBAAyB,IAAI,kBAAkB,EAAC,MAAM,2BAA2B,CAAC;AAC1F,OAAO,EAAC,qBAAqB,IAAI,cAAc,EAAC,MAAM,uBAAuB,CAAC;AAC9E,OAAO,EAAC,mBAAmB,IAAI,YAAY,EAAC,MAAM,oBAAoB,CAAC;AACvE,OAAO,EAAC,0BAA0B,IAAI,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AACvF,OAAO,EAAC,qBAAqB,IAAI,cAAc,EAAC,MAAM,uBAAuB,CAAC;AAC9E,OAAO,EAAC,oBAAoB,IAAI,aAAa,EAAC,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAAC,kBAAkB,IAAI,WAAW,EAAC,MAAM,oBAAoB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Axelor Business Solutions
3
3
  *
4
- * Copyright (C) 2023 Axelor (<http://axelor.com>).
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
5
  *
6
6
  * This program is free software: you can redistribute it and/or modify
7
7
  * it under the terms of the GNU Affero General Public License, version 3,
@@ -1 +1 @@
1
- {"version":3,"file":"manufacturingOrderSlice.js","sourceRoot":"","sources":["../../src/features/manufacturingOrderSlice.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,gBAAgB,EAAE,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EACL,4BAA4B,EAC5B,cAAc,GACf,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,gCAAgC,EAChC,uBAAuB,EACvB,wCAAwC,EACxC,8BAA8B,EAC9B,8BAA8B,GAC/B,MAAM,gCAAgC,CAAC;AAExC,MAAM,CAAC,MAAM,wBAAwB,GAAG,gBAAgB,CACtD,6CAA6C,EAC7C,KAAK,WAAW,IAAI,EAAE,EAAC,QAAQ,EAAC;IAC9B,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C5B,CAAC,CAAC,CAAC;QACH,OAAO,CAAC,OAAO,CAAC,eAAe,CAAC,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE;YAC3D,KAAK,CAAC,YAAY,GAAG,KAAK,CAAC;YAC3B,KAAK,CAAC,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC;QACpC,CAAC,CAAC,CAAC;QACH,4BAA4B,CAAC,OAAO,EAAE,sBAAsB,EAAE;YAC5D,OAAO,EAAE,eAAe;YACxB,WAAW,EAAE,mBAAmB;YAChC,SAAS,EAAE,iBAAiB;YAC5B,IAAI,EAAE,mBAAmB;SAC1B,CAAC,CAAC;QACH,4BAA4B,CAAC,OAAO,EAAE,iCAAiC,EAAE;YACvE,OAAO,EAAE,mBAAmB;YAC5B,WAAW,EAAE,uBAAuB;YACpC,SAAS,EAAE,qBAAqB;YAChC,IAAI,EAAE,qBAAqB;SAC5B,CAAC,CAAC;QACH,OAAO,CAAC,OAAO,CAAC,wBAAwB,CAAC,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE;YACpE,KAAK,CAAC,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC;QACpC,CAAC,CAAC,CAAC;IACL,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,yBAAyB,GAAG,uBAAuB,CAAC,OAAO,CAAC"}
@@ -39,12 +39,13 @@ export const updateOperationOrder: import("@reduxjs/toolkit").AsyncThunk<any, vo
39
39
  rejectedMeta?: unknown;
40
40
  }>;
41
41
  export const operationOrderReducer: import("redux").Reducer<{
42
- loading: boolean;
42
+ loadingList: boolean;
43
43
  moreLoading: boolean;
44
44
  isListEnd: boolean;
45
45
  operationOrderList: any[];
46
46
  loadingOrder: boolean;
47
47
  operationOrder: {};
48
48
  updateMessage: any;
49
+ loading: boolean;
49
50
  plannedOperationOrderList: any[];
50
51
  }>;