@nhtio/lucid-resourceful-vue-components 0.1.0-master-dc6af70b → 0.1.0-master-54839a90

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 (160) hide show
  1. package/{VBtn-CEYzcx0y.mjs → VBtn-C4WCntKg.mjs} +7 -7
  2. package/{VBtn-CEYzcx0y.mjs.map → VBtn-C4WCntKg.mjs.map} +1 -1
  3. package/{VDatePicker-BHcvHHhM.mjs → VDatePicker-DOCNk-HL.mjs} +61 -61
  4. package/{VDatePicker-BHcvHHhM.mjs.map → VDatePicker-DOCNk-HL.mjs.map} +1 -1
  5. package/{VEmptyState-CkYtN0q5.mjs → VEmptyState-CfouFZTg.mjs} +51 -51
  6. package/{VEmptyState-CkYtN0q5.mjs.map → VEmptyState-CfouFZTg.mjs.map} +1 -1
  7. package/{VHover-Bj6QrQff.mjs → VHover-DvUhdfsL.mjs} +3 -3
  8. package/{VHover-Bj6QrQff.mjs.map → VHover-DvUhdfsL.mjs.map} +1 -1
  9. package/{VListItem-BnxAmKd_.mjs → VListItem-BT-NXJyi.mjs} +36 -36
  10. package/{VListItem-BnxAmKd_.mjs.map → VListItem-BT-NXJyi.mjs.map} +1 -1
  11. package/{VMenu-BSB7YSpb.mjs → VMenu-Bk2NN8qb.mjs} +3 -3
  12. package/{VMenu-BSB7YSpb.mjs.map → VMenu-Bk2NN8qb.mjs.map} +1 -1
  13. package/{VPicker-DMOVvCIE.mjs → VPicker-DmY6CdER.mjs} +4 -4
  14. package/{VPicker-DMOVvCIE.mjs.map → VPicker-DmY6CdER.mjs.map} +1 -1
  15. package/{VRadioGroup-ByydeX8x.mjs → VRadioGroup-BO7XdtLS.mjs} +15 -15
  16. package/{VRadioGroup-ByydeX8x.mjs.map → VRadioGroup-BO7XdtLS.mjs.map} +1 -1
  17. package/{VRow-Dmn82Xaa.mjs → VRow-BhNJcY5-.mjs} +7 -7
  18. package/{VRow-Dmn82Xaa.mjs.map → VRow-BhNJcY5-.mjs.map} +1 -1
  19. package/{VSheet-B9ALb0PQ.mjs → VSheet-Bkr-m6FE.mjs} +2 -2
  20. package/{VSheet-B9ALb0PQ.mjs.map → VSheet-Bkr-m6FE.mjs.map} +1 -1
  21. package/{actions-BEmdy8bu.mjs → actions-ORUmfJR5.mjs} +14 -14
  22. package/{actions-BEmdy8bu.mjs.map → actions-ORUmfJR5.mjs.map} +1 -1
  23. package/{alert-DftADRGk.mjs → alert-pFT7pWTZ.mjs} +97 -94
  24. package/alert-pFT7pWTZ.mjs.map +1 -0
  25. package/{bigint-DiC37zMo.mjs → bigint-CCM0aPaS.mjs} +6 -6
  26. package/{bigint-DiC37zMo.mjs.map → bigint-CCM0aPaS.mjs.map} +1 -1
  27. package/{boolean-DZDryWHA.mjs → boolean-1-MOJPSu.mjs} +43 -43
  28. package/{boolean-DZDryWHA.mjs.map → boolean-1-MOJPSu.mjs.map} +1 -1
  29. package/{clipboard--JAZokR3.mjs → clipboard-CdGABqm1.mjs} +49 -49
  30. package/{clipboard--JAZokR3.mjs.map → clipboard-CdGABqm1.mjs.map} +1 -1
  31. package/{colorUtils-I1lKouL3.mjs → colorUtils-BdpqbLZS.mjs} +3 -3
  32. package/{colorUtils-I1lKouL3.mjs.map → colorUtils-BdpqbLZS.mjs.map} +1 -1
  33. package/{common-BDwb9uGU.mjs → common-Bi5RUD-n.mjs} +13 -13
  34. package/{common-BDwb9uGU.mjs.map → common-Bi5RUD-n.mjs.map} +1 -1
  35. package/{component-C-qp70Rp.mjs → component-DhEJuSE6.mjs} +2 -2
  36. package/{component-C-qp70Rp.mjs.map → component-DhEJuSE6.mjs.map} +1 -1
  37. package/components/autorefresh_controller.mjs +1 -1
  38. package/components/control_button.mjs +1 -1
  39. package/components/control_button_bar.mjs +2 -2
  40. package/components/control_menu.mjs +1 -1
  41. package/components/custom_field.mjs +1 -1
  42. package/components/exporter.mjs +1 -1
  43. package/components/fields/bigint.mjs +1 -1
  44. package/components/fields/boolean.mjs +1 -1
  45. package/components/fields/date.mjs +1 -1
  46. package/components/fields/date_time.mjs +1 -1
  47. package/components/fields/enum.mjs +1 -1
  48. package/components/fields/integer.mjs +1 -1
  49. package/components/fields/number.mjs +1 -1
  50. package/components/fields/string.mjs +1 -1
  51. package/components/fields/unsigned_integer.mjs +1 -1
  52. package/components/fields.mjs +9 -9
  53. package/components/form_with_validation.mjs +1 -1
  54. package/components/resourceful_alerter.mjs +1 -1
  55. package/components/resourceful_index.mjs +1 -1
  56. package/components/resourceful_record.mjs +2 -2
  57. package/components/resourceful_record_default_form.mjs +1 -1
  58. package/components/resourceful_record_form.mjs +1 -1
  59. package/components/sortable.mjs +1 -1
  60. package/components/svg_icon.mjs +1 -1
  61. package/components/timezone_picker.mjs +1 -1
  62. package/components.mjs +23 -23
  63. package/composables.mjs +11 -11
  64. package/{console-CAez8ceh.mjs → console-Dgoi3FwV.mjs} +2 -2
  65. package/{console-CAez8ceh.mjs.map → console-Dgoi3FwV.mjs.map} +1 -1
  66. package/{custom-Tm6_792A.mjs → custom-DQmbYYPh.mjs} +21 -21
  67. package/{custom-Tm6_792A.mjs.map → custom-DQmbYYPh.mjs.map} +1 -1
  68. package/{date-CxaBVvlO.mjs → date-E_8RP3gK.mjs} +21 -21
  69. package/{date-CxaBVvlO.mjs.map → date-E_8RP3gK.mjs.map} +1 -1
  70. package/{date_time-DhABUkGT.mjs → date_time-BmYl2TFi.mjs} +348 -348
  71. package/{date_time-DhABUkGT.mjs.map → date_time-BmYl2TFi.mjs.map} +1 -1
  72. package/{display-DazBkrbZ.mjs → display-B089h_sz.mjs} +27 -25
  73. package/display-B089h_sz.mjs.map +1 -0
  74. package/{display-DPktlWOz.mjs → display-dv4cOwRN.mjs} +9 -9
  75. package/{display-DPktlWOz.mjs.map → display-dv4cOwRN.mjs.map} +1 -1
  76. package/{display-BdjbLG1_.mjs → display-fXo4JeIS.mjs} +15 -15
  77. package/{display-BdjbLG1_.mjs.map → display-fXo4JeIS.mjs.map} +1 -1
  78. package/{elevation-DFBVIqom.mjs → elevation-YNOj0hSa.mjs} +38 -38
  79. package/{elevation-DFBVIqom.mjs.map → elevation-YNOj0hSa.mjs.map} +1 -1
  80. package/{enum-KB4xPkOL.mjs → enum-8itqseZa.mjs} +22 -22
  81. package/{enum-KB4xPkOL.mjs.map → enum-8itqseZa.mjs.map} +1 -1
  82. package/factories.mjs +1 -1
  83. package/{field_composer-CLJuJevf.mjs → field_composer-ugYyDQNY.mjs} +3 -3
  84. package/{field_composer-CLJuJevf.mjs.map → field_composer-ugYyDQNY.mjs.map} +1 -1
  85. package/{form-9YRVcrxM.mjs → form-BtDnRXYm.mjs} +45 -45
  86. package/{form-9YRVcrxM.mjs.map → form-BtDnRXYm.mjs.map} +1 -1
  87. package/{guards-BrpRx6ly.mjs → guards-Cby4QwzY.mjs} +2 -2
  88. package/{guards-BrpRx6ly.mjs.map → guards-Cby4QwzY.mjs.map} +1 -1
  89. package/guards.mjs +4 -4
  90. package/helpers.mjs +6 -6
  91. package/{index-BkjiQEyJ.mjs → index-3XRUa28C.mjs} +12 -12
  92. package/{index-BkjiQEyJ.mjs.map → index-3XRUa28C.mjs.map} +1 -1
  93. package/{index-DDobJ49b.mjs → index-BCQmj6cf.mjs} +13 -13
  94. package/{index-DDobJ49b.mjs.map → index-BCQmj6cf.mjs.map} +1 -1
  95. package/{index-UxsEIZVi.mjs → index-BgevbZTt.mjs} +10 -10
  96. package/{index-UxsEIZVi.mjs.map → index-BgevbZTt.mjs.map} +1 -1
  97. package/{index-CWwCXXNl.mjs → index-C-PCfO1S.mjs} +2 -2
  98. package/{index-CWwCXXNl.mjs.map → index-C-PCfO1S.mjs.map} +1 -1
  99. package/{index-DBXOwXpe.mjs → index-CSyOYGEi.mjs} +8 -8
  100. package/{index-DBXOwXpe.mjs.map → index-CSyOYGEi.mjs.map} +1 -1
  101. package/{index-DwOjHbRP.mjs → index-D9i1PRci.mjs} +5700 -5697
  102. package/{index-DwOjHbRP.mjs.map → index-D9i1PRci.mjs.map} +1 -1
  103. package/{index-BaOM0Cyz.mjs → index-DWv9iKZs.mjs} +21 -21
  104. package/{index-BaOM0Cyz.mjs.map → index-DWv9iKZs.mjs.map} +1 -1
  105. package/{index-Bs4A8qUO.mjs → index-VpcXNOpn.mjs} +2 -2
  106. package/{index-Bs4A8qUO.mjs.map → index-VpcXNOpn.mjs.map} +1 -1
  107. package/{index-BsazeUn6.mjs → index-fiZltUBs.mjs} +3 -3
  108. package/{index-BsazeUn6.mjs.map → index-fiZltUBs.mjs.map} +1 -1
  109. package/index.mjs +47 -47
  110. package/{integer-uzh0nwpb.mjs → integer-W2_SlKV1.mjs} +5 -5
  111. package/{integer-uzh0nwpb.mjs.map → integer-W2_SlKV1.mjs.map} +1 -1
  112. package/{mdi-C9DbASEx.mjs → mdi-DC1jeTJJ.mjs} +18 -18
  113. package/{mdi-C9DbASEx.mjs.map → mdi-DC1jeTJJ.mjs.map} +1 -1
  114. package/{number-CfHLDQFY.mjs → number-DgwZBxOw.mjs} +85 -85
  115. package/{number-CfHLDQFY.mjs.map → number-DgwZBxOw.mjs.map} +1 -1
  116. package/package.json +32 -32
  117. package/{position-CPuNp03H.mjs → position-B9VPkbhU.mjs} +2 -2
  118. package/{position-CPuNp03H.mjs.map → position-B9VPkbhU.mjs.map} +1 -1
  119. package/private/control-button-bar/props.d.ts +10 -10
  120. package/private/fields/bigint.d.ts +128 -128
  121. package/private/fields/boolean.d.ts +68 -68
  122. package/private/fields/common.d.ts +16 -16
  123. package/private/fields/custom.d.ts +2 -2
  124. package/private/fields/date.d.ts +24 -24
  125. package/private/fields/date_time.d.ts +24 -24
  126. package/private/fields/enum.d.ts +68 -68
  127. package/private/fields/integer.d.ts +107 -107
  128. package/private/fields/multiple.d.ts +17 -17
  129. package/private/fields/number.d.ts +46 -46
  130. package/private/fields/read_mode_renderer.d.ts +17 -17
  131. package/private/fields/string.d.ts +24 -24
  132. package/private/fields/unsigned_integer.d.ts +107 -107
  133. package/private/filtration/filter_group_condition_element.d.ts +36 -36
  134. package/private/resourceful-index/index.d.ts +17 -17
  135. package/private/resourceful-index/partials/_controls.d.ts +1 -1
  136. package/private/resourceful-index/partials/_per_page_selector.d.ts +1 -1
  137. package/private/resourceful-index/props.d.ts +34 -34
  138. package/private/resourceful-record/form.d.ts +12 -12
  139. package/private/resourceful-record/index.d.ts +13 -13
  140. package/private/resourceful-record/props.d.ts +20 -20
  141. package/private/sortable/index.d.ts +1 -1
  142. package/{props-KPFuptNy.mjs → props-COvhL78L.mjs} +8 -8
  143. package/{props-KPFuptNy.mjs.map → props-COvhL78L.mjs.map} +1 -1
  144. package/{props-Cq9daNwa.mjs → props-GYFmAF5-.mjs} +6 -6
  145. package/{props-Cq9daNwa.mjs.map → props-GYFmAF5-.mjs.map} +1 -1
  146. package/{renderers-COT3aAu3.mjs → renderers-BP4li2WT.mjs} +13 -13
  147. package/{renderers-COT3aAu3.mjs.map → renderers-BP4li2WT.mjs.map} +1 -1
  148. package/{string-DvwPf_Ob.mjs → string-RfpfCwEn.mjs} +180 -180
  149. package/{string-DvwPf_Ob.mjs.map → string-RfpfCwEn.mjs.map} +1 -1
  150. package/{unsigned_integer-C9nrNAn_.mjs → unsigned_integer-Cg6tbRJj.mjs} +4 -4
  151. package/{unsigned_integer-C9nrNAn_.mjs.map → unsigned_integer-Cg6tbRJj.mjs.map} +1 -1
  152. package/useRender-CfNJA_8a.mjs +9 -0
  153. package/{useRender-Dpj9Jrbr.mjs.map → useRender-CfNJA_8a.mjs.map} +1 -1
  154. package/{utils-DxV2ZNaE.mjs → utils-D3ZGaTyv.mjs} +50 -50
  155. package/{utils-DxV2ZNaE.mjs.map → utils-D3ZGaTyv.mjs.map} +1 -1
  156. package/{validation-CZ6xx4aX.mjs → validation-BF_JkNWB.mjs} +4 -4
  157. package/{validation-CZ6xx4aX.mjs.map → validation-BF_JkNWB.mjs.map} +1 -1
  158. package/alert-DftADRGk.mjs.map +0 -1
  159. package/display-DazBkrbZ.mjs.map +0 -1
  160. package/useRender-Dpj9Jrbr.mjs +0 -9
@@ -1,4 +1,4 @@
1
- import { i as o } from "./utils-DxV2ZNaE.mjs";
1
+ import { i as o } from "./utils-D3ZGaTyv.mjs";
2
2
  import { v as e, V as u } from "./encoding-C1W2Cp3X-DzgQRCVx.mjs";
3
3
  const n = (r, s) => {
4
4
  const { error: i } = r.validate(s, { abortEarly: !0 });
@@ -47,4 +47,4 @@ export {
47
47
  v as h,
48
48
  t as i
49
49
  };
50
- //# sourceMappingURL=guards-BrpRx6ly.mjs.map
50
+ //# sourceMappingURL=guards-Cby4QwzY.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"guards-BrpRx6ly.mjs","sources":["../src/private/resourceful-record/guards.ts"],"sourcesContent":["import { isObject } from '../common/guards'\nimport { joi, ValidationError } from '@nhtio/lucid-resourceful/joi'\nimport type { Schema } from '@nhtio/lucid-resourceful/joi'\nimport type { ResourceResourcefulRecordResponse } from './types'\nimport type { ResourcefulHttpResponse, ResourcefulHttpProgress } from '../services/http'\n\nconst passesSchema = (schema: Schema, value: unknown): boolean => {\n const { error } = schema.validate(value, { abortEarly: true })\n return !error\n}\n\nexport const isValidationError = (value: unknown): value is ValidationError => {\n const schema = joi.alternatives(\n joi.object().instance(ValidationError),\n joi.function().instance(ValidationError),\n joi\n .object({\n message: joi.string().required(),\n details: joi\n .array()\n .items(\n joi.object({\n message: joi.string().required(),\n path: joi.array().items(joi.alternatives(joi.string(), joi.number())).required(),\n type: joi.string().required(),\n context: joi.object().unknown(true).required(),\n })\n )\n .required(),\n })\n .unknown(true)\n )\n return passesSchema(schema, value)\n}\n\nexport const isValues = (value: unknown): value is Record<string, any> => {\n return isObject(value)\n}\n\nexport const isResourceResourcefulRecordResponse = (\n value: unknown\n): value is ResourceResourcefulRecordResponse => {\n return isObject(value)\n}\n\nexport const isResourcefulHttpResponse = (value: unknown): value is ResourcefulHttpResponse => {\n const schema = joi.object({\n data: joi.any().required(),\n status: joi.number().required(),\n headers: joi.object().unknown(true).required(),\n url: joi.string().uri().required(),\n })\n return passesSchema(schema, value)\n}\n\nexport const isResourcefulHttpProgress = (value: unknown): value is ResourcefulHttpProgress => {\n const schema = joi.object({\n percent: joi.number().min(0).max(100).required(),\n transferredBytes: joi.number().min(0).required(),\n totalBytes: joi.number().min(0).required(),\n })\n return passesSchema(schema, value)\n}\n\nexport const isResourcefulRecordPreventedEvent = (\n values: Record<string, any>,\n error: ValidationError\n): boolean => {\n return isValues(values) && isValidationError(error)\n}\n\nexport const isResourcefulRecordSubmittedEvent = (values: Record<string, any>): boolean => {\n return isValues(values)\n}\n\nexport const isResourcefulRecordProcessingEvent = (\n progress: ResourcefulHttpProgress,\n values: Record<string, any>\n): boolean => {\n return isResourcefulHttpProgress(progress) && isValues(values)\n}\n\nexport const isResourcefulRecordSuccessEvent = (\n response: ResourceResourcefulRecordResponse,\n values: Record<string, any>\n): boolean => {\n return isResourceResourcefulRecordResponse(response) && isValues(values)\n}\n\nexport const isResourcefulRecordFailureEvent = (\n response: ResourcefulHttpResponse,\n values: Record<string, any>\n): boolean => {\n return isResourcefulHttpResponse(response) && isValues(values)\n}\n"],"names":["passesSchema","schema","value","error","isValidationError","joi","ValidationError","isValues","isObject","isResourceResourcefulRecordResponse","isResourcefulHttpResponse","isResourcefulHttpProgress","isResourcefulRecordPreventedEvent","values","isResourcefulRecordSubmittedEvent","isResourcefulRecordProcessingEvent","progress","isResourcefulRecordSuccessEvent","response","isResourcefulRecordFailureEvent"],"mappings":";;AAMA,MAAMA,IAAe,CAACC,GAAgBC,MAA4B;AAChE,QAAM,EAAE,OAAAC,MAAUF,EAAO,SAASC,GAAO,EAAE,YAAY,IAAM;AAC7D,SAAO,CAACC;AACV,GAEaC,IAAoB,CAACF,MAA6C;AAC7E,QAAMD,IAASI,EAAI;AAAA,IACjBA,EAAI,OAAA,EAAS,SAASC,CAAe;AAAA,IACrCD,EAAI,SAAA,EAAW,SAASC,CAAe;AAAA,IACvCD,EACG,OAAO;AAAA,MACN,SAASA,EAAI,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KAAKT,EAAkBD,CAAK,GAGvCW,IAAoC,CAACD,MACzCN,EAASM,CAAM,GAGXE,IAAqC,CAChDC,GACAH,MAEOF,EAA0BK,CAAQ,KAAKT,EAASM,CAAM,GAGlDI,IAAkC,CAC7CC,GACAL,MAEOJ,EAAoCS,CAAQ,KAAKX,EAASM,CAAM,GAG5DM,IAAkC,CAC7CD,GACAL,MAEOH,EAA0BQ,CAAQ,KAAKX,EAASM,CAAM;"}
1
+ {"version":3,"file":"guards-Cby4QwzY.mjs","sources":["../src/private/resourceful-record/guards.ts"],"sourcesContent":["import { isObject } from '../common/guards'\nimport { joi, ValidationError } from '@nhtio/lucid-resourceful/joi'\nimport type { Schema } from '@nhtio/lucid-resourceful/joi'\nimport type { ResourceResourcefulRecordResponse } from './types'\nimport type { ResourcefulHttpResponse, ResourcefulHttpProgress } from '../services/http'\n\nconst passesSchema = (schema: Schema, value: unknown): boolean => {\n const { error } = schema.validate(value, { abortEarly: true })\n return !error\n}\n\nexport const isValidationError = (value: unknown): value is ValidationError => {\n const schema = joi.alternatives(\n joi.object().instance(ValidationError),\n joi.function().instance(ValidationError),\n joi\n .object({\n message: joi.string().required(),\n details: joi\n .array()\n .items(\n joi.object({\n message: joi.string().required(),\n path: joi.array().items(joi.alternatives(joi.string(), joi.number())).required(),\n type: joi.string().required(),\n context: joi.object().unknown(true).required(),\n })\n )\n .required(),\n })\n .unknown(true)\n )\n return passesSchema(schema, value)\n}\n\nexport const isValues = (value: unknown): value is Record<string, any> => {\n return isObject(value)\n}\n\nexport const isResourceResourcefulRecordResponse = (\n value: unknown\n): value is ResourceResourcefulRecordResponse => {\n return isObject(value)\n}\n\nexport const isResourcefulHttpResponse = (value: unknown): value is ResourcefulHttpResponse => {\n const schema = joi.object({\n data: joi.any().required(),\n status: joi.number().required(),\n headers: joi.object().unknown(true).required(),\n url: joi.string().uri().required(),\n })\n return passesSchema(schema, value)\n}\n\nexport const isResourcefulHttpProgress = (value: unknown): value is ResourcefulHttpProgress => {\n const schema = joi.object({\n percent: joi.number().min(0).max(100).required(),\n transferredBytes: joi.number().min(0).required(),\n totalBytes: joi.number().min(0).required(),\n })\n return passesSchema(schema, value)\n}\n\nexport const isResourcefulRecordPreventedEvent = (\n values: Record<string, any>,\n error: ValidationError\n): boolean => {\n return isValues(values) && isValidationError(error)\n}\n\nexport const isResourcefulRecordSubmittedEvent = (values: Record<string, any>): boolean => {\n return isValues(values)\n}\n\nexport const isResourcefulRecordProcessingEvent = (\n progress: ResourcefulHttpProgress,\n values: Record<string, any>\n): boolean => {\n return isResourcefulHttpProgress(progress) && isValues(values)\n}\n\nexport const isResourcefulRecordSuccessEvent = (\n response: ResourceResourcefulRecordResponse,\n values: Record<string, any>\n): boolean => {\n return isResourceResourcefulRecordResponse(response) && isValues(values)\n}\n\nexport const isResourcefulRecordFailureEvent = (\n response: ResourcefulHttpResponse,\n values: Record<string, any>\n): boolean => {\n return isResourcefulHttpResponse(response) && isValues(values)\n}\n"],"names":["passesSchema","schema","value","error","isValidationError","joi","ValidationError","isValues","isObject","isResourceResourcefulRecordResponse","isResourcefulHttpResponse","isResourcefulHttpProgress","isResourcefulRecordPreventedEvent","values","isResourcefulRecordSubmittedEvent","isResourcefulRecordProcessingEvent","progress","isResourcefulRecordSuccessEvent","response","isResourcefulRecordFailureEvent"],"mappings":";;AAMA,MAAMA,IAAe,CAACC,GAAgBC,MAA4B;AAChE,QAAM,EAAE,OAAAC,MAAUF,EAAO,SAASC,GAAO,EAAE,YAAY,IAAM;AAC7D,SAAO,CAACC;AACV,GAEaC,IAAoB,CAACF,MAA6C;AAC7E,QAAMD,IAASI,EAAI;AAAA,IACjBA,EAAI,OAAA,EAAS,SAASC,CAAe;AAAA,IACrCD,EAAI,SAAA,EAAW,SAASC,CAAe;AAAA,IACvCD,EACG,OAAO;AAAA,MACN,SAASA,EAAI,OAAA,EAAS,SAAA;AAAA,MACtB,SAASA,EACN,MAAA,EACA;AAAA,QACCA,EAAI,OAAO;AAAA,UACT,SAASA,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EOF,EAA0BK,CAAQ,KAAKT,EAASM,CAAM,GAGlDI,IAAkC,CAC7CC,GACAL,MAEOJ,EAAoCS,CAAQ,KAAKX,EAASM,CAAM,GAG5DM,IAAkC,CAC7CD,GACAL,MAEOH,EAA0BQ,CAAQ,KAAKX,EAASM,CAAM;"}
package/guards.mjs CHANGED
@@ -1,7 +1,7 @@
1
- import { i as o } from "./validation-CZ6xx4aX.mjs";
2
- import { a as u, c, b as i, h as t, d as a, f as R, e as n, g as f, i as l } from "./guards-BrpRx6ly.mjs";
3
- import { a as p, i as v } from "./actions-BEmdy8bu.mjs";
4
- import { i as E } from "./utils-DxV2ZNaE.mjs";
1
+ import { i as o } from "./validation-BF_JkNWB.mjs";
2
+ import { a as u, c, b as i, h as t, d as a, f as R, e as n, g as f, i as l } from "./guards-Cby4QwzY.mjs";
3
+ import { a as p, i as v } from "./actions-ORUmfJR5.mjs";
4
+ import { i as E } from "./utils-D3ZGaTyv.mjs";
5
5
  export {
6
6
  E as isObject,
7
7
  u as isResourceResourcefulRecordResponse,
package/helpers.mjs CHANGED
@@ -1,13 +1,13 @@
1
- import { c as a } from "./clipboard--JAZokR3.mjs";
1
+ import { c as a } from "./clipboard-CdGABqm1.mjs";
2
2
  import { E as t, a as d, b as E, c as l, f as i, g as c, I as m, S as N, h as f, d as p, i as R, e as n } from "./encoding-C1W2Cp3X-DzgQRCVx.mjs";
3
- import { S as _, a as O } from "./display-DazBkrbZ.mjs";
3
+ import { S as _, a as O } from "./display-B089h_sz.mjs";
4
4
  import { e as S } from "./http-BBfnr2c-.mjs";
5
- import { s as C } from "./index-CWwCXXNl.mjs";
6
- import { r as T, a as V } from "./renderers-COT3aAu3.mjs";
7
- import { g as P, a as U, u as F, b, c as L } from "./index-BsazeUn6.mjs";
5
+ import { s as C } from "./index-C-PCfO1S.mjs";
6
+ import { r as T, a as V } from "./renderers-BP4li2WT.mjs";
7
+ import { g as P, a as U, u as F, b, c as L } from "./index-fiZltUBs.mjs";
8
8
  import { c as D } from "./http-Crw0XAYj.mjs";
9
9
  import { f as z } from "./big_number_formatter-BGfIwlog.mjs";
10
- import { R as v, j as k, r as M, g as j, h as K, k as W, n as q, l as Z, m as w, o as G, s as H, v as J, t as Q, q as X } from "./utils-DxV2ZNaE.mjs";
10
+ import { R as v, j as k, r as M, g as j, h as K, k as W, n as q, l as Z, m as w, o as G, s as H, v as J, t as Q, q as X } from "./utils-D3ZGaTyv.mjs";
11
11
  const e = "1.20251107.0";
12
12
  export {
13
13
  t as E_CIRCULAR_REFERENCE,
@@ -1,22 +1,22 @@
1
- import { q as qs, V as VEmptyState } from "./VEmptyState-CkYtN0q5.mjs";
1
+ import { q as qs, V as VEmptyState } from "./VEmptyState-CfouFZTg.mjs";
2
2
  import { useDefaults } from "vuetify";
3
- import { u as useAlert } from "./alert-DftADRGk.mjs";
3
+ import { u as useAlert } from "./alert-pFT7pWTZ.mjs";
4
4
  import { a as useI18n, c as useHttp } from "./ioc-Du_Tgg-1.mjs";
5
5
  import { n as numeral } from "./numeral-zjPCiY2K.mjs";
6
6
  import { p as printfExports } from "./http-Crw0XAYj.mjs";
7
- import { r as resourcefulRecordEmits, m as makeResourcefulRecordProps, b as ResourcefulRecordBusEmitter, u as useResourcefulPassthroughHook, i as isResourcefulRecordBusConsumer, c as useControlButtonBaseBindings, d as useCrudActionButtonBindings, e as useAdditionalActionButtonBindings, f as useControlBarButtonBindings, g as useControlBarBaseBindings, h as useResourcefulRecordFloatingControls, a as ResourcefulRecordForm } from "./form-9YRVcrxM.mjs";
8
- import { u as useScopedDisplay } from "./display-DazBkrbZ.mjs";
9
- import { C as ControlButtonBar } from "./index-DDobJ49b.mjs";
7
+ import { r as resourcefulRecordEmits, m as makeResourcefulRecordProps, b as ResourcefulRecordBusEmitter, u as useResourcefulPassthroughHook, i as isResourcefulRecordBusConsumer, c as useControlButtonBaseBindings, d as useCrudActionButtonBindings, e as useAdditionalActionButtonBindings, f as useControlBarButtonBindings, g as useControlBarBaseBindings, h as useResourcefulRecordFloatingControls, a as ResourcefulRecordForm } from "./form-BtDnRXYm.mjs";
8
+ import { u as useScopedDisplay } from "./display-B089h_sz.mjs";
9
+ import { C as ControlButtonBar } from "./index-BCQmj6cf.mjs";
10
10
  import { e as errorSvg } from "./question-BZ_Klr0o.mjs";
11
- import { u as useRender } from "./useRender-Dpj9Jrbr.mjs";
11
+ import { u as useRender } from "./useRender-CfNJA_8a.mjs";
12
12
  import { u as useHttpElements, e as extractErrorCode } from "./http-BBfnr2c-.mjs";
13
- import { r as renderDefaultResourcefulRecordForm } from "./renderers-COT3aAu3.mjs";
14
- import { s as stripUndefinedValuesFromObject } from "./utils-DxV2ZNaE.mjs";
13
+ import { r as renderDefaultResourcefulRecordForm } from "./renderers-BP4li2WT.mjs";
14
+ import { s as stripUndefinedValuesFromObject } from "./utils-D3ZGaTyv.mjs";
15
15
  import { ResourcefulRecordScopedDisplaySymbol, ResourcefulRecordScopedBusConsumerSymbol } from "./symbols.mjs";
16
16
  import { defineComponent, ref, provide, toRefs, computed, shallowRef, watch, h, warn, triggerRef, nextTick } from "vue";
17
- import { V as VCard } from "./mdi-C9DbASEx.mjs";
18
- import { V as VContainer, a as VRow, b as VCol } from "./VRow-Dmn82Xaa.mjs";
19
- import { b as VProgressLinear, c as VImg, d as VProgressCircular } from "./display-BdjbLG1_.mjs";
17
+ import { V as VCard } from "./mdi-DC1jeTJJ.mjs";
18
+ import { V as VContainer, a as VRow, b as VCol } from "./VRow-BhNJcY5-.mjs";
19
+ import { b as VProgressLinear, c as VImg, d as VProgressCircular } from "./display-fXo4JeIS.mjs";
20
20
  var __create = Object.create, __defProp = Object.defineProperty, __getOwnPropDesc = Object.getOwnPropertyDescriptor, __getOwnPropNames = Object.getOwnPropertyNames, __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty, __esmMin = (e, t) => () => (e && (t = e(e = 0)), t), __commonJSMin = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), __export = (e, t) => {
21
21
  for (var r in t) __defProp(e, r, { get: t[r], enumerable: !0 });
22
22
  }, __copyProps = (e, t, r, o) => {
@@ -33093,4 +33093,4 @@ const ResourcefulRecord = defineComponent({
33093
33093
  export {
33094
33094
  ResourcefulRecord as R
33095
33095
  };
33096
- //# sourceMappingURL=index-BkjiQEyJ.mjs.map
33096
+ //# sourceMappingURL=index-3XRUa28C.mjs.map