jupiter-dynamic-forms 1.6.1 → 1.7.1

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/dist/index.mjs CHANGED
@@ -4,7 +4,7 @@ import { LitElement, html, css } from "lit";
4
4
  * Copyright 2017 Google LLC
5
5
  * SPDX-License-Identifier: BSD-3-Clause
6
6
  */
7
- const t$3 = (t2) => (e2, o2) => {
7
+ const t$1 = (t2) => (e2, o2) => {
8
8
  void 0 !== o2 ? o2.addInitializer(() => {
9
9
  customElements.define(t2, e2);
10
10
  }) : customElements.define(t2, e2);
@@ -14,19 +14,19 @@ const t$3 = (t2) => (e2, o2) => {
14
14
  * Copyright 2019 Google LLC
15
15
  * SPDX-License-Identifier: BSD-3-Clause
16
16
  */
17
- const t$2 = globalThis, e$4 = t$2.ShadowRoot && (void 0 === t$2.ShadyCSS || t$2.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, s$1 = Symbol(), o$4 = /* @__PURE__ */ new WeakMap();
18
- let n$3 = class n {
17
+ const t = globalThis, e$1 = t.ShadowRoot && (void 0 === t.ShadyCSS || t.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, s = Symbol(), o$2 = /* @__PURE__ */ new WeakMap();
18
+ let n$2 = class n {
19
19
  constructor(t2, e2, o2) {
20
- if (this._$cssResult$ = true, o2 !== s$1)
20
+ if (this._$cssResult$ = true, o2 !== s)
21
21
  throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
22
22
  this.cssText = t2, this.t = e2;
23
23
  }
24
24
  get styleSheet() {
25
25
  let t2 = this.o;
26
26
  const s2 = this.t;
27
- if (e$4 && void 0 === t2) {
27
+ if (e$1 && void 0 === t2) {
28
28
  const e2 = void 0 !== s2 && 1 === s2.length;
29
- e2 && (t2 = o$4.get(s2)), void 0 === t2 && ((this.o = t2 = new CSSStyleSheet()).replaceSync(this.cssText), e2 && o$4.set(s2, t2));
29
+ e2 && (t2 = o$2.get(s2)), void 0 === t2 && ((this.o = t2 = new CSSStyleSheet()).replaceSync(this.cssText), e2 && o$2.set(s2, t2));
30
30
  }
31
31
  return t2;
32
32
  }
@@ -34,29 +34,29 @@ let n$3 = class n {
34
34
  return this.cssText;
35
35
  }
36
36
  };
37
- const r$4 = (t2) => new n$3("string" == typeof t2 ? t2 : t2 + "", void 0, s$1), S$1 = (s2, o2) => {
38
- if (e$4)
37
+ const r$3 = (t2) => new n$2("string" == typeof t2 ? t2 : t2 + "", void 0, s), S = (s2, o2) => {
38
+ if (e$1)
39
39
  s2.adoptedStyleSheets = o2.map((t2) => t2 instanceof CSSStyleSheet ? t2 : t2.styleSheet);
40
40
  else
41
41
  for (const e2 of o2) {
42
- const o3 = document.createElement("style"), n3 = t$2.litNonce;
42
+ const o3 = document.createElement("style"), n3 = t.litNonce;
43
43
  void 0 !== n3 && o3.setAttribute("nonce", n3), o3.textContent = e2.cssText, s2.appendChild(o3);
44
44
  }
45
- }, c$2 = e$4 ? (t2) => t2 : (t2) => t2 instanceof CSSStyleSheet ? ((t3) => {
45
+ }, c$1 = e$1 ? (t2) => t2 : (t2) => t2 instanceof CSSStyleSheet ? ((t3) => {
46
46
  let e2 = "";
47
47
  for (const s2 of t3.cssRules)
48
48
  e2 += s2.cssText;
49
- return r$4(e2);
49
+ return r$3(e2);
50
50
  })(t2) : t2;
51
51
  /**
52
52
  * @license
53
53
  * Copyright 2017 Google LLC
54
54
  * SPDX-License-Identifier: BSD-3-Clause
55
55
  */
56
- const { is: i$2, defineProperty: e$3, getOwnPropertyDescriptor: h$1, getOwnPropertyNames: r$3, getOwnPropertySymbols: o$3, getPrototypeOf: n$2 } = Object, a$1 = globalThis, c$1 = a$1.trustedTypes, l$1 = c$1 ? c$1.emptyScript : "", p$1 = a$1.reactiveElementPolyfillSupport, d$1 = (t2, s2) => t2, u$1 = { toAttribute(t2, s2) {
56
+ const { is: i, defineProperty: e, getOwnPropertyDescriptor: h, getOwnPropertyNames: r$2, getOwnPropertySymbols: o$1, getPrototypeOf: n$1 } = Object, a = globalThis, c = a.trustedTypes, l = c ? c.emptyScript : "", p = a.reactiveElementPolyfillSupport, d = (t2, s2) => t2, u = { toAttribute(t2, s2) {
57
57
  switch (s2) {
58
58
  case Boolean:
59
- t2 = t2 ? l$1 : null;
59
+ t2 = t2 ? l : null;
60
60
  break;
61
61
  case Object:
62
62
  case Array:
@@ -81,8 +81,8 @@ const { is: i$2, defineProperty: e$3, getOwnPropertyDescriptor: h$1, getOwnPrope
81
81
  }
82
82
  }
83
83
  return i2;
84
- } }, f$1 = (t2, s2) => !i$2(t2, s2), b = { attribute: true, type: String, converter: u$1, reflect: false, useDefault: false, hasChanged: f$1 };
85
- Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), a$1.litPropertyMetadata ?? (a$1.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
84
+ } }, f = (t2, s2) => !i(t2, s2), b = { attribute: true, type: String, converter: u, reflect: false, useDefault: false, hasChanged: f };
85
+ Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), a.litPropertyMetadata ?? (a.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
86
86
  class y extends HTMLElement {
87
87
  static addInitializer(t2) {
88
88
  this._$Ei(), (this.l ?? (this.l = [])).push(t2);
@@ -93,11 +93,11 @@ class y extends HTMLElement {
93
93
  static createProperty(t2, s2 = b) {
94
94
  if (s2.state && (s2.attribute = false), this._$Ei(), this.prototype.hasOwnProperty(t2) && ((s2 = Object.create(s2)).wrapped = true), this.elementProperties.set(t2, s2), !s2.noAccessor) {
95
95
  const i2 = Symbol(), h2 = this.getPropertyDescriptor(t2, i2, s2);
96
- void 0 !== h2 && e$3(this.prototype, t2, h2);
96
+ void 0 !== h2 && e(this.prototype, t2, h2);
97
97
  }
98
98
  }
99
99
  static getPropertyDescriptor(t2, s2, i2) {
100
- const { get: e2, set: r2 } = h$1(this.prototype, t2) ?? { get() {
100
+ const { get: e2, set: r2 } = h(this.prototype, t2) ?? { get() {
101
101
  return this[s2];
102
102
  }, set(t3) {
103
103
  this[s2] = t3;
@@ -111,16 +111,16 @@ class y extends HTMLElement {
111
111
  return this.elementProperties.get(t2) ?? b;
112
112
  }
113
113
  static _$Ei() {
114
- if (this.hasOwnProperty(d$1("elementProperties")))
114
+ if (this.hasOwnProperty(d("elementProperties")))
115
115
  return;
116
- const t2 = n$2(this);
116
+ const t2 = n$1(this);
117
117
  t2.finalize(), void 0 !== t2.l && (this.l = [...t2.l]), this.elementProperties = new Map(t2.elementProperties);
118
118
  }
119
119
  static finalize() {
120
- if (this.hasOwnProperty(d$1("finalized")))
120
+ if (this.hasOwnProperty(d("finalized")))
121
121
  return;
122
- if (this.finalized = true, this._$Ei(), this.hasOwnProperty(d$1("properties"))) {
123
- const t3 = this.properties, s2 = [...r$3(t3), ...o$3(t3)];
122
+ if (this.finalized = true, this._$Ei(), this.hasOwnProperty(d("properties"))) {
123
+ const t3 = this.properties, s2 = [...r$2(t3), ...o$1(t3)];
124
124
  for (const i2 of s2)
125
125
  this.createProperty(i2, t3[i2]);
126
126
  }
@@ -143,9 +143,9 @@ class y extends HTMLElement {
143
143
  if (Array.isArray(s2)) {
144
144
  const e2 = new Set(s2.flat(1 / 0).reverse());
145
145
  for (const s3 of e2)
146
- i2.unshift(c$2(s3));
146
+ i2.unshift(c$1(s3));
147
147
  } else
148
- void 0 !== s2 && i2.push(c$2(s2));
148
+ void 0 !== s2 && i2.push(c$1(s2));
149
149
  return i2;
150
150
  }
151
151
  static _$Eu(t2, s2) {
@@ -175,7 +175,7 @@ class y extends HTMLElement {
175
175
  }
176
176
  createRenderRoot() {
177
177
  const t2 = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
178
- return S$1(t2, this.constructor.elementStyles), t2;
178
+ return S(t2, this.constructor.elementStyles), t2;
179
179
  }
180
180
  connectedCallback() {
181
181
  var _a;
@@ -200,7 +200,7 @@ class y extends HTMLElement {
200
200
  var _a;
201
201
  const i2 = this.constructor.elementProperties.get(t2), e2 = this.constructor._$Eu(t2, i2);
202
202
  if (void 0 !== e2 && true === i2.reflect) {
203
- const h2 = (void 0 !== ((_a = i2.converter) == null ? void 0 : _a.toAttribute) ? i2.converter : u$1).toAttribute(s2, i2.type);
203
+ const h2 = (void 0 !== ((_a = i2.converter) == null ? void 0 : _a.toAttribute) ? i2.converter : u).toAttribute(s2, i2.type);
204
204
  this._$Em = t2, null == h2 ? this.removeAttribute(e2) : this.setAttribute(e2, h2), this._$Em = null;
205
205
  }
206
206
  }
@@ -208,7 +208,7 @@ class y extends HTMLElement {
208
208
  var _a, _b;
209
209
  const i2 = this.constructor, e2 = i2._$Eh.get(t2);
210
210
  if (void 0 !== e2 && this._$Em !== e2) {
211
- const t3 = i2.getPropertyOptions(e2), h2 = "function" == typeof t3.converter ? { fromAttribute: t3.converter } : void 0 !== ((_a = t3.converter) == null ? void 0 : _a.fromAttribute) ? t3.converter : u$1;
211
+ const t3 = i2.getPropertyOptions(e2), h2 = "function" == typeof t3.converter ? { fromAttribute: t3.converter } : void 0 !== ((_a = t3.converter) == null ? void 0 : _a.fromAttribute) ? t3.converter : u;
212
212
  this._$Em = e2;
213
213
  const r2 = h2.fromAttribute(s2, t3.type);
214
214
  this[e2] = r2 ?? ((_b = this._$Ej) == null ? void 0 : _b.get(e2)) ?? r2, this._$Em = null;
@@ -218,7 +218,7 @@ class y extends HTMLElement {
218
218
  var _a;
219
219
  if (void 0 !== t2) {
220
220
  const e2 = this.constructor, h2 = this[t2];
221
- if (i2 ?? (i2 = e2.getPropertyOptions(t2)), !((i2.hasChanged ?? f$1)(h2, s2) || i2.useDefault && i2.reflect && h2 === ((_a = this._$Ej) == null ? void 0 : _a.get(t2)) && !this.hasAttribute(e2._$Eu(t2, i2))))
221
+ if (i2 ?? (i2 = e2.getPropertyOptions(t2)), !((i2.hasChanged ?? f)(h2, s2) || i2.useDefault && i2.reflect && h2 === ((_a = this._$Ej) == null ? void 0 : _a.get(t2)) && !this.hasAttribute(e2._$Eu(t2, i2))))
222
222
  return;
223
223
  this.C(t2, s2, i2);
224
224
  }
@@ -298,13 +298,13 @@ class y extends HTMLElement {
298
298
  firstUpdated(t2) {
299
299
  }
300
300
  }
301
- y.elementStyles = [], y.shadowRootOptions = { mode: "open" }, y[d$1("elementProperties")] = /* @__PURE__ */ new Map(), y[d$1("finalized")] = /* @__PURE__ */ new Map(), p$1 == null ? void 0 : p$1({ ReactiveElement: y }), (a$1.reactiveElementVersions ?? (a$1.reactiveElementVersions = [])).push("2.1.1");
301
+ y.elementStyles = [], y.shadowRootOptions = { mode: "open" }, y[d("elementProperties")] = /* @__PURE__ */ new Map(), y[d("finalized")] = /* @__PURE__ */ new Map(), p == null ? void 0 : p({ ReactiveElement: y }), (a.reactiveElementVersions ?? (a.reactiveElementVersions = [])).push("2.1.1");
302
302
  /**
303
303
  * @license
304
304
  * Copyright 2017 Google LLC
305
305
  * SPDX-License-Identifier: BSD-3-Clause
306
306
  */
307
- const o$2 = { attribute: true, type: String, converter: u$1, reflect: false, hasChanged: f$1 }, r$2 = (t2 = o$2, e2, r2) => {
307
+ const o = { attribute: true, type: String, converter: u, reflect: false, hasChanged: f }, r$1 = (t2 = o, e2, r2) => {
308
308
  const { kind: n3, metadata: i2 } = r2;
309
309
  let s2 = globalThis.litPropertyMetadata.get(i2);
310
310
  if (void 0 === s2 && globalThis.litPropertyMetadata.set(i2, s2 = /* @__PURE__ */ new Map()), "setter" === n3 && ((t2 = Object.create(t2)).wrapped = true), s2.set(r2.name, t2), "accessor" === n3) {
@@ -325,8 +325,8 @@ const o$2 = { attribute: true, type: String, converter: u$1, reflect: false, has
325
325
  }
326
326
  throw Error("Unsupported decorator location: " + n3);
327
327
  };
328
- function n$1(t2) {
329
- return (e2, o2) => "object" == typeof o2 ? r$2(t2, e2, o2) : ((t3, e3, o3) => {
328
+ function n2(t2) {
329
+ return (e2, o2) => "object" == typeof o2 ? r$1(t2, e2, o2) : ((t3, e3, o3) => {
330
330
  const r2 = e3.hasOwnProperty(o3);
331
331
  return e3.constructor.createProperty(o3, t3), r2 ? Object.getOwnPropertyDescriptor(e3, o3) : void 0;
332
332
  })(t2, e2, o2);
@@ -336,8 +336,8 @@ function n$1(t2) {
336
336
  * Copyright 2017 Google LLC
337
337
  * SPDX-License-Identifier: BSD-3-Clause
338
338
  */
339
- function r$1(r2) {
340
- return n$1({ ...r2, state: true, attribute: false });
339
+ function r(r2) {
340
+ return n2({ ...r2, state: true, attribute: false });
341
341
  }
342
342
  class FormValidator {
343
343
  /**
@@ -1826,34 +1826,34 @@ JupiterFormField.styles = css`
1826
1826
  }
1827
1827
  `;
1828
1828
  __decorateClass$5([
1829
- n$1({ type: Object })
1829
+ n2({ type: Object })
1830
1830
  ], JupiterFormField.prototype, "field", 2);
1831
1831
  __decorateClass$5([
1832
- n$1({ type: String })
1832
+ n2({ type: String })
1833
1833
  ], JupiterFormField.prototype, "conceptId", 2);
1834
1834
  __decorateClass$5([
1835
- n$1({ type: String })
1835
+ n2({ type: String })
1836
1836
  ], JupiterFormField.prototype, "columnId", 2);
1837
1837
  __decorateClass$5([
1838
- n$1()
1838
+ n2()
1839
1839
  ], JupiterFormField.prototype, "value", 2);
1840
1840
  __decorateClass$5([
1841
- n$1({ type: Boolean })
1841
+ n2({ type: Boolean })
1842
1842
  ], JupiterFormField.prototype, "disabled", 2);
1843
1843
  __decorateClass$5([
1844
- n$1({ type: String })
1844
+ n2({ type: String })
1845
1845
  ], JupiterFormField.prototype, "locale", 2);
1846
1846
  __decorateClass$5([
1847
- n$1({ type: Boolean })
1847
+ n2({ type: Boolean })
1848
1848
  ], JupiterFormField.prototype, "hideLabel", 2);
1849
1849
  __decorateClass$5([
1850
- r$1()
1850
+ r()
1851
1851
  ], JupiterFormField.prototype, "_errors", 2);
1852
1852
  __decorateClass$5([
1853
- r$1()
1853
+ r()
1854
1854
  ], JupiterFormField.prototype, "_touched", 2);
1855
1855
  JupiterFormField = __decorateClass$5([
1856
- t$3("jupiter-form-field")
1856
+ t$1("jupiter-form-field")
1857
1857
  ], JupiterFormField);
1858
1858
  var __defProp$4 = Object.defineProperty;
1859
1859
  var __getOwnPropDesc$4 = Object.getOwnPropertyDescriptor;
@@ -2060,28 +2060,28 @@ JupiterConceptTree.styles = css`
2060
2060
 
2061
2061
  `;
2062
2062
  __decorateClass$4([
2063
- n$1({ type: Object })
2063
+ n2({ type: Object })
2064
2064
  ], JupiterConceptTree.prototype, "concept", 2);
2065
2065
  __decorateClass$4([
2066
- n$1({ type: Array })
2066
+ n2({ type: Array })
2067
2067
  ], JupiterConceptTree.prototype, "columns", 2);
2068
2068
  __decorateClass$4([
2069
- n$1({ type: Object })
2069
+ n2({ type: Object })
2070
2070
  ], JupiterConceptTree.prototype, "formData", 2);
2071
2071
  __decorateClass$4([
2072
- n$1({ type: Boolean })
2072
+ n2({ type: Boolean })
2073
2073
  ], JupiterConceptTree.prototype, "disabled", 2);
2074
2074
  __decorateClass$4([
2075
- n$1({ type: String })
2075
+ n2({ type: String })
2076
2076
  ], JupiterConceptTree.prototype, "locale", 2);
2077
2077
  __decorateClass$4([
2078
- n$1({ type: Set })
2078
+ n2({ type: Set })
2079
2079
  ], JupiterConceptTree.prototype, "expandedConcepts", 2);
2080
2080
  __decorateClass$4([
2081
- r$1()
2081
+ r()
2082
2082
  ], JupiterConceptTree.prototype, "_expanded", 2);
2083
2083
  JupiterConceptTree = __decorateClass$4([
2084
- t$3("jupiter-concept-tree")
2084
+ t$1("jupiter-concept-tree")
2085
2085
  ], JupiterConceptTree);
2086
2086
  var __defProp$3 = Object.defineProperty;
2087
2087
  var __getOwnPropDesc$3 = Object.getOwnPropertyDescriptor;
@@ -2099,15 +2099,20 @@ let JupiterAddColumnDialog = class extends LitElement {
2099
2099
  super(...arguments);
2100
2100
  this.periodType = "duration";
2101
2101
  this.open = false;
2102
+ this.availableDimensions = [];
2102
2103
  this._startDate = "";
2103
2104
  this._endDate = "";
2104
2105
  this._instantDate = "";
2105
2106
  this._selectedType = "duration";
2107
+ this._selectedDimensions = /* @__PURE__ */ new Map();
2106
2108
  }
2107
2109
  updated(changedProperties) {
2108
2110
  if (changedProperties.has("open") && this.open) {
2109
2111
  this._resetForm();
2110
2112
  }
2113
+ if (changedProperties.has("availableDimensions")) {
2114
+ console.log(`🎯 Add Column Dialog received ${this.availableDimensions.length} dimensions:`, this.availableDimensions.map((d2) => d2.axisLabel));
2115
+ }
2111
2116
  }
2112
2117
  connectedCallback() {
2113
2118
  super.connectedCallback();
@@ -2119,13 +2124,6 @@ let JupiterAddColumnDialog = class extends LitElement {
2119
2124
  this._resetForm();
2120
2125
  }
2121
2126
  }
2122
- _resetForm() {
2123
- const today = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
2124
- this._startDate = today;
2125
- this._endDate = today;
2126
- this._instantDate = today;
2127
- this._selectedType = "duration";
2128
- }
2129
2127
  _handleCancel() {
2130
2128
  this.open = false;
2131
2129
  this.dispatchEvent(new CustomEvent("dialog-cancel", { bubbles: true }));
@@ -2142,6 +2140,9 @@ let JupiterAddColumnDialog = class extends LitElement {
2142
2140
  request.startDate = this._startDate;
2143
2141
  request.endDate = this._endDate;
2144
2142
  }
2143
+ if (this._selectedDimensions.size > 0) {
2144
+ request.selectedDimensions = Array.from(this._selectedDimensions.values());
2145
+ }
2145
2146
  this.dispatchEvent(new CustomEvent("column-add", {
2146
2147
  detail: request,
2147
2148
  bubbles: true
@@ -2173,6 +2174,66 @@ let JupiterAddColumnDialog = class extends LitElement {
2173
2174
  _handleInstantDateChange(e2) {
2174
2175
  this._instantDate = e2.target.value;
2175
2176
  }
2177
+ _handleDimensionToggle(dimensionId, event) {
2178
+ const checkbox = event.target;
2179
+ if (checkbox.checked) {
2180
+ const dimension = this.availableDimensions.find((d2) => d2.id === dimensionId);
2181
+ if (dimension) {
2182
+ const selection = {
2183
+ axisId: dimension.id,
2184
+ axisLabel: dimension.axisLabel,
2185
+ isTyped: !!(dimension.typedMember && (!dimension.members || dimension.members.length === 0))
2186
+ };
2187
+ this._selectedDimensions.set(dimensionId, selection);
2188
+ }
2189
+ } else {
2190
+ this._selectedDimensions.delete(dimensionId);
2191
+ }
2192
+ this.requestUpdate();
2193
+ }
2194
+ _handleMemberSelection(dimensionId, memberId, memberLabel) {
2195
+ const existing = this._selectedDimensions.get(dimensionId);
2196
+ if (existing) {
2197
+ existing.memberId = memberId;
2198
+ existing.memberLabel = memberLabel;
2199
+ this._selectedDimensions.set(dimensionId, existing);
2200
+ this.requestUpdate();
2201
+ }
2202
+ }
2203
+ _handleTypedValueChange(dimensionId, event) {
2204
+ const input = event.target;
2205
+ const existing = this._selectedDimensions.get(dimensionId);
2206
+ if (existing) {
2207
+ existing.typedValue = input.value;
2208
+ this._selectedDimensions.set(dimensionId, existing);
2209
+ }
2210
+ }
2211
+ _resetForm() {
2212
+ const today = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
2213
+ this._startDate = today;
2214
+ this._endDate = today;
2215
+ this._instantDate = today;
2216
+ this._selectedType = this.periodType === "instant" ? "instant" : "duration";
2217
+ this._selectedDimensions.clear();
2218
+ this._autoSelectSingleMemberDimensions();
2219
+ this.requestUpdate();
2220
+ }
2221
+ _autoSelectSingleMemberDimensions() {
2222
+ this.availableDimensions.forEach((dimension) => {
2223
+ if (dimension.members && dimension.members.length === 1) {
2224
+ const member = dimension.members[0];
2225
+ const selection = {
2226
+ axisId: dimension.id,
2227
+ axisLabel: dimension.axisLabel,
2228
+ memberId: member.id,
2229
+ memberLabel: member.label,
2230
+ isTyped: false
2231
+ };
2232
+ this._selectedDimensions.set(dimension.id, selection);
2233
+ console.log(`🎯 Auto-selected single member: ${dimension.axisLabel} -> ${member.label}`);
2234
+ }
2235
+ });
2236
+ }
2176
2237
  render() {
2177
2238
  if (!this.open)
2178
2239
  return html``;
@@ -2181,9 +2242,7 @@ let JupiterAddColumnDialog = class extends LitElement {
2181
2242
  <div class="dialog" @click="${(e2) => e2.stopPropagation()}">
2182
2243
  <div class="dialog-header">
2183
2244
  <h2 class="dialog-title">Add Column</h2>
2184
- <p class="dialog-description">
2185
- ${this.periodType === "instant" ? "Add a new instant period column by specifying the date." : this.periodType === "duration" ? "Add a new duration period column by specifying the start and end dates." : "This section contains both instant and duration concepts. Choose the type of column to add."}
2186
- </p>
2245
+
2187
2246
  </div>
2188
2247
 
2189
2248
  <div class="dialog-content">
@@ -2214,27 +2273,102 @@ let JupiterAddColumnDialog = class extends LitElement {
2214
2273
  />
2215
2274
  </div>
2216
2275
  ` : html`
2217
- <div class="form-group">
2218
- <label class="form-label required">Start Period Date</label>
2219
- <input
2220
- type="date"
2221
- class="form-input"
2222
- .value="${this._startDate}"
2223
- @change="${this._handleStartDateChange}"
2224
- required
2225
- />
2226
- </div>
2227
- <div class="form-group">
2228
- <label class="form-label required">End Period Date</label>
2229
- <input
2230
- type="date"
2231
- class="form-input"
2232
- .value="${this._endDate}"
2233
- @change="${this._handleEndDateChange}"
2234
- required
2235
- />
2276
+ <div class="form-group date-row">
2277
+ <div class="date-field">
2278
+ <label class="form-label required">Start Period Date</label>
2279
+ <input
2280
+ type="date"
2281
+ class="form-input"
2282
+ .value="${this._startDate}"
2283
+ @change="${this._handleStartDateChange}"
2284
+ required
2285
+ />
2286
+ </div>
2287
+ <div class="date-field">
2288
+ <label class="form-label required">End Period Date</label>
2289
+ <input
2290
+ type="date"
2291
+ class="form-input"
2292
+ .value="${this._endDate}"
2293
+ @change="${this._handleEndDateChange}"
2294
+ required
2295
+ />
2296
+ </div>
2236
2297
  </div>
2237
2298
  `}
2299
+
2300
+ <!-- Dimensions Section -->
2301
+ ${this.availableDimensions.length > 0 ? html`
2302
+ <div class="dimensions-section">
2303
+ <h3>Available Dimensions</h3>
2304
+ <p class="form-description">Select dimensions to include in the column. You can choose specific members or enter typed values.</p>
2305
+
2306
+ ${this.availableDimensions.map((dimension) => {
2307
+ const isSelected = this._selectedDimensions.has(dimension.id);
2308
+ const selection = this._selectedDimensions.get(dimension.id);
2309
+ const isTypedDimension = !!(dimension.typedMember && (!dimension.members || dimension.members.length === 0));
2310
+ return html`
2311
+ <div class="dimension-item">
2312
+ <div class="dimension-header">
2313
+ <input
2314
+ type="checkbox"
2315
+ class="dimension-checkbox"
2316
+ .checked="${isSelected}"
2317
+ @change="${(e2) => this._handleDimensionToggle(dimension.id, e2)}"
2318
+ id="dim-${dimension.id}"
2319
+ />
2320
+ <label for="dim-${dimension.id}" class="dimension-label">
2321
+ ${dimension.axisLabel || dimension.conceptName}
2322
+ </label>
2323
+ </div>
2324
+
2325
+ ${isSelected ? html`
2326
+ <div class="dimension-details">
2327
+ ${isTypedDimension ? html`
2328
+ <!-- Typed Dimension Input -->
2329
+ <div class="member-selection">
2330
+ <label>Enter value for ${dimension.conceptName}:</label>
2331
+ <input
2332
+ type="text"
2333
+ class="typed-input"
2334
+ .value="${(selection == null ? void 0 : selection.typedValue) || ""}"
2335
+ @input="${(e2) => this._handleTypedValueChange(dimension.id, e2)}"
2336
+ placeholder="Enter value..."
2337
+ />
2338
+ </div>
2339
+ ` : html`
2340
+ <!-- Domain Members Selection -->
2341
+ ${dimension.members && dimension.members.length > 0 ? html`
2342
+ <div class="member-selection">
2343
+ <label>Select member:</label>
2344
+ <div class="member-list">
2345
+ ${dimension.members.map((member) => html`
2346
+ <div class="member-option">
2347
+ <input
2348
+ type="radio"
2349
+ name="member-${dimension.id}"
2350
+ .checked="${(selection == null ? void 0 : selection.memberId) === member.id}"
2351
+ @change="${() => this._handleMemberSelection(dimension.id, member.id, member.label)}"
2352
+ id="member-${dimension.id}-${member.id}"
2353
+ />
2354
+ <label for="member-${dimension.id}-${member.id}">
2355
+ ${member.label}
2356
+ </label>
2357
+ </div>
2358
+ `)}
2359
+ </div>
2360
+ </div>
2361
+ ` : html`
2362
+ <p class="form-description">No members available for this dimension</p>
2363
+ `}
2364
+ `}
2365
+ </div>
2366
+ ` : ""}
2367
+ </div>
2368
+ `;
2369
+ })}
2370
+ </div>
2371
+ ` : ""}
2238
2372
  </div>
2239
2373
 
2240
2374
  <div class="dialog-actions">
@@ -2281,9 +2415,12 @@ JupiterAddColumnDialog.styles = css`
2281
2415
  padding: 24px;
2282
2416
  min-width: 400px;
2283
2417
  max-width: 500px;
2418
+ max-height: 90vh;
2284
2419
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
2285
2420
  transform: scale(0.9);
2286
2421
  transition: transform 0.3s ease;
2422
+ display: flex;
2423
+ flex-direction: column;
2287
2424
  }
2288
2425
 
2289
2426
  :host([open]) .dialog {
@@ -2292,6 +2429,7 @@ JupiterAddColumnDialog.styles = css`
2292
2429
 
2293
2430
  .dialog-header {
2294
2431
  margin-bottom: 20px;
2432
+ flex-shrink: 0;
2295
2433
  }
2296
2434
 
2297
2435
  .dialog-title {
@@ -2309,12 +2447,24 @@ JupiterAddColumnDialog.styles = css`
2309
2447
 
2310
2448
  .dialog-content {
2311
2449
  margin-bottom: 24px;
2450
+ flex: 1;
2451
+ overflow-y: auto;
2452
+ max-height: calc(90vh - 160px);
2312
2453
  }
2313
2454
 
2314
2455
  .form-group {
2315
2456
  margin-bottom: 16px;
2316
2457
  }
2317
2458
 
2459
+ .form-group.date-row {
2460
+ display: flex;
2461
+ gap: 12px;
2462
+ }
2463
+
2464
+ .form-group.date-row .date-field {
2465
+ flex: 1;
2466
+ }
2467
+
2318
2468
  .form-label {
2319
2469
  display: block;
2320
2470
  font-weight: 500;
@@ -2354,6 +2504,10 @@ JupiterAddColumnDialog.styles = css`
2354
2504
  display: flex;
2355
2505
  gap: 12px;
2356
2506
  justify-content: flex-end;
2507
+ flex-shrink: 0;
2508
+ border-top: 1px solid var(--jupiter-border-color, #ddd);
2509
+ padding-top: 16px;
2510
+ margin-top: 16px;
2357
2511
  }
2358
2512
 
2359
2513
  .btn {
@@ -2388,27 +2542,135 @@ JupiterAddColumnDialog.styles = css`
2388
2542
  background: var(--jupiter-disabled-background, #ccc);
2389
2543
  cursor: not-allowed;
2390
2544
  }
2545
+
2546
+ /* Dimension Selection Styles */
2547
+ .dimensions-section {
2548
+ margin-top: 20px;
2549
+ padding-top: 20px;
2550
+ border-top: 1px solid var(--jupiter-border-color, #ddd);
2551
+ }
2552
+
2553
+ .dimensions-section h3 {
2554
+ margin: 0 0 16px 0;
2555
+ font-size: 16px;
2556
+ font-weight: 500;
2557
+ color: var(--jupiter-text-primary, #333);
2558
+ }
2559
+
2560
+ .dimension-item {
2561
+ margin-bottom: 16px;
2562
+ padding: 16px;
2563
+ border: 1px solid var(--jupiter-border-color, #ddd);
2564
+ border-radius: 4px;
2565
+ background: var(--jupiter-card-background, #fafafa);
2566
+ }
2567
+
2568
+ .dimension-header {
2569
+ display: flex;
2570
+ align-items: center;
2571
+ gap: 12px;
2572
+ margin-bottom: 12px;
2573
+ }
2574
+
2575
+ .dimension-checkbox {
2576
+ margin: 0;
2577
+ }
2578
+
2579
+ .dimension-label {
2580
+ font-weight: 500;
2581
+ color: var(--jupiter-text-primary, #333);
2582
+ flex: 1;
2583
+ }
2584
+
2585
+ .dimension-details {
2586
+ margin-left: 24px;
2587
+ }
2588
+
2589
+ .member-selection {
2590
+ margin-top: 12px;
2591
+ }
2592
+
2593
+ .member-selection label {
2594
+ display: block;
2595
+ margin-bottom: 4px;
2596
+ font-size: 13px;
2597
+ color: var(--jupiter-text-secondary, #666);
2598
+ }
2599
+
2600
+ .typed-input {
2601
+ width: 100%;
2602
+ padding: 8px 12px;
2603
+ border: 1px solid var(--jupiter-border-color, #ddd);
2604
+ border-radius: 4px;
2605
+ font-size: 14px;
2606
+ }
2607
+
2608
+ .member-list {
2609
+ max-height: 120px;
2610
+ overflow-y: auto;
2611
+ border: 1px solid var(--jupiter-border-color, #ddd);
2612
+ border-radius: 4px;
2613
+ padding: 8px;
2614
+ }
2615
+
2616
+ .member-option {
2617
+ display: flex;
2618
+ align-items: center;
2619
+ gap: 8px;
2620
+ padding: 4px 0;
2621
+ }
2622
+
2623
+ .member-option input[type="radio"] {
2624
+ margin: 0;
2625
+ }
2626
+
2627
+ .member-option label {
2628
+ margin: 0;
2629
+ font-size: 13px;
2630
+ color: var(--jupiter-text-primary, #333);
2631
+ cursor: pointer;
2632
+ }
2633
+
2634
+ .no-dimensions {
2635
+ text-align: center;
2636
+ color: var(--jupiter-text-secondary, #666);
2637
+ font-style: italic;
2638
+ padding: 20px;
2639
+ }
2640
+
2641
+ .form-description {
2642
+ font-size: 13px;
2643
+ color: var(--jupiter-text-secondary, #666);
2644
+ margin: 0 0 12px 0;
2645
+ line-height: 1.4;
2646
+ }
2391
2647
  `;
2392
2648
  __decorateClass$3([
2393
- n$1({ type: String })
2649
+ n2({ type: String })
2394
2650
  ], JupiterAddColumnDialog.prototype, "periodType", 2);
2395
2651
  __decorateClass$3([
2396
- n$1({ type: Boolean })
2652
+ n2({ type: Boolean })
2397
2653
  ], JupiterAddColumnDialog.prototype, "open", 2);
2398
2654
  __decorateClass$3([
2399
- r$1()
2655
+ n2({ type: Array })
2656
+ ], JupiterAddColumnDialog.prototype, "availableDimensions", 2);
2657
+ __decorateClass$3([
2658
+ r()
2400
2659
  ], JupiterAddColumnDialog.prototype, "_startDate", 2);
2401
2660
  __decorateClass$3([
2402
- r$1()
2661
+ r()
2403
2662
  ], JupiterAddColumnDialog.prototype, "_endDate", 2);
2404
2663
  __decorateClass$3([
2405
- r$1()
2664
+ r()
2406
2665
  ], JupiterAddColumnDialog.prototype, "_instantDate", 2);
2407
2666
  __decorateClass$3([
2408
- r$1()
2667
+ r()
2409
2668
  ], JupiterAddColumnDialog.prototype, "_selectedType", 2);
2669
+ __decorateClass$3([
2670
+ r()
2671
+ ], JupiterAddColumnDialog.prototype, "_selectedDimensions", 2);
2410
2672
  JupiterAddColumnDialog = __decorateClass$3([
2411
- t$3("jupiter-add-column-dialog")
2673
+ t$1("jupiter-add-column-dialog")
2412
2674
  ], JupiterAddColumnDialog);
2413
2675
  var __defProp$2 = Object.defineProperty;
2414
2676
  var __getOwnPropDesc$2 = Object.getOwnPropertyDescriptor;
@@ -2430,6 +2692,7 @@ let JupiterFormSection = class extends LitElement {
2430
2692
  this.disabled = false;
2431
2693
  this.collapsible = true;
2432
2694
  this.locale = "en-US";
2695
+ this.availableDimensions = [];
2433
2696
  this._expanded = true;
2434
2697
  this._showAddColumnDialog = false;
2435
2698
  this._sectionPeriodType = "duration";
@@ -2720,6 +2983,7 @@ let JupiterFormSection = class extends LitElement {
2720
2983
  <jupiter-add-column-dialog
2721
2984
  .periodType="${this._sectionPeriodType}"
2722
2985
  ?open="${this._showAddColumnDialog}"
2986
+ .availableDimensions="${this.availableDimensions}"
2723
2987
  @dialog-cancel="${this._handleDialogCancel}"
2724
2988
  @column-add="${this._handleColumnAdd}"
2725
2989
  ></jupiter-add-column-dialog>
@@ -2949,331 +3213,44 @@ JupiterFormSection.styles = css`
2949
3213
  }
2950
3214
  `;
2951
3215
  __decorateClass$2([
2952
- n$1({ type: Object })
3216
+ n2({ type: Object })
2953
3217
  ], JupiterFormSection.prototype, "section", 2);
2954
3218
  __decorateClass$2([
2955
- n$1({ type: Array })
3219
+ n2({ type: Array })
2956
3220
  ], JupiterFormSection.prototype, "columns", 2);
2957
3221
  __decorateClass$2([
2958
- n$1({ type: Object })
3222
+ n2({ type: Object })
2959
3223
  ], JupiterFormSection.prototype, "formData", 2);
2960
3224
  __decorateClass$2([
2961
- n$1({ type: Object })
3225
+ n2({ type: Object })
2962
3226
  ], JupiterFormSection.prototype, "typedMemberData", 2);
2963
3227
  __decorateClass$2([
2964
- n$1({ type: Boolean })
3228
+ n2({ type: Boolean })
2965
3229
  ], JupiterFormSection.prototype, "disabled", 2);
2966
3230
  __decorateClass$2([
2967
- n$1({ type: Boolean })
3231
+ n2({ type: Boolean })
2968
3232
  ], JupiterFormSection.prototype, "collapsible", 2);
2969
3233
  __decorateClass$2([
2970
- n$1({ type: String })
3234
+ n2({ type: String })
2971
3235
  ], JupiterFormSection.prototype, "locale", 2);
2972
3236
  __decorateClass$2([
2973
- r$1()
3237
+ n2({ type: Array })
3238
+ ], JupiterFormSection.prototype, "availableDimensions", 2);
3239
+ __decorateClass$2([
3240
+ r()
2974
3241
  ], JupiterFormSection.prototype, "_expanded", 2);
2975
3242
  __decorateClass$2([
2976
- r$1()
3243
+ r()
2977
3244
  ], JupiterFormSection.prototype, "_showAddColumnDialog", 2);
2978
3245
  __decorateClass$2([
2979
- r$1()
3246
+ r()
2980
3247
  ], JupiterFormSection.prototype, "_sectionPeriodType", 2);
2981
3248
  __decorateClass$2([
2982
- r$1()
3249
+ r()
2983
3250
  ], JupiterFormSection.prototype, "_expandedConcepts", 2);
2984
3251
  JupiterFormSection = __decorateClass$2([
2985
- t$3("jupiter-form-section")
3252
+ t$1("jupiter-form-section")
2986
3253
  ], JupiterFormSection);
2987
- /**
2988
- * @license
2989
- * Copyright 2017 Google LLC
2990
- * SPDX-License-Identifier: BSD-3-Clause
2991
- */
2992
- const t$1 = globalThis, i$1 = t$1.trustedTypes, s = i$1 ? i$1.createPolicy("lit-html", { createHTML: (t2) => t2 }) : void 0, e$2 = "$lit$", h = `lit$${Math.random().toFixed(9).slice(2)}$`, o$1 = "?" + h, n2 = `<${o$1}>`, r = document, l = () => r.createComment(""), c = (t2) => null === t2 || "object" != typeof t2 && "function" != typeof t2, a = Array.isArray, u = (t2) => a(t2) || "function" == typeof (t2 == null ? void 0 : t2[Symbol.iterator]), d = "[ \n\f\r]", f = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, v = /-->/g, _ = />/g, m = RegExp(`>|${d}(?:([^\\s"'>=/]+)(${d}*=${d}*(?:[^
2993
- \f\r"'\`<>=]|("|')|))|$)`, "g"), p = /'/g, g = /"/g, $ = /^(?:script|style|textarea|title)$/i, T = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), A = /* @__PURE__ */ new WeakMap(), C = r.createTreeWalker(r, 129);
2994
- function P(t2, i2) {
2995
- if (!a(t2) || !t2.hasOwnProperty("raw"))
2996
- throw Error("invalid template strings array");
2997
- return void 0 !== s ? s.createHTML(i2) : i2;
2998
- }
2999
- const V = (t2, i2) => {
3000
- const s2 = t2.length - 1, o2 = [];
3001
- let r2, l2 = 2 === i2 ? "<svg>" : 3 === i2 ? "<math>" : "", c2 = f;
3002
- for (let i3 = 0; i3 < s2; i3++) {
3003
- const s3 = t2[i3];
3004
- let a2, u2, d2 = -1, y2 = 0;
3005
- for (; y2 < s3.length && (c2.lastIndex = y2, u2 = c2.exec(s3), null !== u2); )
3006
- y2 = c2.lastIndex, c2 === f ? "!--" === u2[1] ? c2 = v : void 0 !== u2[1] ? c2 = _ : void 0 !== u2[2] ? ($.test(u2[2]) && (r2 = RegExp("</" + u2[2], "g")), c2 = m) : void 0 !== u2[3] && (c2 = m) : c2 === m ? ">" === u2[0] ? (c2 = r2 ?? f, d2 = -1) : void 0 === u2[1] ? d2 = -2 : (d2 = c2.lastIndex - u2[2].length, a2 = u2[1], c2 = void 0 === u2[3] ? m : '"' === u2[3] ? g : p) : c2 === g || c2 === p ? c2 = m : c2 === v || c2 === _ ? c2 = f : (c2 = m, r2 = void 0);
3007
- const x = c2 === m && t2[i3 + 1].startsWith("/>") ? " " : "";
3008
- l2 += c2 === f ? s3 + n2 : d2 >= 0 ? (o2.push(a2), s3.slice(0, d2) + e$2 + s3.slice(d2) + h + x) : s3 + h + (-2 === d2 ? i3 : x);
3009
- }
3010
- return [P(t2, l2 + (t2[s2] || "<?>") + (2 === i2 ? "</svg>" : 3 === i2 ? "</math>" : "")), o2];
3011
- };
3012
- class N {
3013
- constructor({ strings: t2, _$litType$: s2 }, n3) {
3014
- let r2;
3015
- this.parts = [];
3016
- let c2 = 0, a2 = 0;
3017
- const u2 = t2.length - 1, d2 = this.parts, [f2, v2] = V(t2, s2);
3018
- if (this.el = N.createElement(f2, n3), C.currentNode = this.el.content, 2 === s2 || 3 === s2) {
3019
- const t3 = this.el.content.firstChild;
3020
- t3.replaceWith(...t3.childNodes);
3021
- }
3022
- for (; null !== (r2 = C.nextNode()) && d2.length < u2; ) {
3023
- if (1 === r2.nodeType) {
3024
- if (r2.hasAttributes())
3025
- for (const t3 of r2.getAttributeNames())
3026
- if (t3.endsWith(e$2)) {
3027
- const i2 = v2[a2++], s3 = r2.getAttribute(t3).split(h), e2 = /([.?@])?(.*)/.exec(i2);
3028
- d2.push({ type: 1, index: c2, name: e2[2], strings: s3, ctor: "." === e2[1] ? H : "?" === e2[1] ? I : "@" === e2[1] ? L : k }), r2.removeAttribute(t3);
3029
- } else
3030
- t3.startsWith(h) && (d2.push({ type: 6, index: c2 }), r2.removeAttribute(t3));
3031
- if ($.test(r2.tagName)) {
3032
- const t3 = r2.textContent.split(h), s3 = t3.length - 1;
3033
- if (s3 > 0) {
3034
- r2.textContent = i$1 ? i$1.emptyScript : "";
3035
- for (let i2 = 0; i2 < s3; i2++)
3036
- r2.append(t3[i2], l()), C.nextNode(), d2.push({ type: 2, index: ++c2 });
3037
- r2.append(t3[s3], l());
3038
- }
3039
- }
3040
- } else if (8 === r2.nodeType)
3041
- if (r2.data === o$1)
3042
- d2.push({ type: 2, index: c2 });
3043
- else {
3044
- let t3 = -1;
3045
- for (; -1 !== (t3 = r2.data.indexOf(h, t3 + 1)); )
3046
- d2.push({ type: 7, index: c2 }), t3 += h.length - 1;
3047
- }
3048
- c2++;
3049
- }
3050
- }
3051
- static createElement(t2, i2) {
3052
- const s2 = r.createElement("template");
3053
- return s2.innerHTML = t2, s2;
3054
- }
3055
- }
3056
- function S(t2, i2, s2 = t2, e2) {
3057
- var _a, _b;
3058
- if (i2 === T)
3059
- return i2;
3060
- let h2 = void 0 !== e2 ? (_a = s2._$Co) == null ? void 0 : _a[e2] : s2._$Cl;
3061
- const o2 = c(i2) ? void 0 : i2._$litDirective$;
3062
- return (h2 == null ? void 0 : h2.constructor) !== o2 && ((_b = h2 == null ? void 0 : h2._$AO) == null ? void 0 : _b.call(h2, false), void 0 === o2 ? h2 = void 0 : (h2 = new o2(t2), h2._$AT(t2, s2, e2)), void 0 !== e2 ? (s2._$Co ?? (s2._$Co = []))[e2] = h2 : s2._$Cl = h2), void 0 !== h2 && (i2 = S(t2, h2._$AS(t2, i2.values), h2, e2)), i2;
3063
- }
3064
- class M {
3065
- constructor(t2, i2) {
3066
- this._$AV = [], this._$AN = void 0, this._$AD = t2, this._$AM = i2;
3067
- }
3068
- get parentNode() {
3069
- return this._$AM.parentNode;
3070
- }
3071
- get _$AU() {
3072
- return this._$AM._$AU;
3073
- }
3074
- u(t2) {
3075
- const { el: { content: i2 }, parts: s2 } = this._$AD, e2 = ((t2 == null ? void 0 : t2.creationScope) ?? r).importNode(i2, true);
3076
- C.currentNode = e2;
3077
- let h2 = C.nextNode(), o2 = 0, n3 = 0, l2 = s2[0];
3078
- for (; void 0 !== l2; ) {
3079
- if (o2 === l2.index) {
3080
- let i3;
3081
- 2 === l2.type ? i3 = new R(h2, h2.nextSibling, this, t2) : 1 === l2.type ? i3 = new l2.ctor(h2, l2.name, l2.strings, this, t2) : 6 === l2.type && (i3 = new z(h2, this, t2)), this._$AV.push(i3), l2 = s2[++n3];
3082
- }
3083
- o2 !== (l2 == null ? void 0 : l2.index) && (h2 = C.nextNode(), o2++);
3084
- }
3085
- return C.currentNode = r, e2;
3086
- }
3087
- p(t2) {
3088
- let i2 = 0;
3089
- for (const s2 of this._$AV)
3090
- void 0 !== s2 && (void 0 !== s2.strings ? (s2._$AI(t2, s2, i2), i2 += s2.strings.length - 2) : s2._$AI(t2[i2])), i2++;
3091
- }
3092
- }
3093
- class R {
3094
- get _$AU() {
3095
- var _a;
3096
- return ((_a = this._$AM) == null ? void 0 : _a._$AU) ?? this._$Cv;
3097
- }
3098
- constructor(t2, i2, s2, e2) {
3099
- this.type = 2, this._$AH = E, this._$AN = void 0, this._$AA = t2, this._$AB = i2, this._$AM = s2, this.options = e2, this._$Cv = (e2 == null ? void 0 : e2.isConnected) ?? true;
3100
- }
3101
- get parentNode() {
3102
- let t2 = this._$AA.parentNode;
3103
- const i2 = this._$AM;
3104
- return void 0 !== i2 && 11 === (t2 == null ? void 0 : t2.nodeType) && (t2 = i2.parentNode), t2;
3105
- }
3106
- get startNode() {
3107
- return this._$AA;
3108
- }
3109
- get endNode() {
3110
- return this._$AB;
3111
- }
3112
- _$AI(t2, i2 = this) {
3113
- t2 = S(this, t2, i2), c(t2) ? t2 === E || null == t2 || "" === t2 ? (this._$AH !== E && this._$AR(), this._$AH = E) : t2 !== this._$AH && t2 !== T && this._(t2) : void 0 !== t2._$litType$ ? this.$(t2) : void 0 !== t2.nodeType ? this.T(t2) : u(t2) ? this.k(t2) : this._(t2);
3114
- }
3115
- O(t2) {
3116
- return this._$AA.parentNode.insertBefore(t2, this._$AB);
3117
- }
3118
- T(t2) {
3119
- this._$AH !== t2 && (this._$AR(), this._$AH = this.O(t2));
3120
- }
3121
- _(t2) {
3122
- this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t2 : this.T(r.createTextNode(t2)), this._$AH = t2;
3123
- }
3124
- $(t2) {
3125
- var _a;
3126
- const { values: i2, _$litType$: s2 } = t2, e2 = "number" == typeof s2 ? this._$AC(t2) : (void 0 === s2.el && (s2.el = N.createElement(P(s2.h, s2.h[0]), this.options)), s2);
3127
- if (((_a = this._$AH) == null ? void 0 : _a._$AD) === e2)
3128
- this._$AH.p(i2);
3129
- else {
3130
- const t3 = new M(e2, this), s3 = t3.u(this.options);
3131
- t3.p(i2), this.T(s3), this._$AH = t3;
3132
- }
3133
- }
3134
- _$AC(t2) {
3135
- let i2 = A.get(t2.strings);
3136
- return void 0 === i2 && A.set(t2.strings, i2 = new N(t2)), i2;
3137
- }
3138
- k(t2) {
3139
- a(this._$AH) || (this._$AH = [], this._$AR());
3140
- const i2 = this._$AH;
3141
- let s2, e2 = 0;
3142
- for (const h2 of t2)
3143
- e2 === i2.length ? i2.push(s2 = new R(this.O(l()), this.O(l()), this, this.options)) : s2 = i2[e2], s2._$AI(h2), e2++;
3144
- e2 < i2.length && (this._$AR(s2 && s2._$AB.nextSibling, e2), i2.length = e2);
3145
- }
3146
- _$AR(t2 = this._$AA.nextSibling, i2) {
3147
- var _a;
3148
- for ((_a = this._$AP) == null ? void 0 : _a.call(this, false, true, i2); t2 !== this._$AB; ) {
3149
- const i3 = t2.nextSibling;
3150
- t2.remove(), t2 = i3;
3151
- }
3152
- }
3153
- setConnected(t2) {
3154
- var _a;
3155
- void 0 === this._$AM && (this._$Cv = t2, (_a = this._$AP) == null ? void 0 : _a.call(this, t2));
3156
- }
3157
- }
3158
- class k {
3159
- get tagName() {
3160
- return this.element.tagName;
3161
- }
3162
- get _$AU() {
3163
- return this._$AM._$AU;
3164
- }
3165
- constructor(t2, i2, s2, e2, h2) {
3166
- this.type = 1, this._$AH = E, this._$AN = void 0, this.element = t2, this.name = i2, this._$AM = e2, this.options = h2, s2.length > 2 || "" !== s2[0] || "" !== s2[1] ? (this._$AH = Array(s2.length - 1).fill(new String()), this.strings = s2) : this._$AH = E;
3167
- }
3168
- _$AI(t2, i2 = this, s2, e2) {
3169
- const h2 = this.strings;
3170
- let o2 = false;
3171
- if (void 0 === h2)
3172
- t2 = S(this, t2, i2, 0), o2 = !c(t2) || t2 !== this._$AH && t2 !== T, o2 && (this._$AH = t2);
3173
- else {
3174
- const e3 = t2;
3175
- let n3, r2;
3176
- for (t2 = h2[0], n3 = 0; n3 < h2.length - 1; n3++)
3177
- r2 = S(this, e3[s2 + n3], i2, n3), r2 === T && (r2 = this._$AH[n3]), o2 || (o2 = !c(r2) || r2 !== this._$AH[n3]), r2 === E ? t2 = E : t2 !== E && (t2 += (r2 ?? "") + h2[n3 + 1]), this._$AH[n3] = r2;
3178
- }
3179
- o2 && !e2 && this.j(t2);
3180
- }
3181
- j(t2) {
3182
- t2 === E ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t2 ?? "");
3183
- }
3184
- }
3185
- class H extends k {
3186
- constructor() {
3187
- super(...arguments), this.type = 3;
3188
- }
3189
- j(t2) {
3190
- this.element[this.name] = t2 === E ? void 0 : t2;
3191
- }
3192
- }
3193
- class I extends k {
3194
- constructor() {
3195
- super(...arguments), this.type = 4;
3196
- }
3197
- j(t2) {
3198
- this.element.toggleAttribute(this.name, !!t2 && t2 !== E);
3199
- }
3200
- }
3201
- class L extends k {
3202
- constructor(t2, i2, s2, e2, h2) {
3203
- super(t2, i2, s2, e2, h2), this.type = 5;
3204
- }
3205
- _$AI(t2, i2 = this) {
3206
- if ((t2 = S(this, t2, i2, 0) ?? E) === T)
3207
- return;
3208
- const s2 = this._$AH, e2 = t2 === E && s2 !== E || t2.capture !== s2.capture || t2.once !== s2.once || t2.passive !== s2.passive, h2 = t2 !== E && (s2 === E || e2);
3209
- e2 && this.element.removeEventListener(this.name, this, s2), h2 && this.element.addEventListener(this.name, this, t2), this._$AH = t2;
3210
- }
3211
- handleEvent(t2) {
3212
- var _a;
3213
- "function" == typeof this._$AH ? this._$AH.call(((_a = this.options) == null ? void 0 : _a.host) ?? this.element, t2) : this._$AH.handleEvent(t2);
3214
- }
3215
- }
3216
- class z {
3217
- constructor(t2, i2, s2) {
3218
- this.element = t2, this.type = 6, this._$AN = void 0, this._$AM = i2, this.options = s2;
3219
- }
3220
- get _$AU() {
3221
- return this._$AM._$AU;
3222
- }
3223
- _$AI(t2) {
3224
- S(this, t2);
3225
- }
3226
- }
3227
- const j = t$1.litHtmlPolyfillSupport;
3228
- j == null ? void 0 : j(N, R), (t$1.litHtmlVersions ?? (t$1.litHtmlVersions = [])).push("3.3.1");
3229
- /**
3230
- * @license
3231
- * Copyright 2017 Google LLC
3232
- * SPDX-License-Identifier: BSD-3-Clause
3233
- */
3234
- const t = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, e$1 = (t2) => (...e2) => ({ _$litDirective$: t2, values: e2 });
3235
- class i {
3236
- constructor(t2) {
3237
- }
3238
- get _$AU() {
3239
- return this._$AM._$AU;
3240
- }
3241
- _$AT(t2, e2, i2) {
3242
- this._$Ct = t2, this._$AM = e2, this._$Ci = i2;
3243
- }
3244
- _$AS(t2, e2) {
3245
- return this.update(t2, e2);
3246
- }
3247
- update(t2, e2) {
3248
- return this.render(...e2);
3249
- }
3250
- }
3251
- /**
3252
- * @license
3253
- * Copyright 2017 Google LLC
3254
- * SPDX-License-Identifier: BSD-3-Clause
3255
- */
3256
- class e extends i {
3257
- constructor(i2) {
3258
- if (super(i2), this.it = E, i2.type !== t.CHILD)
3259
- throw Error(this.constructor.directiveName + "() can only be used in child bindings");
3260
- }
3261
- render(r2) {
3262
- if (r2 === E || null == r2)
3263
- return this._t = void 0, this.it = r2;
3264
- if (r2 === T)
3265
- return r2;
3266
- if ("string" != typeof r2)
3267
- throw Error(this.constructor.directiveName + "() called with a non-string value");
3268
- if (r2 === this.it)
3269
- return this._t;
3270
- this.it = r2;
3271
- const s2 = [r2];
3272
- return s2.raw = s2, this._t = { _$litType$: this.constructor.resultType, strings: s2, values: [] };
3273
- }
3274
- }
3275
- e.directiveName = "unsafeHTML", e.resultType = 1;
3276
- const o = e$1(e);
3277
3254
  var __defProp$1 = Object.defineProperty;
3278
3255
  var __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor;
3279
3256
  var __decorateClass$1 = (decorators, target, key, kind) => {
@@ -3359,6 +3336,9 @@ let JupiterFilterRolesDialog = class extends LitElement {
3359
3336
  const regex = new RegExp(`(${query.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")})`, "gi");
3360
3337
  return text.replace(regex, "<mark>$1</mark>");
3361
3338
  }
3339
+ _renderHighlightedText(text) {
3340
+ return text;
3341
+ }
3362
3342
  _getSelectedFilteredCount() {
3363
3343
  return this._filteredRoles.filter((role) => this._tempSelectedRoles.has(role.id)).length;
3364
3344
  }
@@ -3521,15 +3501,15 @@ let JupiterFilterRolesDialog = class extends LitElement {
3521
3501
  @change="${(e2) => this._handleCheckboxChange(e2, role.id)}"
3522
3502
  />
3523
3503
  <div class="role-info">
3524
- <h4 class="role-title">${o(this._highlightSearchTerm(role.title))}</h4>
3504
+ <h4 class="role-title">${role.title}</h4>
3525
3505
  ${role.description ? html`
3526
- <p class="role-description">${o(this._highlightSearchTerm(role.description))}</p>
3506
+ <p class="role-description">${role.description}</p>
3527
3507
  ` : ""}
3528
3508
  ${role.id !== role.title ? html`
3529
- <p class="role-description">ID: ${o(this._highlightSearchTerm(role.id))}</p>
3509
+ <p class="role-description">ID: ${role.id}</p>
3530
3510
  ` : ""}
3531
3511
  ${((_a = role.metadata) == null ? void 0 : _a.roleURI) ? html`
3532
- <p class="role-description">URI: ${o(this._highlightSearchTerm(role.metadata.roleURI))}</p>
3512
+ <p class="role-description">URI: ${role.metadata.roleURI}</p>
3533
3513
  ` : ""}
3534
3514
  </div>
3535
3515
  </div>
@@ -3852,25 +3832,25 @@ JupiterFilterRolesDialog.styles = css`
3852
3832
  }
3853
3833
  `;
3854
3834
  __decorateClass$1([
3855
- n$1({ type: Boolean, reflect: true })
3835
+ n2({ type: Boolean, reflect: true })
3856
3836
  ], JupiterFilterRolesDialog.prototype, "open", 2);
3857
3837
  __decorateClass$1([
3858
- n$1({ type: Array })
3838
+ n2({ type: Array })
3859
3839
  ], JupiterFilterRolesDialog.prototype, "availableRoles", 2);
3860
3840
  __decorateClass$1([
3861
- n$1({ type: Array })
3841
+ n2({ type: Array })
3862
3842
  ], JupiterFilterRolesDialog.prototype, "selectedRoleIds", 2);
3863
3843
  __decorateClass$1([
3864
- r$1()
3844
+ r()
3865
3845
  ], JupiterFilterRolesDialog.prototype, "_tempSelectedRoles", 2);
3866
3846
  __decorateClass$1([
3867
- r$1()
3847
+ r()
3868
3848
  ], JupiterFilterRolesDialog.prototype, "_searchQuery", 2);
3869
3849
  __decorateClass$1([
3870
- r$1()
3850
+ r()
3871
3851
  ], JupiterFilterRolesDialog.prototype, "_filteredRoles", 2);
3872
3852
  JupiterFilterRolesDialog = __decorateClass$1([
3873
- t$3("jupiter-filter-roles-dialog")
3853
+ t$1("jupiter-filter-roles-dialog")
3874
3854
  ], JupiterFilterRolesDialog);
3875
3855
  var __defProp = Object.defineProperty;
3876
3856
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -4203,6 +4183,56 @@ let JupiterDynamicForm = class extends LitElement {
4203
4183
  const { sectionId, columnRequest } = event.detail;
4204
4184
  this._addColumnFromRequest(columnRequest, sectionId);
4205
4185
  }
4186
+ _getAvailableDimensionsForSection(sectionId) {
4187
+ var _a, _b, _c;
4188
+ console.log(`🔍 Getting dimensions for section: ${sectionId}`);
4189
+ if (!((_b = (_a = this.xbrlInput) == null ? void 0 : _a.hypercubes) == null ? void 0 : _b[0])) {
4190
+ console.log("❌ No hypercubes data available");
4191
+ return [];
4192
+ }
4193
+ console.log(`📊 Available hypercube roles:`, this.xbrlInput.hypercubes[0].roles.map((r2) => r2.roleId));
4194
+ const hypercubeRole = this.xbrlInput.hypercubes[0].roles.find((hr) => hr.roleId === sectionId);
4195
+ if (!((_c = hypercubeRole == null ? void 0 : hypercubeRole.items) == null ? void 0 : _c.length)) {
4196
+ console.log(`❌ No hypercube items found for role: ${sectionId}`);
4197
+ return [];
4198
+ }
4199
+ console.log(`✅ Found hypercube role with ${hypercubeRole.items.length} items`);
4200
+ const availableDimensions = [];
4201
+ hypercubeRole.items.forEach((item) => {
4202
+ if (item.dimensions && item.dimensions.length > 0) {
4203
+ item.dimensions.forEach((dimension) => {
4204
+ var _a2;
4205
+ if (!availableDimensions.find((d2) => d2.id === dimension.id)) {
4206
+ const axisLabel = ((_a2 = dimension.labels.find((l2) => l2.role === "http://www.xbrl.org/2003/role/label")) == null ? void 0 : _a2.label) || dimension.conceptName;
4207
+ const availableDimension = {
4208
+ id: dimension.id,
4209
+ conceptName: dimension.conceptName,
4210
+ axisLabel
4211
+ };
4212
+ if (dimension.members && dimension.members.length > 0) {
4213
+ availableDimension.members = dimension.members.map((member) => {
4214
+ var _a3, _b2;
4215
+ return {
4216
+ id: member.id,
4217
+ label: ((_b2 = (_a3 = member.labels) == null ? void 0 : _a3.find((l2) => l2.role === "http://www.xbrl.org/2003/role/label")) == null ? void 0 : _b2.label) || member.conceptName || member.id
4218
+ };
4219
+ });
4220
+ }
4221
+ if (dimension.typedMember) {
4222
+ availableDimension.typedMember = {
4223
+ id: dimension.typedMember.id,
4224
+ dataType: "string"
4225
+ // Default to string for now
4226
+ };
4227
+ }
4228
+ availableDimensions.push(availableDimension);
4229
+ }
4230
+ });
4231
+ }
4232
+ });
4233
+ console.log(`📈 Found ${availableDimensions.length} dimensions for section ${sectionId}:`, availableDimensions.map((d2) => d2.axisLabel));
4234
+ return availableDimensions;
4235
+ }
4206
4236
  _addColumnFromRequest(request, sectionId) {
4207
4237
  var _a, _b, _c, _d, _e;
4208
4238
  const timestamp = Date.now();
@@ -4221,30 +4251,57 @@ let JupiterDynamicForm = class extends LitElement {
4221
4251
  memberValue: request.periodType === "instant" ? `instant-${request.instantDate}` : `duration-${request.startDate}-${request.endDate}`,
4222
4252
  memberLabel: title
4223
4253
  };
4224
- if ((_b = (_a = this.xbrlInput) == null ? void 0 : _a.hypercubes) == null ? void 0 : _b[0]) {
4225
- const hypercubeRole = this.xbrlInput.hypercubes[0].roles.find((hr) => hr.roleId === sectionId);
4226
- if (((_c = hypercubeRole == null ? void 0 : hypercubeRole.items) == null ? void 0 : _c.length) === 1) {
4227
- const item = hypercubeRole.items[0];
4228
- if (item.dimensions.length === 1) {
4229
- const dimension = item.dimensions[0];
4230
- if (dimension.members && dimension.members.length > 0) {
4231
- const axisLabel = ((_d = dimension.labels.find((l2) => l2.role === "http://www.xbrl.org/2003/role/label")) == null ? void 0 : _d.label) || dimension.conceptName;
4232
- const firstMember = dimension.members[0];
4233
- const memberLabel = ((_e = firstMember.labels.find((l2) => l2.role === "http://www.xbrl.org/2003/role/label")) == null ? void 0 : _e.label) || firstMember.conceptName;
4234
- const periodPart = request.periodType === "instant" ? `(${request.instantDate})` : `(${request.startDate} / ${request.endDate})`;
4235
- title = `${memberLabel} ${periodPart}`;
4236
- dimensionData = {
4237
- dimensionId: newColumnId,
4238
- axisId: dimension.id,
4239
- memberId: firstMember.id,
4240
- memberValue: memberLabel,
4241
- memberLabel,
4242
- axis: axisLabel,
4243
- axisLabel,
4244
- memberKey: `${axisLabel} | ${memberLabel}`,
4245
- dimensionIdKey: `${dimension.id} | ${firstMember.id}`
4246
- };
4247
- console.log(`📊 Applied hypercube dimension to new column: ${dimensionData.memberKey}`);
4254
+ if (request.selectedDimensions && request.selectedDimensions.length > 0) {
4255
+ const dimensionParts = [];
4256
+ const dimensionKeys = [];
4257
+ for (const dimSelection of request.selectedDimensions) {
4258
+ if (dimSelection.isTyped && dimSelection.typedValue) {
4259
+ dimensionParts.push(`${dimSelection.axisLabel}: ${dimSelection.typedValue}`);
4260
+ dimensionKeys.push(`${dimSelection.axisId}|${dimSelection.typedValue}`);
4261
+ } else if (dimSelection.memberId && dimSelection.memberLabel) {
4262
+ dimensionParts.push(dimSelection.memberLabel);
4263
+ dimensionKeys.push(`${dimSelection.axisId}|${dimSelection.memberId}`);
4264
+ }
4265
+ }
4266
+ const periodPart = request.periodType === "instant" ? `(${request.instantDate})` : `(${request.startDate} / ${request.endDate})`;
4267
+ if (dimensionParts.length > 0) {
4268
+ title = `${dimensionParts.join(" | ")} ${periodPart}`;
4269
+ dimensionData = {
4270
+ dimensionId: newColumnId,
4271
+ memberValue: dimensionParts.join(" | "),
4272
+ memberLabel: dimensionParts.join(" | "),
4273
+ memberKey: dimensionParts.join(" | "),
4274
+ dimensionIdKey: dimensionKeys.join("::"),
4275
+ selectedDimensions: request.selectedDimensions
4276
+ };
4277
+ console.log(`📊 Applied selected dimensions to new column: ${dimensionData.memberKey}`);
4278
+ }
4279
+ } else {
4280
+ if ((_b = (_a = this.xbrlInput) == null ? void 0 : _a.hypercubes) == null ? void 0 : _b[0]) {
4281
+ const hypercubeRole = this.xbrlInput.hypercubes[0].roles.find((hr) => hr.roleId === sectionId);
4282
+ if (((_c = hypercubeRole == null ? void 0 : hypercubeRole.items) == null ? void 0 : _c.length) === 1) {
4283
+ const item = hypercubeRole.items[0];
4284
+ if (item.dimensions.length === 1) {
4285
+ const dimension = item.dimensions[0];
4286
+ if (dimension.members && dimension.members.length > 0) {
4287
+ const axisLabel = ((_d = dimension.labels.find((l2) => l2.role === "http://www.xbrl.org/2003/role/label")) == null ? void 0 : _d.label) || dimension.conceptName;
4288
+ const firstMember = dimension.members[0];
4289
+ const memberLabel = ((_e = firstMember.labels.find((l2) => l2.role === "http://www.xbrl.org/2003/role/label")) == null ? void 0 : _e.label) || firstMember.conceptName;
4290
+ const periodPart = request.periodType === "instant" ? `(${request.instantDate})` : `(${request.startDate} / ${request.endDate})`;
4291
+ title = `${memberLabel} ${periodPart}`;
4292
+ dimensionData = {
4293
+ dimensionId: newColumnId,
4294
+ axisId: dimension.id,
4295
+ memberId: firstMember.id,
4296
+ memberValue: memberLabel,
4297
+ memberLabel,
4298
+ axis: axisLabel,
4299
+ axisLabel,
4300
+ memberKey: `${axisLabel} | ${memberLabel}`,
4301
+ dimensionIdKey: `${dimension.id} | ${firstMember.id}`
4302
+ };
4303
+ console.log(`📊 Applied hypercube dimension to new column: ${dimensionData.memberKey}`);
4304
+ }
4248
4305
  }
4249
4306
  }
4250
4307
  }
@@ -4399,9 +4456,27 @@ let JupiterDynamicForm = class extends LitElement {
4399
4456
  }));
4400
4457
  }
4401
4458
  _handleSubmit() {
4459
+ console.log("📝 Form submission started...");
4402
4460
  this._submitted = true;
4403
4461
  this._validateForm();
4404
4462
  const submissionData = this._generateSubmissionData();
4463
+ console.log("📊 Generated submission data:", {
4464
+ formData: this._formData,
4465
+ submissionData,
4466
+ submissionDataCount: submissionData.length,
4467
+ valid: this._valid,
4468
+ errors: this._errors
4469
+ });
4470
+ submissionData.forEach((entry, index) => {
4471
+ console.log(`📋 Submission Entry ${index + 1}:`, {
4472
+ conceptId: entry.conceptId,
4473
+ value: entry.value,
4474
+ period: entry.period,
4475
+ dimension: entry.dimension,
4476
+ typedMembers: entry.typedMembers,
4477
+ hasTypedMembers: !!(entry.typedMembers && Object.keys(entry.typedMembers).length > 0)
4478
+ });
4479
+ });
4405
4480
  this.dispatchEvent(new CustomEvent("form-submit", {
4406
4481
  detail: {
4407
4482
  data: this._formData,
@@ -4411,6 +4486,7 @@ let JupiterDynamicForm = class extends LitElement {
4411
4486
  },
4412
4487
  bubbles: true
4413
4488
  }));
4489
+ console.log("✅ Form submit event dispatched");
4414
4490
  }
4415
4491
  _handleSaveDraft() {
4416
4492
  const draftData = this._generateSubmissionData();
@@ -4805,6 +4881,7 @@ let JupiterDynamicForm = class extends LitElement {
4805
4881
  .disabled="${this.disabled || this.readonly}"
4806
4882
  .collapsible="${config.collapsibleSections !== false}"
4807
4883
  .locale="${config.locale || "en-US"}"
4884
+ .availableDimensions="${this._getAvailableDimensionsForSection(section.id)}"
4808
4885
  @field-change="${this._handleFieldChange}"
4809
4886
  @typed-member-change="${this._handleTypedMemberChange}"
4810
4887
  @section-expand="${this._handleSectionExpand}"
@@ -5043,73 +5120,73 @@ JupiterDynamicForm.styles = css`
5043
5120
  }
5044
5121
  `;
5045
5122
  __decorateClass([
5046
- n$1({ type: Object })
5123
+ n2({ type: Object })
5047
5124
  ], JupiterDynamicForm.prototype, "schema", 2);
5048
5125
  __decorateClass([
5049
- n$1({ type: Object })
5126
+ n2({ type: Object })
5050
5127
  ], JupiterDynamicForm.prototype, "xbrlInput", 2);
5051
5128
  __decorateClass([
5052
- n$1({ type: Object })
5129
+ n2({ type: Object })
5053
5130
  ], JupiterDynamicForm.prototype, "config", 2);
5054
5131
  __decorateClass([
5055
- n$1({ type: Object })
5132
+ n2({ type: Object })
5056
5133
  ], JupiterDynamicForm.prototype, "initialData", 2);
5057
5134
  __decorateClass([
5058
- n$1({ type: Boolean })
5135
+ n2({ type: Boolean })
5059
5136
  ], JupiterDynamicForm.prototype, "disabled", 2);
5060
5137
  __decorateClass([
5061
- n$1({ type: Boolean })
5138
+ n2({ type: Boolean })
5062
5139
  ], JupiterDynamicForm.prototype, "readonly", 2);
5063
5140
  __decorateClass([
5064
- n$1({ type: String })
5141
+ n2({ type: String })
5065
5142
  ], JupiterDynamicForm.prototype, "periodStartDate", 2);
5066
5143
  __decorateClass([
5067
- n$1({ type: String })
5144
+ n2({ type: String })
5068
5145
  ], JupiterDynamicForm.prototype, "periodEndDate", 2);
5069
5146
  __decorateClass([
5070
- r$1()
5147
+ r()
5071
5148
  ], JupiterDynamicForm.prototype, "_formData", 2);
5072
5149
  __decorateClass([
5073
- r$1()
5150
+ r()
5074
5151
  ], JupiterDynamicForm.prototype, "_preservedFormData", 2);
5075
5152
  __decorateClass([
5076
- r$1()
5153
+ r()
5077
5154
  ], JupiterDynamicForm.prototype, "_typedMemberData", 2);
5078
5155
  __decorateClass([
5079
- r$1()
5156
+ r()
5080
5157
  ], JupiterDynamicForm.prototype, "_preservedTypedMemberData", 2);
5081
5158
  __decorateClass([
5082
- r$1()
5159
+ r()
5083
5160
  ], JupiterDynamicForm.prototype, "_columns", 2);
5084
5161
  __decorateClass([
5085
- r$1()
5162
+ r()
5086
5163
  ], JupiterDynamicForm.prototype, "_errors", 2);
5087
5164
  __decorateClass([
5088
- r$1()
5165
+ r()
5089
5166
  ], JupiterDynamicForm.prototype, "_touched", 2);
5090
5167
  __decorateClass([
5091
- r$1()
5168
+ r()
5092
5169
  ], JupiterDynamicForm.prototype, "_dirty", 2);
5093
5170
  __decorateClass([
5094
- r$1()
5171
+ r()
5095
5172
  ], JupiterDynamicForm.prototype, "_valid", 2);
5096
5173
  __decorateClass([
5097
- r$1()
5174
+ r()
5098
5175
  ], JupiterDynamicForm.prototype, "_submitted", 2);
5099
5176
  __decorateClass([
5100
- r$1()
5177
+ r()
5101
5178
  ], JupiterDynamicForm.prototype, "_currentSchema", 2);
5102
5179
  __decorateClass([
5103
- r$1()
5180
+ r()
5104
5181
  ], JupiterDynamicForm.prototype, "_allSections", 2);
5105
5182
  __decorateClass([
5106
- r$1()
5183
+ r()
5107
5184
  ], JupiterDynamicForm.prototype, "_selectedRoleIds", 2);
5108
5185
  __decorateClass([
5109
- r$1()
5186
+ r()
5110
5187
  ], JupiterDynamicForm.prototype, "_showFilterDialog", 2);
5111
5188
  JupiterDynamicForm = __decorateClass([
5112
- t$3("jupiter-dynamic-form")
5189
+ t$1("jupiter-dynamic-form")
5113
5190
  ], JupiterDynamicForm);
5114
5191
  const version = "1.5.0";
5115
5192
  export {