jupiter-dynamic-forms 1.15.4 → 1.15.5
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/core/dynamic-form.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -7246,12 +7246,10 @@ let JupiterDynamicForm = class extends LitElement {
|
|
|
7246
7246
|
});
|
|
7247
7247
|
console.log("✅ Custom order applied to _allSections:", this._allSections.map((s2) => s2.title));
|
|
7248
7248
|
}
|
|
7249
|
-
if (this.roleFilterAxes && this.roleFilterAxes.length > 0) {
|
|
7250
|
-
this._allSections = this._filterRolesByAxisConfig(this._allSections);
|
|
7251
|
-
}
|
|
7252
7249
|
if (this._selectedRoleIds.length === 0) {
|
|
7253
|
-
this.
|
|
7254
|
-
|
|
7250
|
+
const initialSections = this.roleFilterAxes && this.roleFilterAxes.length > 0 ? this._filterRolesByAxisConfig(this._allSections) : this._allSections;
|
|
7251
|
+
this._selectedRoleIds = initialSections.map((section2) => section2.id);
|
|
7252
|
+
console.log(`✅ Auto-selected ${this._selectedRoleIds.length} roles (of ${this._allSections.length} total)`);
|
|
7255
7253
|
}
|
|
7256
7254
|
this._applyRoleFilter();
|
|
7257
7255
|
this._columns = [
|
|
@@ -8742,9 +8740,6 @@ let JupiterDynamicForm = class extends LitElement {
|
|
|
8742
8740
|
this._periodPreferences
|
|
8743
8741
|
);
|
|
8744
8742
|
this._allSections = [...this._currentSchema.sections];
|
|
8745
|
-
if (this.roleFilterAxes && this.roleFilterAxes.length > 0) {
|
|
8746
|
-
this._allSections = this._filterRolesByAxisConfig(this._allSections);
|
|
8747
|
-
}
|
|
8748
8743
|
console.log("✅ Schema rebuilt with restored period preferences");
|
|
8749
8744
|
console.log("🔄 Applying custom period data to schema fields...");
|
|
8750
8745
|
this._applyCustomPeriodDataToFields();
|