@es-joy/jsoe 0.13.3 → 0.13.4
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/CHANGES.md
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
* plain object).
|
|
21
21
|
* @param {string} [cfg.typeNamespace] Used to prevent conflicts with other
|
|
22
22
|
* instances of typeChoices on the page
|
|
23
|
-
* @param {import('./formats.js').default} cfg.formats
|
|
23
|
+
* @param {import('./formats.js').default} [cfg.formats]
|
|
24
24
|
* @param {import('./types.js').default} [cfg.types]
|
|
25
25
|
* @returns {{
|
|
26
26
|
* formatChoices: FormatChoices,
|
|
@@ -43,7 +43,7 @@ export function formatAndTypeChoices({ schema, schemaContent, hasValue, singleVa
|
|
|
43
43
|
singleValue?: boolean | undefined;
|
|
44
44
|
hasKeyPath?: boolean | undefined;
|
|
45
45
|
typeNamespace?: string | undefined;
|
|
46
|
-
formats
|
|
46
|
+
formats?: Formats | undefined;
|
|
47
47
|
types?: Types | undefined;
|
|
48
48
|
}): {
|
|
49
49
|
formatChoices: HTMLSelectElement & {
|
|
@@ -68,5 +68,6 @@ export function getFormatAndSchemaChoices({ schema, hasKeyPath }?: {
|
|
|
68
68
|
}): DocumentFragment;
|
|
69
69
|
export type SetValue = (value: import('./formats.js').StructuredCloneValue, stateObj: import('./types.js').StateObject) => Promise<void>;
|
|
70
70
|
export type TypeRootGetter = () => HTMLDivElement | null;
|
|
71
|
+
import Formats from './formats.js';
|
|
71
72
|
import Types from './types.js';
|
|
72
73
|
//# sourceMappingURL=formatAndTypeChoices.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formatAndTypeChoices.d.ts","sourceRoot":"","sources":["../src/formatAndTypeChoices.js"],"names":[],"mappings":"AAqEA;;;;;GAKG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH;IA7BwB,MAAM;IACN,aAAa;IACZ,QAAQ;IAGR,WAAW;IACX,UAAU;IAKX,aAAa;
|
|
1
|
+
{"version":3,"file":"formatAndTypeChoices.d.ts","sourceRoot":"","sources":["../src/formatAndTypeChoices.js"],"names":[],"mappings":"AAqEA;;;;;GAKG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH;IA7BwB,MAAM;IACN,aAAa;IACZ,QAAQ;IAGR,WAAW;IACX,UAAU;IAKX,aAAa;IAEW,OAAO;IACT,KAAK;;;kCAkClC,MAAM,KACJ,IAAI;iCAMJ,IAAI;;;;kCAPN,MAAM,KACJ,IAAI;iCAMJ,IAAI;;yBApCG,OAAO,YAAY,EAAE,WAAW,eACtC,MAAM,KAAK,OAAO,cAAc,EAAE,oBAAoB;aAC5D,MAAM,MAAM;oBACL,MAAM,OAAO;cACnB,QAAQ;aACT,OAAO,cAAc,EAAE,OAAO;WAChC,OAAO,YAAY,EAAE,OAAO;EAyMvC;AA5RM;IANiB,MAAM;IACL,UAAU;IAGtB,gBAAgB,CAgD5B;+BAIU,OAAO,cAAc,EAAE,oBAAoB,YAC3C,OAAO,YAAY,EAAE,WAAW,KAC9B,QAAQ,IAAI,CAAC;mCAjEb,cAAc,GAAC,IAAI;oBALZ,cAAc;kBADhB,YAAY"}
|
package/package.json
CHANGED
|
@@ -90,7 +90,7 @@ export const getFormatAndSchemaChoices = ({schema, hasKeyPath} = {}) => {
|
|
|
90
90
|
* plain object).
|
|
91
91
|
* @param {string} [cfg.typeNamespace] Used to prevent conflicts with other
|
|
92
92
|
* instances of typeChoices on the page
|
|
93
|
-
* @param {import('./formats.js').default} cfg.formats
|
|
93
|
+
* @param {import('./formats.js').default} [cfg.formats]
|
|
94
94
|
* @param {import('./types.js').default} [cfg.types]
|
|
95
95
|
* @returns {{
|
|
96
96
|
* formatChoices: FormatChoices,
|