primevue
Version:
PrimeVue is an open source UI library for Vue featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeBloc
1 lines • 3.93 kB
Source Map (JSON)
{"version":3,"file":"index.mjs","sources":["../../../src/treeselect/style/TreeSelectStyle.js"],"sourcesContent":["import { style } from '@primeuix/styles/treeselect';\nimport BaseStyle from '@primevue/core/base/style';\n\nconst inlineStyles = {\n root: ({ props }) => ({ position: props.appendTo === 'self' ? 'relative' : undefined })\n};\n\nconst classes = {\n root: ({ instance, props }) => [\n 'p-treeselect p-component p-inputwrapper',\n {\n 'p-treeselect-display-chip': props.display === 'chip',\n 'p-disabled': props.disabled,\n 'p-invalid': instance.$invalid,\n 'p-focus': instance.focused,\n 'p-variant-filled': instance.$variant === 'filled',\n 'p-inputwrapper-filled': instance.$filled,\n 'p-inputwrapper-focus': instance.focused || instance.overlayVisible,\n 'p-treeselect-open': instance.overlayVisible,\n 'p-treeselect-fluid': instance.$fluid,\n 'p-treeselect-sm p-inputfield-sm': props.size === 'small',\n 'p-treeselect-lg p-inputfield-lg': props.size === 'large'\n }\n ],\n labelContainer: 'p-treeselect-label-container',\n label: ({ instance, props }) => [\n 'p-treeselect-label',\n {\n 'p-placeholder': instance.label === props.placeholder,\n 'p-treeselect-label-empty': !props.placeholder && instance.emptyValue\n }\n ],\n clearIcon: 'p-treeselect-clear-icon',\n chip: 'p-treeselect-chip-item',\n pcChip: 'p-treeselect-chip',\n dropdown: 'p-treeselect-dropdown',\n dropdownIcon: 'p-treeselect-dropdown-icon',\n panel: 'p-treeselect-overlay p-component',\n treeContainer: 'p-treeselect-tree-container',\n emptyMessage: 'p-treeselect-empty-message'\n};\n\nexport default BaseStyle.extend({\n name: 'treeselect',\n style,\n classes,\n inlineStyles\n});\n"],"names":["inlineStyles","root","_ref","props","position","appendTo","undefined","classes","_ref2","instance","display","disabled","$invalid","focused","$variant","$filled","overlayVisible","$fluid","size","labelContainer","label","_ref3","placeholder","emptyValue","clearIcon","chip","pcChip","dropdown","dropdownIcon","panel","treeContainer","emptyMessage","BaseStyle","extend","name","style"],"mappings":";;;AAGA,IAAMA,YAAY,GAAG;AACjBC,EAAAA,IAAI,EAAE,SAANA,IAAIA,CAAAC,IAAA,EAAA;AAAA,IAAA,IAAKC,KAAK,GAAAD,IAAA,CAALC,KAAK;IAAA,OAAQ;MAAEC,QAAQ,EAAED,KAAK,CAACE,QAAQ,KAAK,MAAM,GAAG,UAAU,GAAGC;KAAW;AAAA;AAC1F,CAAC;AAED,IAAMC,OAAO,GAAG;AACZN,EAAAA,IAAI,EAAE,SAANA,IAAIA,CAAAO,KAAA,EAAA;AAAA,IAAA,IAAKC,QAAQ,GAAAD,KAAA,CAARC,QAAQ;MAAEN,KAAK,GAAAK,KAAA,CAALL,KAAK;IAAA,OAAO,CAC3B,yCAAyC,EACzC;AACI,MAAA,2BAA2B,EAAEA,KAAK,CAACO,OAAO,KAAK,MAAM;MACrD,YAAY,EAAEP,KAAK,CAACQ,QAAQ;MAC5B,WAAW,EAAEF,QAAQ,CAACG,QAAQ;MAC9B,SAAS,EAAEH,QAAQ,CAACI,OAAO;AAC3B,MAAA,kBAAkB,EAAEJ,QAAQ,CAACK,QAAQ,KAAK,QAAQ;MAClD,uBAAuB,EAAEL,QAAQ,CAACM,OAAO;AACzC,MAAA,sBAAsB,EAAEN,QAAQ,CAACI,OAAO,IAAIJ,QAAQ,CAACO,cAAc;MACnE,mBAAmB,EAAEP,QAAQ,CAACO,cAAc;MAC5C,oBAAoB,EAAEP,QAAQ,CAACQ,MAAM;AACrC,MAAA,iCAAiC,EAAEd,KAAK,CAACe,IAAI,KAAK,OAAO;AACzD,MAAA,iCAAiC,EAAEf,KAAK,CAACe,IAAI,KAAK;AACtD,KAAC,CACJ;AAAA,GAAA;AACDC,EAAAA,cAAc,EAAE,8BAA8B;AAC9CC,EAAAA,KAAK,EAAE,SAAPA,KAAKA,CAAAC,KAAA,EAAA;AAAA,IAAA,I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