@elementor/editor-controls 3.33.0-277 → 3.33.0-279
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.js
CHANGED
|
@@ -5730,14 +5730,14 @@ var isPropertyUsed = (value, property) => {
|
|
|
5730
5730
|
});
|
|
5731
5731
|
};
|
|
5732
5732
|
var getDisabledItemLabels = (values = []) => {
|
|
5733
|
-
const
|
|
5734
|
-
(item) => item.value?.selection?.value?.
|
|
5733
|
+
const disabledLabels = (values || []).map(
|
|
5734
|
+
(item) => item.value?.selection?.value?.key?.value
|
|
5735
5735
|
);
|
|
5736
5736
|
transitionProperties.forEach((category) => {
|
|
5737
|
-
const disabledProperties = category.properties.filter((property) => property.isDisabled && !
|
|
5738
|
-
|
|
5737
|
+
const disabledProperties = category.properties.filter((property) => property.isDisabled && !disabledLabels.includes(property.label)).map((property) => property.label);
|
|
5738
|
+
disabledLabels.push(...disabledProperties);
|
|
5739
5739
|
});
|
|
5740
|
-
return
|
|
5740
|
+
return disabledLabels;
|
|
5741
5741
|
};
|
|
5742
5742
|
var getInitialValue = (values = []) => {
|
|
5743
5743
|
if (!values?.length) {
|