@opengis/form 0.1.40 → 0.1.42

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 (38) hide show
  1. package/README.md +61 -61
  2. package/dist/api/suggest/suggestions_list.json +7 -7
  3. package/dist/index-B9CEJ-PZ.js +187 -0
  4. package/dist/{index-B1zV9Aax.js → index-Bh8_Wx51.js} +434 -477
  5. package/dist/index-CHHagWDa.js +2794 -0
  6. package/dist/{index-W4UOw8lU.js → index-CMmJu2Ql.js} +428 -505
  7. package/dist/{index-RwV1hx3A.js → index-CQZi4RyF.js} +21 -19
  8. package/dist/index-C_6bjz0U.js +138 -0
  9. package/dist/index-D3gVZYzr.js +78 -0
  10. package/dist/index-DJVijc0x.js +47 -0
  11. package/dist/{index-B3op5uFx.js → index-DQur75TQ.js} +29 -28
  12. package/dist/{index-sFkGqyu8.js → index-DsT4tZvp.js} +16 -20
  13. package/dist/{index-qhd_7MCX.js → index-DspmCbXc.js} +16 -20
  14. package/dist/index-NlD0ozZg.js +13074 -0
  15. package/dist/index-z-RdtcIQ.js +11862 -0
  16. package/dist/index.css +1 -1
  17. package/dist/index.js +1 -1
  18. package/dist/index.umd.cjs +87 -87
  19. package/dist/src/components/inputs/array-select/vs-input-array-select.vue.d.ts.map +1 -1
  20. package/dist/src/components/inputs/date/datepicker/Datepicker.vue.d.ts.map +1 -1
  21. package/dist/src/components/inputs/table/vs-input-datatable.vue.d.ts.map +1 -1
  22. package/dist/src/components/inputs/vs-input-inline-select.vue.d.ts.map +1 -1
  23. package/dist/src/components/inputs/vs-input-select.vue.d.ts.map +1 -1
  24. package/dist/src/composables/useInputOptions.d.ts +6 -2
  25. package/dist/src/composables/useInputOptions.d.ts.map +1 -1
  26. package/dist/src/utils/appendQueryParams.d.ts +2 -0
  27. package/dist/src/utils/appendQueryParams.d.ts.map +1 -0
  28. package/dist/{vs-richtext-Baw0o5M4.js → vs-richtext-kH3lTqMI.js} +22 -22
  29. package/locales/en.json +39 -39
  30. package/locales/uk.json +39 -39
  31. package/package.json +96 -96
  32. package/dist/index-BABsOLAW.js +0 -3085
  33. package/dist/index-CkUvn8lm.js +0 -153
  34. package/dist/index-D49VHc9h.js +0 -237
  35. package/dist/index-DFpbBRKj.js +0 -13026
  36. package/dist/index-DZ7xh8lh.js +0 -50
  37. package/dist/index-MfTTOwHR.js +0 -89
  38. package/dist/index-pYkcVgEL.js +0 -12134
@@ -1,50 +0,0 @@
1
- import { N as d, m as u } from "./index-pYkcVgEL.js";
2
- var n = " ", i = " ", h = d.create({
3
- name: "paragraph",
4
- priority: 1e3,
5
- addOptions() {
6
- return {
7
- HTMLAttributes: {}
8
- };
9
- },
10
- group: "block",
11
- content: "inline*",
12
- parseHTML() {
13
- return [{ tag: "p" }];
14
- },
15
- renderHTML({ HTMLAttributes: t }) {
16
- return ["p", u(this.options.HTMLAttributes, t), 0];
17
- },
18
- parseMarkdown: (t, a) => {
19
- const r = t.tokens || [];
20
- if (r.length === 1 && r[0].type === "image")
21
- return a.parseChildren([r[0]]);
22
- const e = a.parseInline(r);
23
- return r.length === 1 && r[0].type === "text" && (r[0].raw === n || r[0].text === n || r[0].raw === i || r[0].text === i) && e.length === 1 && e[0].type === "text" && (e[0].text === n || e[0].text === i) ? a.createNode("paragraph", void 0, []) : a.createNode("paragraph", void 0, e);
24
- },
25
- renderMarkdown: (t, a, r) => {
26
- var e, o;
27
- if (!t)
28
- return "";
29
- const p = Array.isArray(t.content) ? t.content : [];
30
- if (p.length === 0) {
31
- const s = Array.isArray((e = r?.previousNode) == null ? void 0 : e.content) ? r.previousNode.content : [];
32
- return ((o = r?.previousNode) == null ? void 0 : o.type) === "paragraph" && s.length === 0 ? n : "";
33
- }
34
- return a.renderChildren(p);
35
- },
36
- addCommands() {
37
- return {
38
- setParagraph: () => ({ commands: t }) => t.setNode(this.name)
39
- };
40
- },
41
- addKeyboardShortcuts() {
42
- return {
43
- "Mod-Alt-0": () => this.editor.commands.setParagraph()
44
- };
45
- }
46
- }), c = h;
47
- export {
48
- h as Paragraph,
49
- c as default
50
- };
@@ -1,89 +0,0 @@
1
- import { M as o, a as s, b as l, m as u, g as d } from "./index-pYkcVgEL.js";
2
- var h = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/, g = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))/g, c = o.create({
3
- name: "highlight",
4
- addOptions() {
5
- return {
6
- multicolor: !1,
7
- HTMLAttributes: {}
8
- };
9
- },
10
- addAttributes() {
11
- return this.options.multicolor ? {
12
- color: {
13
- default: null,
14
- // Prefer `data-color` (set by our own `renderHTML`) for lossless
15
- // round-trips. Otherwise parse the raw inline `style` attribute so
16
- // the original color format (e.g. `#rrggbb`) is preserved instead of
17
- // the canonicalized `rgb(...)` value from `element.style.backgroundColor`.
18
- parseHTML: (r) => r.getAttribute("data-color") || d(r, "background-color") || r.style.backgroundColor,
19
- renderHTML: (r) => r.color ? {
20
- "data-color": r.color,
21
- style: `background-color: ${r.color}; color: inherit`
22
- } : {}
23
- }
24
- } : {};
25
- },
26
- parseHTML() {
27
- return [
28
- {
29
- tag: "mark"
30
- }
31
- ];
32
- },
33
- renderHTML({ HTMLAttributes: r }) {
34
- return ["mark", u(this.options.HTMLAttributes, r), 0];
35
- },
36
- renderMarkdown: (r, t) => `==${t.renderChildren(r)}==`,
37
- parseMarkdown: (r, t) => t.applyMark("highlight", t.parseInline(r.tokens || [])),
38
- markdownTokenizer: {
39
- name: "highlight",
40
- level: "inline",
41
- start: (r) => r.indexOf("=="),
42
- tokenize(r, t, a) {
43
- const e = /^(==)([^=]+)(==)/.exec(r);
44
- if (e) {
45
- const n = e[2].trim(), i = a.inlineTokens(n);
46
- return {
47
- type: "highlight",
48
- raw: e[0],
49
- text: n,
50
- tokens: i
51
- };
52
- }
53
- }
54
- },
55
- addCommands() {
56
- return {
57
- setHighlight: (r) => ({ commands: t }) => t.setMark(this.name, r),
58
- toggleHighlight: (r) => ({ commands: t }) => t.toggleMark(this.name, r),
59
- unsetHighlight: () => ({ commands: r }) => r.unsetMark(this.name)
60
- };
61
- },
62
- addKeyboardShortcuts() {
63
- return {
64
- "Mod-Shift-h": () => this.editor.commands.toggleHighlight()
65
- };
66
- },
67
- addInputRules() {
68
- return [
69
- l({
70
- find: h,
71
- type: this.type
72
- })
73
- ];
74
- },
75
- addPasteRules() {
76
- return [
77
- s({
78
- find: g,
79
- type: this.type
80
- })
81
- ];
82
- }
83
- }), m = c;
84
- export {
85
- c as Highlight,
86
- m as default,
87
- h as inputRegex,
88
- g as pasteRegex
89
- };