@knime/jsonforms 1.15.47 → 1.15.49

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 (70) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/{AnyOfTwinlist-Cteay58b.js → AnyOfTwinlist-GdHqoDXl.js} +1 -1
  3. package/dist/{Button-B2fRqm6O.js → Button-FgpzIwfq.js} +5 -5
  4. package/dist/{CheckboxControl-CVZXmJse.js → CheckboxControl-CTwvAYVW.js} +1 -1
  5. package/dist/{Checkboxes-xVlZJb6k.js → Checkboxes-ssh5ckOq.js} +1 -1
  6. package/dist/{CheckboxesControl-CdaFx4Th.js → CheckboxesControl-BSI6O6Ir.js} +3 -3
  7. package/dist/{ComboBoxControl-C60-3Sc0.js → ComboBoxControl-CwChVLXP.js} +2 -2
  8. package/dist/{DateControl-Cg_b44aq.js → DateControl-BMk6qnq4.js} +1 -1
  9. package/dist/{DateTimeControl-DHeO7laK.js → DateTimeControl-Ct8yqOc_.js} +1 -1
  10. package/dist/{DateTimeFormatInput-C4fyreWN.js → DateTimeFormatInput-D3UD8bu-.js} +3 -3
  11. package/dist/{DateTimeFormatPickerControl-CBA54ABp.js → DateTimeFormatPickerControl-B_w116XL.js} +2 -2
  12. package/dist/{DateTimeFormatPickerWithTypeControl-DLChZm8O.js → DateTimeFormatPickerWithTypeControl-BI_yNFo2.js} +3 -3
  13. package/dist/{Dropdown-CqaC78qY.js → Dropdown-C6HT573v.js} +2 -2
  14. package/dist/{DropdownControl-C7-VL9DV.js → DropdownControl-BRxBp6PS.js} +2 -2
  15. package/dist/{HorizontalLayout-CF_-nr3C.js → HorizontalLayout-DIHYOO-3.js} +1 -1
  16. package/dist/{InputField-CQPVmzfb.js → InputField-DRTRFnn2.js} +1 -1
  17. package/dist/{IntegerControl-hG3lyody.js → IntegerControl-DuZyF60K.js} +1 -1
  18. package/dist/{IntervalControl-DGYlGR_Z.js → IntervalControl-ynfIl0w0.js} +3 -3
  19. package/dist/{LoadingDropdown-K9FuPqla.js → LoadingDropdown-DNQLbe-W.js} +3 -3
  20. package/dist/{LoadingIcon-BzV03IxL.js → LoadingIcon-DXkj1-k-.js} +1 -1
  21. package/dist/{ManualTwinlistControl-DY_nJnG3.js → ManualTwinlistControl-mVZnFOlF.js} +4 -4
  22. package/dist/{MultiSelectListBoxControl-CdDh2a22.js → MultiSelectListBoxControl-CNsYVNOV.js} +2 -2
  23. package/dist/{MultimodeTwinlistControl-BwOJz6yh.js → MultimodeTwinlistControl-Ccnk8vo1.js} +6 -6
  24. package/dist/{MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_a6fd4504_lang-CT1sQbuf.js → MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_a6fd4504_lang-D4NrQNSq.js} +1 -1
  25. package/dist/{MultiselectListBox-BJwKPtxi.js → MultiselectListBox-BZFKEVwe.js} +2 -2
  26. package/dist/{NameFilter-CddxRZ1O.js → NameFilter-BHhHrPMX.js} +1 -1
  27. package/dist/{NumberControl-DhmdMnOB.js → NumberControl-W7SF30VD.js} +1 -1
  28. package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-GRyhncRQ.js → NumberControlBase.vue_vue_type_script_setup_true_lang-COrGNMKs.js} +2 -2
  29. package/dist/{NumberInput-DycOYpqO.js → NumberInput-DFhgwKSZ.js} +1 -1
  30. package/dist/{OneOfDropdown-CATF2crH.js → OneOfDropdown-BzitZLFT.js} +1 -1
  31. package/dist/{RadioControl-9UOV5kvW.js → RadioControl-DgokXyyO.js} +2 -2
  32. package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-BJBMfEeB.js → RadioControlBase.vue_vue_type_script_setup_true_lang-qL1c5ULU.js} +9 -7
  33. package/dist/{RichTextControl-CvU0zQFe.js → RichTextControl-D3qfOznl.js} +4 -4
  34. package/dist/{SectionHeading-Ce5soNGx.js → SectionHeading-D1kWmgO6.js} +1 -1
  35. package/dist/{SectionHeading.vue_vue_type_style_index_0_scoped_c541eb08_lang-4F1fSADx.js → SectionHeading.vue_vue_type_style_index_0_scoped_c541eb08_lang-BRgHua3C.js} +35 -34
  36. package/dist/{SectionLayout-BI8UFSiw.js → SectionLayout-DHafbUxo.js} +3 -3
  37. package/dist/{SettingsSubPanel-d7GCYq12.js → SettingsSubPanel-CU4ShFug.js} +1 -1
  38. package/dist/{SettingsSubPanelLayout-Ceupb_dP.js → SettingsSubPanelLayout-BnItz4FD.js} +4 -4
  39. package/dist/{SimpleButtonControl-CHgLiBjb.js → SimpleButtonControl-C12NXQ8N.js} +2 -2
  40. package/dist/{SimpleTwinlistControl-BO3zTaAu.js → SimpleTwinlistControl-CX7HkSVd.js} +2 -2
  41. package/dist/{SingleSelectControl-BVr1o5tg.js → SingleSelectControl-BLi3AIL6.js} +2 -2
  42. package/dist/{SingleSelectListBoxControl-B8HNUZl8.js → SingleSelectListBoxControl-B5EeAFGg.js} +3 -3
  43. package/dist/{SortListControl-Dq4j9aQH.js → SortListControl-Dr50ersf.js} +6 -6
  44. package/dist/{StyledListItem-fMEBO-tK.js → StyledListItem-Cvcas8-y.js} +1 -1
  45. package/dist/{TextAreaControl-TgCbmYVk.js → TextAreaControl-CeQ7HcAz.js} +1 -1
  46. package/dist/{TextControl-5ZeBnr69.js → TextControl-dL0my0Hy.js} +1 -1
  47. package/dist/{TextControl.vue_vue_type_script_setup_true_lang-CjJ-RPBu.js → TextControl.vue_vue_type_script_setup_true_lang-BB_f49IA.js} +3 -3
  48. package/dist/{TimeControl-Cu3VxHhB.js → TimeControl-C2NsNAnF.js} +1 -1
  49. package/dist/{TwinlistControlBase-Dn80uGbt.js → TwinlistControlBase-Dwsid8Xo.js} +3 -3
  50. package/dist/{TwinlistLoadingInfo--nXdbx4G.js → TwinlistLoadingInfo-DFjHZN42.js} +4 -4
  51. package/dist/{TypedStringFilter-DK99tg39.js → TypedStringFilter-DyZez1tt.js} +1 -1
  52. package/dist/{ValueSwitch-BVUTUobQ.js → ValueSwitch-DPNAvU-Z.js} +1 -1
  53. package/dist/{ValueSwitchControl-LmIA0dhi.js → ValueSwitchControl-xss3mckv.js} +1 -1
  54. package/dist/{VerticalLayout-DoEKJneM.js → VerticalLayout-0drPy6l8.js} +2 -2
  55. package/dist/{VerticalLayoutBase-HXF2645s.js → VerticalLayoutBase-D147qBdQ.js} +1 -1
  56. package/dist/{ZonedDateTimeControl-DtoOUXqg.js → ZonedDateTimeControl-CnbgORTS.js} +3 -3
  57. package/dist/{_baseEach-BlWMVqPU.js → _baseEach-BNqFHDSn.js} +2 -2
  58. package/dist/{_baseIteratee-M8YIHFbT.js → _baseIteratee-BG47liOV.js} +3 -3
  59. package/dist/{_getTag-CR7gEUvg.js → _getTag-bYJ9eLUR.js} +1 -1
  60. package/dist/knime-jsonforms.css +1 -1
  61. package/dist/knime-jsonforms.js +7 -7
  62. package/dist/{localTimeUtils-CKp1n16K.js → localTimeUtils-DMshyM5o.js} +6 -6
  63. package/dist/src/uiComponents/composables/usePossibleValues.d.ts +3 -1
  64. package/dist/src/uiComponents/composables/useProvidedState.d.ts +2 -2
  65. package/dist/testing.js +2 -2
  66. package/dist/{toString-CTsk2p3d.js → toString-DCZfoIq1.js} +1 -1
  67. package/dist/{useBuiltinValidations-D9yBoJWq.js → useBuiltinValidations-CNJabkWi.js} +1 -1
  68. package/dist/usePossibleValues-xsoA72wU.js +16 -0
  69. package/package.json +4 -4
  70. package/dist/usePossibleValues-C9-Qz6wU.js +0 -16
@@ -1,13 +1,13 @@
1
1
  import { resolveComponent as Ve, createElementBlock as A, openBlock as k, normalizeClass as oe, createElementVNode as q, createCommentVNode as ie, withModifiers as Wt, createVNode as V, reactive as za, computed as T, defineComponent as xe, ref as De, watch as Ue, onMounted as Rn, onUnmounted as Ga, toRefs as ql, nextTick as gr, useAttrs as jl, createBlock as Oe, renderSlot as Mr, unref as O, resolveDynamicComponent as Za, normalizeProps as br, mergeProps as Ot, inject as $r, toRef as Dn, withCtx as Me, toDisplayString as He, Fragment as ke, renderList as Ke, normalizeStyle as Dr, withKeys as $n, withDirectives as Bs, watchEffect as zs, provide as Cr, guardReactiveProps as xa, createTextVNode as Ka, isRef as lr, Transition as Gs, resolveDirective as Vl, toHandlers as Zs } from "vue";
2
2
  import { c as Bl } from "./popper-LGjf7Wza.js";
3
- import { _ as Ks, q as qn, a0 as zl } from "./SectionHeading.vue_vue_type_style_index_0_scoped_c541eb08_lang-4F1fSADx.js";
4
- import { D as Gl } from "./Dropdown-CqaC78qY.js";
3
+ import { _ as Ks, q as qn, a0 as zl } from "./SectionHeading.vue_vue_type_style_index_0_scoped_c541eb08_lang-BRgHua3C.js";
4
+ import { D as Gl } from "./Dropdown-C6HT573v.js";
5
5
  import { A as Zl } from "./arrow-dropdown-BAFsD8Su.js";
6
6
  /* empty css */
7
- import { a as Kl } from "./toString-CTsk2p3d.js";
8
- import { b as Xl } from "./_baseIteratee-M8YIHFbT.js";
9
- import { b as Ql } from "./_baseEach-BlWMVqPU.js";
10
- import { d as Jl } from "./_getTag-CR7gEUvg.js";
7
+ import { a as Kl } from "./toString-DCZfoIq1.js";
8
+ import { b as Xl } from "./_baseIteratee-BG47liOV.js";
9
+ import { b as Ql } from "./_baseEach-BNqFHDSn.js";
10
+ import { d as Jl } from "./_getTag-bYJ9eLUR.js";
11
11
  import { i as ec } from "./isArray-WzO_os3q.js";
12
12
  function st(e) {
13
13
  "@babel/helpers - typeof";
@@ -2,7 +2,9 @@ import { Ref } from 'vue';
2
2
  import { ChoicesUiSchema, ChoicesUiSchemaWithProvidedOptions, IdAndText, IncludedExcludedLabelOptions } from '../../types/ChoicesUiSchema';
3
3
  export declare const usePossibleValues: <SpecialChoicesProps extends Record<string, unknown>>(control: Ref<{
4
4
  uischema: ChoicesUiSchemaWithProvidedOptions<SpecialChoicesProps>;
5
- }>) => {
5
+ }>, options?: {
6
+ defaultOnNonProvided?: [] | null;
7
+ }) => {
6
8
  possibleValues: import('vue').ComputedRef<import('../../types/ChoicesUiSchema').PossibleValue<SpecialChoicesProps>[] | null>;
7
9
  };
8
10
  export declare const usePossibleColumnChoices: (control: Ref<{
@@ -1,5 +1,5 @@
1
1
  import { Ref } from 'vue';
2
- export type UiSchemaWithProvidedOptions<T extends Record<string, unknown>> = {
2
+ export type UiSchemaWithProvidedOptions<T extends object> = {
3
3
  options?: T;
4
4
  providedOptions?: string[];
5
5
  } & ({
@@ -14,7 +14,7 @@ export type Paths<T, D extends number = 2> = [D] extends [never] ? never : T ext
14
14
  [K in keyof T]-?: K extends string ? `${K}` | Join<K, Paths<T[K], Prev[D]>> : never;
15
15
  }[keyof T] : "";
16
16
  export type ExtractNestedValue<T, P extends string> = P extends `${infer Key}.${infer Rest}` ? Key extends keyof T ? ExtractNestedValue<T[Key], Rest> : never : P extends keyof T ? T[P] : never;
17
- declare const _default: <U extends UiSchemaWithProvidedOptions<Record<string, unknown>>, K extends Paths<NonUndefined<U["options"]>>, D = ExtractNestedValue<NonUndefined<U["options"]>, K> | null>(uischema: Ref<U>, providedOptionName: K, defaultValue?: D | null) => Ref<NonUndefined<D>, NonUndefined<D>>;
17
+ declare const _default: <U extends UiSchemaWithProvidedOptions<object>, K extends Paths<NonUndefined<U["options"]>>, D = ExtractNestedValue<NonUndefined<U["options"]>, K> | null>(uischema: Ref<U>, providedOptionName: K, defaultValue?: D | null) => Ref<NonUndefined<D>, NonUndefined<D>>;
18
18
  export default _default;
19
19
  /**
20
20
  * For accessing state providers that are not registered in the uischema
package/dist/testing.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as yh from "vue";
2
2
  import { ssrUtils as zi, initDirectivesForSSR as Z_, nextTick as wo, defineComponent as wi, computed as Lr, h as An, shallowReactive as em, reactive as tm, ref as vh, createApp as nm, transformVNodeArgs as rm, setDevtoolsHook as im, isRef as sm, TransitionGroup as om, Transition as am, BaseTransition as lm } from "vue";
3
- import { o as cm, q as um, r as fm, e as hm } from "./SectionHeading.vue_vue_type_style_index_0_scoped_c541eb08_lang-4F1fSADx.js";
4
- import { b as pm } from "./_baseIteratee-M8YIHFbT.js";
3
+ import { o as cm, q as um, r as fm, e as hm } from "./SectionHeading.vue_vue_type_style_index_0_scoped_c541eb08_lang-BRgHua3C.js";
4
+ import { b as pm } from "./_baseIteratee-BG47liOV.js";
5
5
  function dm(e, t) {
6
6
  return e > t;
7
7
  }
@@ -1,4 +1,4 @@
1
- import { o as g, X as s } from "./SectionHeading.vue_vue_type_style_index_0_scoped_c541eb08_lang-4F1fSADx.js";
1
+ import { o as g, X as s } from "./SectionHeading.vue_vue_type_style_index_0_scoped_c541eb08_lang-BRgHua3C.js";
2
2
  import { i as l } from "./isArray-WzO_os3q.js";
3
3
  function p(r, t) {
4
4
  for (var n = -1, i = r == null ? 0 : r.length, o = Array(i); ++n < i; )
@@ -1,5 +1,5 @@
1
1
  import { onUnmounted as u, toRef as p, computed as d } from "vue";
2
- import { u as f } from "./SectionHeading.vue_vue_type_style_index_0_scoped_c541eb08_lang-4F1fSADx.js";
2
+ import { u as f } from "./SectionHeading.vue_vue_type_style_index_0_scoped_c541eb08_lang-BRgHua3C.js";
3
3
  const h = (t = {}) => t.validation || null, m = (t) => t.replace(/^validation\./, ""), v = (t) => {
4
4
  const a = (t.providedOptions ?? []).filter(
5
5
  (e) => e.startsWith("validation.")
@@ -0,0 +1,16 @@
1
+ import { computed as l } from "vue";
2
+ import { u as d } from "./SectionHeading.vue_vue_type_style_index_0_scoped_c541eb08_lang-BRgHua3C.js";
3
+ const t = (s, e) => {
4
+ const u = l(() => s.value.uischema), o = d(u, "possibleValues");
5
+ return { possibleValues: l(() => u.value.providedOptions?.includes("possibleValues") ? o.value : u.value.options?.possibleValues ?? (typeof e?.defaultOnNonProvided > "u" ? [] : e?.defaultOnNonProvided)) };
6
+ }, c = (s) => {
7
+ const e = l(() => s.value.uischema.options);
8
+ return {
9
+ includedLabel: e.value?.includedLabel ?? "Includes",
10
+ excludedLabel: e.value?.excludedLabel ?? "Excludes"
11
+ };
12
+ };
13
+ export {
14
+ c as a,
15
+ t as u
16
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knime/jsonforms",
3
- "version": "1.15.47",
3
+ "version": "1.15.49",
4
4
  "description": "Internal JSON Forms integration for frontend KNIME projects",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,8 +22,8 @@
22
22
  "focus-trap-vue": "4.0.3",
23
23
  "tabbable": "6.2.0",
24
24
  "uuid": "10.0.0",
25
- "@knime/components": "1.42.1",
26
- "@knime/rich-text-editor": "1.7.41",
25
+ "@knime/components": "1.42.2",
26
+ "@knime/rich-text-editor": "1.7.42",
27
27
  "@knime/styles": "1.14.3",
28
28
  "@knime/utils": "1.7.1"
29
29
  },
@@ -41,7 +41,7 @@
41
41
  "postcss": "8.5.6",
42
42
  "type-fest": "4.26.1",
43
43
  "typescript": "^5.8.3",
44
- "v-calendar": "git+https://bitbucket.org/KNIME/v-calendar#048477f",
44
+ "v-calendar": "knime/v-calendar#048477f",
45
45
  "vite": "7.1.11",
46
46
  "vite-plugin-dts": "4.5.4",
47
47
  "vite-svg-loader": "5.1.0",
@@ -1,16 +0,0 @@
1
- import { computed as u } from "vue";
2
- import { u as o } from "./SectionHeading.vue_vue_type_style_index_0_scoped_c541eb08_lang-4F1fSADx.js";
3
- const t = (s) => {
4
- const e = u(() => s.value.uischema), l = o(e, "possibleValues");
5
- return { possibleValues: u(() => e.value.providedOptions?.includes("possibleValues") ? l.value : e.value.options?.possibleValues ?? []) };
6
- }, c = (s) => {
7
- const e = u(() => s.value.uischema.options);
8
- return {
9
- includedLabel: e.value?.includedLabel ?? "Includes",
10
- excludedLabel: e.value?.excludedLabel ?? "Excludes"
11
- };
12
- };
13
- export {
14
- c as a,
15
- t as u
16
- };