PageSourceSearch

https://apps.mersin.edu.tr/static/js/3500.37e4a297.chunk.js

js mersin.edu.tr collected 2026-09-24 18:31:37 UTC 22,149 bytes, 53 lines download raw bytes

1!function(){try{("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{}).__faroBundleId_undefined="17550702746887c08d02d8e"}catch(e){}}(),(self.webpackChunkappsmith=self.webpackChunkappsmith||[]).push([[3500],{3500:(e,t,o)=>{o.r(t),o.d(t,{default:()=>H});var r=o(65628),n=o.n(r),i=o(65008),a=o.n(i),l=o(63259),s=(o(49255),o(34869)),p=o(55743),d=o(98004),u=o(60274),c=o(17463),m=o(18267),b=o(4224),T=o(30456),g=o(82796),h=o.n(g),y=o(88172),C=o(40026),I=o(43567),x=o(66416),v=o(95412),N=o(65983);const f=d.DU`
2  .menu-button-popover, .${u.gNQ}.menu-button-popover.${b.Yj} {
3    background: none;
4    box-shadow: 0 6px 20px 0px rgba(0, 0, 0, 0.15) !important;
5    margin-top: 8px !important;
6    margin-bottom: 8px !important;
7    border-radius: ${e=>{let{borderRadius:t}=e;return t>=v.fj.lg?"0.375rem":t}};
8    overflow-y: auto;
9    max-height: 384px;
10  }
11
12  .menu-button-popover .${u.ya8} {
13    padding: 9px 12px;
14    border-radius: 0;
15  }
16
17  .menu-button-popover-target {
18    height: 100%;
19  }
20
21  ${e=>{let{id:t,menuDropDownWidth:o,parentWidth:r}=e;return`\n  .menu-button-width-${t} {\n\n    max-width: ${o>r?`${o}px`:`${r}px`} !important;\n    min-width: ${r>o?r:o}px !important;\n  }\n`}}
22`,S=(0,d.Ay)(c.$n)`
23  height: 100%;
24  background-image: none !important;
25  font-weight: ${e=>e.theme.fontWeights[2]};
26  outline: none;
27  padding: 0px 10px;
28  overflow: hidden;
29  border: 1.2px solid #ebebeb;
30  border-radius: 0;
31  box-shadow: none !important;
32
33  ${e=>{let{buttonColor:t,buttonVariant:o,theme:r}=e;return`\n      background: ${"none"!==(0,I.hD)(o,t)?(0,I.hD)(o,t):o===C.xt.PRIMARY?r.colors.button.primary.primary.bgColor:"none"} !important;\n\n    &:hover, &:active, &:focus {\n      background: ${"none"!==(0,I.nD)(r,o,t)?(0,I.nD)(r,o,t):o===C.xt.SECONDARY?r.colors.button.primary.secondary.hoverColor:o===C.xt.TERTIARY?r.colors.button.primary.tertiary.hoverColor:r.colors.button.primary.primary.hoverColor} !important;\n    }\n\n    &:disabled {\n      border: ${o===C.xt.SECONDARY?"1px solid var(--wds-color-border-disabled)":"none"} !important;\n      background: ${o!==C.xt.TERTIARY?"var(--wds-color-bg-disabled)":"transparent"} !important;\n      color: var(--wds-color-text-disabled) !important;\n\n      span {\n        color: var(--wds-color-text-disabled) !important;\n      }\n    }\n\n    border: ${"none"!==(0,I.zD)(o,t)?`1px solid ${(0,I.zD)(o,t)}`:o===C.xt.SECONDARY?`1px solid ${r.colors.button.primary.secondary.borderColor}`:"none"} !important;\n\n    & > span {\n      display: inline-block;\n      text-overflow: ellipsis;\n      overflow: hidden;\n      white-space: nowrap;\n      line-height: normal;\n\n      color: ${o===C.xt.PRIMARY?(0,I.XJ)(t):"none"!==(0,I.hD)(C.xt.PRIMARY,t)?(0,I.hD)(C.xt.PRIMARY,t):`${r.colors.button.primary.secondary.textColor}`} !important;\n    }\n  `}}
34
35  border-radius: ${e=>{let{borderRadius:t}=e;return t}};
36  box-shadow: ${e=>{let{boxShadow:t}=e;return t}} !important;
37  ${e=>{let{placement:t}=e;return t?`\n      justify-content: ${(0,I.RO)(t)};\n      & > span.bp3-button-text {\n        flex: unset !important;\n      }\n    `:""}}
38`,P=(0,d.Ay)(c.Dr)`
39  font-family: var(--wds-font-family);
40
41  ${e=>{let{backgroundColor:t,theme:o}=e;return t?`\n      background-color: ${t} !important;\n      &:hover {\n        background-color: ${(0,y.wL)(t)} !important;\n      }\n      &:active {\n        background-color: ${(0,y.ys)(t)} !important;\n      }\n  `:`\n    background: none !important\n      &:hover {\n        background-color: ${h()(o.colors.button.primary.primary.textColor).darken().toString()} !important;\n      }\n      &:active {\n        background-color: ${h()(o.colors.button.primary.primary.textColor).darken().toString()} !important;\n      }\n    `}}
42  ${e=>{let{textColor:t}=e;return t&&`\n      color: ${t} !important;\n  `}}
43  ${e=>{let{isCompact:t}=e;return t&&"\n      padding-top: 3px !important;\n      padding-bottom: 3px !important;\n      font-size: 12px;\n  "}}
44`,E=(0,d.Ay)(c.W1)`
45  padding: 0;
46  min-width: 0px;
47  overflow: hidden;
48
49  ${u.ya8}:hover {
50    background-color: ${e=>{let{backgroundColor:t}=e;return(0,I.Zt)(t)}};
51  }
52`;function A(e){const{backgroundColor:t,getVisibleItems:o,isCompact:r,onItemClicked:n}=e,i=o();if(null!==i&&void 0!==i&&i.length){const e=i.map(((e,t)=>{const{backgroundColor:o,iconAlign:i,iconColor:a,iconName:l,id:s,isDisabled:p,label:d,onClick:u,textColor:b}=e;return(0,N.jsx)(P,{backgroundColor:o,disabled:p,icon:i!==m.C.RIGHT&&l?(0,N.jsx)(c.In,{color:a,icon:l}):null,isCompact:r,labelElement:i===m.C.RIGHT&&l?(0,N.jsx)(c.In,{color:a,icon:l}):null,onClick:()=>n(u,t),text:d,textColor:b},s)}));return(0,N.jsx)(E,{backgroundColor:t,children:e})}return(0,N.jsx)(E,{})}function R(e){const{borderRadius:t,boxShadow:o,buttonColor:r,buttonVariant:n,iconAlign:i,iconName:a,isDisabled:l,label:s,maxWidth:p,minHeight:d,minWidth:u,placement:c,renderMode:b,shouldFitContent:T}=e,g=i===m.C.RIGHT;return(0,N.jsx)(x.y,{buttonColor:r,buttonVariant:n,disabled:l,maxWidth:p,minHeight:d,minWidth:u,renderMode:b,shouldFitContent:T,children:(0,N.jsx)(S,{alignText:(0,I.nw)(g,a),borderRadius:t,boxShadow:o,buttonColor:r,buttonVariant:n,disabled:l,fill:!0,icon:!g&&a?a:null,placement:c,rightIcon:g&&a?a:null,text:s})})}const D=function(e){const{borderRadius:t,boxShadow:o,configureMenuItems:r,getVisibleItems:n,iconAlign:i,iconName:a,isCompact:l,isDisabled:s,label:p,maxWidth:d,menuColor:u,menuDropDownWidth:c,menuItems:m,menuItemsSource:b,menuVariant:g,minHeight:h,minWidth:y,onItemClicked:C,placement:x,renderMode:v,shouldFitContent:S,sourceData:P,widgetId:E,width:D}=e;return(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(f,{borderRadius:t,id:E,menuDropDownWidth:c,parentWidth:D-I.zU}),(0,N.jsx)(T.I,{className:"menu-button-popover-target",content:(0,N.jsx)(A,{backgroundColor:u,borderRadius:t,configureMenuItems:r,getVisibleItems:n,isCompact:l,menuItems:m,menuItemsSource:b,onItemClicked:C,sourceData:P}),disabled:s,fill:!0,minimal:!0,placement:"bottom-end",popoverClassName:`menu-button-popover menu-button-width-${E}`,children:(0,N.jsx)(R,{borderRadius:t,boxShadow:o,buttonColor:u,buttonVariant:g,iconAlign:i,iconName:a,isDisabled:s,label:p,maxWidth:d,minHeight:h,minWidth:y,placement:x,renderMode:v,shouldFitContent:S})})]})};var _=o(84211),O=o(50785),w=o(14171),B=o(31653);var M=o(39659);const k={editableTitle:!1,titlePropertyName:"label",panelIdPropertyName:"id",contentChildren:[{sectionName:"General",children:[{propertyName:"label",helpText:"Sets the label of a menu item using the {{currentItem}} binding.",label:"Label",controlType:"MENU_BUTTON_DYNAMIC_ITEMS",placeholderText:"{{currentItem.name}}",isBindProperty:!0,isTriggerProperty:!1,validation:{type:O.b.ARRAY_OF_TYPE_OR_TYPE,params:{type:O.b.TEXT}},evaluatedDependencies:["sourceData"]},{propertyName:"isVisible",helpText:"Controls the visibility of the widget. C
52an also be configured the using {{currentItem}} binding.",label:"Visible",controlType:"SWITCH",isJSConvertible:!0,isBindProperty:!0,isTriggerProperty:!1,validation:{type:O.b.ARRAY_OF_TYPE_OR_TYPE,params:{type:O.b.BOOLEAN}},customJSControl:"MENU_BUTTON_DYNAMIC_ITEMS",evaluatedDependencies:["sourceData"]},{propertyName:"isDisabled",helpText:"Disables input to the widget. Can also be configured the using {{currentItem}} binding.",label:"Disabled",controlType:"SWITCH",isJSConvertible:!0,isBindProperty:!0,isTriggerProperty:!1,validation:{type:O.b.ARRAY_OF_TYPE_OR_TYPE,params:{type:O.b.BOOLEAN}},customJSControl:"MENU_BUTTON_DYNAMIC_ITEMS",evaluatedDependencies:["sourceData"]}]},{sectionName:"Events",children:[{helpText:"when the menu item is clicked. Can also be configured the using {{currentItem}} binding.",propertyName:"onClick",label:"onClick",controlType:"ACTION_SELECTOR",isJSConvertible:!0,isBindProperty:!0,isTriggerProperty:!0,additionalAutoComplete:e=>{var t,o;return(0,M.F)(null===e||void 0===e||null===(t=e.__evaluation__)||void 0===t||null===(o=t.evaluatedValues)||void 0===o?void 0:o.sourceData)},evaluatedDependencies:["sourceData"]}]}],styleChildren:[{sectionName:"Icon",children:[{propertyName:"iconName",label:"Icon",helpText:"Sets the icon to be used for a menu item. Can also be c
52onfigured the using {{currentItem}} binding.",controlType:"ICON_SELECT",isBindProperty:!0,isTriggerProperty:!1,isJSConvertible:!0,validation:{type:O.b.ARRAY_OF_TYPE_OR_TYPE,params:{type:O.b.TEXT,params:{allowedValues:_.R}}},customJSControl:"MENU_BUTTON_DYNAMIC_ITEMS",evaluatedDependencies:["sourceData"]},{propertyName:"iconAlign",label:"Position",helpText:"Sets the icon alignment of a menu item. Can also be configured the using {{currentItem}} binding.",controlType:"ICON_TABS",defaultValue:"left",fullWidth:!1,options:[{startIcon:"skip-left-line",value:"left"},{startIcon:"skip-right-line",value:"right"}],isBindProperty:!0,isTriggerProperty:!1,isJSConvertible:!0,validation:{type:O.b.ARRAY_OF_TYPE_OR_TYPE,params:{type:O.b.TEXT,params:{allowedValues:["center","left","right"]}}},customJSControl:"MENU_BUTTON_DYNAMIC_ITEMS",evaluatedDependencies:["sourceData"]}]},{sectionName:"Color",children:[{propertyName:"iconColor",helpText:"Sets the icon color of a menu item. Can also be configured the using {{currentItem}} binding.",label:"Icon color",controlType:"COLOR_PICKER",isBindProperty:!0,isTriggerProperty:!1,isJSConvertible:!0,customJSControl:"MENU_BUTTON_DYNAMIC_ITEMS",evaluatedDependencies:["sourceData"],validation:{type:O.b.ARRAY_OF_TYPE_OR_TYPE,params:{type:O.b.TEXT,regex:/^(?![<|{{]).+/}}},{propertyName:"backgroundColor",helpText:"Sets the background color of a menu item. Can also be c
52onfigured the using {{currentItem}} binding.",label:"Background color",controlType:"COLOR_PICKER",isBindProperty:!0,isTriggerProperty:!1,isJSConvertible:!0,customJSControl:"MENU_BUTTON_DYNAMIC_ITEMS",evaluatedDependencies:["sourceData"],validation:{type:O.b.ARRAY_OF_TYPE_OR_TYPE,params:{type:O.b.TEXT,regex:/^(?![<|{{]).+/}}},{propertyName:"textColor",helpText:"Sets the text color of a menu item. Can also be configured the using {{currentItem}} binding.",label:"Text color",controlType:"COLOR_PICKER",isBindProperty:!0,isTriggerProperty:!1,isJSConvertible:!0,customJSControl:"MENU_BUTTON_DYNAMIC_ITEMS",evaluatedDependencies:["sourceData"],validation:{type:O.b.ARRAY_OF_TYPE_OR_TYPE,params:{type:O.b.TEXT,regex:/^(?![<|{{]).+/}}}]}]},Y={editableTitle:!0,titlePropertyName:"label",panelIdPropertyName:"id",updateHook:(e,t,o)=>[{propertyPath:t,propertyValue:o}],contentChildren:[{sectionName:"Basic",children:[{propertyName:"label",helpText:"Sets the label of a menu item",label:"Label",controlType:"INPUT_TEXT",placeholderText:"Download",isBindProperty:!0,isTriggerProperty:!1,validation:{type:O.b.TEXT}},{helpText:"when the menu item is clicked",propertyName:"onClick",label:"onClick",controlType:"ACTION_SELECTOR",isJSConvertible:!0,isBindProperty:!0,isTriggerProperty:!0}]},{sectionName:"General",children:[{propertyName:"isVisible",helpText:"Controls the visibility of the widget",label:"Visible",controlType:"SWITCH",isJSConvertible:!0,isBindProperty:!0,isTriggerProperty:!1,validation:{type:O.b.BOOLEAN}},{propertyName:"isDisabled",helpText:"Disables input to the widget",label:"Disabled",controlType:"SWITCH",isJSConvertible:!0,isBindProperty:!0,isTriggerProperty:!1,validation:{type:O.b.BOOLEAN}}]}],styleChildren:[{sectionName:"Icon",children:[{propertyName:"iconName",label:"Icon",helpText:"Sets the icon to be used for a menu item",controlType:"ICON_SELECT",isBindProperty:!1,isTriggerProperty:!1,validation:{type:O.b.TEXT}},{propertyName:"iconAlign",label:"Position",helpText:"Sets the icon alignment of a menu item",controlType:"ICON_TABS",defaultValue:"left",fullWidth:!1,options:[{startIcon:"skip-left-line",value:"left"},{startIcon:"skip-right-line",value:"right"}],isBindProperty:!1,isTriggerProperty:!1,validation:{type:O.b.TEXT}}]},{sectionName:"Color",children:[{propertyName:"iconColor",helpText:"Sets the icon color of a menu item",label:"Icon color",controlType:"COLOR_PICKER",isBindProperty:!1,isTriggerProperty:!1},{propertyName:"textColor",helpText:"Sets the text color of a menu item",label:"Text color",controlType:"COLOR_PICKER",isBindProperty:!1,isTriggerProperty:!1},{propertyName:"backgroundColor",helpText:"Sets the background color of a menu item",label:"Background color",controlType:"COLOR_PICKER",isBindProperty:!1,isTriggerProperty:!1}]}]},V=[{sectionName:"Basic",children:[{propertyName:"label",helpText:"Sets the label of a menu",label:"Label",controlType:"INPUT_TEXT",placeholderText:"Open",isBindProperty:!0,isTriggerProperty:!1,validation:{type:O.b.TEXT}},{propertyName:"menuItemsSource",helpText:"Sets the source for the menu items",label:"Menu items source",controlType:"ICON_TABS",defaultValue:_.L.STATIC,fullWidth:!0,options:[{label:"Static",value:_.L.STATIC},{label:"Dynamic",value:_.L.DYNAMIC}],isJSConvertible:!1,isBindProperty:!1,isTriggerProperty:!1,validation:{type:O.b.TEXT},updateHook:(e,t,o)=>{const r=[];return e.menuItemsSource===_.L.STATIC&&o===_.L.DYNAMIC&&(e.sourceData||r.push({propertyPath:"sourceData",propertyValue:[]}),e.configureMenuItems||r.push({propertyPath:"configureMenuItems",propertyValue:{label:"Configure menu items",id:"config",config:{id:"config",label:"Menu Item",isVisible:!0,isDisabled:!1}}})),null!==r&&void 0!==r&&r.length?r:void 0},dependencies:["sourceData","configureMenuItems"]},{helpText:"Menu items",propertyName:"menuItems",controlType:"MENU_ITEMS",label:"Menu items",isBindProperty:!1,isTriggerProperty:!1,hidden:e=>e.menuItemsSource===_.L.DYNAMIC,dependencies:["menuItemsSource"],panelConfig:Y},{helpText:"Takes in an array of items to display the menu items.",propertyName:"sourceData",label:"Source data",controlType:"INPUT_TEXT",placeholderText:"{{Query1.data}}",inputType:"ARRAY",isBindProperty:!0,isTriggerProperty:!1,validation:{type:O.b.FUNCTION,params:{fn:function(e,t,o){const r={isValid:!1,parsed:[],messages:[{name:"TypeError",message:"This value does not evaluate to type Array"}]};try{if(o.isString(e)&&(e=JSON.parse(e)),Array.isArray(e)){let t=!0,o={name:"",message:""};return e.length>10&&(t=!1,o={name:"RangeError",message:"Source data cannot have more than 10 items"}),{isValid:t,parsed:t?e:[],messages:[o]}}return r}catch(n){return r}},expected:{type:"Array of values",example:'[\'option1\', \'option2\'] | [{ "label": "label1", "value": "value1" }]',autocompleteDataType:B.$.ARRAY}}},evaluationSubstitutionType:w.m.SMART_SUBSTITUTE,hidden:e=>e.menuItemsSource===_.L.STATIC,dependencies:["menuItemsSource"]},{helpText:"Configure how each menu item will appear.",propertyName:"configureMenuItems",controlType:"OPEN_CONFIG_PANEL",buttonConfig:{label:"Configure",icon:"settings-v3"},label:"Configure menu items",isBindProperty:!1,isTriggerProperty:!1,hidden:e=>e.menuItemsSource===_.L.STATIC||!e.sourceData,dependencies:["menuItemsSource","sourceData"],panelConfig:k}]},{sectionName:"General",children:[{propertyName:"isVisible",helpText:"Controls the visibility of the widget",label:"Visible",controlType:"SWITCH",isJSConvertible:!0,isBindProperty:!0,isTriggerProperty:!1,validation:{type:O.b.BOOLEAN}},{propertyName:"isDisabled",helpText:"Disables input to the widget",label:"Disabled",controlType:"SWITCH",isJSConvertible:!0,isBindProperty:!0,isTriggerProperty:!1,validation:{type:O.b.BOOLEAN}},{propertyName:"animateLoading",label:"Animate loading",controlType:"SWITCH",helpText:"Controls the loading of the widget",defaultValue:!0,isJSConvertible:!0,isBindProperty:!0,isTriggerProperty:!1,validation:{type:O.b.BOOLEAN}},{propertyName:"isCompact",helpText:"Decides if menu items will consume lesser space",label:"Compact",controlType:"SWITCH",isJSConvertible:!0,isBindProperty:!0,isTriggerProperty:!1,validation:{type:O.b.BOOLEAN}}]}],W=[{sectionName:"General",children:[{propertyName:"menuVariant",label:"Button variant",controlType:"DROP_DOWN",helpText:"Sets the variant of the menu button",options:[{label:"Primary",value:C.xt.PRIMARY},{label:"Secondary",value:C.xt.SECONDARY},{label:"Tertiary",value:C.xt.TERTIARY}],isJSConvertible:!0,isBindProperty:!0,isTriggerProperty:!1,validation:{type:O.b.TEXT,params:{allowedValues:[C.xt.PRIMARY,C.xt.SECONDARY,C.xt.TERTIARY],default:C.xt.PRIMARY}}}]},{sectionName:"Icon",children:[{propertyName:"iconName",label:"Icon",helpText:"Sets the icon to be used for the menu button",controlType:"ICON_
52SELECT",isJSConvertible:!0,isBindProperty:!0,isTriggerProperty:!1,updateHook:(e,t,o)=>{const r=[{propertyPath:t,propertyValue:o}];return e.iconAlign||r.push({propertyPath:"iconAlign",propertyValue:m.C.LEFT}),r},dependencies:["iconAlign"],validation:{type:O.b.TEXT}},{propertyName:"iconAlign",label:"Position",helpText:"Sets the icon alignment of the menu button",controlType:"ICON_TABS",defaultValue:"left",fullWidth:!1,options:[{startIcon:"skip-left-line",value:"left"},{startIcon:"skip-right-line",value:"right"}],isBindProperty:!1,isTriggerProperty:!1,validation:{type:O.b.TEXT,params:{allowedValues:["center","left","right"]}}},{propertyName:"placement",label:"Placement",controlType:"DROP_DOWN",helpText:"Sets the space between items",options:[{label:"Start",value:C.dU.START},{label:"Between",value:C.dU.BETWEEN},{label:"Center",value:C.dU.CENTER}],defaultValue:C.dU.CENTER,isJSConvertible:!0,isBindProperty:!0,isTriggerProperty:!1,validation:{type:O.b.TEXT,params:{allowedValues:[C.dU.START,C.dU.BETWEEN,C.dU.CENTER],default:C.dU.CENTER}}}]},{sectionName:"Color",children:[{propertyName:"menuColor",helpText:"Sets the style of the Menu button",label:"Button color",controlType:"COLOR_PICKER",isJSConvertible:!0,isBindProperty:!0,isTriggerProperty:!1,validation:{type:O.b.TEXT}}]},{sectionName:"Border and shadow",children:[{propertyName:"borderRadius",label:"Border radius",helpText:"Rounds the corners of the icon button's outer border edge",controlType:"BORDER_RADIUS_OPTIONS",isJSConvertible:!0,isBindProperty:!0,isTriggerProperty:!1,validation:{type:O.b.TEXT}},{propertyName:"boxShadow",label:"Box shadow",helpText:"Enables you to cast a drop shadow from the frame of the widget",controlType:"BOX_SHADOW_OPTIONS",isJSConvertible:!0,isBindProperty:!0,isTriggerProperty:!1,validation:{type:O.b.TEXT}}]}];var L=o(5042),$=o(97703),U=o(63251);class J extends s.Ay{constructor(){super(...arguments),this.menuItemClickHandler=(e,t)=>{if(e){const o={triggerPropertyName:"onClick",dynamicString:e,event:{type:l.Bx.ON_CLICK}};this.props.menuItemsSource===_.L.DYNAMIC&&(o.globalContext={currentItem:this.props.sourceData?this.props.sourceData[t]:{},currentIndex:t}),super.executeAction(o)}},this.getVisibleItems=()=>{const{configureMenuItems:e,menuItems:t,menuItemsSource:o,sourceData:r}=this.props;if(o===_.L.STATIC){const e=Object.keys(t).map((e=>t[e])).filter((e=>!0===e.isVisible));return n()(e,["index"],["asc"])}if(o===_.L.DYNAMIC&&a()(r)&&null!==r&&void 0!==r&&r.length&&null!==e&&void 0!==e&&e.config){const{config:t}=e,o=(e,o)=>{const r=t[e];return a()(r)?r[o]:null!==r&&void 0!==r?r:null};return r.map(((e,r)=>({...e,id:r.toString(),isVisible:o("isVisible",r),isDisabled:o("isDisabled",r),index:r,widgetId:"",label:o("label",r),onClick:null===t||void 0===t?void 0:t.onClick,textColor:o("textColor",r),backgroundColor:o("backgroundColor",r),iconAlign:o("iconAlign",r),iconColor:o("iconColor",r),iconName:o("iconName",r)}))).filter((e=>!0===e.isVisible))}return[]}}static getConfig(){return{name:"Menu button",iconSVG:L.A,thumbnailSVG:$.A,tags:[U.xT.BUTTONS]}}static getDefaults(){return{label:"Open Menu",menuVariant:C.xt.PRIMARY,placement:C.dU.CENTER,isCompact:!1,isDisabled:!1,isVisible:!0,animateLoading:!0,menuItemsSource:_.L.STATIC,menuItems:{menuItem1:{label:"First Menu Item",id:"menuItem1",widgetId:"",isVisible:!0,isDisabled:!1,index:0},menuItem2:{label:"Second Menu Item",id:"menuItem2",widgetId:"",isVisible:!0,isDisabled:!1,index:1},menuItem3:{label:"Third Menu Item",id:"menuItem3",widgetId:"",isVisible:!0,isDisabled:!1,index:2}},rows:4,columns:16,widgetName:"MenuButton",version:1}}static getAutoLayoutConfig(){return{defaults:{rows:4,columns:6.632},autoDimension:{width:!0},widgetSize:[{viewportMinWidth:0,configuration:()=>({minWidth:"120px",maxWidth:"360px",minHeight:"40px"})}],disableResizeHandles:{vertical:!0,horizontal:!0}}}static getAnvilConfig(){return{isLargeWidget:!1,widgetSize:{maxHeight:{},maxWidth:{base:"360px"},minHeight:{base:"40px"},minWidth:{base:"120px"}}}}static getPropertyPaneContentConfig(){return V}static getPropertyPaneStyleConfig(){return W}static getStylesheetConfig(){return{menuColor:"{{appsmith.theme.colors.primaryColor}}",borderRadius:"{{appsmith.theme.borderRadius.appBorderRadius}}",boxShadow:"none"}}static getAutocompleteDefinitions(){return{"!doc":"Menu button widget is used to represent a set of actions in a group.","!url":"https://docs.appsmith.com/widget-reference/menu-button",isVisible:I.C0.isVisible,label:"string"}}static getSetterConfig(){return{__setters:{setVisibility:{path:"isVisible",type:"boolean"},setDisabled:{path:"isDisabled",type:"boolean"}}}}getWidgetView(){var e;const{componentWidth:t}=this.props,o=p.AE/100*(null!==(e=this.props.mainCanvasWidth)&&void 0!==e?e:U.kB.MOBILE.maxWidth);return(0,N.jsx)(D,{...this.props,getVisibleItems:this.getVisibleItems,maxWidth:this.props.maxWidth,menuDropDownWidth:o,minHeight:this.props.minHeight,minWidth:this.props.minWidth,onItemClicked:this.menuItemClickHandler,renderMode:this.props.renderMode,shouldFitContent:this.isAutoLayoutMode,width:t})}
52static getWidgetType(){}}J.type="MENU_BUTTON_WIDGET";const H=J},39659:(e,t,o)=>{o.d(t,{F:()=>i,X:()=>a});var r=o(65008),n=o.n(r);const i=e=>{if(n()(e)&&null!==e&&void 0!==e&&e.length){return{currentItem:a(e).reduce(((e,t)=>({...e,[t]:""})),{})}}return{currentItem:{}}},a=e=>{if(!n()(e)||null===e||void 0===e||!e.length)return[];const t=[];null===e||void 0===e||e.forEach((e=>{e&&(n()(e)&&null!==e&&void 0!==e&&e.length?e.forEach((e=>{t.push(...Object.keys(e))})):t.push(...Object.keys(e)))}));return[...new Set(t)]}},84211:(e,t,o)=>{o.d(t,{L:()=>n,R:()=>i});var r=o(27948);let n=function(e){return e.STATIC="STATIC",e.DYNAMIC="DYNAMIC",e}({});const i=Object.keys(r).map((e=>r[e]))}}]);
53//# sourceMappingURL=3500.37e4a297.chunk.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.