@openmrs/esm-stock-management-app 1.0.1-pre.327

Sign up to get free protection for your applications and to get access to all the features.
Files changed (366) hide show
  1. package/.editorconfig +12 -0
  2. package/.eslintignore +2 -0
  3. package/.eslintrc +39 -0
  4. package/.husky/pre-commit +4 -0
  5. package/.husky/pre-push +6 -0
  6. package/.prettierignore +14 -0
  7. package/.turbo.json +18 -0
  8. package/.yarn/plugins/@yarnpkg/plugin-outdated.cjs +35 -0
  9. package/LICENSE +401 -0
  10. package/README.md +3 -0
  11. package/__mocks__/react-i18next.js +55 -0
  12. package/dist/26.js +2 -0
  13. package/dist/26.js.LICENSE.txt +32 -0
  14. package/dist/26.js.map +1 -0
  15. package/dist/294.js +2 -0
  16. package/dist/294.js.LICENSE.txt +9 -0
  17. package/dist/294.js.map +1 -0
  18. package/dist/375.js +2 -0
  19. package/dist/375.js.LICENSE.txt +40 -0
  20. package/dist/375.js.map +1 -0
  21. package/dist/46.js +1 -0
  22. package/dist/46.js.map +1 -0
  23. package/dist/484.js +1 -0
  24. package/dist/484.js.map +1 -0
  25. package/dist/574.js +1 -0
  26. package/dist/629.js +1 -0
  27. package/dist/629.js.map +1 -0
  28. package/dist/707.js +1 -0
  29. package/dist/707.js.map +1 -0
  30. package/dist/800.js +2 -0
  31. package/dist/800.js.LICENSE.txt +3 -0
  32. package/dist/800.js.map +1 -0
  33. package/dist/935.js +2 -0
  34. package/dist/935.js.LICENSE.txt +19 -0
  35. package/dist/935.js.map +1 -0
  36. package/dist/979.js +1 -0
  37. package/dist/979.js.map +1 -0
  38. package/dist/main.js +2 -0
  39. package/dist/main.js.LICENSE.txt +60 -0
  40. package/dist/main.js.map +1 -0
  41. package/dist/openmrs-esm-stock-management-app.js +1 -0
  42. package/dist/openmrs-esm-stock-management-app.js.buildmanifest.json +356 -0
  43. package/dist/openmrs-esm-stock-management-app.js.map +1 -0
  44. package/dist/routes.json +1 -0
  45. package/i18next-parser.config.js +89 -0
  46. package/jest.config.js +25 -0
  47. package/package.json +116 -0
  48. package/src/config-schema.ts +18 -0
  49. package/src/constants.ts +214 -0
  50. package/src/core/api/api.ts +34 -0
  51. package/src/core/api/types/Auditable.ts +9 -0
  52. package/src/core/api/types/BaseOpenmrsData.ts +4 -0
  53. package/src/core/api/types/BaseOpenmrsMetadata.ts +6 -0
  54. package/src/core/api/types/BaseOpenmrsObject.ts +3 -0
  55. package/src/core/api/types/BatchJob.ts +121 -0
  56. package/src/core/api/types/DashboardExtension.ts +8 -0
  57. package/src/core/api/types/Location.ts +16 -0
  58. package/src/core/api/types/LocationTree.ts +7 -0
  59. package/src/core/api/types/OpenmrsData.ts +5 -0
  60. package/src/core/api/types/OpenmrsMetadata.ts +8 -0
  61. package/src/core/api/types/OpenmrsObject.ts +3 -0
  62. package/src/core/api/types/PageableResult.ts +15 -0
  63. package/src/core/api/types/Party.ts +8 -0
  64. package/src/core/api/types/RecordPermission.ts +9 -0
  65. package/src/core/api/types/Retireable.ts +9 -0
  66. package/src/core/api/types/Voidable.ts +9 -0
  67. package/src/core/api/types/concept/Concept.ts +24 -0
  68. package/src/core/api/types/concept/ConceptName.ts +14 -0
  69. package/src/core/api/types/concept/Drug.ts +14 -0
  70. package/src/core/api/types/identity/Credentials.ts +4 -0
  71. package/src/core/api/types/identity/Patient.ts +3 -0
  72. package/src/core/api/types/identity/Person.ts +4 -0
  73. package/src/core/api/types/identity/PriviledgeScope.ts +9 -0
  74. package/src/core/api/types/identity/Privilege.ts +5 -0
  75. package/src/core/api/types/identity/Role.ts +5 -0
  76. package/src/core/api/types/identity/Session.ts +16 -0
  77. package/src/core/api/types/identity/User.ts +19 -0
  78. package/src/core/api/types/identity/UserRoleScope.ts +17 -0
  79. package/src/core/api/types/identity/UserRoleScopeLocation.ts +7 -0
  80. package/src/core/api/types/identity/UserRoleScopeOperationType.ts +6 -0
  81. package/src/core/api/types/stockItem/ImportResult.ts +9 -0
  82. package/src/core/api/types/stockItem/StockBatch.ts +8 -0
  83. package/src/core/api/types/stockItem/StockBatchDTO.ts +8 -0
  84. package/src/core/api/types/stockItem/StockItem.ts +63 -0
  85. package/src/core/api/types/stockItem/StockItemInventory.ts +10 -0
  86. package/src/core/api/types/stockItem/StockItemPackagingUOM.ts +20 -0
  87. package/src/core/api/types/stockItem/StockItemTransaction.ts +22 -0
  88. package/src/core/api/types/stockItem/StockRule.ts +28 -0
  89. package/src/core/api/types/stockOperation/LocationType.ts +4 -0
  90. package/src/core/api/types/stockOperation/StockOperation.ts +36 -0
  91. package/src/core/api/types/stockOperation/StockOperationAction.ts +24 -0
  92. package/src/core/api/types/stockOperation/StockOperationDTO.ts +64 -0
  93. package/src/core/api/types/stockOperation/StockOperationItem.ts +13 -0
  94. package/src/core/api/types/stockOperation/StockOperationItemCost.ts +14 -0
  95. package/src/core/api/types/stockOperation/StockOperationItemDTO.ts +29 -0
  96. package/src/core/api/types/stockOperation/StockOperationLinkDTO.ts +13 -0
  97. package/src/core/api/types/stockOperation/StockOperationStatus.ts +18 -0
  98. package/src/core/api/types/stockOperation/StockOperationType.ts +162 -0
  99. package/src/core/api/types/stockOperation/StockSource.ts +8 -0
  100. package/src/core/components/carbon/controlled-combo-box/controlled-combo-box.component.tsx +37 -0
  101. package/src/core/components/carbon/controlled-combo-box/controlled-combo-box.resource.tsx +0 -0
  102. package/src/core/components/carbon/controlled-combo-box/controlled-combo-box.scss +0 -0
  103. package/src/core/components/carbon/controlled-combo-box/controlled-combo-box.test.tsx +8 -0
  104. package/src/core/components/carbon/controlled-dropdown/controlled-dropdown.component.tsx +40 -0
  105. package/src/core/components/carbon/controlled-dropdown/controlled-dropdown.resource.tsx +0 -0
  106. package/src/core/components/carbon/controlled-dropdown/controlled-dropdown.scss +0 -0
  107. package/src/core/components/carbon/controlled-dropdown/controlled-dropdown.test.tsx +8 -0
  108. package/src/core/components/carbon/controlled-number-input/controlled-number-input.component.tsx +44 -0
  109. package/src/core/components/carbon/controlled-number-input/controlled-number-input.resource.tsx +0 -0
  110. package/src/core/components/carbon/controlled-number-input/controlled-number-input.scss +0 -0
  111. package/src/core/components/carbon/controlled-number-input/controlled-number-input.test.tsx +8 -0
  112. package/src/core/components/carbon/controlled-radio-button-group/controlled-radio-button-group.component.tsx +54 -0
  113. package/src/core/components/carbon/controlled-radio-button-group/controlled-radio-button-group.resource.tsx +0 -0
  114. package/src/core/components/carbon/controlled-radio-button-group/controlled-radio-button-group.scss +0 -0
  115. package/src/core/components/carbon/controlled-radio-button-group/controlled-radio-button-group.test.tsx +8 -0
  116. package/src/core/components/carbon/controlled-text-area/controlled-text-area.component.tsx +37 -0
  117. package/src/core/components/carbon/controlled-text-area/controlled-text-area.resource.tsx +0 -0
  118. package/src/core/components/carbon/controlled-text-area/controlled-text-area.scss +0 -0
  119. package/src/core/components/carbon/controlled-text-area/controlled-text-area.test.tsx +11 -0
  120. package/src/core/components/carbon/controlled-text-input/controlled-text-input.component.tsx +37 -0
  121. package/src/core/components/carbon/controlled-text-input/controlled-text-input.resource.tsx +0 -0
  122. package/src/core/components/carbon/controlled-text-input/controlled-text-input.scss +0 -0
  123. package/src/core/components/carbon/controlled-text-input/controlled-text-input.test.tsx +8 -0
  124. package/src/core/components/carbon/types.ts +7 -0
  125. package/src/core/components/card/metrics-card-component.tsx +102 -0
  126. package/src/core/components/card/metrics-card.scss +78 -0
  127. package/src/core/components/overlay/hook.ts +47 -0
  128. package/src/core/components/overlay/overlay.component.tsx +52 -0
  129. package/src/core/components/overlay/overlay.scss +97 -0
  130. package/src/core/components/side-nav/side-nav.component.tsx +62 -0
  131. package/src/core/components/side-nav/side-nav.scss +126 -0
  132. package/src/core/components/side-nav/types.ts +6 -0
  133. package/src/core/components/table/table.component.tsx +239 -0
  134. package/src/core/components/table/table.scss +173 -0
  135. package/src/core/components/table/types.ts +8 -0
  136. package/src/core/components/tabs/types.ts +7 -0
  137. package/src/core/components/tabs/vertical-tabs.component.tsx +53 -0
  138. package/src/core/components/tabs/vertical-tabs.scss +126 -0
  139. package/src/core/hooks/debounce-hook.ts +35 -0
  140. package/src/core/print/PrintStyles.ts +774 -0
  141. package/src/core/print/PrintTemplate.ts +65 -0
  142. package/src/core/print/printUtils.ts +19 -0
  143. package/src/core/utils/alert.ts +10 -0
  144. package/src/core/utils/datetimeUtils.ts +84 -0
  145. package/src/core/utils/debounce.ts +21 -0
  146. package/src/core/utils/imageUtils.ts +82 -0
  147. package/src/core/utils/stringUtils.ts +27 -0
  148. package/src/core/utils/utils.ts +70 -0
  149. package/src/createDashboardLink.tsx +43 -0
  150. package/src/dashboard/stock-management-dashboard-side-nav.component.tsx +50 -0
  151. package/src/dashboard/stock-management-dashboard.component.tsx +41 -0
  152. package/src/dashboard/stock-management-dashboard.scss +8 -0
  153. package/src/dashboard.meta.ts +5 -0
  154. package/src/declarations.d.ts +6 -0
  155. package/src/index.ts +64 -0
  156. package/src/root.component.tsx +12 -0
  157. package/src/root.scss +174 -0
  158. package/src/routes.json +53 -0
  159. package/src/setup-tests.ts +1 -0
  160. package/src/stock-app-menu-item/item.component.tsx +21 -0
  161. package/src/stock-app-menu-item/item.resource.ts +0 -0
  162. package/src/stock-app-menu-item/item.scss +17 -0
  163. package/src/stock-batch/stock-batch.resource.ts +79 -0
  164. package/src/stock-home/stock-home-detail-card.scss +211 -0
  165. package/src/stock-home/stock-home-detail-cards.component.tsx +62 -0
  166. package/src/stock-home/stock-home-inventory-card.component.tsx +80 -0
  167. package/src/stock-home/stock-home-inventory-expiry.resource.tsx +32 -0
  168. package/src/stock-home/stock-home-inventory-items.resource.tsx +28 -0
  169. package/src/stock-home/stock-home-issuing-card.component.tsx +84 -0
  170. package/src/stock-home/stock-home-issuing.resource.tsx +18 -0
  171. package/src/stock-home/stock-home-landing-page-component.tsx +14 -0
  172. package/src/stock-home/stock-home-metrics.tsx +112 -0
  173. package/src/stock-home/stock-home-receiving-card.component.tsx +66 -0
  174. package/src/stock-home/stock-home-receiving.resource.tsx +17 -0
  175. package/src/stock-home/stock-home.scss +13 -0
  176. package/src/stock-home/useDisposalList.tsx +18 -0
  177. package/src/stock-home/useStockList.tsx +36 -0
  178. package/src/stock-items/add-bulk-stock-item/add-stock-items-bulk-import-action-button.component.tsx +26 -0
  179. package/src/stock-items/add-bulk-stock-item/stock-items-bulk-import.component.tsx +109 -0
  180. package/src/stock-items/add-bulk-stock-item/stock-items-bulk-import.resource.ts +14 -0
  181. package/src/stock-items/add-bulk-stock-item/stock-items-bulk-import.scss +0 -0
  182. package/src/stock-items/add-stock-item/add-stock-action-button.component.tsx +21 -0
  183. package/src/stock-items/add-stock-item/add-stock-item.component.tsx +84 -0
  184. package/src/stock-items/add-stock-item/add-stock-item.resource.tsx +36 -0
  185. package/src/stock-items/add-stock-item/add-stock-item.scss +5 -0
  186. package/src/stock-items/add-stock-item/batch-information/batch-information.component.tsx +98 -0
  187. package/src/stock-items/add-stock-item/batch-information/batch-information.resource.tsx +71 -0
  188. package/src/stock-items/add-stock-item/batch-information/batch-information.scss +0 -0
  189. package/src/stock-items/add-stock-item/concepts-selector/concepts-selector.component.tsx +79 -0
  190. package/src/stock-items/add-stock-item/concepts-selector/concepts-selector.resource.tsx +0 -0
  191. package/src/stock-items/add-stock-item/concepts-selector/concepts-selector.scss +0 -0
  192. package/src/stock-items/add-stock-item/concepts-selector/concepts-selector.test.tsx +8 -0
  193. package/src/stock-items/add-stock-item/dispensing-package-measurement/dispensing-package-measurement.component.tsx +76 -0
  194. package/src/stock-items/add-stock-item/dispensing-unit-selector/dispensing-unit-selector.component.tsx +66 -0
  195. package/src/stock-items/add-stock-item/dispensing-unit-selector/dispensing-unit-selector.resource.tsx +0 -0
  196. package/src/stock-items/add-stock-item/dispensing-unit-selector/dispensing-unit-selector.scss +0 -0
  197. package/src/stock-items/add-stock-item/dispensing-unit-selector/dispensing-unit-selector.test.tsx +8 -0
  198. package/src/stock-items/add-stock-item/drug-selector/drug-selector.component.tsx +83 -0
  199. package/src/stock-items/add-stock-item/drug-selector/drug-selector.resource.tsx +50 -0
  200. package/src/stock-items/add-stock-item/drug-selector/drug-selector.scss +0 -0
  201. package/src/stock-items/add-stock-item/packaging-units/packaging-units.component.tsx +255 -0
  202. package/src/stock-items/add-stock-item/packaging-units/packaging-units.resource.tsx +38 -0
  203. package/src/stock-items/add-stock-item/packaging-units/packaging-units.scss +21 -0
  204. package/src/stock-items/add-stock-item/packaging-units/validationSchema.ts +14 -0
  205. package/src/stock-items/add-stock-item/packaging-units-concept-selector/packaging-units-concept-selector.component.tsx +95 -0
  206. package/src/stock-items/add-stock-item/preferred-vendor-selector/preferred-vendor-selector.component.tsx +70 -0
  207. package/src/stock-items/add-stock-item/preferred-vendor-selector/preferred-vendor-selector.resource.tsx +0 -0
  208. package/src/stock-items/add-stock-item/preferred-vendor-selector/preferred-vendor-selector.scss +0 -0
  209. package/src/stock-items/add-stock-item/preferred-vendor-selector/preferred-vendor-selector.test.tsx +8 -0
  210. package/src/stock-items/add-stock-item/quantities/quantities.component.tsx +83 -0
  211. package/src/stock-items/add-stock-item/quantities/quantities.resource.tsx +69 -0
  212. package/src/stock-items/add-stock-item/quantities/quantities.scss +0 -0
  213. package/src/stock-items/add-stock-item/stock-item-category-selector/stock-item-category-selector.component.tsx +67 -0
  214. package/src/stock-items/add-stock-item/stock-item-category-selector/stock-item-category-selector.resource.tsx +0 -0
  215. package/src/stock-items/add-stock-item/stock-item-category-selector/stock-item-category-selector.scss +0 -0
  216. package/src/stock-items/add-stock-item/stock-item-category-selector/stock-item-category-selector.test.tsx +8 -0
  217. package/src/stock-items/add-stock-item/stock-item-details/stock-item-details.component.tsx +239 -0
  218. package/src/stock-items/add-stock-item/stock-item-details/stock-item-details.resource.tsx +14 -0
  219. package/src/stock-items/add-stock-item/stock-item-details/stock-item-details.scss +13 -0
  220. package/src/stock-items/add-stock-item/stock-item-rules/add-stock-rule-button.component.tsx +30 -0
  221. package/src/stock-items/add-stock-item/stock-item-rules/add-stock-rules.component.tsx +424 -0
  222. package/src/stock-items/add-stock-item/stock-item-rules/add-stock-rules.scss +18 -0
  223. package/src/stock-items/add-stock-item/stock-item-rules/delete-stock-rule-modal.component.tsx +47 -0
  224. package/src/stock-items/add-stock-item/stock-item-rules/edit-stock-rule.component.tsx +37 -0
  225. package/src/stock-items/add-stock-item/stock-item-rules/edit-stock-rule.scss +0 -0
  226. package/src/stock-items/add-stock-item/stock-item-rules/stock-item-rules.component.tsx +222 -0
  227. package/src/stock-items/add-stock-item/stock-item-rules/stock-item-rules.resource.tsx +72 -0
  228. package/src/stock-items/add-stock-item/stock-item-rules/stock-item-rules.scss +13 -0
  229. package/src/stock-items/add-stock-item/stock-item-rules/stock-rules-delete.component.tsx +67 -0
  230. package/src/stock-items/add-stock-item/stock-item-rules/stock-rules-delete.scss +0 -0
  231. package/src/stock-items/add-stock-item/stock-item-rules/stock-rules-filter.component.tsx +38 -0
  232. package/src/stock-items/add-stock-item/stock-item-rules/stock-rules-filter.scss +13 -0
  233. package/src/stock-items/add-stock-item/stock-item-rules/stock-rules.resource.ts +79 -0
  234. package/src/stock-items/add-stock-item/stock-item-units-edit/stock-item-units-edit.component.tsx +132 -0
  235. package/src/stock-items/add-stock-item/stock-rules/stock-rules.component.tsx +16 -0
  236. package/src/stock-items/add-stock-item/stock-rules/stock-rules.resource.tsx +0 -0
  237. package/src/stock-items/add-stock-item/stock-rules/stock-rules.scss +0 -0
  238. package/src/stock-items/add-stock-item/transactions/transactions.component.tsx +151 -0
  239. package/src/stock-items/add-stock-item/transactions/transactions.resource.tsx +109 -0
  240. package/src/stock-items/add-stock-item/transactions/transactions.scss +0 -0
  241. package/src/stock-items/components/filter-stock-items/filter-stock-items.component.tsx +28 -0
  242. package/src/stock-items/components/filter-stock-items/filter-stock-items.resource.tsx +0 -0
  243. package/src/stock-items/components/filter-stock-items/filter-stock-items.scss +3 -0
  244. package/src/stock-items/edit-stock-item/edit-stock-item-action-menu.component.tsx +30 -0
  245. package/src/stock-items/stock-item.utils.tsx +62 -0
  246. package/src/stock-items/stock-items-table.component.tsx +266 -0
  247. package/src/stock-items/stock-items-table.resource.ts +58 -0
  248. package/src/stock-items/stock-items-table.scss +66 -0
  249. package/src/stock-items/stock-items.component.tsx +12 -0
  250. package/src/stock-items/stock-items.resource.ts +365 -0
  251. package/src/stock-items/types.ts +8 -0
  252. package/src/stock-items/validationSchema.ts +67 -0
  253. package/src/stock-locations/stock-locations-table.component.tsx +69 -0
  254. package/src/stock-locations/stock-locations-table.resource.tsx +73 -0
  255. package/src/stock-locations/stock-locations-table.scss +0 -0
  256. package/src/stock-locations/stock-locations.component.tsx +12 -0
  257. package/src/stock-locations/stock-locations.resource.ts +0 -0
  258. package/src/stock-lookups/stock-lookups.resource.ts +306 -0
  259. package/src/stock-management-admin-card-link.component.tsx +29 -0
  260. package/src/stock-management-header/stock-management-Illustration.tsx +35 -0
  261. package/src/stock-management-header/stock-management-header.component.tsx +37 -0
  262. package/src/stock-management-header/stock-management-header.scss +58 -0
  263. package/src/stock-management.component.tsx +6 -0
  264. package/src/stock-operations/add-stock-operation/add-stock-operation.component.tsx +491 -0
  265. package/src/stock-operations/add-stock-operation/add-stock-operation.resource.tsx +33 -0
  266. package/src/stock-operations/add-stock-operation/add-stock-operation.scss +44 -0
  267. package/src/stock-operations/add-stock-operation/add-stock-operation.utils.tsx +241 -0
  268. package/src/stock-operations/add-stock-operation/add-stock-utils.ts +110 -0
  269. package/src/stock-operations/add-stock-operation/base-operation-details.component.tsx +352 -0
  270. package/src/stock-operations/add-stock-operation/stock-items-addition-row.component.tsx +347 -0
  271. package/src/stock-operations/add-stock-operation/stock-items-addition-row.resource.tsx +0 -0
  272. package/src/stock-operations/add-stock-operation/stock-items-addition-row.scss +0 -0
  273. package/src/stock-operations/add-stock-operation/stock-items-addition-row.test.tsx +11 -0
  274. package/src/stock-operations/add-stock-operation/stock-items-addition.component.scss +5 -0
  275. package/src/stock-operations/add-stock-operation/stock-items-addition.component.tsx +272 -0
  276. package/src/stock-operations/add-stock-operation/stock-operation-context/useStockOperationContext.tsx +22 -0
  277. package/src/stock-operations/add-stock-operation/stock-operation-submission.component.tsx +188 -0
  278. package/src/stock-operations/add-stock-operation/types.ts +55 -0
  279. package/src/stock-operations/add-stock-operation/validationSchema.ts +45 -0
  280. package/src/stock-operations/batch-no-selector/batch-no-selector.component.tsx +100 -0
  281. package/src/stock-operations/batch-no-selector/batch-no-selector.resource.tsx +46 -0
  282. package/src/stock-operations/batch-no-selector/batch-no-selector.scss +0 -0
  283. package/src/stock-operations/batch-no-selector/batch-no-selector.test.tsx +11 -0
  284. package/src/stock-operations/edit-stock-operation/edit-stock-operation-action-menu.component.tsx +73 -0
  285. package/src/stock-operations/party-selector/party-selector.component.tsx +58 -0
  286. package/src/stock-operations/qty-uom-selector/qty-uom-selector.component.tsx +65 -0
  287. package/src/stock-operations/qty-uom-selector/qty-uom-selector.resource.tsx +0 -0
  288. package/src/stock-operations/qty-uom-selector/qty-uom-selector.scss +0 -0
  289. package/src/stock-operations/qty-uom-selector/qty-uom-selector.test.tsx +11 -0
  290. package/src/stock-operations/stock-item-selector/stock-item-selector.component.tsx +74 -0
  291. package/src/stock-operations/stock-item-selector/stock-item-selector.resource.tsx +47 -0
  292. package/src/stock-operations/stock-item-selector/stock-item-selector.scss +0 -0
  293. package/src/stock-operations/stock-item-selector/stock-item-selector.test.tsx +11 -0
  294. package/src/stock-operations/stock-operation-operations-filter/stock-operation-operations-filter.component.tsx +27 -0
  295. package/src/stock-operations/stock-operation-operations-filter/stock-operation-operations-filter.scss +13 -0
  296. package/src/stock-operations/stock-operation-reason-selector/stock-operation-reason-selector.component.tsx +65 -0
  297. package/src/stock-operations/stock-operation-sources-filter/stock-operation-sources-filter.component.tsx +30 -0
  298. package/src/stock-operations/stock-operation-sources-filter/stock-operation-sources-filter.scss +13 -0
  299. package/src/stock-operations/stock-operation-statuses-filter/stock-operation-statuses-filter.component.tsx +32 -0
  300. package/src/stock-operations/stock-operation-statuses-filter/stock-operation-statuses-filter.scss +13 -0
  301. package/src/stock-operations/stock-operation-types-selector/stock-operation-types-selector.component.tsx +80 -0
  302. package/src/stock-operations/stock-operation.utils.tsx +106 -0
  303. package/src/stock-operations/stock-operations-dialog/stock-operations-approve-button.component.tsx +36 -0
  304. package/src/stock-operations/stock-operations-dialog/stock-operations-approve-dispatch-button.component.tsx +36 -0
  305. package/src/stock-operations/stock-operations-dialog/stock-operations-cancel-button.component.tsx +37 -0
  306. package/src/stock-operations/stock-operations-dialog/stock-operations-complete-button.component.tsx +36 -0
  307. package/src/stock-operations/stock-operations-dialog/stock-operations-completed-dispatch-button.component.tsx +36 -0
  308. package/src/stock-operations/stock-operations-dialog/stock-operations-dialog.component.tsx +167 -0
  309. package/src/stock-operations/stock-operations-dialog/stock-operations-dialog.scss +14 -0
  310. package/src/stock-operations/stock-operations-dialog/stock-operations-issue-stock-button.component.tsx +58 -0
  311. package/src/stock-operations/stock-operations-dialog/stock-operations-print-button.component.tsx +160 -0
  312. package/src/stock-operations/stock-operations-dialog/stock-operations-reject-button.component.tsx +37 -0
  313. package/src/stock-operations/stock-operations-dialog/stock-operations-return-button.component.tsx +37 -0
  314. package/src/stock-operations/stock-operations-table.component.tsx +524 -0
  315. package/src/stock-operations/stock-operations-table.resource.tsx +77 -0
  316. package/src/stock-operations/stock-operations-table.scss +0 -0
  317. package/src/stock-operations/stock-operations.component.tsx +12 -0
  318. package/src/stock-operations/stock-operations.resource.ts +238 -0
  319. package/src/stock-operations/stock-print-reports/GoodsReceivedNote.tsx +147 -0
  320. package/src/stock-operations/stock-print-reports/RequisitionDocument.tsx +153 -0
  321. package/src/stock-operations/stock-print-reports/StockOperationReport.tsx +133 -0
  322. package/src/stock-operations/stock-print-reports/StockTransferDocument.tsx +161 -0
  323. package/src/stock-operations/swr-revalidation.ts +7 -0
  324. package/src/stock-operations/users-selector/users-selector.component.tsx +77 -0
  325. package/src/stock-operations/users-selector/users-selector.resource.tsx +47 -0
  326. package/src/stock-operations/validation-schema.ts +195 -0
  327. package/src/stock-reports/ReportType.ts +63 -0
  328. package/src/stock-reports/stock-reports.component.tsx +0 -0
  329. package/src/stock-reports/stock-reports.resource.ts +0 -0
  330. package/src/stock-settings/stock-settings.component.tsx +11 -0
  331. package/src/stock-settings/stock-settings.resource.ts +0 -0
  332. package/src/stock-sources/add-stock-source-button.component.tsx +21 -0
  333. package/src/stock-sources/add-stock-sources/add-stock-sources.component.tsx +152 -0
  334. package/src/stock-sources/add-stock-sources/add-stock-sources.scss +18 -0
  335. package/src/stock-sources/delete-stock-modal.component.tsx +47 -0
  336. package/src/stock-sources/edit-stock-source/edit-stock-source.component.tsx +35 -0
  337. package/src/stock-sources/edit-stock-source/edit-stock-source.scss +0 -0
  338. package/src/stock-sources/stock-sources-delete/stock-sources-delate.scss +0 -0
  339. package/src/stock-sources/stock-sources-delete/stock-sources-delete.component.tsx +72 -0
  340. package/src/stock-sources/stock-sources-filter/stock-sources-filter.component.tsx +35 -0
  341. package/src/stock-sources/stock-sources-filter/stock-sources-filter.scss +13 -0
  342. package/src/stock-sources/stock-sources-items-table.component.tsx +213 -0
  343. package/src/stock-sources/stock-sources-items-table.resource.ts +56 -0
  344. package/src/stock-sources/stock-sources.component.tsx +12 -0
  345. package/src/stock-sources/stock-sources.resource.ts +80 -0
  346. package/src/stock-sources/stock-sources.scss +220 -0
  347. package/src/stock-sources/swr-revalidation.ts +7 -0
  348. package/src/stock-tabs/commodity-tabs.component.tsx +43 -0
  349. package/src/stock-tabs/commodity-tabs.scss +0 -0
  350. package/src/stock-user-role-scopes/add-stock-user-role-scope-button.component.tsx +21 -0
  351. package/src/stock-user-role-scopes/add-stock-user-scope/add-stock-user-role-scope.component.tsx +525 -0
  352. package/src/stock-user-role-scopes/add-stock-user-scope/add-stock-user-role-scope.scss +37 -0
  353. package/src/stock-user-role-scopes/delete-stock-user-scope/delete-stock-user-scope.component.tsx +73 -0
  354. package/src/stock-user-role-scopes/delete-stock-user-scope/delete-stock-user-scope.scss +0 -0
  355. package/src/stock-user-role-scopes/delete-stock-user-scope-modal.component.tsx +47 -0
  356. package/src/stock-user-role-scopes/edit-stock-user-scope/edit-stock-user-scope-action-menu.component.tsx +35 -0
  357. package/src/stock-user-role-scopes/stock-user-role-scopes-items-table.component.tsx +284 -0
  358. package/src/stock-user-role-scopes/stock-user-role-scopes-items-table.resource.ts +31 -0
  359. package/src/stock-user-role-scopes/stock-user-role-scopes.component.tsx +12 -0
  360. package/src/stock-user-role-scopes/stock-user-role-scopes.resource.ts +76 -0
  361. package/src/stock-user-role-scopes/stock-user-role-scopes.scss +61 -0
  362. package/src/stock-user-role-scopes/swr-revalidation.ts +7 -0
  363. package/src/utils.ts +10 -0
  364. package/translations/en.json +24 -0
  365. package/tsconfig.json +23 -0
  366. package/webpack.config.js +1 -0
@@ -0,0 +1,774 @@
1
+ export const PrintCss = `
2
+ /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
3
+
4
+ /* Document
5
+ ========================================================================== */
6
+
7
+ /**
8
+ * 1. Correct the line height in all browsers.
9
+ * 2. Prevent adjustments of font size after orientation changes in iOS.
10
+ */
11
+
12
+ html {
13
+ line-height: 1.15; /* 1 */
14
+ -webkit-text-size-adjust: 100%; /* 2 */
15
+ }
16
+
17
+ /* Sections
18
+ ========================================================================== */
19
+
20
+ /**
21
+ * Remove the margin in all browsers.
22
+ */
23
+
24
+ body {
25
+ margin: 0;
26
+ }
27
+
28
+ /**
29
+ * Render the main element consistently in IE.
30
+ */
31
+
32
+ main {
33
+ display: block;
34
+ }
35
+
36
+ /**
37
+ * Correct the font size and margin on h1 elements within section and
38
+ * article contexts in Chrome, Firefox, and Safari.
39
+ */
40
+
41
+ h1 {
42
+ font-size: 2em;
43
+ margin: 0.67em 0;
44
+ }
45
+
46
+ /* Grouping content
47
+ ========================================================================== */
48
+
49
+ /**
50
+ * 1. Add the correct box sizing in Firefox.
51
+ * 2. Show the overflow in Edge and IE.
52
+ */
53
+
54
+ hr {
55
+ box-sizing: content-box; /* 1 */
56
+ height: 0; /* 1 */
57
+ overflow: visible; /* 2 */
58
+ }
59
+
60
+ /**
61
+ * 1. Correct the inheritance and scaling of font size in all browsers.
62
+ * 2. Correct the odd em font sizing in all browsers.
63
+ */
64
+
65
+ pre {
66
+ font-family: monospace, monospace; /* 1 */
67
+ font-size: 1em; /* 2 */
68
+ }
69
+
70
+ /* Text-level semantics
71
+ ========================================================================== */
72
+
73
+ /**
74
+ * Remove the gray background on active links in IE 10.
75
+ */
76
+
77
+ a {
78
+ background-color: transparent;
79
+ }
80
+
81
+ /**
82
+ * 1. Remove the bottom border in Chrome 57-
83
+ * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
84
+ */
85
+
86
+ abbr[title] {
87
+ border-bottom: none; /* 1 */
88
+ text-decoration: underline; /* 2 */
89
+ text-decoration: underline dotted; /* 2 */
90
+ }
91
+
92
+ /**
93
+ * Add the correct font weight in Chrome, Edge, and Safari.
94
+ */
95
+
96
+ b,
97
+ strong {
98
+ font-weight: bold;
99
+ }
100
+
101
+ /**
102
+ * 1. Correct the inheritance and scaling of font size in all browsers.
103
+ * 2. Correct the odd em font sizing in all browsers.
104
+ */
105
+
106
+ code,
107
+ kbd,
108
+ samp {
109
+ font-family: monospace, monospace; /* 1 */
110
+ font-size: 1em; /* 2 */
111
+ }
112
+
113
+ /**
114
+ * Add the correct font size in all browsers.
115
+ */
116
+
117
+ small {
118
+ font-size: 80%;
119
+ }
120
+
121
+ /**
122
+ * Prevent sub and sup elements from affecting the line height in
123
+ * all browsers.
124
+ */
125
+
126
+ sub,
127
+ sup {
128
+ font-size: 75%;
129
+ line-height: 0;
130
+ position: relative;
131
+ vertical-align: baseline;
132
+ }
133
+
134
+ sub {
135
+ bottom: -0.25em;
136
+ }
137
+
138
+ sup {
139
+ top: -0.5em;
140
+ }
141
+
142
+ /* Embedded content
143
+ ========================================================================== */
144
+
145
+ /**
146
+ * Remove the border on images inside links in IE 10.
147
+ */
148
+
149
+ img {
150
+ border-style: none;
151
+ }
152
+
153
+ /* Forms
154
+ ========================================================================== */
155
+
156
+ /**
157
+ * 1. Change the font styles in all browsers.
158
+ * 2. Remove the margin in Firefox and Safari.
159
+ */
160
+
161
+ button,
162
+ input,
163
+ optgroup,
164
+ select,
165
+ textarea {
166
+ font-family: inherit; /* 1 */
167
+ font-size: 100%; /* 1 */
168
+ line-height: 1.15; /* 1 */
169
+ margin: 0; /* 2 */
170
+ }
171
+
172
+ /**
173
+ * Show the overflow in IE.
174
+ * 1. Show the overflow in Edge.
175
+ */
176
+
177
+ button,
178
+ input { /* 1 */
179
+ overflow: visible;
180
+ }
181
+
182
+ /**
183
+ * Remove the inheritance of text transform in Edge, Firefox, and IE.
184
+ * 1. Remove the inheritance of text transform in Firefox.
185
+ */
186
+
187
+ button,
188
+ select { /* 1 */
189
+ text-transform: none;
190
+ }
191
+
192
+ /**
193
+ * Correct the inability to style clickable types in iOS and Safari.
194
+ */
195
+
196
+ button,
197
+ [type="button"],
198
+ [type="reset"],
199
+ [type="submit"] {
200
+ -webkit-appearance: button;
201
+ }
202
+
203
+ /**
204
+ * Remove the inner border and padding in Firefox.
205
+ */
206
+
207
+ button::-moz-focus-inner,
208
+ [type="button"]::-moz-focus-inner,
209
+ [type="reset"]::-moz-focus-inner,
210
+ [type="submit"]::-moz-focus-inner {
211
+ border-style: none;
212
+ padding: 0;
213
+ }
214
+
215
+ /**
216
+ * Restore the focus styles unset by the previous rule.
217
+ */
218
+
219
+ button:-moz-focusring,
220
+ [type="button"]:-moz-focusring,
221
+ [type="reset"]:-moz-focusring,
222
+ [type="submit"]:-moz-focusring {
223
+ outline: 1px dotted ButtonText;
224
+ }
225
+
226
+ /**
227
+ * Correct the padding in Firefox.
228
+ */
229
+
230
+ fieldset {
231
+ padding: 0.35em 0.75em 0.625em;
232
+ }
233
+
234
+ /**
235
+ * 1. Correct the text wrapping in Edge and IE.
236
+ * 2. Correct the color inheritance from fieldset elements in IE.
237
+ * 3. Remove the padding so developers are not caught out when they zero out
238
+ * fieldset elements in all browsers.
239
+ */
240
+
241
+ legend {
242
+ box-sizing: border-box; /* 1 */
243
+ color: inherit; /* 2 */
244
+ display: table; /* 1 */
245
+ max-width: 100%; /* 1 */
246
+ padding: 0; /* 3 */
247
+ white-space: normal; /* 1 */
248
+ }
249
+
250
+ /**
251
+ * Add the correct vertical alignment in Chrome, Firefox, and Opera.
252
+ */
253
+
254
+ progress {
255
+ vertical-align: baseline;
256
+ }
257
+
258
+ /**
259
+ * Remove the default vertical scrollbar in IE 10+.
260
+ */
261
+
262
+ textarea {
263
+ overflow: auto;
264
+ }
265
+
266
+ /**
267
+ * 1. Add the correct box sizing in IE 10.
268
+ * 2. Remove the padding in IE 10.
269
+ */
270
+
271
+ [type="checkbox"],
272
+ [type="radio"] {
273
+ box-sizing: border-box; /* 1 */
274
+ padding: 0; /* 2 */
275
+ }
276
+
277
+ /**
278
+ * Correct the cursor style of increment and decrement buttons in Chrome.
279
+ */
280
+
281
+ [type="number"]::-webkit-inner-spin-button,
282
+ [type="number"]::-webkit-outer-spin-button {
283
+ height: auto;
284
+ }
285
+
286
+ /**
287
+ * 1. Correct the odd appearance in Chrome and Safari.
288
+ * 2. Correct the outline style in Safari.
289
+ */
290
+
291
+ [type="search"] {
292
+ -webkit-appearance: textfield; /* 1 */
293
+ outline-offset: -2px; /* 2 */
294
+ }
295
+
296
+ /**
297
+ * Remove the inner padding in Chrome and Safari on macOS.
298
+ */
299
+
300
+ [type="search"]::-webkit-search-decoration {
301
+ -webkit-appearance: none;
302
+ }
303
+
304
+ /**
305
+ * 1. Correct the inability to style clickable types in iOS and Safari.
306
+ * 2. Change font properties to inherit in Safari.
307
+ */
308
+
309
+ ::-webkit-file-upload-button {
310
+ -webkit-appearance: button; /* 1 */
311
+ font: inherit; /* 2 */
312
+ }
313
+
314
+ /* Interactive
315
+ ========================================================================== */
316
+
317
+ /*
318
+ * Add the correct display in Edge, IE 10+, and Firefox.
319
+ */
320
+
321
+ details {
322
+ display: block;
323
+ }
324
+
325
+ /*
326
+ * Add the correct display in all browsers.
327
+ */
328
+
329
+ summary {
330
+ display: list-item;
331
+ }
332
+
333
+ /* Misc
334
+ ========================================================================== */
335
+
336
+ /**
337
+ * Add the correct display in IE 10+.
338
+ */
339
+
340
+ template {
341
+ display: none;
342
+ }
343
+
344
+ /**
345
+ * Add the correct display in IE 10.
346
+ */
347
+
348
+ [hidden] {
349
+ display: none;
350
+ }
351
+ /*!
352
+ * Gutenberg
353
+ *
354
+ * MIT Fabien Sa
355
+ * https://github.com/BafS/Gutenberg
356
+ */
357
+
358
+ * {
359
+ -moz-box-sizing: border-box;
360
+ -webkit-box-sizing: border-box;
361
+ box-sizing: border-box;
362
+ }
363
+
364
+ *,
365
+ *:before,
366
+ *:after,
367
+ p:first-letter,
368
+ div:first-letter,
369
+ blockquote:first-letter,
370
+ li:first-letter,
371
+ p:first-line,
372
+ div:first-line,
373
+ blockquote:first-line,
374
+ li:first-line {
375
+ background: transparent !important;
376
+ box-shadow: none !important;
377
+ text-shadow: none !important;
378
+ }
379
+
380
+ html {
381
+ font-size: 16px;
382
+ margin: 0;
383
+ padding: 0;
384
+ }
385
+
386
+ body {
387
+ -moz-osx-font-smoothing: grayscale;
388
+ -webkit-font-smoothing: antialiased;
389
+ background: #fff !important;
390
+ color: #000 !important;
391
+ font-family: Arial, sans-serif, "Helvetica Neue", Helvetica;
392
+ font-size: 1rem;
393
+ line-height: 1.5;
394
+ margin: 0 auto;
395
+ text-rendering: optimizeLegibility;
396
+ }
397
+
398
+ p,
399
+ blockquote,
400
+ table,
401
+ ul,
402
+ ol,
403
+ dl {
404
+ margin-bottom: 1.5rem;
405
+ margin-top: 0;
406
+ }
407
+
408
+ p:last-child,
409
+ ul:last-child,
410
+ ol:last-child {
411
+ margin-bottom: 0;
412
+ }
413
+
414
+ h1,
415
+ h2,
416
+ h3,
417
+ h4,
418
+ h5,
419
+ h6 {
420
+ color: #000;
421
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
422
+ line-height: 1.2;
423
+ margin-bottom: 0.75rem;
424
+ margin-top: 0;
425
+ }
426
+
427
+ h1 {
428
+ font-size: 2.5rem;
429
+ }
430
+
431
+ h2 {
432
+ font-size: 2rem;
433
+ }
434
+
435
+ h3 {
436
+ font-size: 1.75rem;
437
+ }
438
+
439
+ h4 {
440
+ font-size: 1.5rem;
441
+ }
442
+
443
+ h5 {
444
+ font-size: 1.25rem;
445
+ }
446
+
447
+ h6 {
448
+ font-size: 1rem;
449
+ }
450
+
451
+ a,
452
+ a:visited {
453
+ color: #000;
454
+ text-decoration: underline;
455
+ word-wrap: break-word;
456
+ }
457
+
458
+ table {
459
+ border-collapse: collapse;
460
+ }
461
+
462
+ thead {
463
+ display: table-header-group;
464
+ }
465
+
466
+ table,
467
+ th,
468
+ td {
469
+ border-bottom: 1px solid #000;
470
+ }
471
+
472
+ td,
473
+ th {
474
+ padding: 0px;
475
+ page-break-inside: avoid;
476
+ }
477
+
478
+ code,
479
+ pre,
480
+ kbd {
481
+ border: 1px solid #bbb;
482
+ font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
483
+ font-size: 85%;
484
+ }
485
+
486
+ code,
487
+ kbd {
488
+ padding: 3px;
489
+ }
490
+
491
+ pre {
492
+ margin-bottom: 1.5rem;
493
+ padding: 10px 12px;
494
+ }
495
+
496
+ pre code,
497
+ pre kbd {
498
+ border: 0;
499
+ }
500
+
501
+ ::-webkit-input-placeholder {
502
+ color: transparent;
503
+ }
504
+
505
+ :-moz-placeholder {
506
+ color: transparent;
507
+ }
508
+
509
+ ::-moz-placeholder {
510
+ color: transparent;
511
+ }
512
+
513
+ :-ms-input-placeholder {
514
+ color: transparent;
515
+ }
516
+
517
+ blockquote {
518
+ border: 0;
519
+ border-left: 5px solid #bbb;
520
+ margin-left: 1px;
521
+ padding: 12px 1.5rem;
522
+ }
523
+
524
+ [dir='rtl'] blockquote {
525
+ border-left: 0;
526
+ border-right: 5px solid #bbb;
527
+ margin-left: 0;
528
+ margin-right: 1px;
529
+ }
530
+
531
+ blockquote:first-child {
532
+ margin-top: 0;
533
+ }
534
+
535
+ blockquote p:last-child,
536
+ blockquote ul:last-child,
537
+ blockquote ol:last-child {
538
+ margin-bottom: 0;
539
+ }
540
+
541
+ blockquote footer {
542
+ display: block;
543
+ font-size: 80%;
544
+ }
545
+
546
+ img {
547
+ border: 0;
548
+ display: block;
549
+ max-width: 100% !important;
550
+ vertical-align: middle;
551
+ }
552
+
553
+ hr {
554
+ border: 0;
555
+ border-bottom: 2px solid #bbb;
556
+ height: 0;
557
+ margin: 2.25rem 0;
558
+ padding: 0;
559
+ }
560
+
561
+ dt {
562
+ font-weight: bold;
563
+ }
564
+
565
+ dd {
566
+ margin: 0;
567
+ margin-bottom: 0.75rem;
568
+ }
569
+
570
+ abbr[title],
571
+ acronym[title] {
572
+ border: 0;
573
+ text-decoration: none;
574
+ }
575
+
576
+ table,
577
+ blockquote,
578
+ pre,
579
+ code,
580
+ figure,
581
+ li,
582
+ hr,
583
+ ul,
584
+ ol,
585
+ a,
586
+ tr {
587
+ page-break-inside: avoid;
588
+ }
589
+
590
+ h2,
591
+ h3,
592
+ h4,
593
+ p,
594
+ a {
595
+ orphans: 3;
596
+ widows: 3;
597
+ }
598
+
599
+ h1,
600
+ h2,
601
+ h3,
602
+ h4,
603
+ h5,
604
+ h6 {
605
+ page-break-after: avoid;
606
+ page-break-inside: avoid;
607
+ }
608
+
609
+ h1+p,
610
+ h2+p,
611
+ h3+p {
612
+ page-break-before: avoid;
613
+ }
614
+
615
+ img {
616
+ page-break-after: auto;
617
+ page-break-before: auto;
618
+ page-break-inside: avoid;
619
+ }
620
+
621
+ pre {
622
+ white-space: pre-wrap !important;
623
+ word-wrap: break-word;
624
+ }
625
+
626
+ body {
627
+ padding-bottom: 1cm;
628
+ padding-left: 1cm;
629
+ padding-right: 1cm;
630
+ padding-top: 0.5cm;
631
+ }
632
+
633
+ a[href^='http']:after,
634
+ a[href^='ftp']:after {
635
+ content: " (" attr(href) ")";
636
+ font-size: 80%;
637
+ }
638
+
639
+ a[href$='.jpg']:after,
640
+ a[href$='.jpeg']:after,
641
+ a[href$='.gif']:after,
642
+ a[href$='.png']:after {
643
+ display: none;
644
+ }
645
+
646
+ abbr[title]:after,
647
+ acronym[title]:after {
648
+ content: " (" attr(title) ")";
649
+ }
650
+
651
+ .page-break,
652
+ .break-before,
653
+ .page-break-before {
654
+ page-break-before: always;
655
+ }
656
+
657
+ .break-after,
658
+ .page-break-after {
659
+ page-break-after: always;
660
+ }
661
+
662
+ .avoid-break-inside {
663
+ page-break-inside: avoid;
664
+ }
665
+
666
+ .no-print {
667
+ display: none;
668
+ }
669
+
670
+ a.no-reformat:after {
671
+ content: '';
672
+ }
673
+
674
+ abbr[title].no-reformat:after,
675
+ acronym[title].no-reformat:after {
676
+ content: '';
677
+ }
678
+
679
+ .no-reformat abbr:after,
680
+ .no-reformat acronym:after,
681
+ .no-reformat a:after {
682
+ content: '';
683
+ }
684
+ /*Custom CSS*/
685
+ .right {
686
+ display: flex;
687
+ justify-content: flex-end;
688
+ margin-left: auto;
689
+ margin-right: 0;
690
+ }
691
+ .text {
692
+ margin-top:0in;
693
+ margin-right:0in;
694
+ margin-bottom:3.0pt;
695
+ margin-left:0in;
696
+ line-height:106%;
697
+ font-size:12.5pt;
698
+ }
699
+ .logo-row {
700
+ width: 99%;
701
+ }
702
+ .logo {
703
+ width: 120;
704
+ line-height:110%;
705
+ text-align: center;
706
+ margin-top: 4pt;
707
+ }
708
+ .logo img, .logo svg {
709
+ width: 52;
710
+ height: auto;
711
+ }
712
+ span.logo-text {
713
+ font-size:8.0pt;
714
+ display: block;
715
+ white-space:nowrap;
716
+ line-height: 110%;
717
+ margin-top: 4pt;
718
+ }
719
+ .heading, .heading-row {
720
+ margin-left:12.75pt;
721
+ clear: both;
722
+ }
723
+ .heading {
724
+ font-size:14.5pt;
725
+ line-height:102%;
726
+ }
727
+ .heading-row, .heading-row table {
728
+ font-size: 13.5pt;
729
+ }
730
+ .heading-row {
731
+ margin-top: 14pt;
732
+ }
733
+ .heading table, .heading-row table, .heading-row td {
734
+ border: 0;
735
+ }
736
+ .table-data {
737
+ border: 0;
738
+ border-collapse:collapse;
739
+ margin-left:6.95pt;
740
+ font-size:12.5pt;
741
+ width: 99%;
742
+ page-break-inside: auto;
743
+ }
744
+ .table-data td, .table-data th {
745
+ padding:0 5.75pt 0 5.15pt;
746
+ }
747
+ .table-data td, .table-data th {
748
+ border-top:none;
749
+ border-left:none;
750
+ border-right:solid black 1.0pt;
751
+ vertical-align: middle;
752
+ height: 30pt;
753
+ }
754
+ .table-data th {
755
+ border-bottom:double black 1.5pt;
756
+ }
757
+ .table-data td {
758
+ border-bottom:solid black 1.0pt;
759
+ }
760
+ .table-data th:first-child, .table-data td:first-child {
761
+ border-left:solid black 1.0pt;
762
+ }
763
+ .center {
764
+ text-align: center;
765
+ }
766
+ .left {
767
+ text-align: left;
768
+ }
769
+ .table-data tr.footer-field td {
770
+ height:32pt;
771
+ vertical-align: middle;
772
+ }
773
+ @page { size: auto; margin: 0mm; }
774
+ `;