@nhtio/lucid-resourceful-vue-components 0.1.0-master-9802f3a9 → 0.1.0-master-a0be600a
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.
- package/{VChip-COQck2AV.mjs → VChip-CD7B99FX.mjs} +2 -2
- package/{VChip-COQck2AV.mjs.map → VChip-CD7B99FX.mjs.map} +1 -1
- package/{VDatePicker-DJFZcev9.mjs → VDatePicker-B5v5MFIN.mjs} +4 -4
- package/{VDatePicker-DJFZcev9.mjs.map → VDatePicker-B5v5MFIN.mjs.map} +1 -1
- package/{VDialog-JGibK5Rl.mjs → VDialog-lUcuwX2n.mjs} +3 -3
- package/{VDialog-JGibK5Rl.mjs.map → VDialog-lUcuwX2n.mjs.map} +1 -1
- package/{VEmptyState-DKODfacQ.mjs → VEmptyState-CAdMrRGA.mjs} +2 -2
- package/{VEmptyState-DKODfacQ.mjs.map → VEmptyState-CAdMrRGA.mjs.map} +1 -1
- package/{VHover-DGMoUvi7.mjs → VHover-BCXXvhJf.mjs} +3 -3
- package/{VHover-DGMoUvi7.mjs.map → VHover-BCXXvhJf.mjs.map} +1 -1
- package/{VListItem-ZmExdT37.mjs → VListItem-Cc2-RZ21.mjs} +3 -3
- package/{VListItem-ZmExdT37.mjs.map → VListItem-Cc2-RZ21.mjs.map} +1 -1
- package/{VMenu-DCDIKpqX.mjs → VMenu-DifPtEI3.mjs} +3 -3
- package/{VMenu-DCDIKpqX.mjs.map → VMenu-DifPtEI3.mjs.map} +1 -1
- package/{VPicker-CAvKVtUE.mjs → VPicker-CGSCX2jB.mjs} +4 -4
- package/{VPicker-CAvKVtUE.mjs.map → VPicker-CGSCX2jB.mjs.map} +1 -1
- package/{VRadioGroup-BPByWwud.mjs → VRadioGroup-Bnw59gfS.mjs} +4 -4
- package/{VRadioGroup-BPByWwud.mjs.map → VRadioGroup-Bnw59gfS.mjs.map} +1 -1
- package/{VRow-BwokRy3H.mjs → VRow-1b4yScY2.mjs} +2 -2
- package/{VRow-BwokRy3H.mjs.map → VRow-1b4yScY2.mjs.map} +1 -1
- package/{VSheet-CHO05eqU.mjs → VSheet-CuYNSxEn.mjs} +2 -2
- package/{VSheet-CHO05eqU.mjs.map → VSheet-CuYNSxEn.mjs.map} +1 -1
- package/{actions-CpgDJP6D.mjs → actions-Dn25U_rd.mjs} +12 -12
- package/{actions-CpgDJP6D.mjs.map → actions-Dn25U_rd.mjs.map} +1 -1
- package/{alert-C-iwLX_v.mjs → alert-D7IVL2r2.mjs} +11 -11
- package/{alert-C-iwLX_v.mjs.map → alert-D7IVL2r2.mjs.map} +1 -1
- package/{bigint-DatNMKMQ.mjs → bigint-wE2NM5Oz.mjs} +7 -7
- package/{bigint-DatNMKMQ.mjs.map → bigint-wE2NM5Oz.mjs.map} +1 -1
- package/{boolean-B0IH8K9C.mjs → boolean-B6lfu2lQ.mjs} +10 -10
- package/{boolean-B0IH8K9C.mjs.map → boolean-B6lfu2lQ.mjs.map} +1 -1
- package/{clipboard-DWKPq79h.mjs → clipboard-Bs9IxB_1.mjs} +7 -7
- package/{clipboard-DWKPq79h.mjs.map → clipboard-Bs9IxB_1.mjs.map} +1 -1
- package/{common-Dzn-bQuK.mjs → common-D62o_zAA.mjs} +15 -15
- package/{common-Dzn-bQuK.mjs.map → common-D62o_zAA.mjs.map} +1 -1
- package/components/autorefresh_controller.mjs +1 -1
- package/components/control_button.mjs +1 -1
- package/components/control_button_bar.mjs +2 -2
- package/components/control_menu.mjs +1 -1
- package/components/custom_field.mjs +1 -1
- package/components/exporter.mjs +1 -1
- package/components/fields/bigint.mjs +1 -1
- package/components/fields/boolean.mjs +1 -1
- package/components/fields/date.mjs +1 -1
- package/components/fields/date_time.mjs +1 -1
- package/components/fields/enum.mjs +1 -1
- package/components/fields/integer.mjs +1 -1
- package/components/fields/number.mjs +1 -1
- package/components/fields/string.mjs +1 -1
- package/components/fields/unsigned_integer.mjs +1 -1
- package/components/fields.mjs +9 -9
- package/components/form_with_validation.mjs +1 -1
- package/components/resourceful_alerter.mjs +1 -1
- package/components/resourceful_index.mjs +1 -1
- package/components/resourceful_record.mjs +2 -2
- package/components/resourceful_record_default_form.mjs +1 -1
- package/components/resourceful_record_form.mjs +1 -1
- package/components/sortable.mjs +1 -1
- package/components/svg_icon.mjs +1 -1
- package/components/timezone_picker.mjs +1 -1
- package/components.mjs +23 -23
- package/composables.mjs +11 -11
- package/{custom-B_tvJRGH.mjs → custom-GeZLHpx7.mjs} +7 -7
- package/{custom-B_tvJRGH.mjs.map → custom-GeZLHpx7.mjs.map} +1 -1
- package/{date-4kOMkpPK.mjs → date-BSCbYrys.mjs} +10 -10
- package/{date-4kOMkpPK.mjs.map → date-BSCbYrys.mjs.map} +1 -1
- package/{date_time-D96QVf1U.mjs → date_time-DUUNvRa-.mjs} +18 -18
- package/{date_time-D96QVf1U.mjs.map → date_time-DUUNvRa-.mjs.map} +1 -1
- package/{display-D5DX6q0x.mjs → display-BEkjokHp.mjs} +4 -4
- package/{display-D5DX6q0x.mjs.map → display-BEkjokHp.mjs.map} +1 -1
- package/{display-XSB3T9Jj.mjs → display-BeKXT2GD.mjs} +3 -3
- package/{display-XSB3T9Jj.mjs.map → display-BeKXT2GD.mjs.map} +1 -1
- package/{enum-0BP9v0N5.mjs → enum-D8RGbgmx.mjs} +9 -9
- package/{enum-0BP9v0N5.mjs.map → enum-D8RGbgmx.mjs.map} +1 -1
- package/{exceptions-eIayR6I-.mjs → exceptions-DV9UeCpK.mjs} +2 -2
- package/{exceptions-eIayR6I-.mjs.map → exceptions-DV9UeCpK.mjs.map} +1 -1
- package/exceptions.mjs +2 -2
- package/factories.mjs +2 -2
- package/{field_composer-ohZKjFvR.mjs → field_composer-DLz7bt12.mjs} +3 -3
- package/{field_composer-ohZKjFvR.mjs.map → field_composer-DLz7bt12.mjs.map} +1 -1
- package/{form-Bn6xP2j6.mjs → form-staLyXxV.mjs} +15 -15
- package/{form-Bn6xP2j6.mjs.map → form-staLyXxV.mjs.map} +1 -1
- package/{guards-2UyYIEIu.mjs → guards-DmJaSA6N.mjs} +2 -2
- package/{guards-2UyYIEIu.mjs.map → guards-DmJaSA6N.mjs.map} +1 -1
- package/guards.mjs +4 -4
- package/helpers.mjs +12 -12
- package/{http-BCSx8rC5.mjs → http-D8NGvFos.mjs} +5 -2
- package/{http-BCSx8rC5.mjs.map → http-D8NGvFos.mjs.map} +1 -1
- package/{http-BPAApU10.mjs → http-DfPLq6ce.mjs} +2 -2
- package/{http-BPAApU10.mjs.map → http-DfPLq6ce.mjs.map} +1 -1
- package/http.mjs +1 -1
- package/{index-CGcmZuao.mjs → index-BWB0B_nb.mjs} +15 -15
- package/{index-CGcmZuao.mjs.map → index-BWB0B_nb.mjs.map} +1 -1
- package/{index-dd1icY6k.mjs → index-BaNgIAb2.mjs} +43 -43
- package/{index-dd1icY6k.mjs.map → index-BaNgIAb2.mjs.map} +1 -1
- package/{index-BL6_XmCt.mjs → index-Bp4lfHSa.mjs} +8 -8
- package/{index-BL6_XmCt.mjs.map → index-Bp4lfHSa.mjs.map} +1 -1
- package/{index-BACipeG5.mjs → index-CXEuIK4B.mjs} +6 -6
- package/{index-BACipeG5.mjs.map → index-CXEuIK4B.mjs.map} +1 -1
- package/{index-CIi2Afdj.mjs → index-DGH0FZ_f.mjs} +8 -8
- package/{index-CIi2Afdj.mjs.map → index-DGH0FZ_f.mjs.map} +1 -1
- package/{index-BPddr1wp.mjs → index-DWcM0xl9.mjs} +3 -3
- package/{index-BPddr1wp.mjs.map → index-DWcM0xl9.mjs.map} +1 -1
- package/{index-BzKOotZB.mjs → index-DYzvn7Sf.mjs} +4 -4
- package/{index-BzKOotZB.mjs.map → index-DYzvn7Sf.mjs.map} +1 -1
- package/{index-omu1xByg.mjs → index-N2lUoQbz.mjs} +8 -8
- package/{index-omu1xByg.mjs.map → index-N2lUoQbz.mjs.map} +1 -1
- package/{index-BfgMbbzT.mjs → index-_7fLQjhW.mjs} +3 -3
- package/{index-BfgMbbzT.mjs.map → index-_7fLQjhW.mjs.map} +1 -1
- package/index.mjs +37 -37
- package/{integer-DUt4-3uq.mjs → integer-Cj8Jn6JJ.mjs} +3 -3
- package/{integer-DUt4-3uq.mjs.map → integer-Cj8Jn6JJ.mjs.map} +1 -1
- package/{ioc-De3kv3aq.mjs → ioc-BSX3tx4i.mjs} +2 -2
- package/{ioc-De3kv3aq.mjs.map → ioc-BSX3tx4i.mjs.map} +1 -1
- package/ioc.mjs +1 -1
- package/{mdi-CicdOYKA.mjs → mdi-C_p8wc7S.mjs} +12 -12
- package/{mdi-CicdOYKA.mjs.map → mdi-C_p8wc7S.mjs.map} +1 -1
- package/{number-UcQrSUBH.mjs → number-BXcyky8d.mjs} +8 -8
- package/{number-UcQrSUBH.mjs.map → number-BXcyky8d.mjs.map} +1 -1
- package/package.json +5 -5
- package/{props-DtG7gC-5.mjs → props-Cf7gqpvS.mjs} +4 -4
- package/{props-DtG7gC-5.mjs.map → props-Cf7gqpvS.mjs.map} +1 -1
- package/{props-KjN-Kdb9.mjs → props-DZgIOjfJ.mjs} +4 -4
- package/{props-KjN-Kdb9.mjs.map → props-DZgIOjfJ.mjs.map} +1 -1
- package/{renderers-B4GBzuIN.mjs → renderers-DeN9bBU8.mjs} +14 -14
- package/{renderers-B4GBzuIN.mjs.map → renderers-DeN9bBU8.mjs.map} +1 -1
- package/{string-C4_hGKOb.mjs → string-B2DiBetY.mjs} +13 -13
- package/{string-C4_hGKOb.mjs.map → string-B2DiBetY.mjs.map} +1 -1
- package/{unsigned_integer-59LqwDCe.mjs → unsigned_integer-IpXl23fH.mjs} +4 -4
- package/{unsigned_integer-59LqwDCe.mjs.map → unsigned_integer-IpXl23fH.mjs.map} +1 -1
- package/{utils-C5k3feJf.mjs → utils-DBVrNuOO.mjs} +2 -2
- package/{utils-C5k3feJf.mjs.map → utils-DBVrNuOO.mjs.map} +1 -1
- package/{validation-D4B5S8pa.mjs → validation-D6aDAuWD.mjs} +5 -5
- package/{validation-D4B5S8pa.mjs.map → validation-D6aDAuWD.mjs.map} +1 -1
- package/{vendor-nhtio-vuetifiable-D1pLdLSx.mjs → vendor-nhtio-vuetifiable-CBXbDsg0.mjs} +8 -8
- package/{vendor-nhtio-vuetifiable-D1pLdLSx.mjs.map → vendor-nhtio-vuetifiable-CBXbDsg0.mjs.map} +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"guards-
|
|
1
|
+
{"version":3,"file":"guards-DmJaSA6N.mjs","sources":["../src/private/resourceful-record/guards.ts"],"sourcesContent":["import { isObject } from '../common/guards'\nimport { validator as joi, ValidationError } from '@nhtio/validation'\nimport type { Schema } from '@nhtio/validation'\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 as any),\n joi.function().instance(ValidationError as any),\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().allow('').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":["joi"],"mappings":";;AAMA,MAAM,eAAe,CAAC,QAAgB,UAA4B;AAChE,QAAM,EAAE,UAAU,OAAO,SAAS,OAAO,EAAE,YAAY,MAAM;AAC7D,SAAO,CAAC;AACV;AAEO,MAAM,oBAAoB,CAAC,UAA6C;AAC7E,QAAM,SAASA,UAAI;AAAA,IACjBA,UAAI,OAAA,EAAS,SAAS,eAAsB;AAAA,IAC5CA,UAAI,SAAA,EAAW,SAAS,eAAsB;AAAA,IAC9CA,UACG,OAAO;AAAA,MACN,SAASA,UAAI,OAAA,EAAS,SAAA;AAAA,MACtB,SAASA,UACN,MAAA,EACA;AAAA,QACCA,UAAI,OAAO;AAAA,UACT,SAASA,UAAI,OAAA,EAAS,SAAA;AAAA,UACtB,MAAMA,UAAI,MAAA,EAAQ,MAAMA,UAAI,aAAaA,UAAI,OAAA,GAAUA,UAAI,OAAA,CAAQ,CAAC,EAAE,SAAA;AAAA,UACtE,MAAMA,UAAI,OAAA,EAAS,SAAA;AAAA,UACnB,SAASA,UAAI,OAAA,EAAS,QAAQ,IAAI,EAAE,SAAA;AAAA,QAAS,CAC9C;AAAA,MAAA,EAEF,SAAA;AAAA,IAAS,CACb,EACA,QAAQ,IAAI;AAAA,EAAA;AAEjB,SAAO,aAAa,QAAQ,KAAK;AACnC;AAEO,MAAM,WAAW,CAAC,UAAiD;AACxE,SAAO,SAAS,KAAK;AACvB;AAEO,MAAM,sCAAsC,CACjD,UAC+C;AAC/C,SAAO,SAAS,KAAK;AACvB;AAEO,MAAM,4BAA4B,CAAC,UAAqD;AAC7F,QAAM,SAASA,UAAI,OAAO;AAAA,IACxB,MAAMA,UAAI,IAAA,EAAM,SAAA;AAAA,IAChB,QAAQA,UAAI,OAAA,EAAS,SAAA;AAAA,IACrB,SAASA,UAAI,OAAA,EAAS,QAAQ,IAAI,EAAE,SAAA;AAAA,IACpC,KAAKA,UAAI,OAAA,EAAS,MAAM,EAAE,EAAE,SAAA;AAAA,EAAS,CACtC;AACD,SAAO,aAAa,QAAQ,KAAK;AACnC;AAEO,MAAM,4BAA4B,CAAC,UAAqD;AAC7F,QAAM,SAASA,UAAI,OAAO;AAAA,IACxB,SAASA,UAAI,OAAA,EAAS,IAAI,CAAC,EAAE,IAAI,GAAG,EAAE,SAAA;AAAA,IACtC,kBAAkBA,UAAI,OAAA,EAAS,IAAI,CAAC,EAAE,SAAA;AAAA,IACtC,YAAYA,UAAI,OAAA,EAAS,IAAI,CAAC,EAAE,SAAA;AAAA,EAAS,CAC1C;AACD,SAAO,aAAa,QAAQ,KAAK;AACnC;AAEO,MAAM,oCAAoC,CAC/C,QACA,UACY;AACZ,SAAO,SAAS,MAAM,KAAK,kBAAkB,KAAK;AACpD;AAEO,MAAM,oCAAoC,CAAC,WAAyC;AACzF,SAAO,SAAS,MAAM;AACxB;AAEO,MAAM,qCAAqC,CAChD,UACA,WACY;AACZ,SAAO,0BAA0B,QAAQ,KAAK,SAAS,MAAM;AAC/D;AAEO,MAAM,kCAAkC,CAC7C,UACA,WACY;AACZ,SAAO,oCAAoC,QAAQ,KAAK,SAAS,MAAM;AACzE;AAEO,MAAM,kCAAkC,CAC7C,UACA,WACY;AACZ,SAAO,0BAA0B,QAAQ,KAAK,SAAS,MAAM;AAC/D;"}
|
package/guards.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i } from "./validation-
|
|
2
|
-
import { a, c, b, h, d, f, e, g, i as i2 } from "./guards-
|
|
3
|
-
import { a as a2, i as i3 } from "./actions-
|
|
4
|
-
import { f as f2, i as i4 } from "./utils-
|
|
1
|
+
import { i } from "./validation-D6aDAuWD.mjs";
|
|
2
|
+
import { a, c, b, h, d, f, e, g, i as i2 } from "./guards-DmJaSA6N.mjs";
|
|
3
|
+
import { a as a2, i as i3 } from "./actions-Dn25U_rd.mjs";
|
|
4
|
+
import { f as f2, i as i4 } from "./utils-DBVrNuOO.mjs";
|
|
5
5
|
export {
|
|
6
6
|
f2 as isHTMLElement,
|
|
7
7
|
i4 as isObject,
|
package/helpers.mjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { c } from "./clipboard-
|
|
2
|
-
import { I, S, d, t } from "./vendor-nhtio-vuetifiable-
|
|
3
|
-
import { S as S2, a } from "./display-
|
|
4
|
-
import { e } from "./http-
|
|
5
|
-
import { s } from "./index-
|
|
6
|
-
import { r, a as a2 } from "./renderers-
|
|
7
|
-
import { g, a as a3, u, b, c as c2 } from "./index-
|
|
8
|
-
import { p as printfExports } from "./http-
|
|
9
|
-
import { d as d2 } from "./http-
|
|
1
|
+
import { c } from "./clipboard-Bs9IxB_1.mjs";
|
|
2
|
+
import { I, S, d, t } from "./vendor-nhtio-vuetifiable-CBXbDsg0.mjs";
|
|
3
|
+
import { S as S2, a } from "./display-BEkjokHp.mjs";
|
|
4
|
+
import { e } from "./http-DfPLq6ce.mjs";
|
|
5
|
+
import { s } from "./index-DWcM0xl9.mjs";
|
|
6
|
+
import { r, a as a2 } from "./renderers-DeN9bBU8.mjs";
|
|
7
|
+
import { g, a as a3, u, b, c as c2 } from "./index-DYzvn7Sf.mjs";
|
|
8
|
+
import { p as printfExports } from "./http-D8NGvFos.mjs";
|
|
9
|
+
import { d as d2 } from "./http-D8NGvFos.mjs";
|
|
10
10
|
import { f } from "./big_number_formatter-Y4TivQxi.mjs";
|
|
11
|
-
import { R, j, g as g2, h, k, n, l, m, o, s as s2, t as t2, q } from "./utils-
|
|
11
|
+
import { R, j, g as g2, h, k, n, l, m, o, s as s2, t as t2, q } from "./utils-DBVrNuOO.mjs";
|
|
12
12
|
import { d as d3, e as e2, v } from "./index-BEXQjukb.mjs";
|
|
13
13
|
import { d as d4, e as e3 } from "./vendor-nhtio-validation-IJWW0vrt.mjs";
|
|
14
14
|
import { n as n2 } from "./numeral-DmC5bR5g.mjs";
|
|
15
|
-
import { o as o2 } from "./index-
|
|
15
|
+
import { o as o2 } from "./index-_7fLQjhW.mjs";
|
|
16
16
|
import { m as merge, c as compact, d as decode, i as isRegExp, a as maybeMap, b as combine, f as formats, s as stringify } from "./stringify-Bfbvixfq.mjs";
|
|
17
|
-
import { l as dotCtor } from "./ioc-
|
|
17
|
+
import { l as dotCtor } from "./ioc-BSX3tx4i.mjs";
|
|
18
18
|
const has = Object.prototype.hasOwnProperty;
|
|
19
19
|
const isArray = Array.isArray;
|
|
20
20
|
const defaults = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import axios from "axios";
|
|
2
|
-
import { I as IN_BROWSER, S as SUPPORTS_INTERSECTION } from "./vendor-nhtio-vuetifiable-
|
|
2
|
+
import { I as IN_BROWSER, S as SUPPORTS_INTERSECTION } from "./vendor-nhtio-vuetifiable-CBXbDsg0.mjs";
|
|
3
3
|
import { M as Middleware } from "./vendor-nhtio-middleware-DPyFv1NP.mjs";
|
|
4
4
|
import { d as decode, e as encode } from "./index-BEXQjukb.mjs";
|
|
5
5
|
const BROWSER_ALIASES_MAP = {
|
|
@@ -3854,6 +3854,9 @@ class ResourcefulFetchHttpService {
|
|
|
3854
3854
|
onDownloadProgress: options.onDownloadProgress,
|
|
3855
3855
|
onUploadProgress: options.onUploadProgress
|
|
3856
3856
|
};
|
|
3857
|
+
if (!["post", "put", "patch"].includes(options.method.toLowerCase())) {
|
|
3858
|
+
delete opts.body;
|
|
3859
|
+
}
|
|
3857
3860
|
try {
|
|
3858
3861
|
const response = await this.#instance(options.url, opts);
|
|
3859
3862
|
return await this.#respond(response, options.response);
|
|
@@ -4046,4 +4049,4 @@ export {
|
|
|
4046
4049
|
defaultResourcefulHttpService as f,
|
|
4047
4050
|
printfExports as p
|
|
4048
4051
|
};
|
|
4049
|
-
//# sourceMappingURL=http-
|
|
4052
|
+
//# sourceMappingURL=http-D8NGvFos.mjs.map
|