@pitcher/canvas-ui 2026.1.21-144700-beta → 2026.1.21-144830-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 +2 -2
- package/canvas-ui.js +4 -16
- package/canvas-ui.js.map +1 -1
- package/locale/de.json +4 -11
- package/locale/el.json +4 -11
- package/locale/en.json +4 -11
- package/locale/es.json +4 -11
- package/locale/fr.json +4 -11
- package/locale/it.json +4 -11
- package/locale/ja.json +4 -3
- package/locale/nl.json +4 -11
- package/locale/pl.json +4 -11
- package/locale/pt-br.json +4 -11
- package/locale/pt.json +4 -11
- package/locale/th.json +4 -11
- package/locale/tr.json +4 -11
- package/locale/zh.json +4 -3
- package/package.json +1 -1
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-
|
|
877
|
-
border-bottom: 1px solid var(--
|
|
876
|
+
}.template-section--has-next[data-v-fdc432dc] {
|
|
877
|
+
border-bottom: 1px solid var(--7551f622);
|
|
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
|
-
"
|
|
106846
|
+
"7551f622": unref(themeVars).primary5
|
|
106847
106847
|
}));
|
|
106848
106848
|
const themeVars = useThemeVars();
|
|
106849
106849
|
const { t } = useI18n();
|
|
@@ -106891,21 +106891,9 @@ const _sfc_main$52 = /* @__PURE__ */ defineComponent({
|
|
|
106891
106891
|
});
|
|
106892
106892
|
});
|
|
106893
106893
|
}
|
|
106894
|
-
config.value = sections.reduce((acc, section) => {
|
|
106894
|
+
config.value = !isEmpty(filteredInitialValues) ? filteredInitialValues : sections.reduce((acc, section) => {
|
|
106895
106895
|
section.fields.forEach((field) => {
|
|
106896
|
-
|
|
106897
|
-
if (fieldExists) {
|
|
106898
|
-
acc[field.name] = filteredInitialValues[field.name];
|
|
106899
|
-
} else if (field.default == null) ; else if (field.type === MetadataTemplateFieldTypeEnum.MULTI_SELECT && Array.isArray(field.default)) {
|
|
106900
|
-
const validOptions = new Set(field.options?.map((opt) => opt.value));
|
|
106901
|
-
const validDefaults = field.default.filter((v) => validOptions.has(v));
|
|
106902
|
-
if (validDefaults.length > 0) acc[field.name] = validDefaults;
|
|
106903
|
-
} else if (field.type === MetadataTemplateFieldTypeEnum.SELECT) {
|
|
106904
|
-
const validOptions = new Set(field.options?.map((opt) => opt.value));
|
|
106905
|
-
if (validOptions.has(field.default)) acc[field.name] = field.default;
|
|
106906
|
-
} else {
|
|
106907
|
-
acc[field.name] = field.default;
|
|
106908
|
-
}
|
|
106896
|
+
acc[field.name] = null;
|
|
106909
106897
|
});
|
|
106910
106898
|
return acc;
|
|
106911
106899
|
}, {});
|
|
@@ -107169,7 +107157,7 @@ const _sfc_main$52 = /* @__PURE__ */ defineComponent({
|
|
|
107169
107157
|
}
|
|
107170
107158
|
});
|
|
107171
107159
|
|
|
107172
|
-
const CConfigEditor = /* @__PURE__ */ _export_sfc(_sfc_main$52, [["__scopeId", "data-v-
|
|
107160
|
+
const CConfigEditor = /* @__PURE__ */ _export_sfc(_sfc_main$52, [["__scopeId", "data-v-fdc432dc"]]);
|
|
107173
107161
|
|
|
107174
107162
|
const _sfc_main$51 = /* @__PURE__ */ defineComponent({
|
|
107175
107163
|
__name: "CAttributesForm",
|