@pitcher/canvas-ui 2026.1.21-142855-beta → 2026.1.21-143005-beta

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/canvas-ui.css CHANGED
@@ -873,8 +873,8 @@ button[data-v-840d4fd4]:focus {
873
873
  margin: 8px 0px;
874
874
  }td[data-v-8b32d0b5] {
875
875
  border-bottom: 1px solid var(--75c10f0a);
876
- }.template-section--has-next[data-v-fdc432dc] {
877
- border-bottom: 1px solid var(--7551f622);
876
+ }.template-section--has-next[data-v-ab866a04] {
877
+ border-bottom: 1px solid var(--0856c330);
878
878
  }.template-management-list-item[data-v-6df1530a] {
879
879
  border-bottom: 1px solid var(--1911282a);
880
880
  }
package/canvas-ui.js CHANGED
@@ -106843,7 +106843,7 @@ const _sfc_main$52 = /* @__PURE__ */ defineComponent({
106843
106843
  emits: ["change"],
106844
106844
  setup(__props, { expose: __expose, emit: __emit }) {
106845
106845
  useCssVars((_ctx) => ({
106846
- "7551f622": unref(themeVars).primary5
106846
+ "0856c330": unref(themeVars).primary5
106847
106847
  }));
106848
106848
  const themeVars = useThemeVars();
106849
106849
  const { t } = useI18n();
@@ -106891,9 +106891,10 @@ const _sfc_main$52 = /* @__PURE__ */ defineComponent({
106891
106891
  });
106892
106892
  });
106893
106893
  }
106894
- config.value = !isEmpty(filteredInitialValues) ? filteredInitialValues : sections.reduce((acc, section) => {
106894
+ config.value = sections.reduce((acc, section) => {
106895
106895
  section.fields.forEach((field) => {
106896
- acc[field.name] = null;
106896
+ const fieldExists = field.name in filteredInitialValues;
106897
+ acc[field.name] = fieldExists ? filteredInitialValues[field.name] : field.default ?? null;
106897
106898
  });
106898
106899
  return acc;
106899
106900
  }, {});
@@ -107157,7 +107158,7 @@ const _sfc_main$52 = /* @__PURE__ */ defineComponent({
107157
107158
  }
107158
107159
  });
107159
107160
 
107160
- const CConfigEditor = /* @__PURE__ */ _export_sfc(_sfc_main$52, [["__scopeId", "data-v-fdc432dc"]]);
107161
+ const CConfigEditor = /* @__PURE__ */ _export_sfc(_sfc_main$52, [["__scopeId", "data-v-ab866a04"]]);
107161
107162
 
107162
107163
  const _sfc_main$51 = /* @__PURE__ */ defineComponent({
107163
107164
  __name: "CAttributesForm",