@bagelink/vue 1.4.115 → 1.4.122
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/bin/generateFormSchema.ts +2 -2
- package/dist/components/form/inputs/DatePicker.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText/composables/useEditor.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText/index.vue.d.ts.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/plugins/modalTypes.d.ts +2 -1
- package/dist/plugins/modalTypes.d.ts.map +1 -1
- package/dist/plugins/useModal.d.ts +1 -1
- package/dist/plugins/useModal.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/BagelForm.d.ts +19 -10
- package/dist/types/BagelForm.d.ts.map +1 -1
- package/dist/types/NavLink.d.ts +1 -1
- package/dist/types/NavLink.d.ts.map +1 -1
- package/dist/utils/BagelFormUtils.d.ts +19 -8
- package/dist/utils/BagelFormUtils.d.ts.map +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/form/inputs/DatePicker.vue +3 -2
- package/src/components/form/inputs/RichText/utils/media.ts +7 -7
- package/src/plugins/modalTypes.ts +10 -2
- package/src/plugins/useModal.ts +23 -7
- package/src/styles/layout.css +6 -0
- package/src/types/BagelForm.ts +33 -12
- package/src/types/NavLink.ts +1 -1
- package/src/utils/BagelFormUtils.ts +49 -19
- package/src/utils/index.ts +7 -5
|
@@ -19,7 +19,7 @@ import { argv, cwd, exit } from 'node:process'
|
|
|
19
19
|
import { isSchemaObject, isReferenceObject } from '@bagelink/sdk'
|
|
20
20
|
import { formatDate, useForm } from '@bagelink/vue'
|
|
21
21
|
import axios from 'axios'
|
|
22
|
-
import { toValue } from 'vue'
|
|
22
|
+
import { toValue, type InputTypeHTMLAttribute } from 'vue'
|
|
23
23
|
import {
|
|
24
24
|
formatAndWriteCode,
|
|
25
25
|
runEsLintOnDir,
|
|
@@ -304,7 +304,7 @@ function createStringField<T>(
|
|
|
304
304
|
helptext: options.helptext,
|
|
305
305
|
multiline: (schema.maxLength ?? 0) > 255,
|
|
306
306
|
pattern: schema.pattern,
|
|
307
|
-
type: getHtmlInputType(schema.format),
|
|
307
|
+
type: getHtmlInputType(schema.format) as InputTypeHTMLAttribute,
|
|
308
308
|
}
|
|
309
309
|
|
|
310
310
|
return txtField(propName, label, textOptions)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePicker.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/DatePicker.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DatePicker.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/DatePicker.vue"],"names":[],"mappings":"AAmgBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAA;AAC3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAA;AAG/D,OAAa,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAEnE,KAAK,WAAW,GAAG;IACjB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,cAAc,CAAC,EAAE,cAAc,CAAA;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,gBAAgB,CAAC,EAAE,gBAAgB,CAAC,CAAC,MAAM,GAAG,IAAI,CAAC,EAAE,CAAC,CAAA;IACtD,aAAa,CAAC,EAAE,gBAAgB,CAAC,CAAC,MAAM,GAAG,IAAI,CAAC,EAAE,CAAC,CAAA;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB,CAAC;;;;;;UAPM,QAAQ;gBAGF,OAAO;oBAFH,cAAc;YACtB,MAAM;;AAytBjB,wBASG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useEditor.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/inputs/RichText/composables/useEditor.ts"],"names":[],"mappings":"AAmCA,wBAAgB,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"useEditor.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/inputs/RichText/composables/useEditor.ts"],"names":[],"mappings":"AAmCA,wBAAgB,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mEAvBvB,CAAC;;;;;8FAEuC,CAAC;;;6BAEnB,CAAC;;;;;;;;;;;;;;qDAJU,CAAC;;+CAGhC,CAAC;;;;2CAKJ,CAAC;;;gBA+QkB,QAAQ;;;0BAhNR,MAAM,GAAG,MAAM;;;;;;;;;EAuTlC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/inputs/RichText/index.vue"],"names":[],"mappings":"AAmZA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAQpD,KAAK,WAAW,GAAG;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,aAAa,CAAC,EAAE,aAAa,CAAC;IAAC,KAAK,CAAC,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uEARpI,
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/inputs/RichText/index.vue"],"names":[],"mappings":"AAmZA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAQpD,KAAK,WAAW,GAAG;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,aAAa,CAAC,EAAE,aAAa,CAAC;IAAC,KAAK,CAAC,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uEARpI,CA1Y8F;;;;;+FA0Y9F,CAtYqB;;;iCAsYrB,CAlYc;;;;;;;;;;;;;;yDAkYd,CA1Y+H;;mDA0Y/H,CArYG;;;;+CAqYH,CAjYyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAm2BzB,wBAUG"}
|