let SettingUIV2=[{label:"Layout",controls:[{setting:{id:"layoutType"},layout:"vertical",options:{isComboLayout:!0},controls:[{label:"Ratio",setting:{id:"ratioLayoutLeft"},layout:"vertical",conditionDisplay:"layoutType === 'left'"},{label:"Ratio",setting:{id:"ratioLayoutRight"},layout:"vertical",conditionDisplay:"layoutType === 'right'"}]}]},{controls:[{label:"Featured image",setting:{id:"ftEnabled"},options:{labelVariant:"primary",toggleStyle:"switch",fullWidth:!0,tooltipPosition:"right"},conditionEnable:"ilEnabled == true",controlChangeTrigger:{settings:[{condition:"ftEnabled === false && ilEnabled === true",source:["ilEnabled","ftEnabled","layoutType"],action:{controlId:"layoutType",groupType:"setting",controlType:"setting",newValue:"two-col"}},{condition:"ftEnabled === true && ilEnabled === true",source:["ilEnabled","ftEnabled","layoutType"],action:{controlId:"layoutType",groupType:"setting",controlType:"setting",newValue:"left"}}],options:{noRecordHistory:!0}}},{setting:{id:"ftAspectRatio"},label:"Frame",conditionDisplay:"layoutType !== 'one-col' && layoutType !== 'two-col'"},{setting:{id:"ftWidth"},label:"Width",conditionDisplay:"layoutType !== 'one-col' && layoutType !== 'two-col'"},{label:"Image scale",setting:{id:"ftObjectFit"},conditionDisplay:"layoutType !== 'one-col' && layoutType !== 'two-col'"}]},{controls:[{label:"Image list",setting:{id:"ilEnabled"},options:{labelVariant:"primary",toggleStyle:"switch",fullWidth:!0,tooltipPosition:"right"},conditionEnable:"ftEnabled == true",controlChangeTrigger:{settings:[{condition:"ilEnabled === false && ftEnabled === true",source:["ilEnabled","ftEnabled","layoutType"],action:{controlId:"layoutType",groupType:"setting",controlType:"setting",newValue:"only-feature"}},{condition:"ilEnabled === true && ftEnabled === true",source:["ilEnabled","ftEnabled","layoutType"],action:{controlId:"layoutType",groupType:"setting",controlType:"setting",newValue:"left"}}],options:{noRecordHistory:!0}}},{label:"Display",conditionDisplay:'layoutType === "bottom-center" && layoutType !== "only-feature"',setting:{id:"displayType"}},{label:"Number image",conditionDisplay:'((displayType === "slider" && layoutType === "bottom-center") || layoutType === "left" || layoutType === "right") && layoutType !== "only-feature"',setting:{id:"ilItemPerSlide"}},{label:"Number image",conditionDisplay:'displayType === "grid" && layoutType === "bottom-center" && layoutType !== "only-feature"',setting:{id:"ilNumberPerRow"}},{label:"Frame",setting:{id:"ilAspectRatio"},conditionDisplay:'layoutType !== "only-feature"'},{label:"Image gap",setting:{id:"ilSpacing"},conditionDisplay:'layoutType !== "only-feature"'}],moreSettings:{type:"collapse",controls:[{label:"Image scale",setting:{id:"ilObjectFit"},conditionDisplay:'layoutType !== "only-feature"'},{label:"Active border",setting:{id:"ilBorder"},conditionDisplay:'layoutType !== "only-feature"'}]}},{label:"Item spacing",controls:[{type:"control",label:"Gap",setting:{id:"spacingHoz"},conditionDisplay:"layoutType === 'left' || layoutType === 'right'"},{type:"control",label:"Gap",setting:{id:"spacingVertical"},conditionDisplay:"layoutType === 'bottom-center'"}]},{label:"Navigation",controls:[{label:"Featured",setting:{id:"ftNavigation"},conditionDisplay:"!['one-col', 'two-col'].includes(layoutType)"},{label:"Image list",setting:{id:"ilNavigation"},conditionDisplay:"displayType == 'slider' && !['one-col', 'two-col', 'only-feature'].includes(layoutType)"}]},{controls:[{label:"Align",setting:{id:"align"},options:{labelVariant:"primary",fullWidth:!0,disableMessage:"Horizontal alignment is disabled when the width is set to 100% or greater"},conditionDisplay:"['bottom-center', 'left', 'right', 'only-feature'].includes(layoutType)",conditionEnable:'!(parseInt(ftWidth) >= 100 && ftWidth?.includes("%"))'}]}];export{SettingUIV2};
