@nixweb/nixloc-ui 1.14.0 → 1.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (820) hide show
  1. package/package.json +1 -1
  2. package/src/App.vue +296 -13
  3. package/src/assets/logo.png +0 -0
  4. package/src/assets/nfse-nacional.svg +32 -0
  5. package/src/components/modules/adm/audit-log/TimelineLog.vue +557 -0
  6. package/src/components/modules/adm/authorization/Authorization.vue +81 -0
  7. package/src/components/modules/adm/authorization/AuthorizationCreate.vue +63 -0
  8. package/src/components/modules/adm/authorization/AuthorizationRow.vue +304 -0
  9. package/src/components/modules/adm/authorization/AuthorizationTable.vue +117 -0
  10. package/src/components/modules/adm/company/Company.js +9 -0
  11. package/src/components/modules/adm/company/Company.vue +124 -0
  12. package/src/components/modules/adm/document/Document.js +41 -0
  13. package/src/components/modules/adm/document/DocumentCreateUpdate.vue +272 -0
  14. package/src/components/modules/adm/document/DocumentPreview.vue +283 -0
  15. package/src/components/modules/adm/document/Link.vue +118 -0
  16. package/src/components/modules/adm/document/PrintDetail.vue +127 -0
  17. package/src/components/modules/adm/document/PrintPreview.vue +127 -0
  18. package/src/components/modules/adm/document/SelectOptionDocument.vue +222 -0
  19. package/src/components/modules/adm/document/SendMail.vue +248 -0
  20. package/src/components/modules/adm/document/SendSignature.vue +289 -0
  21. package/src/components/modules/adm/document/TemplateDocument.vue +133 -0
  22. package/src/components/modules/adm/login/ConfirmMailMobile.vue +101 -0
  23. package/src/components/modules/adm/login/ForgotPassword.js +8 -0
  24. package/src/components/modules/adm/login/ForgotPassword.vue +144 -0
  25. package/src/components/modules/adm/login/Login.js +7 -0
  26. package/src/components/modules/adm/login/Login.vue +195 -0
  27. package/src/components/modules/adm/login/Menu.js +992 -0
  28. package/src/components/modules/adm/login/RandomImages.vue +64 -0
  29. package/src/components/modules/adm/login/RefreshUserLogged.vue +59 -0
  30. package/src/components/modules/adm/login/ResetPassword.vue +158 -0
  31. package/src/components/modules/adm/login/SendConfirmMailMobile.vue +72 -0
  32. package/src/components/modules/adm/login/SignalrUser.vue +166 -0
  33. package/src/components/modules/adm/login/__Menu.js +1000 -0
  34. package/src/components/modules/adm/notification/NotificationConfig.vue +827 -0
  35. package/src/components/modules/adm/parameter/ParameterBilling.js +9 -0
  36. package/src/components/modules/adm/parameter/ParameterBilling.vue +91 -0
  37. package/src/components/modules/adm/parameter/ParameterDangerZone.js +12 -0
  38. package/src/components/modules/adm/parameter/ParameterDangerZone.vue +159 -0
  39. package/src/components/modules/adm/parameter/ParameterOperational.js +8 -0
  40. package/src/components/modules/adm/parameter/ParameterOperational.vue +91 -0
  41. package/src/components/modules/adm/parameter/ParameterRental.js +43 -0
  42. package/src/components/modules/adm/parameter/ParameterRental.vue +226 -0
  43. package/src/components/modules/adm/parameter/ParameterStock.js +14 -0
  44. package/src/components/modules/adm/parameter/ParameterStock.vue +127 -0
  45. package/src/components/modules/adm/parameter/ParameterSystem.js +29 -0
  46. package/src/components/modules/adm/parameter/ParameterSystem.vue +118 -0
  47. package/src/components/modules/adm/plan/Nfse.vue +121 -0
  48. package/src/components/modules/adm/plan/Payment.vue +125 -0
  49. package/src/{component/signature → components/modules/adm/plan}/Warning.vue +14 -16
  50. package/src/components/modules/adm/register/Register.js +9 -0
  51. package/src/components/modules/adm/register/Register.vue +247 -0
  52. package/src/components/modules/adm/store/PurchaseHistory.vue +178 -0
  53. package/src/components/modules/adm/store/Store.vue +492 -0
  54. package/src/components/modules/adm/store/Success.vue +79 -0
  55. package/src/components/modules/adm/store/Term.vue +211 -0
  56. package/src/components/modules/adm/user/Profile.vue +131 -0
  57. package/src/components/modules/adm/user/Rules.vue +232 -0
  58. package/src/components/modules/adm/user/User.js +35 -0
  59. package/src/components/modules/adm/user/UserCreateUpdate.vue +277 -0
  60. package/src/components/modules/adm/user/UserRule.vue +78 -0
  61. package/src/components/modules/automation/AutomationBuilder.vue +54 -0
  62. package/src/components/modules/billing/billet/Billet.vue +133 -0
  63. package/src/components/modules/billing/billet/CancelBillet.vue +68 -0
  64. package/src/components/modules/billing/billet/CheckBillet.vue +122 -0
  65. package/src/components/modules/billing/billet/CreateBillet.vue +83 -0
  66. package/src/components/modules/billing/billet/PDFBillet.vue +116 -0
  67. package/src/components/modules/billing/billet/UpdateBillet.vue +78 -0
  68. package/src/components/modules/billing/billet-config/BilletConfig.js +12 -0
  69. package/src/components/modules/billing/billet-config/BilletConfigCreateUpdate.vue +91 -0
  70. package/src/components/modules/billing/generate-billing/GenerateBilling.vue +371 -0
  71. package/src/components/modules/billing/generate-billing/GenerateInvoice.vue +98 -0
  72. package/src/components/modules/billing/generate-billing/GenerateTaxDocument.vue +180 -0
  73. package/src/components/modules/billing/generate-billing/InvoiceOrTaxDocument.vue +61 -0
  74. package/src/components/modules/billing/generate-billing/ItemsRentForInvoice.vue +205 -0
  75. package/src/components/modules/billing/generate-billing/NewGenerateNfse.vue +430 -0
  76. package/src/components/modules/billing/generate-billing/SuccessBilling.vue +149 -0
  77. package/src/components/modules/billing/history-billet/HistoryBillet.vue +85 -0
  78. package/src/components/modules/billing/invoice/DropdownOptionsInvoice.vue +219 -0
  79. package/src/components/modules/billing/invoice/Invoice.js +30 -0
  80. package/src/components/modules/billing/invoice/InvoiceCreateUpdate.vue +209 -0
  81. package/src/components/modules/billing/invoice/InvoiceTotalization.vue +62 -0
  82. package/src/components/modules/billing/items-invoice/ItemsInvoice.js +20 -0
  83. package/src/components/modules/billing/items-invoice/ItemsInvoiceCreateUpdate.vue +138 -0
  84. package/src/components/modules/billing/items-invoice/ItemsInvoiceList.vue +235 -0
  85. package/src/components/modules/cashier/CashierMovementList.vue +186 -0
  86. package/src/components/modules/cashier/CloseCashier.js +9 -0
  87. package/src/components/modules/cashier/CloseCashier.vue +112 -0
  88. package/src/components/modules/cashier/OpenCashier.js +9 -0
  89. package/src/components/modules/cashier/OpenCashier.vue +154 -0
  90. package/src/components/modules/cashier/Totalization.vue +114 -0
  91. package/src/components/modules/crm/category-customer/CategoryCustomer.js +10 -0
  92. package/src/components/modules/crm/category-customer/CategoryCustomerCreateUpdate.vue +92 -0
  93. package/src/components/modules/crm/category-customer/OriginCustomer.js +10 -0
  94. package/src/components/modules/crm/category-customer/OriginCustomerCreateUpdate.vue +92 -0
  95. package/src/components/modules/dashboard/alert/Alert.vue +115 -0
  96. package/src/components/modules/dashboard/billing/PanelBillet.vue +211 -0
  97. package/src/components/modules/dashboard/billing/PanelInvoice.vue +189 -0
  98. package/src/components/modules/dashboard/config/ConfigDashboard.vue +253 -0
  99. package/src/components/modules/dashboard/favorite/Favorite.js +126 -0
  100. package/src/components/modules/dashboard/favorite/Favorite.vue +117 -0
  101. package/src/components/modules/dashboard/favorite/FavoriteCreateRemove.vue +136 -0
  102. package/src/components/modules/dashboard/favorite/_Favorite.vue +289 -0
  103. package/src/components/modules/dashboard/finance/BalanceBank.vue +124 -0
  104. package/src/components/modules/dashboard/finance/BalanceFinance.vue +186 -0
  105. package/src/components/modules/dashboard/finance/BillsToPay.vue +137 -0
  106. package/src/components/modules/dashboard/finance/BillsToReceive.vue +141 -0
  107. package/src/components/modules/dashboard/finance/FinancialCard.vue +132 -0
  108. package/src/components/modules/dashboard/finance/PanelFinance.vue +146 -0
  109. package/src/components/modules/dashboard/finance/PanelPayReceive.vue +228 -0
  110. package/src/components/modules/dashboard/finance/PaymentByStatus.vue +121 -0
  111. package/src/components/modules/dashboard/operational/DeliveryDevolution.vue +163 -0
  112. package/src/components/modules/dashboard/operational/PanelOperational.vue +230 -0
  113. package/src/components/modules/dashboard/rent/BalanceRent.vue +156 -0
  114. package/src/components/modules/dashboard/rent/PanelRent.vue +187 -0
  115. package/src/components/modules/dashboard/rent/PanelRent_old.vue +72 -0
  116. package/src/components/modules/dashboard/rent/RankingCollaborator.vue +166 -0
  117. package/src/components/modules/dashboard/rent/StatusCard.vue +134 -0
  118. package/src/components/modules/dashboard/rent/TotalRent.vue +133 -0
  119. package/src/components/modules/dashboard/rent/_BalanceRent.vue +176 -0
  120. package/src/components/modules/dashboard/rent/_RankingCollaborator.vue +173 -0
  121. package/src/components/modules/dashboard/rent/_TotalRent.vue +154 -0
  122. package/src/components/modules/dashboard/shared/SelectFilter.vue +136 -0
  123. package/src/components/modules/dashboard/signature/PanelSignature.vue +145 -0
  124. package/src/components/modules/dashboard/stock/TotalStock.vue +127 -0
  125. package/src/components/modules/dashboard/task/PanelTask.vue +122 -0
  126. package/src/components/modules/finance/bank/Bank.js +12 -0
  127. package/src/components/modules/finance/bank/BankCreateUpdate.vue +101 -0
  128. package/src/components/modules/finance/bank-account/BankAccountCreateUpdate.js +34 -0
  129. package/src/components/modules/finance/bank-account/BankAccountCreateUpdate.vue +234 -0
  130. package/src/components/modules/finance/bank-reconciliation/AddTransactionsList.vue +137 -0
  131. package/src/components/modules/finance/bank-reconciliation/BankReconciliation.js +7 -0
  132. package/src/components/modules/finance/bank-reconciliation/BankReconciliation.vue +164 -0
  133. package/src/components/modules/finance/bank-reconciliation/ImportPluggy.vue +95 -0
  134. package/src/components/modules/finance/bank-reconciliation/ItemFixedBar.vue +39 -0
  135. package/src/components/modules/finance/bank-reconciliation/ItemReconciliation.vue +125 -0
  136. package/src/components/modules/finance/bank-reconciliation/ReconciliationList.vue +185 -0
  137. package/src/components/modules/finance/bank-reconciliation/SuggestionList.vue +278 -0
  138. package/src/components/modules/finance/bank-reconciliation/TransactionsList.vue +211 -0
  139. package/src/components/modules/finance/chart-of-accounts/ChartOfAccounts.js +14 -0
  140. package/src/components/modules/finance/chart-of-accounts/ChartOfAccountsCreateUpdate.vue +108 -0
  141. package/src/components/modules/finance/chart-of-accounts/ChartOfAccountsCreateUpdateList.vue +260 -0
  142. package/src/components/modules/finance/cost-center/CostCenter.js +16 -0
  143. package/src/components/modules/finance/cost-center/CostCenterCreateUpdate.vue +128 -0
  144. package/src/components/modules/finance/cost-center/CostCenterList.vue +310 -0
  145. package/src/components/modules/finance/dre/DataCrossTable.vue +448 -0
  146. package/src/{component/report/Report.vue → components/modules/finance/dre/ReportCrossTable.vue} +52 -117
  147. package/src/components/modules/finance/new-payable-receivable/PayableReceivableConfig.vue +35 -0
  148. package/src/components/modules/finance/new-payable-receivable/PayableReceivableItem.vue +448 -0
  149. package/src/components/modules/finance/new-payable-receivable/PayableReceivableList.vue +321 -0
  150. package/src/components/modules/finance/new-payable-receivable/PayableReceivableSummary.vue +179 -0
  151. package/src/components/modules/finance/payable-receivable/PayableReceivable.js +57 -0
  152. package/src/components/modules/finance/payable-receivable/PayableReceivableCreateUpdate.vue +357 -0
  153. package/src/components/modules/finance/pluggy/PluggyConnect.vue +91 -0
  154. package/src/components/modules/finance/relationship-rent/RelationshipRentCreateUpdate.vue +127 -0
  155. package/src/components/modules/finance/relationship-rent/RelationshipRentList.vue +164 -0
  156. package/src/components/modules/finance/transfer-account/TransferAccount.js +18 -0
  157. package/src/components/modules/finance/transfer-account/TransferAccountCreateUpdate.vue +130 -0
  158. package/src/components/modules/finance/type-payment/TypePayment.js +14 -0
  159. package/src/components/modules/finance/type-payment/TypePaymentCreateUpdate.vue +125 -0
  160. package/src/components/modules/human-resources/collaborator/Collaborator.js +38 -0
  161. package/src/components/modules/human-resources/collaborator/CollaboratorCreate.vue +125 -0
  162. package/src/components/modules/human-resources/collaborator/CollaboratorCreateUpdate.vue +200 -0
  163. package/src/components/modules/human-resources/collaborator/ConsultantCreateUpdate.vue +86 -0
  164. package/src/components/modules/ia/Nixia.vue +327 -0
  165. package/src/components/modules/maintenance/items-order-service/ItemsOrderService.js +44 -0
  166. package/src/components/modules/maintenance/items-order-service/ItemsOrderServiceCreateUpdate.vue +272 -0
  167. package/src/components/modules/maintenance/items-order-service/ItemsOrderServiceItem.vue +181 -0
  168. package/src/components/modules/maintenance/items-order-service/ItemsOrderServiceList.vue +132 -0
  169. package/src/components/modules/maintenance/order-service/DropdownOptionsOs.vue +66 -0
  170. package/src/components/modules/maintenance/order-service/OrderService.js +33 -0
  171. package/src/components/modules/maintenance/order-service/OrderServiceCreateUpdate.vue +198 -0
  172. package/src/components/modules/maintenance/order-service/OrderServiceTotalization.vue +49 -0
  173. package/src/components/modules/maintenance/os-panel/OsPanel.vue +269 -0
  174. package/src/components/modules/maintenance/os-panel/OsPanelItem.vue +199 -0
  175. package/src/components/modules/maintenance/payment-os/PaymentOs.js +19 -0
  176. package/src/components/modules/maintenance/payment-os/PaymentOsCreateUpdate.vue +130 -0
  177. package/src/components/modules/maintenance/payment-os/PaymentOsList.vue +249 -0
  178. package/src/components/modules/notifications/Comunication.vue +51 -0
  179. package/src/components/modules/notifications/Emails.vue +91 -0
  180. package/src/components/modules/notifications/Messaging.vue +40 -0
  181. package/src/components/modules/operational/AddressRentList.vue +124 -0
  182. package/src/components/modules/operational/ButtonMovimentStock.vue +136 -0
  183. package/src/components/modules/operational/ItemsRentList.vue +319 -0
  184. package/src/components/modules/operational/OperationRent.vue +138 -0
  185. package/src/components/modules/operational/OsPanel.vue +534 -0
  186. package/src/components/modules/operational/ReservationPanel.vue +224 -0
  187. package/src/components/modules/operational/SearchByFilter.vue +121 -0
  188. package/src/components/modules/operational/SearchList.vue +198 -0
  189. package/src/components/modules/operational/TeamRent.vue +152 -0
  190. package/src/components/modules/operational/items-rent/ItemRentOperationalUpdate.vue +131 -0
  191. package/src/components/modules/operational/items-rent/ItemsRent.js +28 -0
  192. package/src/components/modules/operational/items-rent/ItemsRentOperationalCreate.vue +122 -0
  193. package/src/components/modules/operational/items-rent/ItemsRentOperationalList.vue +481 -0
  194. package/src/components/modules/operational/movement-bulk/Errors.vue +28 -0
  195. package/src/components/modules/operational/movement-bulk/ItemConflict.vue +95 -0
  196. package/src/components/modules/operational/movement-bulk/ItemMovementBulkOutPut.vue +185 -0
  197. package/src/components/modules/operational/movement-bulk/ItemsMovementBulk.vue +189 -0
  198. package/src/components/modules/operational/movement-bulk/ItemsPatrimony.vue +98 -0
  199. package/src/components/modules/operational/movement-bulk/ListItemGrouped.vue +92 -0
  200. package/src/components/modules/operational/movement-bulk/MovementBulk.js +23 -0
  201. package/src/components/modules/operational/movement-bulk/MovementBulkCreateUpdate.vue +138 -0
  202. package/src/components/modules/operational/movement-bulk/MovementBulkUpdate.vue +493 -0
  203. package/src/components/modules/operational/movement-bulk/OldMovementBulkUpdate.vue +591 -0
  204. package/src/components/modules/operational/movement-bulk/RentsDistribution.vue +196 -0
  205. package/src/components/modules/operational/movement-bulk/SuccessMovement.vue +62 -0
  206. package/src/components/modules/operational/rent/DropdownOptionsRentOperational.vue +201 -0
  207. package/src/components/modules/operational/rent/RentOperational.js +40 -0
  208. package/src/components/modules/operational/rent/RentOperationalCreateUpdate.vue +336 -0
  209. package/src/components/modules/pdv/rent/AddressRentList.vue +135 -0
  210. package/src/components/modules/pdv/rent/FinalizeRent.vue +147 -0
  211. package/src/components/modules/pdv/rent/ItemsRentList.vue +235 -0
  212. package/src/components/modules/pdv/rent/ItemsRentUpdate.vue +137 -0
  213. package/src/components/modules/pdv/rent/PrintPdv.vue +84 -0
  214. package/src/components/modules/pdv/rent/Rent.js +12 -0
  215. package/src/components/modules/pdv/rent/RentCreate.vue +470 -0
  216. package/src/components/modules/pdv/rent/SearchByBarcode.vue +91 -0
  217. package/src/components/modules/pdv/rent/SearchByFilter.vue +120 -0
  218. package/src/components/modules/pdv/rent/SearchList.vue +159 -0
  219. package/src/components/modules/pdv/rent/SearchManual.vue +125 -0
  220. package/src/components/modules/pdv/rent/SuccessPdvRent.vue +82 -0
  221. package/src/components/modules/planner/card/Card.js +16 -0
  222. package/src/components/modules/planner/card/CardCreate.vue +78 -0
  223. package/src/components/modules/planner/card/CardEdit.vue +177 -0
  224. package/src/components/modules/planner/card/JobCreateUpdate.vue +120 -0
  225. package/src/components/modules/planner/card/JobList.vue +209 -0
  226. package/src/components/modules/planner/card/RentLinked.vue +70 -0
  227. package/src/components/modules/planner/card/RentLinkedList.vue +216 -0
  228. package/src/components/modules/planner/card/ResponsibleUser.vue +149 -0
  229. package/src/components/modules/planner/comment/CommentListCreateEdit.vue +253 -0
  230. package/src/components/modules/planner/funnel/Funnel.js +19 -0
  231. package/src/components/modules/planner/funnel/FunnelCreateUpdate.vue +151 -0
  232. package/src/components/modules/planner/funnel/FunnelList.vue +193 -0
  233. package/src/components/modules/planner/kanban/Badge.vue +19 -0
  234. package/src/components/modules/planner/kanban/Card.vue +271 -0
  235. package/src/components/modules/planner/kanban/Kanban.vue +496 -0
  236. package/src/components/modules/planner/step/ColorStep.vue +56 -0
  237. package/src/components/modules/planner/step/SelectStep.vue +135 -0
  238. package/src/components/modules/rental/Rental.drawio +85 -0
  239. package/src/components/modules/rental/address-rent/AddressRent.js +13 -0
  240. package/src/components/modules/rental/address-rent/AddressRentCreateUpdate.vue +149 -0
  241. package/src/components/modules/rental/address-rent/AddressRentList.vue +63 -0
  242. package/src/components/modules/rental/address-rent/ImportAddress.vue +58 -0
  243. package/src/components/modules/rental/billing/InvoiceList.vue +246 -0
  244. package/src/components/modules/rental/clone-rent/CloneRent.vue +144 -0
  245. package/src/components/modules/rental/expense/Expense.js +29 -0
  246. package/src/components/modules/rental/expense/ExpenseCreateUpdate.vue +111 -0
  247. package/src/components/modules/rental/expense/ExpenseList.vue +96 -0
  248. package/src/components/modules/rental/group-rent/GroupRent.js +10 -0
  249. package/src/components/modules/rental/group-rent/GroupRentCreateUpdate.vue +97 -0
  250. package/src/components/modules/rental/items-kit-rent/ItemsKitRent.js +18 -0
  251. package/src/components/modules/rental/items-kit-rent/ItemsKitRentList.vue +154 -0
  252. package/src/components/modules/rental/items-kit-rent/ItemsKitRentUpdate.vue +119 -0
  253. package/src/components/modules/rental/items-rent/ApplyDiscount.vue +52 -0
  254. package/src/components/modules/rental/items-rent/DisableMovement.vue +54 -0
  255. package/src/components/modules/rental/items-rent/ItemRentFixedBar.vue +198 -0
  256. package/src/components/modules/rental/items-rent/ItemRentStockAvailability.vue +120 -0
  257. package/src/components/modules/rental/items-rent/ItemRentUpdate.vue +222 -0
  258. package/src/components/modules/rental/items-rent/ItemsAccessoryCreate.vue +148 -0
  259. package/src/components/modules/rental/items-rent/ItemsAccessoryList.vue +269 -0
  260. package/src/components/modules/rental/items-rent/ItemsRent.js +40 -0
  261. package/src/components/modules/rental/items-rent/ItemsRentCreate.vue +181 -0
  262. package/src/components/modules/rental/items-rent/ItemsRentList.vue +566 -0
  263. package/src/components/modules/rental/items-rent/ItemsRentStatusStock.vue +121 -0
  264. package/src/components/modules/rental/items-rent/ItemsRentalInvoice.vue +45 -0
  265. package/src/components/modules/rental/items-rent/ItemsRentalTotalization.vue +73 -0
  266. package/src/components/modules/rental/items-rent/RecalculateValue.vue +52 -0
  267. package/src/components/modules/rental/items-rent/UpdateStatusInvoicing.vue +50 -0
  268. package/src/components/modules/rental/kit-rent/KitRent.js +16 -0
  269. package/src/components/modules/rental/kit-rent/KitRentCreateUpdate.vue +146 -0
  270. package/src/components/modules/rental/maintenance/ItemsOsList.vue +172 -0
  271. package/src/components/modules/rental/moviment/MovimentList.vue +374 -0
  272. package/src/components/modules/rental/new-items-rent/ApplyDiscount.vue +131 -0
  273. package/src/components/modules/rental/new-items-rent/BadgeAvailabilityStock.vue +110 -0
  274. package/src/components/modules/rental/new-items-rent/BadgeStatusInvoice.vue +73 -0
  275. package/src/components/modules/rental/new-items-rent/BadgeStatusStock.vue +144 -0
  276. package/src/components/modules/rental/new-items-rent/BadgeTotalization.vue +224 -0
  277. package/src/components/modules/rental/new-items-rent/GroupDraggable.vue +880 -0
  278. package/src/components/modules/rental/new-items-rent/GroupSubgroupSelector.vue +758 -0
  279. package/src/components/modules/rental/new-items-rent/GroupSubgroupTransfer.vue +58 -0
  280. package/src/components/modules/rental/new-items-rent/GroupTemplateModal.vue +368 -0
  281. package/src/components/modules/rental/new-items-rent/IconTypeEquipament.vue +24 -0
  282. package/src/components/modules/rental/new-items-rent/InputSmartValue.vue +97 -0
  283. package/src/components/modules/rental/new-items-rent/ItemKitOrAccessoryList.vue +177 -0
  284. package/src/components/modules/rental/new-items-rent/ItemRentSection.vue +134 -0
  285. package/src/components/modules/rental/new-items-rent/ItemRentUpdate.vue +158 -0
  286. package/src/components/modules/rental/new-items-rent/ItemsAccessoryList.vue +13 -0
  287. package/src/components/modules/rental/new-items-rent/ItemsRent.js +51 -0
  288. package/src/components/modules/rental/new-items-rent/ItemsRentCreate.vue +367 -0
  289. package/src/components/modules/rental/new-items-rent/ItemsRentList.vue +1445 -0
  290. package/src/components/modules/rental/new-items-rent/ItemsRentRow.vue +256 -0
  291. package/src/components/modules/rental/new-items-rent/RecalculateValue.vue +54 -0
  292. package/src/components/modules/rental/new-items-rent/RemoveItem.vue +93 -0
  293. package/src/components/modules/rental/new-items-rent/SearchProductsToolbar.vue +323 -0
  294. package/src/components/modules/rental/nfse/NfseList.vue +167 -0
  295. package/src/components/modules/rental/nfse/NfseListItem.vue +195 -0
  296. package/src/components/modules/rental/payment-rent/PaymentRent.js +20 -0
  297. package/src/components/modules/rental/payment-rent/PaymentRentCreateUpdate.vue +159 -0
  298. package/src/components/modules/rental/payment-rent/PaymentRentList.vue +216 -0
  299. package/src/components/modules/rental/period-rental/GeneratePeriodRent.js +8 -0
  300. package/src/components/modules/rental/period-rental/GeneratePeriodRent.vue +171 -0
  301. package/src/components/modules/rental/period-rental/PeriodRent.js +20 -0
  302. package/src/components/modules/rental/period-rental/PeriodRentCreateUpdate.vue +191 -0
  303. package/src/components/modules/rental/period-rental/PeriodRentItem.vue +64 -0
  304. package/src/components/modules/rental/period-rental/PeriodRentList.vue +61 -0
  305. package/src/components/modules/rental/period-rental/SelectOptionPeriodRent.vue +153 -0
  306. package/src/components/modules/rental/rent/Rent.js +50 -0
  307. package/src/components/modules/rental/rent/RentAccept.vue +52 -0
  308. package/src/components/modules/rental/rent/RentArchive.vue +40 -0
  309. package/src/components/modules/rental/rent/RentCreateUpdate.vue +640 -0
  310. package/src/components/modules/rental/rent/RentProgress.vue +47 -0
  311. package/src/components/modules/rental/rent/RentReject.vue +77 -0
  312. package/src/components/modules/rental/rent/RentTotalizationRent.vue +161 -0
  313. package/src/components/modules/rental/shared/CollaboratorWithUser.vue +84 -0
  314. package/src/components/modules/rental/shared/CustomerWithCreate.vue +79 -0
  315. package/src/components/modules/rental/shared/DropdownOptionsRent.vue +360 -0
  316. package/src/components/modules/rental/shared/import-product-rent/ImportProductByRent.vue +124 -0
  317. package/src/components/modules/rental/shared/import-product-rent/ItemsImportList.vue +198 -0
  318. package/src/components/modules/rental/shared/import-product-rent/ItemsImportList_old.vue +197 -0
  319. package/src/components/modules/rental/team/Team.js +31 -0
  320. package/src/components/modules/rental/team/TeamCreateUpdate.vue +149 -0
  321. package/src/components/modules/rental/team/TeamList.vue +174 -0
  322. package/src/components/modules/rental/type-rent/TypeRent.js +10 -0
  323. package/src/components/modules/rental/type-rent/TypeRentCreateUpdate.vue +111 -0
  324. package/src/components/modules/rfid/linker-rfid/ProductRfidLinker.vue +629 -0
  325. package/src/components/modules/rfid/linker-rfid/ProductRfidLinkerList.vue +399 -0
  326. package/src/components/modules/rfid/linker-rfid/SuccessMessage.vue +74 -0
  327. package/src/components/modules/rfid/receive/ReceiveTags.vue +472 -0
  328. package/src/components/modules/shared/ParametersInfo.vue +176 -0
  329. package/src/components/modules/shared/address/Address.js +32 -0
  330. package/src/components/modules/shared/address/AddressCreateUpdate.vue +134 -0
  331. package/src/components/modules/shared/address/AddressList.vue +101 -0
  332. package/src/components/modules/shared/checklist/ChecklistCreateUpdateList.vue +210 -0
  333. package/src/components/modules/shared/contact/Contact.js +20 -0
  334. package/src/components/modules/shared/contact/ContactCreateUpdate.vue +135 -0
  335. package/src/components/modules/shared/contact/ContactList.vue +100 -0
  336. package/src/components/modules/shared/customer-supplier/CustomerSupplier.js +53 -0
  337. package/src/components/modules/shared/customer-supplier/CustomerSupplierCreate.vue +164 -0
  338. package/src/components/modules/shared/customer-supplier/CustomerSupplierCreateUpdate.vue +350 -0
  339. package/src/components/modules/shared/document-version/DocumentVersionList.vue +112 -0
  340. package/src/components/modules/shared/google-calendar/ErrorsGoogle.vue +40 -0
  341. package/src/components/modules/shared/google-calendar/GoogleCalendar.vue +294 -0
  342. package/src/components/modules/shared/google-calendar/NotificationSetting.vue +141 -0
  343. package/src/components/modules/shared/job/Job.js +33 -0
  344. package/src/components/modules/shared/job/JobCreateUpdate.vue +408 -0
  345. package/src/components/modules/shared/note/NoteListCreateEdit.vue +308 -0
  346. package/src/components/modules/shared/parameters/locacaoParameters.js +56 -0
  347. package/src/components/modules/shared/parameters/taxationParameters.js +49 -0
  348. package/src/components/modules/shared/payment-items/Payment.js +18 -0
  349. package/src/components/modules/shared/payment-items/PaymentCreate.vue +127 -0
  350. package/src/components/modules/shared/payment-items/PaymentUpdate.vue +69 -0
  351. package/src/components/modules/shared/payment-items/PaymentsList.vue +170 -0
  352. package/src/components/modules/shared/payment-items/RepeatPayment.vue +108 -0
  353. package/src/components/modules/shared/tag/Tag.js +13 -0
  354. package/src/components/modules/shared/tag/TagCreateUpdate.vue +104 -0
  355. package/src/components/modules/shared/tag/Tags.vue +369 -0
  356. package/src/components/modules/signature/send-signature/SendSingleSignature.vue +57 -0
  357. package/src/components/modules/signature/signature-config/SignatureConfig.vue +118 -0
  358. package/src/components/modules/signature/signature-file/SignatureFileList.vue +125 -0
  359. package/src/components/modules/signature/signer/SignerList.vue +150 -0
  360. package/src/components/modules/signature/signer/SignerListForMessaging.vue +116 -0
  361. package/src/components/modules/stock/accessory/Accessory.js +16 -0
  362. package/src/components/modules/stock/accessory/AccessoryList.vue +134 -0
  363. package/src/components/modules/stock/accessory/AccessoryUpdate.vue +155 -0
  364. package/src/components/modules/stock/availability-product/AvailabilityProduct.vue +196 -0
  365. package/src/components/modules/stock/category-product/CategoryProduct.js +12 -0
  366. package/src/components/modules/stock/category-product/CategoryProductCreateUpdate.vue +102 -0
  367. package/src/components/modules/stock/history-moviment/HistoryMoviment.vue +92 -0
  368. package/src/components/modules/stock/history-patrimony/HistoryPatrimony.vue +85 -0
  369. package/src/components/modules/stock/items-moviment/PatrimonyMoviment.vue +134 -0
  370. package/src/components/modules/stock/manufacturer/Manufacturer.js +10 -0
  371. package/src/components/modules/stock/manufacturer/ManufacturerCreateUpdate.vue +111 -0
  372. package/src/components/modules/stock/moviment/AddOrRemoveMaintenance.vue +294 -0
  373. package/src/components/modules/stock/moviment/ItemProductRent.vue +114 -0
  374. package/src/components/modules/stock/moviment/ItemProductSelected.vue +78 -0
  375. package/src/components/modules/stock/moviment/ItemsRentForRecalculatePrice.vue +113 -0
  376. package/src/components/modules/stock/moviment/PrintMoviment.vue +70 -0
  377. package/src/components/modules/stock/moviment/ProductAdd.vue +224 -0
  378. package/src/components/modules/stock/moviment/ProductRent.vue +248 -0
  379. package/src/components/modules/stock/moviment/ProductSelected.vue +204 -0
  380. package/src/components/modules/stock/moviment/RentAndSelected.vue +61 -0
  381. package/src/components/modules/stock/moviment/ReplacementPatrimony.vue +273 -0
  382. package/src/components/modules/stock/moviment/SuccessMoviment.vue +100 -0
  383. package/src/components/modules/stock/moviment/TotalizationItemsMoviment.vue +86 -0
  384. package/src/components/modules/stock/moviment/Warning.vue +231 -0
  385. package/src/components/modules/stock/moviment/output/CheckOutput.vue +369 -0
  386. package/src/components/modules/stock/moviment/output/GenerateOutput.vue +149 -0
  387. package/src/components/modules/stock/moviment/renewed/CheckRenewed.vue +405 -0
  388. package/src/components/modules/stock/moviment/renewed/GenerateRenewed.vue +194 -0
  389. package/src/components/modules/stock/moviment/return/CheckReturn.vue +544 -0
  390. package/src/components/modules/stock/moviment/return/GenerateReturn.vue +127 -0
  391. package/src/components/modules/stock/patrimony/Patrimony.js +22 -0
  392. package/src/components/modules/stock/patrimony/PatrimonyCreateUpdate.vue +230 -0
  393. package/src/components/modules/stock/patrimony/PatrimonyList.vue +364 -0
  394. package/src/components/modules/stock/price-table/PriceTable.js +19 -0
  395. package/src/components/modules/stock/price-table/PriceTableCreateUpdate.vue +210 -0
  396. package/src/components/modules/stock/price-table/PriceTableList.vue +92 -0
  397. package/src/components/modules/stock/product/Product.js +56 -0
  398. package/src/components/modules/stock/product/ProductCreateUpdate.vue +360 -0
  399. package/src/components/modules/stock/search-product/ProductItem.vue +398 -0
  400. package/src/components/modules/stock/search-product/SearchByBarcode.vue +163 -0
  401. package/src/components/modules/stock/search-product/SearchProduct.vue +268 -0
  402. package/src/components/modules/stock/search-product/SearchProduct_old.vue +440 -0
  403. package/src/components/modules/stock/shared/TimeLineAvailability.vue +239 -0
  404. package/src/components/modules/stock/type-product/TypeProduct.js +12 -0
  405. package/src/components/modules/stock/type-product/TypeProductCreateUpdate.vue +108 -0
  406. package/src/components/modules/stock/unit-of-measurement/UnitOfMeasurement.js +12 -0
  407. package/src/components/modules/stock/unit-of-measurement/UnitOfMeasurementCreateUpdate.vue +124 -0
  408. package/src/components/modules/supplier/items-supplier-order/ItemsSupplierOrder.js +22 -0
  409. package/src/components/modules/supplier/items-supplier-order/ItemsSupplierOrderCreate.vue +78 -0
  410. package/src/components/modules/supplier/items-supplier-order/ItemsSupplierOrderFixedBar.vue +112 -0
  411. package/src/components/modules/supplier/items-supplier-order/ItemsSupplierOrderList.vue +251 -0
  412. package/src/components/modules/supplier/items-supplier-order/ItemsSupplierOrderUpdate.vue +124 -0
  413. package/src/components/modules/supplier/payment-supplier-order/PaymentSupplierOrder.js +17 -0
  414. package/src/components/modules/supplier/payment-supplier-order/PaymentSupplierOrderCreateUpdate.vue +128 -0
  415. package/src/components/modules/supplier/payment-supplier-order/PaymentSupplierOrderList.vue +199 -0
  416. package/src/components/modules/supplier/shared/SupplierWithCreate.vue +80 -0
  417. package/src/components/modules/supplier/supplier-order/DropdownOptionsSupplierOrder.vue +190 -0
  418. package/src/components/modules/supplier/supplier-order/SupplierOrder.js +51 -0
  419. package/src/components/modules/supplier/supplier-order/SupplierOrderAccept.vue +39 -0
  420. package/src/components/modules/supplier/supplier-order/SupplierOrderArchive.vue +40 -0
  421. package/src/components/modules/supplier/supplier-order/SupplierOrderCreateUpdate.vue +301 -0
  422. package/src/components/modules/supplier/supplier-order/SupplierOrderProgress.vue +52 -0
  423. package/src/components/modules/supplier/supplier-order/SupplierOrderReject.vue +51 -0
  424. package/src/components/modules/tax-document/certificate/Certificate.vue +193 -0
  425. package/src/components/modules/tax-document/cfop/Cfop.js +12 -0
  426. package/src/components/modules/tax-document/cfop/CfopCreateUpdate.vue +96 -0
  427. package/src/components/modules/tax-document/company/CompanyTaxation.vue +270 -0
  428. package/src/components/modules/tax-document/company/ConfigCompany.vue +359 -0
  429. package/src/components/modules/tax-document/company/Imposto.vue +198 -0
  430. package/src/components/modules/tax-document/company/Logo.vue +54 -0
  431. package/src/components/modules/tax-document/items-nfe/ItemsNfe.js +19 -0
  432. package/src/components/modules/tax-document/items-nfe/ItemsNfeCreate.vue +79 -0
  433. package/src/components/modules/tax-document/items-nfe/ItemsNfeList.vue +227 -0
  434. package/src/components/modules/tax-document/items-nfe/ItemsNfeUpdate.vue +123 -0
  435. package/src/components/modules/tax-document/json/JsonInterpreter.vue +366 -0
  436. package/src/components/modules/tax-document/nature-operation/NatureOperation.js +10 -0
  437. package/src/components/modules/tax-document/nature-operation/NatureOperationCreateUpdate.vue +92 -0
  438. package/src/components/modules/tax-document/nfe/Nfe.js +30 -0
  439. package/src/components/modules/tax-document/nfe/NfeCreateUpdate.vue +237 -0
  440. package/src/components/modules/tax-document/nfe/NfeTotalization.vue +49 -0
  441. package/src/components/modules/tax-document/nfse/ConfigNfse.vue +233 -0
  442. package/src/components/modules/tax-document/nfse/LocalEvento.vue +135 -0
  443. package/src/components/modules/tax-document/nfse/Nfse.js +150 -0
  444. package/src/components/modules/tax-document/nfse/NfseCreateUpdate.vue +312 -0
  445. package/src/components/modules/tax-document/nfse/NfseCreateUpdate_Plug.vue +221 -0
  446. package/src/components/modules/tax-document/nfse/Tributacao.vue +20 -0
  447. package/src/components/modules/tax-document/nfse/TributacaoMunicipal.vue +164 -0
  448. package/src/components/modules/tax-document/nfse/TributacaoNacional.vue +86 -0
  449. package/src/components/modules/tax-document/nfse/Tributacao_Plug.vue +185 -0
  450. package/src/components/modules/tax-document/nfse-nacional/Dados.vue +205 -0
  451. package/src/components/modules/tax-document/nfse-nacional/Imposto.vue +154 -0
  452. package/src/components/modules/tax-document/nfse-nacional/NfseNacional.js +211 -0
  453. package/src/components/modules/tax-document/nfse-nacional/NfseNacionalCreateUpdate.vue +413 -0
  454. package/src/components/modules/tax-document/nfse-nacional/RegimeTributario.vue +140 -0
  455. package/src/components/modules/tax-document/nfse-nacional/Transparencia.vue +98 -0
  456. package/src/components/modules/tax-document/nfse-prefeitura/Dados.vue +212 -0
  457. package/src/components/modules/tax-document/nfse-prefeitura/Imposto.vue +212 -0
  458. package/src/components/modules/tax-document/nfse-prefeitura/NfsePrefeitura.js +187 -0
  459. package/src/components/modules/tax-document/nfse-prefeitura/NfsePrefeituraCreateUpdate.vue +232 -0
  460. package/src/components/modules/tax-document/nfse-prefeitura/RegimeTributario.vue +244 -0
  461. package/src/components/modules/tax-document/nfse-prefeitura/Transparencia.vue +85 -0
  462. package/src/components/modules/tax-document/nfse-shared/NfseDropdownOptions.vue +448 -0
  463. package/src/components/modules/tax-document/nfse-shared/NfseEmProcessamento.vue +50 -0
  464. package/src/components/modules/tax-document/nfse-shared/NfseLocalEvento.vue +184 -0
  465. package/src/components/modules/tax-document/nfse-shared/NfseMensagemErro.vue +52 -0
  466. package/src/components/modules/tax-document/nfse-shared/NfseStatus.js +27 -0
  467. package/src/components/modules/tax-document/notification/InputTagEmail.vue +89 -0
  468. package/src/components/modules/tax-document/notification/Notificacao.vue +121 -0
  469. package/src/components/modules/tax-document/shared/DropdownOptionsNfs.vue +271 -0
  470. package/src/components/modules/tax-document/shared/Helpers.js +1283 -0
  471. package/src/components/modules/tax-document/shared/OpcoesFiscaisGoverno.vue +236 -0
  472. package/src/components/modules/tax-document/shared/OpcoesTributarias.js +117 -0
  473. package/src/components/modules/tax-document/shared/classificacaoTributaria.js +288 -0
  474. package/src/components/modules/tax-document/shared/cnae.js +675 -0
  475. package/src/components/modules/tax-document/shared/codigoLC116.js +816 -0
  476. package/src/components/modules/tax-document/shared/codigoTributacaoNacional.js +1344 -0
  477. package/src/components/modules/tax-document/shared/tributacaoIBSCBS.js +76 -0
  478. package/src/components/modules/tax-document/taxation/Taxation.js +23 -0
  479. package/src/components/modules/tax-document/taxation/TaxationCreateUpdate.vue +306 -0
  480. package/src/components/modules/tax-document/taxation/TaxationCreateUpdate_Plug.vue +202 -0
  481. package/src/components/modules/tax-document/wizard/StepByStep.vue +1306 -0
  482. package/src/config/axios.js +32 -9
  483. package/src/config/dicas.js +14 -14
  484. package/src/config/router.js +352 -13
  485. package/src/config/tips.js +9 -0
  486. package/src/config/token.js +13 -14
  487. package/src/main.js +75 -23
  488. package/src/store/modules/generateMoviment.js +102 -0
  489. package/src/store/modules/paymentShared.js +39 -0
  490. package/src/store/modules/pdv.js +107 -0
  491. package/src/store/modules/rfid.js +49 -0
  492. package/src/store/store.js +23 -13
  493. package/src/views/modules/adm/Authorization.vue +45 -0
  494. package/src/views/modules/adm/BilletFranchise.vue +38 -0
  495. package/src/views/modules/adm/Company.vue +34 -0
  496. package/src/views/modules/adm/ConfirmMailMobile.vue +85 -0
  497. package/src/views/modules/adm/DocumentCreateUpdate.vue +88 -0
  498. package/src/views/modules/adm/DocumentList.vue +112 -0
  499. package/src/views/modules/adm/DocumentPreviewPublic.vue +124 -0
  500. package/src/views/modules/adm/DocumentPublic.vue +73 -0
  501. package/src/views/modules/adm/Login.vue +172 -0
  502. package/src/views/modules/adm/LoginRedirect.vue +74 -0
  503. package/src/views/modules/adm/LoginTemp.vue +63 -0
  504. package/src/views/modules/adm/NfeFranchise.vue +38 -0
  505. package/src/views/modules/adm/NfseFranchise.vue +38 -0
  506. package/src/views/modules/adm/Notification.vue +43 -0
  507. package/src/views/modules/adm/Parameter.vue +104 -0
  508. package/src/views/modules/adm/Plan.vue +77 -0
  509. package/src/views/modules/adm/Register.vue +70 -0
  510. package/src/views/modules/adm/ReportAdm.vue +35 -0
  511. package/src/views/modules/adm/ReportAudit.vue +86 -0
  512. package/src/views/modules/adm/ResetPassword.vue +73 -0
  513. package/src/views/modules/adm/SignatureFranchise.vue +38 -0
  514. package/src/views/modules/adm/Store.vue +47 -0
  515. package/src/views/modules/adm/UserCreateUpdate.vue +66 -0
  516. package/src/views/modules/adm/UserList.vue +181 -0
  517. package/src/views/modules/adm/model/ParameterExemple.js +506 -0
  518. package/src/views/modules/adm/model/ParameterLegend.js +1195 -0
  519. package/src/views/modules/billing/BilletConfigList.vue +90 -0
  520. package/src/views/modules/billing/BilletList.vue +335 -0
  521. package/src/views/modules/billing/CancelInvoice.vue +97 -0
  522. package/src/views/modules/billing/GenerateBilling.vue +41 -0
  523. package/src/views/modules/billing/InvoiceCreateUpdate.vue +45 -0
  524. package/src/views/modules/billing/InvoiceList.vue +209 -0
  525. package/src/views/modules/billing/ReportBillet.vue +35 -0
  526. package/src/views/modules/billing/ReportBilling.vue +35 -0
  527. package/src/views/modules/billing/ReportInvoice.vue +129 -0
  528. package/src/views/modules/billing/ReturnShipment.vue +250 -0
  529. package/src/views/modules/billing/Shipment.vue +141 -0
  530. package/src/views/modules/billing/ShipmentReturnList.vue +54 -0
  531. package/src/views/modules/billing/ToProfitList.vue +232 -0
  532. package/src/views/modules/billing/_ReportBillet.vue +124 -0
  533. package/src/views/modules/calendar/Calendar.vue +394 -0
  534. package/src/views/modules/cashier/CashierList.vue +192 -0
  535. package/src/views/modules/course/Course.vue +31 -0
  536. package/src/views/modules/crm/CategoryCustomer.vue +73 -0
  537. package/src/views/modules/crm/ConfigCrm.vue +65 -0
  538. package/src/views/modules/crm/CustomerCreateUpdate.vue +58 -0
  539. package/src/views/modules/crm/CustomerList.vue +138 -0
  540. package/src/views/modules/crm/ImportCustomer.vue +149 -0
  541. package/src/views/modules/crm/OriginCustomer.vue +74 -0
  542. package/src/views/modules/crm/ReportCrm.vue +35 -0
  543. package/src/views/modules/crm/ReportCustomer.vue +331 -0
  544. package/src/views/modules/dashboard/Dashboard.vue +449 -0
  545. package/src/views/modules/dashboard/DashboardProfile.js +16 -0
  546. package/src/views/modules/dashboard/_Dashboard.vue +269 -0
  547. package/src/views/modules/faturamento/AFaturar.vue +189 -0
  548. package/src/views/modules/faturamento/HistoricoAFaturar.vue +167 -0
  549. package/src/views/modules/faturamento/ListaConfigAFaturar.vue +47 -0
  550. package/src/views/modules/faturamento/Semaforo.vue +135 -0
  551. package/src/views/modules/finance/Bank.vue +85 -0
  552. package/src/views/modules/finance/BankAccountCreateUpdate.vue +58 -0
  553. package/src/views/modules/finance/BankAccountList.vue +127 -0
  554. package/src/views/modules/finance/BankReconciliation.vue +50 -0
  555. package/src/views/modules/finance/ConfigFinance.vue +72 -0
  556. package/src/views/modules/finance/CostCenter.vue +20 -0
  557. package/src/views/modules/finance/DrePayableReceivable.vue +248 -0
  558. package/src/views/modules/finance/NewPayableReceivableList.vue +239 -0
  559. package/src/views/modules/finance/PayableReceivableCreateUpdate.vue +58 -0
  560. package/src/views/modules/finance/PayableReceivableList.vue +490 -0
  561. package/src/views/modules/finance/ReportFinance.vue +46 -0
  562. package/src/views/modules/finance/ReportPayableReceivable.vue +312 -0
  563. package/src/views/modules/finance/TransferAccountList.vue +154 -0
  564. package/src/views/modules/finance/TypePayment.vue +80 -0
  565. package/src/views/modules/financeiro/CentroCusto.vue +112 -0
  566. package/src/views/modules/financeiro/PlanoConta.vue +111 -0
  567. package/src/views/modules/financeiro/TipoPagamento.vue +111 -0
  568. package/src/views/modules/human-resources/CollaboratorCreateUpdate.vue +68 -0
  569. package/src/views/modules/human-resources/CollaboratorList.vue +110 -0
  570. package/src/views/modules/locacao/InserirLocacaoPadrao.vue +54 -0
  571. package/src/views/modules/locacao/InserirLocacaoPdv.vue +104 -0
  572. package/src/views/modules/locacao/LocacaoPdvFinalizada.vue +75 -0
  573. package/src/views/modules/maintenance/OrderServiceCreateUpdate.vue +48 -0
  574. package/src/views/modules/maintenance/OrderServiceList.vue +190 -0
  575. package/src/views/modules/maintenance/OsPanel.vue +34 -0
  576. package/src/views/modules/maintenance/ReportMaintenance.vue +38 -0
  577. package/src/views/modules/maintenance/ReportOrderService.vue +124 -0
  578. package/src/views/modules/maintenance/ReportProductOrderService.vue +207 -0
  579. package/src/views/modules/manutencao/InserirEditarOrdemServico.vue +94 -0
  580. package/src/views/modules/manutencao/Material.vue +123 -0
  581. package/src/views/modules/manutencao/OrdemServico.vue +145 -0
  582. package/src/views/modules/manutencao/TipoManutencao.vue +94 -0
  583. package/src/views/modules/operational/MovementBulkList.vue +143 -0
  584. package/src/views/modules/operational/MovementBulkUpdate.vue +41 -0
  585. package/src/views/modules/operational/OperationlSearch.vue +37 -0
  586. package/src/views/modules/operational/OsPanel.vue +33 -0
  587. package/src/views/modules/operational/RentOperationalCreateUpdate.vue +38 -0
  588. package/src/views/modules/operational/RentOperationalList.vue +198 -0
  589. package/src/views/modules/operational/ReplacementPatrimony.vue +42 -0
  590. package/src/views/modules/operational/ReportDeliveryDevolution.vue +210 -0
  591. package/src/views/modules/operational/ReportOperational.vue +35 -0
  592. package/src/views/modules/operational/ReservationPanel.vue +34 -0
  593. package/src/views/modules/pdv/PdvRentCreateUpdate.vue +55 -0
  594. package/src/views/modules/pdv/PdvRentList.vue +103 -0
  595. package/src/views/modules/pdv/PdvRentSelectOption.vue +89 -0
  596. package/src/views/modules/pdv/PdvSearch.vue +41 -0
  597. package/src/views/modules/pdv/SuccessPdvRent.vue +59 -0
  598. package/src/views/modules/planner/ConfigPlanner.vue +47 -0
  599. package/src/views/modules/planner/FunnelList.vue +60 -0
  600. package/src/views/modules/planner/Kanban.vue +94 -0
  601. package/src/views/modules/planner/Tag.vue +79 -0
  602. package/src/views/modules/rental/ConfigRental.vue +67 -0
  603. package/src/views/modules/rental/GroupRent.vue +72 -0
  604. package/src/views/modules/rental/KitRent.vue +78 -0
  605. package/src/views/modules/rental/KitRentCreateUpdate.vue +58 -0
  606. package/src/views/modules/rental/RentCreateUpdate.vue +46 -0
  607. package/src/views/modules/rental/RentSelectOption.vue +53 -0
  608. package/src/views/modules/rental/RentalList.vue +394 -0
  609. package/src/views/modules/rental/ReportRentByCustomer.vue +216 -0
  610. package/src/views/modules/rental/ReportRentByPayment.vue +195 -0
  611. package/src/views/modules/rental/ReportRentByPeriodRent.vue +208 -0
  612. package/src/views/modules/rental/ReportRentByProduct.vue +240 -0
  613. package/src/views/modules/rental/ReportRentPerformance.vue +231 -0
  614. package/src/views/modules/rental/ReportRental.vue +46 -0
  615. package/src/views/modules/rental/TypeRent.vue +78 -0
  616. package/src/views/modules/rental/_RentalList.vue +285 -0
  617. package/src/views/modules/rental/___ReportRentPerformance.vue +345 -0
  618. package/src/views/modules/rfid/LinkProductTags.vue +39 -0
  619. package/src/views/modules/shared/IntegrationReturn.vue +274 -0
  620. package/src/views/modules/shared/JobList.vue +227 -0
  621. package/src/views/modules/signature/ConfigSignature.vue +43 -0
  622. package/src/views/modules/signature/SignatureList.vue +208 -0
  623. package/src/views/modules/stock/CategoryProduct.vue +78 -0
  624. package/src/views/modules/stock/ConfigStock.vue +77 -0
  625. package/src/views/modules/stock/GenerateOutput.vue +35 -0
  626. package/src/views/modules/stock/GenerateRenewed.vue +36 -0
  627. package/src/views/modules/stock/GenerateReturn.vue +35 -0
  628. package/src/views/modules/stock/ImportProduct.vue +135 -0
  629. package/src/views/modules/stock/Manufacturer.vue +73 -0
  630. package/src/views/modules/stock/ProductCreateUpdate.vue +58 -0
  631. package/src/views/modules/stock/ProductList.vue +185 -0
  632. package/src/views/modules/stock/ProductSelectOption.vue +80 -0
  633. package/src/views/modules/stock/ReportHistoryPatrimony.vue +126 -0
  634. package/src/views/modules/stock/ReportPatrimony.vue +184 -0
  635. package/src/views/modules/stock/ReportProduct.vue +358 -0
  636. package/src/views/modules/stock/ReportProductByCustomer.vue +674 -0
  637. package/src/views/modules/stock/ReportStock.vue +49 -0
  638. package/src/views/modules/stock/TypeProduct.vue +78 -0
  639. package/src/views/modules/stock/UnitOfMeasurement.vue +79 -0
  640. package/src/views/modules/supplier/SupplierCreateUpdate.vue +58 -0
  641. package/src/views/modules/supplier/SupplierList.vue +139 -0
  642. package/src/views/modules/supplier/SupplierOrderCreateUpdate.vue +46 -0
  643. package/src/views/modules/supplier/SupplierOrderList.vue +251 -0
  644. package/src/views/modules/tax-document/CancelNfse.vue +97 -0
  645. package/src/views/modules/tax-document/Cfop.vue +72 -0
  646. package/src/views/modules/tax-document/ConfigTaxDocument.vue +43 -0
  647. package/src/views/modules/tax-document/NatureOperation.vue +72 -0
  648. package/src/views/modules/tax-document/NfeCreateUpdate.vue +37 -0
  649. package/src/views/modules/tax-document/NfeList.vue +173 -0
  650. package/src/views/modules/tax-document/NfeReceivedList.vue +236 -0
  651. package/src/views/modules/tax-document/NfseList.vue +44 -0
  652. package/src/views/modules/tax-document/NfseNacionalCreateUpdate.vue +35 -0
  653. package/src/views/modules/tax-document/NfseNacionalList.vue +201 -0
  654. package/src/views/modules/tax-document/NfsePrefeituraCreateUpdate.vue +35 -0
  655. package/src/views/modules/tax-document/NfsePrefeituraList.vue +201 -0
  656. package/src/views/modules/tax-document/StepByStep.vue +45 -0
  657. package/src/views/modules/tax-document/Taxation.vue +93 -0
  658. package/src/views/modules/tax-document/TaxationCreateUpdate.vue +60 -0
  659. package/src/component/forms/Button.vue +0 -162
  660. package/src/component/forms/ButtonFilter.vue +0 -104
  661. package/src/component/forms/ButtonGroup.vue +0 -67
  662. package/src/component/forms/ButtonGroupInline.vue +0 -210
  663. package/src/component/forms/ButtonSub.vue +0 -98
  664. package/src/component/forms/ButtonToggle.vue +0 -77
  665. package/src/component/forms/CheckboxGroup.vue +0 -69
  666. package/src/component/forms/CheckboxServer.vue +0 -237
  667. package/src/component/forms/CheckboxSimple.vue +0 -59
  668. package/src/component/forms/Color.vue +0 -38
  669. package/src/component/forms/DateTime.vue +0 -170
  670. package/src/component/forms/DateYearMonth.vue +0 -193
  671. package/src/component/forms/Dropdown.vue +0 -236
  672. package/src/component/forms/EditorHtml.vue +0 -132
  673. package/src/component/forms/FileUpload.vue +0 -170
  674. package/src/component/forms/ImageUpload.vue +0 -214
  675. package/src/component/forms/IncrementDecrement.vue +0 -151
  676. package/src/component/forms/InputAddressGoogle.vue +0 -171
  677. package/src/component/forms/InputCallToAction.vue +0 -135
  678. package/src/component/forms/InputDecimal.vue +0 -166
  679. package/src/component/forms/InputDecimalDiscount.vue +0 -78
  680. package/src/component/forms/InputNumber.vue +0 -160
  681. package/src/component/forms/InputPassword.vue +0 -148
  682. package/src/component/forms/InputTag.vue +0 -125
  683. package/src/component/forms/InputText.vue +0 -174
  684. package/src/component/forms/InputTextEdit.vue +0 -69
  685. package/src/component/forms/InputWhatsApp.vue +0 -48
  686. package/src/component/forms/Modal.vue +0 -79
  687. package/src/component/forms/RadioGroup.vue +0 -84
  688. package/src/component/forms/Select.vue +0 -336
  689. package/src/component/forms/SelectStatic.vue +0 -198
  690. package/src/component/forms/SideBar.vue +0 -100
  691. package/src/component/forms/Slider.vue +0 -18
  692. package/src/component/forms/TextArea.vue +0 -140
  693. package/src/component/forms/Toggle.vue +0 -72
  694. package/src/component/layout/Account.vue +0 -131
  695. package/src/component/layout/Alert.vue +0 -88
  696. package/src/component/layout/AnimatedPhrase.vue +0 -68
  697. package/src/component/layout/Badge.vue +0 -111
  698. package/src/component/layout/BarFloating.vue +0 -68
  699. package/src/component/layout/BottomActionsBar.vue +0 -205
  700. package/src/component/layout/ColorPicker.vue +0 -175
  701. package/src/component/layout/FixedBar.vue +0 -103
  702. package/src/component/layout/Gantt.vue +0 -128
  703. package/src/component/layout/Header.vue +0 -56
  704. package/src/component/layout/HideShow.vue +0 -62
  705. package/src/component/layout/IconMolded.vue +0 -59
  706. package/src/component/layout/IconPicker.vue +0 -161
  707. package/src/component/layout/LoadingFullPage.vue +0 -27
  708. package/src/component/layout/Menu.vue +0 -287
  709. package/src/component/layout/Molded.vue +0 -30
  710. package/src/component/layout/NewAccount.vue +0 -136
  711. package/src/component/layout/NewHeader.vue +0 -60
  712. package/src/component/layout/NewIconMolded.vue +0 -71
  713. package/src/component/layout/NewMenu.vue +0 -473
  714. package/src/component/layout/Panel.vue +0 -185
  715. package/src/component/layout/Popover.vue +0 -126
  716. package/src/component/layout/ScrollBar.vue +0 -57
  717. package/src/component/layout/Tab.vue +0 -259
  718. package/src/component/layout/Tag.vue +0 -97
  719. package/src/component/layout/Tooltip.vue +0 -155
  720. package/src/component/layout/Wizard.vue +0 -211
  721. package/src/component/layout/Zoom.vue +0 -111
  722. package/src/component/rental/DisplayCalculatePeriod.vue +0 -49
  723. package/src/component/rental/DisplayPeriodRent.vue +0 -55
  724. package/src/component/rental/DisplayTotalization.vue +0 -86
  725. package/src/component/report/Fields.vue +0 -109
  726. package/src/component/report/ReportTable.vue +0 -112
  727. package/src/component/report/Totalization.vue +0 -34
  728. package/src/component/shared/CodeEditor.vue +0 -128
  729. package/src/component/shared/Collapse.vue +0 -131
  730. package/src/component/shared/Confirmation.vue +0 -74
  731. package/src/component/shared/DocumentEditor.vue +0 -99
  732. package/src/component/shared/DocumentPreview.vue +0 -105
  733. package/src/component/shared/DocumentPublic.vue +0 -33
  734. package/src/component/shared/ExportExcel.vue +0 -56
  735. package/src/component/shared/ExportPDF.vue +0 -116
  736. package/src/component/shared/FullCalendar.vue +0 -176
  737. package/src/component/shared/HeaderReport.vue +0 -47
  738. package/src/component/shared/HorizontalFilter.vue +0 -64
  739. package/src/component/shared/ListNotifications.vue +0 -70
  740. package/src/component/shared/Loading.vue +0 -107
  741. package/src/component/shared/LoadingCard.vue +0 -65
  742. package/src/component/shared/LoadingMoreButton.vue +0 -23
  743. package/src/component/shared/Messages.vue +0 -139
  744. package/src/component/shared/PDFViewer.vue +0 -24
  745. package/src/component/shared/Pagination.vue +0 -113
  746. package/src/component/shared/ParameterLegend.vue +0 -169
  747. package/src/component/shared/ProgressBar.vue +0 -25
  748. package/src/component/shared/QueryButton.vue +0 -66
  749. package/src/component/shared/Report.vue +0 -250
  750. package/src/component/shared/SaveCancel.vue +0 -99
  751. package/src/component/shared/Search.vue +0 -174
  752. package/src/component/shared/SelectOption.vue +0 -162
  753. package/src/component/shared/Table.vue +0 -232
  754. package/src/component/shared/TableButton.vue +0 -36
  755. package/src/component/shared/TableDraggable.vue +0 -117
  756. package/src/component/shared/TableImport.vue +0 -93
  757. package/src/component/shared/TableItem.vue +0 -228
  758. package/src/component/shared/TableTotalPerPage.vue +0 -114
  759. package/src/component/shared/TableTotalRecords.vue +0 -44
  760. package/src/component/shared/TableTotalization.vue +0 -47
  761. package/src/component/shared/TimeLine.vue +0 -42
  762. package/src/component/shared/Timer.vue +0 -78
  763. package/src/component/shared/Tip.vue +0 -42
  764. package/src/component/shared/Toast.vue +0 -69
  765. package/src/component/shared/ToggleTheme.vue +0 -128
  766. package/src/component/shared/TotalizationReport.vue +0 -86
  767. package/src/component/shared/VerticalFilter.vue +0 -97
  768. package/src/component/shared/actions/ActionButtons.vue +0 -53
  769. package/src/component/shared/actions/ActionErrorContent.vue +0 -103
  770. package/src/component/shared/actions/ActionFooter.vue +0 -55
  771. package/src/component/shared/actions/ActionHeader.vue +0 -110
  772. package/src/component/shared/actions/ActionItemList.vue +0 -121
  773. package/src/component/shared/actions/ActionsOptions.vue +0 -173
  774. package/src/component/shared/actions/ActionsSelected.vue +0 -211
  775. package/src/component/shared/automation/ActivitiesList.vue +0 -44
  776. package/src/component/shared/automation/AddRule.vue +0 -61
  777. package/src/component/shared/automation/AutomationBuilder.vue +0 -27
  778. package/src/component/shared/automation/DynamicComponentList.vue +0 -86
  779. package/src/component/shared/automation/SelectRule.vue +0 -98
  780. package/src/component/shared/automation/components/BillingByRent.vue +0 -98
  781. package/src/component/shared/automation/components/SendEmail.vue +0 -94
  782. package/src/component/shared/file-manager/FileManager.vue +0 -391
  783. package/src/component/shared/filter-builder/FilterBuilder.vue +0 -221
  784. package/src/component/shared/filter-builder/FilterQuery.vue +0 -95
  785. package/src/component/shared/query-builder/AddRule.vue +0 -203
  786. package/src/component/shared/query-builder/ConvertToOdata.js +0 -86
  787. package/src/component/shared/query-builder/DynamicComponent.vue +0 -161
  788. package/src/component/shared/query-builder/DynamicComponentList.vue +0 -70
  789. package/src/component/shared/query-builder/Fields.vue +0 -93
  790. package/src/component/shared/query-builder/QueryBuilder.vue +0 -69
  791. package/src/component/shared/query-builder/Rules.vue +0 -68
  792. package/src/component/shared/query-builder/SelectRule.vue +0 -97
  793. package/src/component/shared/query-builder/Tags.vue +0 -59
  794. package/src/component/shared/query-builder/utilities.js +0 -22
  795. package/src/component/signature/Payment.vue +0 -161
  796. package/src/component/template/ListViewWithDataHandler.vue +0 -434
  797. package/src/component/template/ReportCreateUpdate.vue +0 -110
  798. package/src/component/template/ViewTemplateConfiguration.vue +0 -63
  799. package/src/component/template/ViewTemplateDocumentView.vue +0 -213
  800. package/src/component/template/ViewTemplateImportFile.vue +0 -347
  801. package/src/component/template/ViewTemplateReportList.vue +0 -240
  802. package/src/component/template/ViewTemplateReportPreview.vue +0 -432
  803. package/src/component/template/ViewTemplateSelectOption.vue +0 -46
  804. package/src/component/template/ViewTemplateWithSalveCancel.vue +0 -32
  805. package/src/component/template/ViewTemplateWithTable.vue +0 -66
  806. package/src/component/template/model/Report.js +0 -6
  807. package/src/component/training/Course.vue +0 -344
  808. package/src/component/training/CourseView.vue +0 -199
  809. package/src/component/value-objects/Address.js +0 -11
  810. package/src/component/value-objects/Address.vue +0 -173
  811. package/src/component/value-objects/Contact.js +0 -7
  812. package/src/component/value-objects/Contact.vue +0 -106
  813. package/src/component/value-objects/Person.js +0 -10
  814. package/src/component/value-objects/Person.vue +0 -130
  815. package/src/store/modules/automation.js +0 -31
  816. package/src/store/modules/generic.js +0 -897
  817. package/src/store/modules/report.js +0 -278
  818. package/src/store/modules/user.js +0 -70
  819. package/src/store/modules/util.js +0 -26
  820. package/src/store/modules/validation.js +0 -39
@@ -0,0 +1,1306 @@
1
+ <template>
2
+ <div>
3
+ <div class="content">
4
+ <Molded v-if="!success">
5
+ <Wizard
6
+ :totalSteps="5"
7
+ :formName="[
8
+ 'configuracao.1',
9
+ 'configuracao.2',
10
+ 'configuracao.3',
11
+ 'configuracao.4',
12
+ 'configuracao.5',
13
+ ]"
14
+ :showSteps="false"
15
+ >
16
+ <div slot="1">
17
+ <b-row>
18
+ <b-col sm="1">
19
+ <div class="step side-by-side"><span>1</span></div>
20
+ </b-col>
21
+ <b-col sm="10">
22
+ <div class="title side-by-side">
23
+ Qual <b>ambiente</b> de emissão será utilizado?
24
+ </div>
25
+ </b-col>
26
+ </b-row>
27
+ <b-row>
28
+ <b-col sm="10">
29
+ <br />
30
+ <br />
31
+ <small class="title-small">Essa informação nos ajuda a identificar se sua empresa já
32
+ está habilitada para emissão de notas fiscais.
33
+ Escolha se a emissão será realizada pelo Ambiente Nacional (padrão do Governo
34
+ Federal) ou diretamente pela Prefeitura do Município
35
+ </small>
36
+ <br />
37
+ <br />
38
+ <RadioGroup
39
+ :formName="formName"
40
+ :required="false"
41
+ field="group"
42
+ :options="[
43
+ { text: 'Nacional', value: 'Nacional' },
44
+ { text: 'Prefeitura', value: 'Prefeitura' },
45
+ ]"
46
+ v-model="configuracao.comum.ambiente"
47
+ />
48
+ </b-col>
49
+ </b-row>
50
+ <b-row v-if="configuracao.comum.ambiente == 'Prefeitura'">
51
+ <b-col sm="2">
52
+ <InputText
53
+ :formName="formName"
54
+ :required="false"
55
+ field="Próximo RPS"
56
+ title="Próximo RPS"
57
+ v-model="configuracao.comum.proximoRps"
58
+ />
59
+ </b-col>
60
+ </b-row>
61
+ </div>
62
+ <div slot="2">
63
+ <b-row>
64
+ <b-col sm="1">
65
+ <div class="step side-by-side"><span>2</span></div>
66
+ </b-col>
67
+ <b-col sm="10">
68
+ <div class="title side-by-side">
69
+ Sua empresa já está autorizada para emitir <b>Notas Fiscais?</b>
70
+ </div>
71
+ </b-col>
72
+ </b-row>
73
+ <br />
74
+ <small class="title-small">Essa informação nos ajuda a entender se sua empresa já possui
75
+ cadastro e autorização
76
+ ativa na Prefeitura/SEFAZ para emissão de notas, ou se ainda será necessário realizar a
77
+ habilitação antes de configurar o sistema
78
+ </small>
79
+ <br />
80
+ <br />
81
+ <RadioGroup
82
+ :formName="formName"
83
+ :required="false"
84
+ field="group"
85
+ stacked="true"
86
+ :options="[
87
+ { text: 'Sim, estamos autorizados', value: 'Sim, estamos autorizados' },
88
+ { text: 'Não, ainda não estamos autorizados', value: 'Não, ainda não estamos autorizados' },
89
+ { text: 'Não tenho certeza', value: 'Não tenho certeza' },
90
+ ]"
91
+ v-model="configuracao.comum.habilitada"
92
+ />
93
+
94
+ </div>
95
+ <div slot="3">
96
+ <b-row>
97
+ <b-col sm="1">
98
+ <div class="step side-by-side"><span>3</span></div>
99
+ </b-col>
100
+ <b-col sm="10">
101
+ <div class="title side-by-side">
102
+ Informe o <b>Regime Tributário</b>
103
+ </div>
104
+ </b-col>
105
+ </b-row>
106
+ <br />
107
+ <div>
108
+ <Molded>
109
+ <b-row>
110
+ <b-col sm="2">
111
+ <RadioGroup
112
+ :formName="formName"
113
+ :required="false"
114
+ field="group"
115
+ title="Simples Nacional"
116
+ :options="[
117
+ { text: 'Sim', value: true },
118
+ { text: 'Não', value: false },
119
+ ]"
120
+ v-model="configuracao.prefeitura.optanteSimplesNacional"
121
+ />
122
+ </b-col>
123
+ <b-col sm="4">
124
+ <SelectStatic
125
+ :initialValue="configuracao.prefeitura.regimeTributario"
126
+ title="Regime Tributário"
127
+ :required="false"
128
+ :data="optionsRegimeTributario"
129
+ v-model="configuracao.prefeitura.regimeTributario"
130
+ />
131
+ </b-col>
132
+ <b-col sm="4">
133
+ <SelectStatic
134
+ :initialValue="configuracao.prefeitura.regimeTributarioEspecial"
135
+ title="Regime Tributário Especial"
136
+ :required="false"
137
+ :data="optionsRegimeTributarioEspecial"
138
+ v-model="configuracao.prefeitura.regimeTributarioEspecial"
139
+ />
140
+ </b-col>
141
+ <b-col sm="2">
142
+ <RadioGroup
143
+ :formName="formName"
144
+ :required="false"
145
+ field="group"
146
+ title="Incentivador Cultural"
147
+ :options="[
148
+ { text: 'Sim', value: true },
149
+ { text: 'Não', value: false },
150
+ ]"
151
+ v-model="configuracao.prefeitura.incentivadorCultural"
152
+ />
153
+ </b-col>
154
+ </b-row>
155
+ </Molded>
156
+ </div>
157
+ <br>
158
+ <div v-if="configuracao.comum.ambiente == 'Nacional'">
159
+ <b-row>
160
+ <b-col
161
+ sm="6"
162
+ v-if="ehSimplesNacional"
163
+ >
164
+ <SelectStatic
165
+ :initialValue="configuracao.nacional.codigoOpcaoSimplesNacional"
166
+ title="Situação perante Simples Nacional"
167
+ :required="false"
168
+ :data="[
169
+ { content: 'Não Optante', id: 'Não Optante' },
170
+ { content: 'Optante - Microempreendedor Individual (MEI)', id: 'Optante - Microempreendedor Individual (MEI)' },
171
+ { content: 'Optante - Microempresa ou Empresa de Pequeno Porte (ME/EPP)', id: 'Optante - Microempresa ou Empresa de Pequeno Porte (ME/EPP)' },
172
+ ]"
173
+ v-model="configuracao.nacional.codigoOpcaoSimplesNacional"
174
+ />
175
+ </b-col>
176
+ <b-col :sm="!ehSimplesNacional ? '12' : '6'">
177
+ <SelectStatic
178
+ :initialValue="configuracao.nacional.tipoTributacao"
179
+ title="Tipo de Tributação ISS"
180
+ :formName="formName"
181
+ :required="false"
182
+ :data="[
183
+ { content: 'Tributação no Município', id: 'Tributação no Município' },
184
+ { content: 'Tributação fora do Município', id: 'Tributação fora do Município' },
185
+ { content: 'Isenção', id: 'Isenção' },
186
+ { content: 'Imune', id: 'Imune' },
187
+ { content: 'Exigibilidade Suspensa por Decisão Judicial', id: 'Exigibilidade Suspensa por Decisão Judicial' },
188
+ { content: 'Exigibilidade Suspensa por Procedimento Administrativo', id: 'Exigibilidade Suspensa por Procedimento Administrativo' },
189
+ ]"
190
+ v-model="configuracao.nacional.tipoTributacao"
191
+ />
192
+ </b-col>
193
+ </b-row>
194
+ <b-row>
195
+ <b-col
196
+ sm="6"
197
+ v-if="ehSimplesNacional"
198
+ >
199
+ <SelectStatic
200
+ :initialValue="configuracao.nacional.regimeApuracaoTributariaSimplesNacional"
201
+ title="Regime de Apuração Tributária pelo Simples Nacional"
202
+ :required="false"
203
+ :data="[
204
+ { content: 'Federais e municipal pelo SN', id: 'Federais e municipal pelo SN' },
205
+ { content: 'Federais pelo SN e ISSQN pela NFS-e municipal', id: 'Federais pelo SN e ISSQN pela NFS-e municipal' },
206
+ { content: 'Federais e municipal pela NFS-e', id: 'Federais e municipal pela NFS-e' },
207
+ ]"
208
+ v-model="configuracao.nacional.regimeApuracaoTributariaSimplesNacional"
209
+ />
210
+ </b-col>
211
+ <b-col :sm="!ehSimplesNacional ? '12' : '6'">
212
+ <SelectStatic
213
+ :initialValue="configuracao.nacional.regimeEspecialTributacaoMunicipal"
214
+ title="Regime Especial de Tributação Municipal"
215
+ :required="false"
216
+ :data="[
217
+ { content: 'Nenhum', id: 'Nenhum' },
218
+ { content: 'Ato Cooperado', id: 'Ato Cooperado' },
219
+ { content: 'Estimativa', id: 'Estimativa' },
220
+ { content: 'Microempresa Municipal', id: 'Microempresa Municipal' },
221
+ { content: 'Notário ou Registrador', id: 'Notário ou Registrador' },
222
+ { content: 'Profissional Autônomo', id: 'Profissional Autônomo' },
223
+ { content: 'Sociedade de Profissionais', id: 'Sociedade de Profissionais' },
224
+ ]"
225
+ v-model="configuracao.nacional.regimeEspecialTributacaoMunicipal"
226
+ />
227
+ </b-col>
228
+ </b-row>
229
+
230
+ <b-row v-if="!ehSimplesNacional">
231
+ <b-col sm="12">
232
+ <SelectStatic
233
+ :initialValue="configuracao.nacional.situacaoTributariaPisCofins"
234
+ title=" Situação Tributária do PIS/COFINS"
235
+ :formName="formName"
236
+ :required="false"
237
+ :data="[
238
+ { content: 'Operação Tributável com Alíquota Básica', id: 'Operação Tributável com Alíquota Básica' },
239
+ { content: 'Operação Tributável com Alíquota Diferenciada', id: 'Operação Tributável com Alíquota Diferenciada' },
240
+ { content: 'Operação Tributável com Alíquota por Unidade de Medida de Produto', id: 'Operação Tributável com Alíquota por Unidade de Medida de Produto' },
241
+ { content: 'Operação Tributável monofásica - Revenda a Alíquota Zero', id: 'Operação Tributável monofásica - Revenda a Alíquota Zero' },
242
+ { content: 'Operação Tributável por Substituição Tributária', id: 'Operação Tributável por Substituição Tributária' },
243
+ { content: 'Operação Tributável a Alíquota Zero', id: 'Operação Tributável a Alíquota Zero' },
244
+ { content: 'Operação Tributável da Contribuição', id: 'Operação Tributável da Contribuição' },
245
+ { content: 'Operação sem Incidência da Contribuição', id: 'Operação sem Incidência da Contribuição' },
246
+ { content: 'Operação com Suspensão da Contribuição', id: 'Operação com Suspensão da Contribuição' },
247
+ ]"
248
+ v-model="configuracao.nacional.situacaoTributariaPisCofins"
249
+ />
250
+ </b-col>
251
+ </b-row>
252
+ </div>
253
+ <div v-if="configuracao.comum.ambiente == 'Prefeitura'">
254
+ <SelectStatic
255
+ :initialValue="configuracao.prefeitura.naturezaOperacao"
256
+ title="Natureza da Operação"
257
+ :formName="formName"
258
+ :required="false"
259
+ :data="[
260
+ { content: 'Tributação no Município', id: 'Tributação no Município' },
261
+ { content: 'Tributação fora do Município', id: 'Tributação fora do Município' },
262
+ { content: 'Isenção', id: 'Isenção' },
263
+ { content: 'Imune', id: 'Imune' },
264
+ { content: 'Exigibilidade Suspensa por Decisão Judicial', id: 'Exigibilidade Suspensa por Decisão Judicial' },
265
+ { content: 'Exigibilidade Suspensa por Procedimento Administrativo', id: 'Exigibilidade Suspensa por Procedimento Administrativo' },
266
+ ]"
267
+ v-model="configuracao.prefeitura.naturezaOperacao"
268
+ />
269
+ </div>
270
+ <b-row>
271
+ <b-col sm="2">
272
+ <InputNumber
273
+ title="Alíquota ISS %"
274
+ field="aliquota"
275
+ type="float"
276
+ :formName="formName"
277
+ :required="false"
278
+ :maxLength="9"
279
+ v-model="configuracao.comum.iss"
280
+ />
281
+ </b-col>
282
+ <b-col
283
+ sm="2"
284
+ v-if="!ehSimplesNacional"
285
+ >
286
+ <InputNumber
287
+ title="Alíquota PIS %"
288
+ field="aliquota"
289
+ type="float"
290
+ :formName="formName"
291
+ :required="false"
292
+ :maxLength="9"
293
+ v-model="configuracao.comum.pis"
294
+ />
295
+ </b-col>
296
+ <b-col
297
+ sm="2"
298
+ v-if="!ehSimplesNacional"
299
+ >
300
+ <InputNumber
301
+ title="Alíquota COFINS %"
302
+ field="aliquota"
303
+ type="float"
304
+ :formName="formName"
305
+ :required="false"
306
+ :maxLength="9"
307
+ v-model="configuracao.comum.cofins"
308
+ />
309
+ </b-col>
310
+ <b-col
311
+ sm="2"
312
+ v-if="!ehSimplesNacional"
313
+ >
314
+ <InputNumber
315
+ title="Alíquota CSLL %"
316
+ field="aliquota"
317
+ type="float"
318
+ :formName="formName"
319
+ :required="false"
320
+ :maxLength="9"
321
+ v-model="configuracao.comum.csll"
322
+ />
323
+ </b-col>
324
+ <b-col
325
+ sm="2"
326
+ v-if="!ehSimplesNacional"
327
+ >
328
+ <InputNumber
329
+ title="Alíquota INSS %"
330
+ field="aliquota"
331
+ type="float"
332
+ :formName="formName"
333
+ :required="false"
334
+ :maxLength="9"
335
+ v-model="configuracao.comum.inss"
336
+ />
337
+ </b-col>
338
+ <b-col
339
+ sm="2"
340
+ v-if="!ehSimplesNacional"
341
+ >
342
+ <InputNumber
343
+ title="Alíquota IR %"
344
+ field="aliquota"
345
+ type="float"
346
+ :formName="formName"
347
+ :required="false"
348
+ :maxLength="9"
349
+ v-model="configuracao.comum.ir"
350
+ />
351
+ </b-col>
352
+ </b-row>
353
+ <b-row>
354
+ <b-col sm="2">
355
+ <InputNumber
356
+ title="IBS %"
357
+ field="aliquota"
358
+ type="float"
359
+ :formName="formName"
360
+ :required="false"
361
+ :maxLength="9"
362
+ v-model="configuracao.comum.ibs"
363
+ />
364
+ </b-col>
365
+ <b-col sm="2">
366
+ <InputNumber
367
+ title="CBS %"
368
+ field="aliquota"
369
+ type="float"
370
+ :formName="formName"
371
+ :required="false"
372
+ :maxLength="9"
373
+ v-model="configuracao.comum.cbs"
374
+ />
375
+ </b-col>
376
+ </b-row>
377
+ <div>
378
+ <b-row>
379
+ <b-col
380
+ xs="12"
381
+ sm="12"
382
+ md="12"
383
+ lg="2"
384
+ xl="2"
385
+ >
386
+ <InputNumber
387
+ :required="false"
388
+ type="float"
389
+ title="Federais %"
390
+ field="percentualTotalTributosFederais"
391
+ :maxLength="9"
392
+ v-model="configuracao.nacional.percentualTotalTributosFederais"
393
+ />
394
+ </b-col>
395
+ <b-col
396
+ xs="12"
397
+ sm="12"
398
+ md="12"
399
+ lg="2"
400
+ xl="2"
401
+ >
402
+ <InputNumber
403
+ :required="false"
404
+ type="float"
405
+ title="Estaduais %"
406
+ field="percentualTotalTributosEstaduais"
407
+ :maxLength="9"
408
+ v-model="configuracao.nacional.percentualTotalTributosEstaduais"
409
+ />
410
+ </b-col>
411
+ <b-col
412
+ xs="12"
413
+ sm="12"
414
+ md="12"
415
+ lg="2"
416
+ xl="2"
417
+ >
418
+ <InputNumber
419
+ :required="false"
420
+ type="float"
421
+ title="Municipais %"
422
+ field="percentualTotalTributosMunicipais"
423
+ :maxLength="9"
424
+ v-model="configuracao.nacional.percentualTotalTributosMunicipais"
425
+ />
426
+ </b-col>
427
+ </b-row>
428
+ </div>
429
+ </div>
430
+ <div slot="4">
431
+ <b-row>
432
+ <b-col sm="1">
433
+ <div class="step side-by-side"><span>4</span></div>
434
+ </b-col>
435
+ <b-col sm="10">
436
+ <div class="title side-by-side"><b>Autenticação</b></div>
437
+ </b-col>
438
+ </b-row>
439
+ <br />
440
+ <br />
441
+ <RadioGroup
442
+ v-if="configuracao.comum.ambiente == 'Prefeitura'"
443
+ :formName="formName"
444
+ :required="false"
445
+ field="group"
446
+ :options="[
447
+ { text: 'Certificado Digital', value: 'Certificado Digital' },
448
+ { text: 'Login e Senha', value: 'Login e Senha' },
449
+ ]"
450
+ v-model="configuracao.comum.autenticacao"
451
+ />
452
+ <br />
453
+ <Certificate v-if="configuracao.comum.autenticacao == 'Certificado Digital'" />
454
+ <div v-else>
455
+ <InputText
456
+ :formName="formName"
457
+ field="Login Prefeitura"
458
+ title="Login Prefeitura"
459
+ v-model="configuracao.comum.loginPrefeitura"
460
+ />
461
+ <InputPassword
462
+ :formName="formName"
463
+ field="Senha Prefeitura"
464
+ title="Senha Prefeitura"
465
+ v-model="configuracao.comum.senhaPrefeitura"
466
+ />
467
+ </div>
468
+ <br />
469
+ <br />
470
+ </div>
471
+ <div slot="5">
472
+ <b-row>
473
+ <b-col sm="1">
474
+ <div class="step side-by-side"><span>5</span></div>
475
+ </b-col>
476
+ <b-col sm="10">
477
+ <div class="title side-by-side">
478
+ Informe os dados do <b>serviço</b>
479
+ </div>
480
+ </b-col>
481
+ </b-row>
482
+ <br />
483
+ <small class="title-small">Após a configuração inicial, você poderá adicionar novos serviços
484
+ sempre que
485
+ precisar</small>
486
+ <br />
487
+ <br />
488
+ <div v-if="configuracao.comum.ambiente == 'Prefeitura'">
489
+ <b-row>
490
+ <b-col sm="4">
491
+ <b-row>
492
+ <b-col sm="10">
493
+ <InputText
494
+ :required="false"
495
+ :formName="formName"
496
+ field="codigoLC116"
497
+ title="Código LC 116"
498
+ v-model="configuracao.prefeitura.servico.codigoLC116"
499
+ />
500
+ </b-col>
501
+ <div class="step-by-step-opcoes">
502
+ <OpcoesFiscaisGoverno
503
+ modalTitle="Código LC 116"
504
+ :options="optionsCodigoLC116"
505
+ buttonTitle="Ver opções"
506
+ v-model="configuracao.prefeitura.servico.codigoLC116"
507
+ />
508
+ </div>
509
+ </b-row>
510
+ </b-col>
511
+ <b-col sm="4">
512
+ <b-row>
513
+ <b-col sm="10">
514
+ <InputText
515
+ :required="false"
516
+ :formName="formName"
517
+ field="cnae"
518
+ title="CNAE"
519
+ v-model="configuracao.prefeitura.servico.cnae"
520
+ />
521
+ </b-col>
522
+ <div class="step-by-step-opcoes">
523
+ <OpcoesFiscaisGoverno
524
+ modalTitle="CNAE"
525
+ :options="optionsCnae"
526
+ buttonTitle="Ver opções"
527
+ v-model="configuracao.prefeitura.servico.cnae"
528
+ />
529
+ </div>
530
+ </b-row>
531
+ </b-col>
532
+ <b-col sm="4">
533
+ <b-row>
534
+ <b-col sm="10">
535
+ <InputText
536
+ :required="false"
537
+ :formName="formName"
538
+ field="nbs"
539
+ title="NBS (Nomenclatura Brasileira de Serviços)"
540
+ v-model="configuracao.prefeitura.servico.nbs"
541
+ />
542
+ </b-col>
543
+ <div class="step-by-step-opcoes">
544
+ <OpcoesFiscaisGoverno
545
+ modalTitle="NBS (Nomenclatura Brasileira de Serviços)"
546
+ :options="optionsNbs"
547
+ buttonTitle="Ver códigos NBS"
548
+ v-model="configuracao.prefeitura.servico.nbs"
549
+ />
550
+ </div>
551
+ </b-row>
552
+ </b-col>
553
+ </b-row>
554
+ <b-row>
555
+ <b-col sm="4">
556
+ <InputText
557
+ :required="false"
558
+ :formName="formName"
559
+ field="Aliquota do ISSQN"
560
+ title="Aliquota do ISSQN"
561
+ v-model="configuracao.prefeitura.servico.aliquotaISSQN"
562
+ />
563
+ </b-col>
564
+ <b-col sm="8">
565
+ <InputText
566
+ :required="false"
567
+ :formName="formName"
568
+ field="Discriminação"
569
+ title="Discriminação"
570
+ v-model="configuracao.prefeitura.servico.discriminacao"
571
+ />
572
+ </b-col>
573
+ </b-row>
574
+
575
+ <b-row>
576
+ <b-col sm="4">
577
+ <b-row>
578
+ <b-col sm="10">
579
+ <InputText
580
+ :required="false"
581
+ :formName="formName"
582
+ field="codigoIndicadorOperacao"
583
+ title="Código Indicador Operação"
584
+ v-model="configuracao.prefeitura.servico.codigoIndicadorOperacao"
585
+ />
586
+ </b-col>
587
+ <div class="step-by-step-opcoes">
588
+ <OpcoesFiscaisGoverno
589
+ modalTitle="Código Indicador Operação"
590
+ :options="optionsCodigoIndicadorOperacao"
591
+ buttonTitle="Ver opções"
592
+ v-model="configuracao.prefeitura.servico.codigoIndicadorOperacao"
593
+ />
594
+ </div>
595
+ </b-row>
596
+ </b-col>
597
+ <b-col sm="4">
598
+ <b-row>
599
+ <b-col sm="10">
600
+ <InputText
601
+ :required="false"
602
+ :formName="formName"
603
+ field="ibsCbsSituacaoTributaria"
604
+ title="IBS/CBS Situação Tributária"
605
+ v-model="configuracao.prefeitura.servico.ibsCbsSituacaoTributaria"
606
+ />
607
+ </b-col>
608
+ <div class="step-by-step-opcoes">
609
+ <OpcoesFiscaisGoverno
610
+ modalTitle="IBS/CBS Situação Tributária"
611
+ :options="optionsTributacaoIBSCBS"
612
+ buttonTitle="Ver opções"
613
+ v-model="configuracao.prefeitura.servico.ibsCbsSituacaoTributaria"
614
+ />
615
+ </div>
616
+ </b-row>
617
+ </b-col>
618
+ <b-col sm="4">
619
+ <b-row>
620
+ <b-col sm="10">
621
+ <InputText
622
+ :required="false"
623
+ :formName="formName"
624
+ field="ibsCbsClassificacaoTributaria"
625
+ title="IBS/CBS Classificação Tributária"
626
+ v-model="configuracao.prefeitura.servico.ibsCbsClassificacaoTributaria"
627
+ />
628
+ </b-col>
629
+ <div class="step-by-step-opcoes">
630
+ <OpcoesFiscaisGoverno
631
+ modalTitle="IBS/CBS Classificação Tributária"
632
+ :options="optionsClassificacaoTributaria"
633
+ buttonTitle="Ver opções"
634
+ v-model="configuracao.prefeitura.servico.ibsCbsClassificacaoTributaria"
635
+ />
636
+ </div>
637
+ </b-row>
638
+ </b-col>
639
+ </b-row>
640
+ <b-row>
641
+ <b-col sm="12">
642
+ <small class="step-by-step-title-small">
643
+ Para maiores informações sobre os campos de IBS/CBS, consulte a classificação
644
+ oficial em
645
+ <a
646
+ href="https://dfe-portal.svrs.rs.gov.br/DFE/ClassificacaoTributaria"
647
+ target="_blank"
648
+ rel="noopener noreferrer"
649
+ >
650
+ <b>Classificação Tributária</b>
651
+ </a>
652
+ e realize a verificação.
653
+ </small>
654
+ </b-col>
655
+ </b-row>
656
+
657
+ </div>
658
+ <div v-else>
659
+ <b-row>
660
+ <b-col sm="4">
661
+ <b-row>
662
+ <b-col sm="10">
663
+ <InputText
664
+ :required="false"
665
+ :formName="formName"
666
+ field="codigoTributacaoNacional"
667
+ title="Código de Tributação Nacional"
668
+ v-model="configuracao.nacional.servico.codigoTributacaoNacional"
669
+ />
670
+ </b-col>
671
+ <div class="step-by-step-opcoes">
672
+ <OpcoesFiscaisGoverno
673
+ modalTitle="Código de Tributação Nacional"
674
+ :options="optionsCodigoTributacaoNacional"
675
+ buttonTitle="Ver opções"
676
+ v-model="configuracao.nacional.servico.codigoTributacaoNacional"
677
+ />
678
+ </div>
679
+ </b-row>
680
+ </b-col>
681
+ <b-col sm="4">
682
+ <InputText
683
+ :required="false"
684
+ :formName="formName"
685
+ field="codigoTributacaoMunicipal"
686
+ title="Código de Tributação Municipal"
687
+ v-model="configuracao.nacional.servico.codigoTributacaoMunicipal"
688
+ />
689
+ </b-col>
690
+ <b-col sm="4">
691
+ <b-row>
692
+ <b-col sm="10">
693
+ <InputText
694
+ :required="false"
695
+ :formName="formName"
696
+ field="nbs"
697
+ title="NBS (Nomenclatura Brasileira de Serviços)"
698
+ v-model="configuracao.nacional.servico.nbs"
699
+ />
700
+ </b-col>
701
+ <div class="step-by-step-opcoes">
702
+ <OpcoesFiscaisGoverno
703
+ modalTitle="NBS (Nomenclatura Brasileira de Serviços)"
704
+ :options="optionsNbs"
705
+ buttonTitle="Ver códigos NBS"
706
+ v-model="configuracao.nacional.servico.nbs"
707
+ />
708
+ </div>
709
+ </b-row>
710
+ </b-col>
711
+
712
+ </b-row>
713
+ <b-row>
714
+ <b-col sm="4">
715
+ <b-row>
716
+ <b-col sm="10">
717
+ <InputText
718
+ :required="false"
719
+ :formName="formName"
720
+ field="cnae"
721
+ title="CNAE"
722
+ v-model="configuracao.nacional.servico.cnae"
723
+ />
724
+ </b-col>
725
+ <div class="step-by-step-opcoes">
726
+ <OpcoesFiscaisGoverno
727
+ modalTitle="CNAE"
728
+ :options="optionsCnae"
729
+ buttonTitle="Ver opções"
730
+ v-model="configuracao.nacional.servico.cnae"
731
+ />
732
+ </div>
733
+ </b-row>
734
+ </b-col>
735
+ <b-col sm="2">
736
+ <InputText
737
+ :required="false"
738
+ :formName="formName"
739
+ field="Aliquota do ISSQN"
740
+ title="Aliquota do ISSQN"
741
+ v-model="configuracao.nacional.servico.aliquotaISSQN"
742
+ />
743
+ </b-col>
744
+ <b-col sm="6">
745
+ <InputText
746
+ :required="false"
747
+ :formName="formName"
748
+ field="Discriminação"
749
+ title="Discriminação"
750
+ v-model="configuracao.nacional.servico.discriminacao"
751
+ />
752
+ </b-col>
753
+ </b-row>
754
+
755
+ </div>
756
+ <br />
757
+ </div>
758
+ <div slot="finish">
759
+ <div class="text-center">
760
+ <Button
761
+ _key="create"
762
+ classIcon="fa-sharp fa-solid fa-paper-plane-top"
763
+ type="success"
764
+ title="Enviar dados"
765
+ size="medium"
766
+ :disabled="!isFormValid(formName)"
767
+ :clicked="create"
768
+ />
769
+ </div>
770
+ </div>
771
+ </Wizard>
772
+ <br />
773
+ </Molded>
774
+ <div
775
+ class="div-success"
776
+ v-else
777
+ >
778
+ <Molded>
779
+ <br>
780
+ <b-row>
781
+ <b-col
782
+ sm="12"
783
+ class="text-center"
784
+ >
785
+ <div class="company">Seu cadastro foi enviado com sucesso!</div>
786
+ <div>
787
+ Nossa equipe irá validar as informações e retornaremos!
788
+ </div>
789
+ <div class="icon-success">
790
+ <i class="fa-light fa-circle-check"></i>
791
+ </div>
792
+ </b-col>
793
+ </b-row>
794
+ <br>
795
+ </Molded>
796
+ </div>
797
+ </div>
798
+ </div>
799
+ </template>
800
+
801
+ <script>
802
+ import Wizard from "@nixweb/nixloc-ui/src/component/layout/Wizard.vue";
803
+ import Molded from "@nixweb/nixloc-ui/src/component/layout/Molded.vue";
804
+ import Button from "@nixweb/nixloc-ui/src/component/forms/Button";
805
+ import InputText from "@nixweb/nixloc-ui/src/component/forms/InputText";
806
+ import InputPassword from "@nixweb/nixloc-ui/src/component/forms/InputPassword";
807
+ import InputNumber from "@nixweb/nixloc-ui/src/component/forms/InputNumber";
808
+ import SelectStatic from "@nixweb/nixloc-ui/src/component/forms/SelectStatic";
809
+ import RadioGroup from "@nixweb/nixloc-ui/src/component/forms/RadioGroup";
810
+ import Certificate from "../certificate/Certificate.vue";
811
+ import OpcoesFiscaisGoverno from "../shared/OpcoesFiscaisGoverno.vue";
812
+
813
+ import Person from "@nixweb/nixloc-ui/src/component/value-objects/Person.vue";
814
+ import Contact from "@nixweb/nixloc-ui/src/component/value-objects/Contact.vue";
815
+ import Address from "@nixweb/nixloc-ui/src/component/value-objects/Address.vue";
816
+
817
+ import Helpers from "../shared/Helpers.js";
818
+
819
+ import { mapGetters, mapActions, mapMutations } from "vuex";
820
+
821
+ const STORAGE_KEY = "wizard-configuracao-step-by-step-form";
822
+
823
+ function isPageReload() {
824
+ try {
825
+ const nav = performance.getEntriesByType("navigation");
826
+ if (nav && nav.length) return nav[0].type === "reload";
827
+ return (
828
+ performance && performance.navigation && performance.navigation.type === 1
829
+ );
830
+ } catch (e) {
831
+ return false;
832
+ }
833
+ }
834
+
835
+ export default {
836
+ name: "Register",
837
+ components: {
838
+ Wizard,
839
+ Molded,
840
+ Button,
841
+ InputText,
842
+ InputPassword,
843
+ InputNumber,
844
+ RadioGroup,
845
+ Contact,
846
+ Person,
847
+ SelectStatic,
848
+ Address,
849
+ Certificate,
850
+ OpcoesFiscaisGoverno,
851
+ },
852
+ data() {
853
+ return {
854
+ formName: "step-by-step-form",
855
+ urlCreate: "/api/v1/tax-document/config-company/step-by-step",
856
+ configuracao: {
857
+ comum: {
858
+ ambiente: "Nacional",
859
+ habilitada: "Sim, estamos autorizados",
860
+ autenticacao: "Certificado Digital",
861
+ loginPrefeitura: "",
862
+ senhaPrefeitura: "",
863
+ proximoRps: "",
864
+ inss: 0,
865
+ pis: 0,
866
+ cofins: 0,
867
+ iss: 0,
868
+ csll: 0,
869
+ ir: 0,
870
+ ibs: 0,
871
+ cbs: 0,
872
+ },
873
+ nacional: {
874
+ codigoOpcaoSimplesNacional: {
875
+ content: "Não Optante",
876
+ id: "Não Optante",
877
+ },
878
+ tipoTributacao: {
879
+ content: "Tributação no Município",
880
+ id: "Tributação no Município",
881
+ },
882
+ regimeEspecialTributacaoMunicipal: {
883
+ content: "Nenhum",
884
+ id: "Nenhum",
885
+ },
886
+ regimeApuracaoTributariaSimplesNacional: {
887
+ content: "Federais e municipal pelo SN",
888
+ id: "Federais e municipal pelo SN",
889
+ },
890
+ situacaoTributariaPisCofins: {
891
+ content: "Operação Tributável com Alíquota Básica",
892
+ id: "Operação Tributável com Alíquota Básica",
893
+ },
894
+ percentualTotalTributosFederais: 0,
895
+ percentualTotalTributosEstaduais: 0,
896
+ percentualTotalTributosMunicipais: 0,
897
+ servico: {
898
+ codigoTributacaoNacional: "",
899
+ codigoTributacaoMunicipal: "",
900
+ cnae: "",
901
+ nbs: "",
902
+ aliquotaISSQN: "",
903
+ discriminacao: "",
904
+ },
905
+ },
906
+ prefeitura: {
907
+ optanteSimplesNacional: true,
908
+ regimeTributario: {
909
+ content: "Simples Nacional",
910
+ id: "Simples Nacional",
911
+ },
912
+ regimeTributarioEspecial: { content: "Nenhum", id: "Nenhum" },
913
+ incentivadorCultural: false,
914
+ naturezaOperacao: {
915
+ content: "Tributação no Município",
916
+ id: "Tributação no Município",
917
+ },
918
+ servico: {
919
+ codigoLC116: "",
920
+ cnae: "",
921
+ nbs: "",
922
+ codigoIndicadorOperacao: "",
923
+ ibsCbsClassificacaoTributaria: "",
924
+ ibsCbsSituacaoTributaria: "",
925
+ aliquotaISSQN: "",
926
+ discriminacao: "",
927
+ },
928
+ },
929
+ },
930
+ success: false,
931
+ };
932
+ },
933
+ created() {
934
+ if (isPageReload()) {
935
+ localStorage.removeItem(STORAGE_KEY);
936
+ }
937
+ const saved = localStorage.getItem(STORAGE_KEY);
938
+ if (saved) {
939
+ try {
940
+ this.configuracao = JSON.parse(saved);
941
+ this.normalizeLegacyFields();
942
+ } catch (e) {
943
+ localStorage.removeItem(STORAGE_KEY);
944
+ }
945
+ }
946
+ },
947
+ computed: {
948
+ ...mapGetters("validation", ["isFormValid"]),
949
+ ehSimplesNacional() {
950
+ return this.configuracao.prefeitura.optanteSimplesNacional;
951
+ },
952
+ optionsRegimeTributario() {
953
+ let optionsFinal = [];
954
+ let options = [
955
+ { content: "Simples Nacional", id: "Simples Nacional" },
956
+ {
957
+ content: "Simples Nacional - Excesso de Sublimite de Receita Bruta",
958
+ id: "Simples Nacional - Excesso de Sublimite de Receita Bruta",
959
+ },
960
+ { content: "Regime Normal", id: "Regime Normal" },
961
+ {
962
+ content: "Simples Nacional - Microempreendedor Individual - MEI",
963
+ id: "Simples Nacional - Microempreendedor Individual - MEI",
964
+ },
965
+ ];
966
+
967
+ options.forEach((option) => {
968
+ if (
969
+ this.ehSimplesNacional &&
970
+ (option.id === "Simples Nacional" ||
971
+ option.id ===
972
+ "Simples Nacional - Excesso de Sublimite de Receita Bruta" ||
973
+ option.id ===
974
+ "Simples Nacional - Microempreendedor Individual - MEI")
975
+ ) {
976
+ optionsFinal.push(option);
977
+ } else if (!this.ehSimplesNacional && option.id === "Regime Normal") {
978
+ optionsFinal.push(option);
979
+ }
980
+ });
981
+
982
+ return optionsFinal;
983
+ },
984
+ optionsRegimeTributarioEspecial() {
985
+ const options = [
986
+ { content: "Nenhum", id: "Nenhum" },
987
+ { content: "Microempresa Municipal", id: "Microempresa Municipal" },
988
+ { content: "Estimativa", id: "Estimativa" },
989
+ {
990
+ content: "Sociedade de Profissionais",
991
+ id: "Sociedade de Profissionais",
992
+ },
993
+ { content: "Cooperativa", id: "Cooperativa" },
994
+ { content: "MEI - Simples Nacional", id: "MEI - Simples Nacional" },
995
+ { content: "ME EPP- Simples Nacional", id: "ME EPP- Simples Nacional" },
996
+ ];
997
+
998
+ let optionsFinal = [{ content: "Nenhum", id: "Nenhum" }];
999
+
1000
+ if (this.ehSimplesNacional) {
1001
+ optionsFinal.push(
1002
+ options.find((o) => o.id === "MEI - Simples Nacional"),
1003
+ options.find((o) => o.id === "ME EPP- Simples Nacional")
1004
+ );
1005
+ } else {
1006
+ optionsFinal.push(
1007
+ options.find((o) => o.id === "Microempresa Municipal"),
1008
+ options.find((o) => o.id === "Estimativa"),
1009
+ options.find((o) => o.id === "Sociedade de Profissionais"),
1010
+ options.find((o) => o.id === "Cooperativa")
1011
+ );
1012
+ }
1013
+
1014
+ return optionsFinal.filter(Boolean);
1015
+ },
1016
+ optionsCodigoIndicadorOperacao() {
1017
+ return Helpers.codigoIndicadorOperacao;
1018
+ },
1019
+ optionsCodigoTributacaoNacional() {
1020
+ return Helpers.codigoTributacaoNacional;
1021
+ },
1022
+ optionsCodigoLC116() {
1023
+ return Helpers.codigoLC116;
1024
+ },
1025
+ optionsClassificacaoTributaria() {
1026
+ const situacaoSelecionada =
1027
+ this.configuracao?.prefeitura?.servico?.ibsCbsSituacaoTributaria || "";
1028
+ const codigoSituacao = this.getCodigoTributario(situacaoSelecionada);
1029
+
1030
+ if (!codigoSituacao || codigoSituacao === "0") {
1031
+ return Helpers.classificacaoTributaria;
1032
+ }
1033
+
1034
+ return Helpers.classificacaoTributaria.filter((item) => {
1035
+ const codigoClassificacao = this.getCodigoTributario(
1036
+ item.id || item.content || ""
1037
+ );
1038
+ return codigoClassificacao.startsWith(codigoSituacao);
1039
+ });
1040
+ },
1041
+ optionsTributacaoIBSCBS() {
1042
+ return Helpers.tributacaoIBSCBS;
1043
+ },
1044
+ optionsNbs() {
1045
+ return Helpers.nbs;
1046
+ },
1047
+ optionsCnae() {
1048
+ return Helpers.cnae;
1049
+ },
1050
+ },
1051
+ methods: {
1052
+ ...mapActions("generic", ["postApi"]),
1053
+ ...mapMutations("generic", ["removeLoading", "removeEvent"]),
1054
+ ...mapMutations("user", ["addUserLogged"]),
1055
+ getCodigoTributario(valor) {
1056
+ if (!valor || typeof valor !== "string") {
1057
+ return "";
1058
+ }
1059
+
1060
+ return valor.split(" - ")[0].trim();
1061
+ },
1062
+ normalizeLegacyFields() {
1063
+ const prefeituraNbs = this.configuracao?.prefeitura?.servico?.nbs;
1064
+ if (prefeituraNbs && typeof prefeituraNbs === "object") {
1065
+ this.configuracao.prefeitura.servico.nbs =
1066
+ prefeituraNbs.id || prefeituraNbs.content || "";
1067
+ }
1068
+
1069
+ const prefeituraCodigoIndicadorOperacao =
1070
+ this.configuracao?.prefeitura?.servico?.codigoIndicadorOperacao;
1071
+ if (
1072
+ prefeituraCodigoIndicadorOperacao &&
1073
+ typeof prefeituraCodigoIndicadorOperacao === "object"
1074
+ ) {
1075
+ this.configuracao.prefeitura.servico.codigoIndicadorOperacao =
1076
+ prefeituraCodigoIndicadorOperacao.id ||
1077
+ prefeituraCodigoIndicadorOperacao.content ||
1078
+ "";
1079
+ }
1080
+
1081
+ const prefeituraCodigoLC116 =
1082
+ this.configuracao?.prefeitura?.servico?.codigoLC116;
1083
+ if (prefeituraCodigoLC116 && typeof prefeituraCodigoLC116 === "object") {
1084
+ this.configuracao.prefeitura.servico.codigoLC116 =
1085
+ prefeituraCodigoLC116.id || prefeituraCodigoLC116.content || "";
1086
+ }
1087
+
1088
+ const prefeituraIbsCbsClassificacaoTributaria =
1089
+ this.configuracao?.prefeitura?.servico?.ibsCbsClassificacaoTributaria;
1090
+ if (
1091
+ prefeituraIbsCbsClassificacaoTributaria &&
1092
+ typeof prefeituraIbsCbsClassificacaoTributaria === "object"
1093
+ ) {
1094
+ this.configuracao.prefeitura.servico.ibsCbsClassificacaoTributaria =
1095
+ prefeituraIbsCbsClassificacaoTributaria.id ||
1096
+ prefeituraIbsCbsClassificacaoTributaria.content ||
1097
+ "";
1098
+ }
1099
+
1100
+ const prefeituraIbsCbsSituacaoTributaria =
1101
+ this.configuracao?.prefeitura?.servico?.ibsCbsSituacaoTributaria;
1102
+ if (
1103
+ prefeituraIbsCbsSituacaoTributaria &&
1104
+ typeof prefeituraIbsCbsSituacaoTributaria === "object"
1105
+ ) {
1106
+ this.configuracao.prefeitura.servico.ibsCbsSituacaoTributaria =
1107
+ prefeituraIbsCbsSituacaoTributaria.id ||
1108
+ prefeituraIbsCbsSituacaoTributaria.content ||
1109
+ "";
1110
+ }
1111
+
1112
+ const nacionalNbs = this.configuracao?.nacional?.servico?.nbs;
1113
+ if (nacionalNbs && typeof nacionalNbs === "object") {
1114
+ this.configuracao.nacional.servico.nbs =
1115
+ nacionalNbs.id || nacionalNbs.content || "";
1116
+ }
1117
+
1118
+ const nacionalCodigoTributacaoNacional =
1119
+ this.configuracao?.nacional?.servico?.codigoTributacaoNacional;
1120
+ if (
1121
+ nacionalCodigoTributacaoNacional &&
1122
+ typeof nacionalCodigoTributacaoNacional === "object"
1123
+ ) {
1124
+ this.configuracao.nacional.servico.codigoTributacaoNacional =
1125
+ nacionalCodigoTributacaoNacional.id ||
1126
+ nacionalCodigoTributacaoNacional.content ||
1127
+ "";
1128
+ }
1129
+ },
1130
+ create() {
1131
+ let request = {
1132
+ ambiente: this.configuracao.comum.ambiente,
1133
+ habilitada: this.configuracao.comum.habilitada,
1134
+ autenticacao: this.configuracao.comum.autenticacao,
1135
+ loginPrefeitura: this.configuracao.comum.loginPrefeitura,
1136
+ senhaPrefeitura: this.configuracao.comum.senhaPrefeitura,
1137
+ proximoRps: this.configuracao.comum.proximoRps,
1138
+
1139
+ optanteSimplesNacional:
1140
+ this.configuracao.prefeitura.optanteSimplesNacional,
1141
+ regimeTributario:
1142
+ this.configuracao.prefeitura.regimeTributario?.id ?? "",
1143
+ regimeTributarioEspecial:
1144
+ this.configuracao.prefeitura.regimeTributarioEspecial?.id ?? "",
1145
+ incentivadorCultural: this.configuracao.prefeitura.incentivadorCultural,
1146
+ naturezaOperacao:
1147
+ this.configuracao.prefeitura.naturezaOperacao?.id ?? "",
1148
+
1149
+ codigoOpcaoSimplesNacional:
1150
+ this.configuracao.nacional.codigoOpcaoSimplesNacional?.id ?? "",
1151
+ tipoTributacao: this.configuracao.nacional.tipoTributacao?.id ?? "",
1152
+ regimeEspecialTributacaoMunicipal:
1153
+ this.configuracao.nacional.regimeEspecialTributacaoMunicipal?.id ??
1154
+ "",
1155
+ regimeApuracaoTributariaSimplesNacional:
1156
+ this.configuracao.nacional.regimeApuracaoTributariaSimplesNacional
1157
+ ?.id ?? "",
1158
+ situacaoTributariaPisCofins:
1159
+ this.configuracao.nacional.situacaoTributariaPisCofins?.id ?? "",
1160
+ percentualTotalTributosFederais:
1161
+ this.configuracao.nacional.percentualTotalTributosFederais,
1162
+ percentualTotalTributosEstaduais:
1163
+ this.configuracao.nacional.percentualTotalTributosEstaduais,
1164
+ percentualTotalTributosMunicipais:
1165
+ this.configuracao.nacional.percentualTotalTributosMunicipais,
1166
+
1167
+ pis: this.configuracao.comum.pis,
1168
+ cofins: this.configuracao.comum.cofins,
1169
+ iss: this.configuracao.comum.iss,
1170
+ csll: this.configuracao.comum.csll,
1171
+ inss: this.configuracao.comum.inss,
1172
+ ir: this.configuracao.comum.ir,
1173
+ ibs: this.configuracao.comum.ibs,
1174
+ cbs: this.configuracao.comum.cbs,
1175
+
1176
+ codigoTributacaoNacional:
1177
+ this.configuracao.nacional.servico.codigoTributacaoNacional,
1178
+ codigoTributacaoMunicipal:
1179
+ this.configuracao.nacional.servico.codigoTributacaoMunicipal,
1180
+
1181
+ codigoLC116: this.configuracao.prefeitura.servico.codigoLC116,
1182
+ codigoIndicadorOperacao:
1183
+ this.configuracao.prefeitura.servico.codigoIndicadorOperacao,
1184
+ ibsCbsClassificacaoTributaria:
1185
+ this.configuracao.prefeitura.servico.ibsCbsClassificacaoTributaria,
1186
+ ibsCbsSituacaoTributaria:
1187
+ this.configuracao.prefeitura.servico.ibsCbsSituacaoTributaria,
1188
+
1189
+ cnae:
1190
+ this.configuracao.comum.ambiente === "Prefeitura"
1191
+ ? this.configuracao.prefeitura.servico.cnae
1192
+ : this.configuracao.nacional.servico.cnae,
1193
+
1194
+ nbs:
1195
+ this.configuracao.comum.ambiente === "Prefeitura"
1196
+ ? this.configuracao.prefeitura.servico.nbs
1197
+ : this.configuracao.nacional.servico.nbs,
1198
+
1199
+ aliquotaISSQN:
1200
+ this.configuracao.comum.ambiente === "Prefeitura"
1201
+ ? this.configuracao.prefeitura.servico.aliquotaISSQN
1202
+ : this.configuracao.nacional.servico.aliquotaISSQN,
1203
+
1204
+ discriminacao:
1205
+ this.configuracao.comum.ambiente === "Prefeitura"
1206
+ ? this.configuracao.prefeitura.servico.discriminacao
1207
+ : this.configuracao.nacional.servico.discriminacao,
1208
+ };
1209
+
1210
+ let params = { url: this.urlCreate, obj: request, notNotifyToast: true };
1211
+ this.postApi(params).then((response) => {
1212
+ if (response.success) {
1213
+ localStorage.removeItem(STORAGE_KEY);
1214
+ this.success = true;
1215
+ }
1216
+ this.removeLoading(["create"]);
1217
+ });
1218
+ },
1219
+ },
1220
+ watch: {
1221
+ "configuracao.prefeitura.optanteSimplesNacional": {
1222
+ deep: true,
1223
+ handler(val) {
1224
+ if (this.ehSimplesNacional) {
1225
+ this.configuracao.prefeitura.regimeTributario = {
1226
+ content: "Simples Nacional",
1227
+ id: "Simples Nacional",
1228
+ };
1229
+ } else {
1230
+ this.configuracao.prefeitura.regimeTributario = {
1231
+ content: "Regime Normal",
1232
+ id: "Regime Normal",
1233
+ };
1234
+ }
1235
+ },
1236
+ },
1237
+ "configuracao.prefeitura.servico.ibsCbsSituacaoTributaria": {
1238
+ handler(novoValor) {
1239
+ const codigoSituacao = this.getCodigoTributario(novoValor);
1240
+ if (!codigoSituacao || codigoSituacao === "0") {
1241
+ return;
1242
+ }
1243
+
1244
+ const classificacaoAtual =
1245
+ this.configuracao?.prefeitura?.servico
1246
+ ?.ibsCbsClassificacaoTributaria || "";
1247
+ const codigoClassificacao =
1248
+ this.getCodigoTributario(classificacaoAtual);
1249
+
1250
+ if (
1251
+ codigoClassificacao &&
1252
+ !codigoClassificacao.startsWith(codigoSituacao)
1253
+ ) {
1254
+ this.configuracao.prefeitura.servico.ibsCbsClassificacaoTributaria =
1255
+ "";
1256
+ }
1257
+ },
1258
+ },
1259
+ configuracao: {
1260
+ deep: true,
1261
+ handler(val) {
1262
+ localStorage.setItem(STORAGE_KEY, JSON.stringify(val));
1263
+ },
1264
+ },
1265
+ },
1266
+ };
1267
+ </script>
1268
+
1269
+ <style scoped>
1270
+ .step {
1271
+ margin-top: 5px;
1272
+ height: 48px;
1273
+ width: 48px;
1274
+ font-size: 20px;
1275
+ display: grid;
1276
+ place-items: center;
1277
+ background-color: #fafafc;
1278
+ border-radius: 100%;
1279
+ border: 1px solid #dbdfe9;
1280
+ position: relative;
1281
+ color: #8ca1b7;
1282
+ }
1283
+
1284
+ .title {
1285
+ margin-top: 9px;
1286
+ font-size: 18px;
1287
+ }
1288
+
1289
+ .icon-success {
1290
+ font-size: 50px;
1291
+ color: #52c41a;
1292
+ }
1293
+
1294
+ .div-success {
1295
+ width: 550px;
1296
+ margin: auto;
1297
+ }
1298
+
1299
+ .company {
1300
+ font-size: 20px;
1301
+ }
1302
+
1303
+ .step-by-step-opcoes {
1304
+ margin-top: 20px;
1305
+ }
1306
+ </style>