@ramathibodi/nuxt-commons 4.0.27 → 4.0.29

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 (118) hide show
  1. package/dist/module.json +2 -2
  2. package/dist/runtime/components/Calendar.d.vue.ts +12 -10
  3. package/dist/runtime/components/Calendar.vue.d.ts +12 -10
  4. package/dist/runtime/components/ExportCSV.d.vue.ts +3 -3
  5. package/dist/runtime/components/ExportCSV.vue.d.ts +3 -3
  6. package/dist/runtime/components/FileBtn.d.vue.ts +3 -3
  7. package/dist/runtime/components/FileBtn.vue.d.ts +3 -3
  8. package/dist/runtime/components/ImportCSV.d.vue.ts +3 -3
  9. package/dist/runtime/components/ImportCSV.vue.d.ts +3 -3
  10. package/dist/runtime/components/SplitterPanel.d.vue.ts +7 -5
  11. package/dist/runtime/components/SplitterPanel.vue.d.ts +7 -5
  12. package/dist/runtime/components/TabsGroup.d.vue.ts +7 -5
  13. package/dist/runtime/components/TabsGroup.vue.d.ts +7 -5
  14. package/dist/runtime/components/device/IdCardButton.d.vue.ts +3 -3
  15. package/dist/runtime/components/device/IdCardButton.vue.d.ts +3 -3
  16. package/dist/runtime/components/device/Scanner.d.vue.ts +31 -29
  17. package/dist/runtime/components/device/Scanner.vue.d.ts +31 -29
  18. package/dist/runtime/components/dialog/Confirm.d.vue.ts +7 -5
  19. package/dist/runtime/components/dialog/Confirm.vue.d.ts +7 -5
  20. package/dist/runtime/components/dialog/ImportProgress.d.vue.ts +5 -3
  21. package/dist/runtime/components/dialog/ImportProgress.vue.d.ts +5 -3
  22. package/dist/runtime/components/dialog/Index.d.vue.ts +5 -3
  23. package/dist/runtime/components/dialog/Index.vue.d.ts +5 -3
  24. package/dist/runtime/components/dialog/Loading.d.vue.ts +5 -3
  25. package/dist/runtime/components/dialog/Loading.vue.d.ts +5 -3
  26. package/dist/runtime/components/dialog/default/Confirm.d.vue.ts +7 -5
  27. package/dist/runtime/components/dialog/default/Confirm.vue.d.ts +7 -5
  28. package/dist/runtime/components/dialog/default/Loading.d.vue.ts +7 -5
  29. package/dist/runtime/components/dialog/default/Loading.vue.d.ts +7 -5
  30. package/dist/runtime/components/dialog/default/Printing.d.vue.ts +5 -3
  31. package/dist/runtime/components/dialog/default/Printing.vue.d.ts +5 -3
  32. package/dist/runtime/components/document/TemplateBuilderLiveView.d.vue.ts +71 -69
  33. package/dist/runtime/components/document/TemplateBuilderLiveView.vue.d.ts +71 -69
  34. package/dist/runtime/components/document/TemplateInputAttributesHelper.d.vue.ts +14 -0
  35. package/dist/runtime/components/document/TemplateInputAttributesHelper.vue +154 -0
  36. package/dist/runtime/components/document/TemplateInputAttributesHelper.vue.d.ts +14 -0
  37. package/dist/runtime/components/document/TemplateItemForm.vue +46 -1
  38. package/dist/runtime/components/document/TemplatePalette.d.vue.ts +8 -6
  39. package/dist/runtime/components/document/TemplatePalette.vue +16 -0
  40. package/dist/runtime/components/document/TemplatePalette.vue.d.ts +8 -6
  41. package/dist/runtime/components/form/ActionPad.d.vue.ts +34 -32
  42. package/dist/runtime/components/form/ActionPad.vue.d.ts +34 -32
  43. package/dist/runtime/components/form/Date.d.vue.ts +20 -18
  44. package/dist/runtime/components/form/Date.vue.d.ts +20 -18
  45. package/dist/runtime/components/form/Dialog.d.vue.ts +24 -22
  46. package/dist/runtime/components/form/Dialog.vue.d.ts +24 -22
  47. package/dist/runtime/components/form/EditPad.d.vue.ts +34 -32
  48. package/dist/runtime/components/form/EditPad.vue.d.ts +34 -32
  49. package/dist/runtime/components/form/File.d.vue.ts +12 -10
  50. package/dist/runtime/components/form/File.vue.d.ts +12 -10
  51. package/dist/runtime/components/form/Iterator.d.vue.ts +121 -134
  52. package/dist/runtime/components/form/Iterator.vue.d.ts +121 -134
  53. package/dist/runtime/components/form/Login.d.vue.ts +5 -3
  54. package/dist/runtime/components/form/Login.vue.d.ts +5 -3
  55. package/dist/runtime/components/form/Pad.d.vue.ts +652 -650
  56. package/dist/runtime/components/form/Pad.vue +3 -0
  57. package/dist/runtime/components/form/Pad.vue.d.ts +652 -650
  58. package/dist/runtime/components/form/Table.d.vue.ts +69 -82
  59. package/dist/runtime/components/form/Table.vue.d.ts +69 -82
  60. package/dist/runtime/components/form/TableData.d.vue.ts +18 -24
  61. package/dist/runtime/components/form/TableData.vue.d.ts +18 -24
  62. package/dist/runtime/components/form/images/Capture.d.vue.ts +15 -13
  63. package/dist/runtime/components/form/images/Capture.vue.d.ts +15 -13
  64. package/dist/runtime/components/label/Field.d.vue.ts +16 -14
  65. package/dist/runtime/components/label/Field.vue.d.ts +16 -14
  66. package/dist/runtime/components/label/FormatMoney.d.vue.ts +1 -1
  67. package/dist/runtime/components/label/FormatMoney.vue.d.ts +1 -1
  68. package/dist/runtime/components/master/Autocomplete.d.vue.ts +3 -5
  69. package/dist/runtime/components/master/Autocomplete.vue.d.ts +3 -5
  70. package/dist/runtime/components/master/Combobox.d.vue.ts +3 -5
  71. package/dist/runtime/components/master/Combobox.vue.d.ts +3 -5
  72. package/dist/runtime/components/master/RadioGroup.d.vue.ts +3 -3
  73. package/dist/runtime/components/master/RadioGroup.vue.d.ts +3 -3
  74. package/dist/runtime/components/master/Select.d.vue.ts +3 -5
  75. package/dist/runtime/components/master/Select.vue.d.ts +3 -5
  76. package/dist/runtime/components/master/label.d.vue.ts +7 -3
  77. package/dist/runtime/components/master/label.vue +33 -15
  78. package/dist/runtime/components/master/label.vue.d.ts +7 -3
  79. package/dist/runtime/components/model/Autocomplete.d.vue.ts +3 -3
  80. package/dist/runtime/components/model/Autocomplete.vue.d.ts +3 -3
  81. package/dist/runtime/components/model/Combobox.d.vue.ts +3 -3
  82. package/dist/runtime/components/model/Combobox.vue.d.ts +3 -3
  83. package/dist/runtime/components/model/Pad.d.vue.ts +17 -15
  84. package/dist/runtime/components/model/Pad.vue.d.ts +17 -15
  85. package/dist/runtime/components/model/Select.d.vue.ts +3 -3
  86. package/dist/runtime/components/model/Select.vue.d.ts +3 -3
  87. package/dist/runtime/components/model/Table.d.vue.ts +102 -166
  88. package/dist/runtime/components/model/Table.vue.d.ts +102 -166
  89. package/dist/runtime/components/model/iterator.d.vue.ts +188 -240
  90. package/dist/runtime/components/model/iterator.vue.d.ts +188 -240
  91. package/dist/runtime/components/model/label.d.vue.ts +11 -5
  92. package/dist/runtime/components/model/label.vue +54 -4
  93. package/dist/runtime/components/model/label.vue.d.ts +11 -5
  94. package/dist/runtime/composables/batchLookup.d.ts +39 -0
  95. package/dist/runtime/composables/batchLookup.js +144 -0
  96. package/dist/runtime/composables/document/inputAttributeCatalog.generated.json +95 -0
  97. package/dist/runtime/composables/document/inputAttributes.d.ts +46 -0
  98. package/dist/runtime/composables/document/inputAttributes.js +196 -0
  99. package/dist/runtime/composables/document/template.js +4 -0
  100. package/dist/runtime/composables/document/templateInputTypes.d.ts +36 -0
  101. package/dist/runtime/composables/document/templateInputTypes.js +86 -17
  102. package/dist/runtime/composables/document/templateMasterLabel.d.ts +32 -0
  103. package/dist/runtime/composables/document/templateMasterLabel.js +30 -0
  104. package/dist/runtime/composables/document/validateTemplate.js +11 -1
  105. package/dist/runtime/composables/masterItemBatch.d.ts +7 -0
  106. package/dist/runtime/composables/masterItemBatch.js +12 -0
  107. package/dist/runtime/composables/modelBatch.d.ts +61 -0
  108. package/dist/runtime/composables/modelBatch.js +192 -0
  109. package/dist/runtime/labs/form/EditMobile.d.vue.ts +1 -1
  110. package/dist/runtime/labs/form/EditMobile.vue.d.ts +1 -1
  111. package/dist/runtime/labs/form/TextFieldMask.d.vue.ts +3 -3
  112. package/dist/runtime/labs/form/TextFieldMask.vue.d.ts +3 -3
  113. package/dist/runtime/plugins/clientConfig.d.ts +1 -1
  114. package/dist/runtime/plugins/default.d.ts +1 -1
  115. package/dist/runtime/plugins/dialogManager.d.ts +1 -1
  116. package/dist/runtime/plugins/permission.d.ts +1 -1
  117. package/package.json +2 -2
  118. package/scripts/build-input-attribute-catalog.mjs +133 -0
@@ -267,6 +267,8 @@ defineExpose({
267
267
  </script>
268
268
 
269
269
  <template>
270
+ <!-- @submit.prevent: Enter in a single-text-field form triggers an implicit
271
+ submit; without it VForm calls the native form.submit() and reloads (#278). -->
270
272
  <v-form
271
273
  v-if="!formInjected && !trimmedTemplate"
272
274
  ref="formPad"
@@ -274,6 +276,7 @@ defineExpose({
274
276
  :readonly="readonly"
275
277
  :class="$attrs.class"
276
278
  autocomplete="off"
279
+ @submit.prevent
277
280
  >
278
281
  <template #default="formProvided">
279
282
  <slot