@opengis/form 0.1.38 → 0.1.40

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 (36) hide show
  1. package/README.md +61 -61
  2. package/dist/api/suggest/suggestions_list.json +7 -7
  3. package/dist/{index-Bh8_Wx51.js → index-B1zV9Aax.js} +477 -434
  4. package/dist/{index-DQur75TQ.js → index-B3op5uFx.js} +28 -29
  5. package/dist/index-BABsOLAW.js +3085 -0
  6. package/dist/index-CkUvn8lm.js +153 -0
  7. package/dist/index-D49VHc9h.js +237 -0
  8. package/dist/{index-C9Yk_H6i.js → index-DFpbBRKj.js} +4200 -4188
  9. package/dist/index-DZ7xh8lh.js +50 -0
  10. package/dist/index-MfTTOwHR.js +89 -0
  11. package/dist/{index-CQZi4RyF.js → index-RwV1hx3A.js} +19 -21
  12. package/dist/{index-CMmJu2Ql.js → index-W4UOw8lU.js} +505 -428
  13. package/dist/index-pYkcVgEL.js +12134 -0
  14. package/dist/{index-DspmCbXc.js → index-qhd_7MCX.js} +20 -16
  15. package/dist/{index-DsT4tZvp.js → index-sFkGqyu8.js} +20 -16
  16. package/dist/index.css +1 -1
  17. package/dist/index.js +1 -1
  18. package/dist/index.umd.cjs +85 -85
  19. package/dist/src/components/inputs/date/datepicker/Datepicker.vue.d.ts.map +1 -1
  20. package/dist/src/components/inputs/index.d.ts +8 -8
  21. package/dist/src/components/inputs/options/radio/vs-input-radio-buttons.vue.d.ts.map +1 -1
  22. package/dist/src/components/inputs/options/radio/vs-input-radio-default.vue.d.ts.map +1 -1
  23. package/dist/src/components/inputs/options/radio/vs-input-radio.vue.d.ts +4 -3
  24. package/dist/src/components/inputs/options/radio/vs-input-radio.vue.d.ts.map +1 -1
  25. package/dist/src/composables/useInputOptions.d.ts +2 -2
  26. package/dist/src/composables/useInputOptions.d.ts.map +1 -1
  27. package/dist/{vs-richtext-C8cui4bv.js → vs-richtext-Baw0o5M4.js} +22 -22
  28. package/locales/en.json +39 -39
  29. package/locales/uk.json +39 -39
  30. package/package.json +96 -96
  31. package/dist/index-B9CEJ-PZ.js +0 -187
  32. package/dist/index-CHHagWDa.js +0 -2794
  33. package/dist/index-C_6bjz0U.js +0 -138
  34. package/dist/index-D3gVZYzr.js +0 -78
  35. package/dist/index-DJVijc0x.js +0 -47
  36. package/dist/index-z-RdtcIQ.js +0 -11862
@@ -1,16 +1,9 @@
1
- import { N as a, t as i, m as l } from "./index-z-RdtcIQ.js";
2
- const o = a.create({
1
+ import { N as l, t as a, m as i } from "./index-pYkcVgEL.js";
2
+ var o = l.create({
3
3
  name: "heading",
4
4
  addOptions() {
5
5
  return {
6
- levels: [
7
- 1,
8
- 2,
9
- 3,
10
- 4,
11
- 5,
12
- 6
13
- ],
6
+ levels: [1, 2, 3, 4, 5, 6],
14
7
  HTMLAttributes: {}
15
8
  };
16
9
  },
@@ -18,10 +11,12 @@ const o = a.create({
18
11
  group: "block",
19
12
  defining: !0,
20
13
  addAttributes() {
21
- return { level: {
22
- default: 1,
23
- rendered: !1
24
- } };
14
+ return {
15
+ level: {
16
+ default: 1,
17
+ rendered: !1
18
+ }
19
+ };
25
20
  },
26
21
  parseHTML() {
27
22
  return this.options.levels.map((e) => ({
@@ -30,16 +25,16 @@ const o = a.create({
30
25
  }));
31
26
  },
32
27
  renderHTML({ node: e, HTMLAttributes: t }) {
33
- return [
34
- `h${this.options.levels.includes(e.attrs.level) ? e.attrs.level : this.options.levels[0]}`,
35
- l(this.options.HTMLAttributes, t),
36
- 0
37
- ];
28
+ return [`h${this.options.levels.includes(e.attrs.level) ? e.attrs.level : this.options.levels[0]}`, i(this.options.HTMLAttributes, t), 0];
38
29
  },
39
- parseMarkdown: (e, t) => t.createNode("heading", { level: e.depth || 1 }, t.parseInline(e.tokens || [])),
30
+ parseMarkdown: (e, t) => t.createNode(
31
+ "heading",
32
+ { level: e.depth || 1 },
33
+ t.parseInline(e.tokens || [])
34
+ ),
40
35
  renderMarkdown: (e, t) => {
41
36
  var r;
42
- const s = !((r = e.attrs) === null || r === void 0) && r.level ? parseInt(e.attrs.level, 10) : 1, n = "#".repeat(s);
37
+ const s = (r = e.attrs) != null && r.level ? parseInt(e.attrs.level, 10) : 1, n = "#".repeat(s);
43
38
  return e.content ? `${n} ${t.renderChildren(e.content)}` : "";
44
39
  },
45
40
  addCommands() {
@@ -49,20 +44,24 @@ const o = a.create({
49
44
  };
50
45
  },
51
46
  addKeyboardShortcuts() {
52
- return this.options.levels.reduce((e, t) => ({
53
- ...e,
54
- [`Mod-Alt-${t}`]: () => this.editor.commands.toggleHeading({ level: t })
55
- }), {});
47
+ return this.options.levels.reduce(
48
+ (e, t) => ({
49
+ ...e,
50
+ [`Mod-Alt-${t}`]: () => this.editor.commands.toggleHeading({ level: t })
51
+ }),
52
+ {}
53
+ );
56
54
  },
57
55
  addInputRules() {
58
- return this.options.levels.map((e) => i({
56
+ return this.options.levels.map((e) => a({
59
57
  find: new RegExp(`^(#{${Math.min(...this.options.levels)},${e}})\\s$`),
60
58
  type: this.type,
61
- getAttributes: { level: e }
59
+ getAttributes: {
60
+ level: e
61
+ }
62
62
  }));
63
63
  }
64
- });
65
- var u = o;
64
+ }), u = o;
66
65
  export {
67
66
  o as Heading,
68
67
  u as default