@nixweb/nixloc-ui 0.0.125 → 0.0.128

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/docs/src/component/template/ViewTemplateReportPreview.drawio +210 -0
  2. package/package.json +79 -77
  3. package/src/App.vue +13 -13
  4. package/src/component/forms/Button.vue +170 -169
  5. package/src/component/forms/CheckboxGroup.vue +72 -63
  6. package/src/component/forms/CheckboxSimple.vue +46 -27
  7. package/src/component/forms/Color.vue +38 -38
  8. package/src/component/forms/DateTime.vue +167 -177
  9. package/src/component/forms/Dropdown.vue +218 -224
  10. package/src/component/forms/EditorHtml.vue +126 -123
  11. package/src/component/forms/FileUpload.vue +185 -189
  12. package/src/component/forms/ImageUpload.vue +230 -0
  13. package/src/component/forms/IncrementDecrement.vue +101 -0
  14. package/src/component/forms/InputDecimal.vue +142 -137
  15. package/src/component/forms/InputNumber.vue +154 -149
  16. package/src/component/forms/InputPassword.vue +135 -135
  17. package/src/component/forms/InputText.vue +162 -157
  18. package/src/component/forms/Modal.vue +65 -60
  19. package/src/component/forms/RadioGroup.vue +50 -50
  20. package/src/component/forms/Select.vue +349 -337
  21. package/src/component/forms/SelectStatic.vue +127 -120
  22. package/src/component/forms/Slider.vue +18 -18
  23. package/src/component/forms/TextArea.vue +126 -126
  24. package/src/component/layout/Alert.vue +92 -92
  25. package/src/component/layout/Badge.vue +103 -103
  26. package/src/component/layout/FixedBar.vue +100 -68
  27. package/src/component/layout/Header.vue +38 -35
  28. package/src/component/layout/LoadingFullPage.vue +27 -27
  29. package/src/component/layout/Menu.vue +210 -214
  30. package/src/component/layout/Molded.vue +28 -27
  31. package/src/component/layout/Panel.vue +140 -142
  32. package/src/component/layout/Popover.vue +126 -126
  33. package/src/component/layout/ScrollBar.vue +42 -43
  34. package/src/component/layout/Tab.vue +135 -0
  35. package/src/component/layout/Tag.vue +3 -3
  36. package/src/component/layout/Wizard.vue +211 -213
  37. package/src/component/rental/DisplayPeriodRent.vue +81 -0
  38. package/src/component/rental/DisplayTotalization.vue +47 -0
  39. package/src/component/shared/Collapse.vue +131 -131
  40. package/src/component/shared/Confirmation.vue +2 -2
  41. package/src/component/shared/DocumentEditor.vue +1 -1
  42. package/src/component/shared/DocumentPreview.vue +1 -1
  43. package/src/component/shared/DocumentPublic.vue +34 -0
  44. package/src/component/shared/ExportExcel.vue +1 -8
  45. package/src/component/shared/ExportPDF.vue +116 -116
  46. package/src/component/shared/{HeaderPrint.vue → HeaderReport.vue} +4 -4
  47. package/src/component/shared/HorizontalFilter.vue +59 -59
  48. package/src/component/shared/Loading.vue +107 -107
  49. package/src/component/shared/LoadingMoreButton.vue +23 -23
  50. package/src/component/shared/Messages.vue +81 -83
  51. package/src/component/shared/PDFViewer.vue +22 -22
  52. package/src/component/shared/Pagination.vue +52 -53
  53. package/src/component/shared/{LegendaParametro.vue → ParameterLegend.vue} +22 -26
  54. package/src/component/shared/ProgressBar.vue +22 -21
  55. package/src/component/shared/QueryButton.vue +66 -66
  56. package/src/component/shared/Report.vue +187 -0
  57. package/src/component/shared/SaveCancel.vue +26 -5
  58. package/src/component/shared/Search.vue +154 -154
  59. package/src/component/shared/SelectOption.vue +146 -0
  60. package/src/component/shared/Table.vue +163 -243
  61. package/src/component/shared/TableButton.vue +36 -36
  62. package/src/component/shared/TableDraggable.vue +127 -0
  63. package/src/component/shared/TableItem.vue +177 -0
  64. package/src/component/shared/TableTotalRecords.vue +9 -10
  65. package/src/component/shared/TableTotalization.vue +47 -47
  66. package/src/component/shared/Tip.vue +42 -42
  67. package/src/component/shared/Toast.vue +54 -54
  68. package/src/component/shared/TotalizationReport.vue +59 -0
  69. package/src/component/shared/VerticalFilter.vue +97 -145
  70. package/src/component/shared/query-builder/AddRule.vue +181 -187
  71. package/src/component/shared/query-builder/ConvertToOdata.js +34 -43
  72. package/src/component/shared/query-builder/DynamicComponent.vue +21 -16
  73. package/src/component/shared/query-builder/DynamicComponentList.vue +73 -0
  74. package/src/component/shared/query-builder/Fields.vue +29 -63
  75. package/src/component/shared/query-builder/QueryBuilder.vue +69 -69
  76. package/src/component/shared/query-builder/Rules.vue +2 -14
  77. package/src/component/shared/query-builder/SelectRule.vue +15 -15
  78. package/src/component/shared/query-builder/Tags.vue +24 -8
  79. package/src/component/shared/query-builder/utilities.js +21 -21
  80. package/src/component/template/{ListViewWithHandlerData.vue → ListViewWithDataHandler.vue} +260 -231
  81. package/src/component/template/{AddEditReport.vue → ReportCreateUpdate.vue} +40 -22
  82. package/src/component/template/ViewTemplateConfiguration.vue +64 -69
  83. package/src/component/template/ViewTemplateDocumentView.vue +22 -25
  84. package/src/component/template/ViewTemplateReportList.vue +39 -57
  85. package/src/component/template/ViewTemplateReportPreview.vue +270 -341
  86. package/src/component/template/ViewTemplateReportPreviewCOPIASEGURANCA.vue +497 -0
  87. package/src/component/template/ViewTemplateSelectOption.vue +60 -0
  88. package/src/component/template/ViewTemplateWithSalveCancel.vue +32 -32
  89. package/src/component/template/ViewTemplateWithTable.vue +56 -49
  90. package/src/component/template/model/Report.js +2 -2
  91. package/src/component/value-objects/Address.js +11 -0
  92. package/src/component/value-objects/{Endereco.vue → Address.vue} +39 -40
  93. package/src/component/value-objects/{DadosContato.js → Contact.js} +2 -2
  94. package/src/component/value-objects/{DadosContato.vue → Contact.vue} +24 -17
  95. package/src/component/value-objects/Person.js +10 -0
  96. package/src/component/value-objects/{DadosPessoa.vue → Person.vue} +50 -35
  97. package/src/config/axios.js +9 -9
  98. package/src/config/dicas.js +14 -14
  99. package/src/config/router.js +13 -13
  100. package/src/config/token.js +14 -14
  101. package/src/main.js +23 -23
  102. package/src/store/modules/generic.js +512 -488
  103. package/src/store/modules/report.js +156 -127
  104. package/src/store/modules/user.js +6 -0
  105. package/src/store/modules/validation.js +38 -38
  106. package/src/store/store.js +13 -13
  107. package/docs/src/component/template/ModeloRelatorioView.drawio +0 -160
  108. package/src/component/shared/query-builder/ListDynamicComponent.vue +0 -42
  109. package/src/component/shared/query-builder/Totalization.vue +0 -38
  110. package/src/component/value-objects/DadosPessoa.js +0 -10
  111. package/src/component/value-objects/Endereco.js +0 -11
@@ -1,15 +1,15 @@
1
- const dicas = [];
2
-
3
- const manutencao = [
4
- // { formName: "opcoesFaturamento", field: "unificar", title: "Unificar Cliente", description: "Ao marcar essa opção" },
5
-
6
- ];
7
-
8
-
9
- manutencao.forEach(function (obj) {
10
- dicas.push(obj);
11
- });
12
-
13
-
14
-
1
+ const dicas = [];
2
+
3
+ const manutencao = [
4
+ // { formName: "opcoesFaturamento", field: "unificar", title: "Unificar Cliente", description: "Ao marcar essa opção" },
5
+
6
+ ];
7
+
8
+
9
+ manutencao.forEach(function (obj) {
10
+ dicas.push(obj);
11
+ });
12
+
13
+
14
+
15
15
  export default dicas;
@@ -1,14 +1,14 @@
1
- import Vue from 'vue'
2
- import Router from 'vue-router'
3
-
4
- Vue.use(Router)
5
-
6
- const router = new Router({
7
- mode: 'history',
8
- routes: [
9
- { path: '/', redirect: { name: "" } },
10
-
11
- ],
12
- })
13
-
1
+ import Vue from 'vue'
2
+ import Router from 'vue-router'
3
+
4
+ Vue.use(Router)
5
+
6
+ const router = new Router({
7
+ mode: 'history',
8
+ routes: [
9
+ { path: '/', redirect: { name: "" } },
10
+
11
+ ],
12
+ })
13
+
14
14
  export default router
@@ -1,15 +1,15 @@
1
- export default class Token {
2
-
3
- tokenHeaders() {
4
- return {
5
- "Content-Type": "application/json",
6
- Authorization: "Bearer " + JSON.parse(sessionStorage.vuex).user.userLogged.token
7
- };
8
- }
9
- tokenHeadersFormData() {
10
- return {
11
- "Content-Type": "multipart/form-data",
12
- Authorization: "Bearer " + JSON.parse(sessionStorage.vuex).user.userLogged.token
13
- };
14
- }
1
+ export default class Token {
2
+
3
+ tokenHeaders() {
4
+ return {
5
+ "Content-Type": "application/json",
6
+ Authorization: "Bearer " + JSON.parse(sessionStorage.vuex).user.userLogged.token
7
+ };
8
+ }
9
+ tokenHeadersFormData() {
10
+ return {
11
+ "Content-Type": "multipart/form-data",
12
+ Authorization: "Bearer " + JSON.parse(sessionStorage.vuex).user.userLogged.token
13
+ };
14
+ }
15
15
  }
package/src/main.js CHANGED
@@ -1,23 +1,23 @@
1
- import Vue from 'vue'
2
- import App from './App.vue'
3
- import router from './config/router'
4
- import store from './store/store'
5
-
6
- import BootstrapVue from 'bootstrap-vue'
7
- import VueLoading from "vue-loading-template";
8
- import VueTheMask from 'vue-the-mask'
9
-
10
- import 'bootstrap/dist/css/bootstrap.css'
11
- import 'bootstrap-vue/dist/bootstrap-vue.css'
12
-
13
- Vue.use(BootstrapVue)
14
- Vue.use(VueLoading)
15
- Vue.use(VueTheMask)
16
-
17
- Vue.config.productionTip = false
18
-
19
- new Vue({
20
- router,
21
- store,
22
- render: h => h(App),
23
- }).$mount('#app')
1
+ import Vue from 'vue'
2
+ import App from './App.vue'
3
+ import router from './config/router'
4
+ import store from './store/store'
5
+
6
+ import BootstrapVue from 'bootstrap-vue'
7
+ import VueLoading from "vue-loading-template";
8
+ import VueTheMask from 'vue-the-mask'
9
+
10
+ import 'bootstrap/dist/css/bootstrap.css'
11
+ import 'bootstrap-vue/dist/bootstrap-vue.css'
12
+
13
+ Vue.use(BootstrapVue)
14
+ Vue.use(VueLoading)
15
+ Vue.use(VueTheMask)
16
+
17
+ Vue.config.productionTip = false
18
+
19
+ new Vue({
20
+ router,
21
+ store,
22
+ render: h => h(App),
23
+ }).$mount('#app')