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 • 1.96 kB
Source Map (JSON)
{"version":3,"file":"index.mjs","sources":["../../../src/colorpicker/style/ColorPickerStyle.js"],"sourcesContent":["import { style } from '@primeuix/styles/colorpicker';\nimport BaseStyle from '@primevue/core/base/style';\n\nconst classes = {\n root: 'p-colorpicker p-component',\n preview: ({ props }) => ['p-colorpicker-preview', { 'p-disabled': props.disabled }],\n panel: ({ instance, props }) => [\n 'p-colorpicker-panel',\n {\n 'p-colorpicker-panel-inline': props.inline,\n 'p-disabled': props.disabled,\n 'p-invalid': instance.$invalid\n }\n ],\n colorSelector: 'p-colorpicker-color-selector',\n colorBackground: 'p-colorpicker-color-background',\n colorHandle: 'p-colorpicker-color-handle',\n hue: 'p-colorpicker-hue',\n hueHandle: 'p-colorpicker-hue-handle'\n};\n\nexport default BaseStyle.extend({\n name: 'colorpicker',\n style,\n classes\n});\n"],"names":["classes","root","preview","_ref","props","disabled","panel","_ref2","instance","inline","$invalid","colorSelector","colorBackground","colorHandle","hue","hueHandle","BaseStyle","extend","name","style"],"mappings":";;;AAGA,IAAMA,OAAO,GAAG;AACZC,EAAAA,IAAI,EAAE,2BAA2B;AACjCC,EAAAA,OAAO,EAAE,SAATA,OAAOA,CAAAC,IAAA,EAAA;AAAA,IAAA,IAAKC,KAAK,GAAAD,IAAA,CAALC,KAAK;IAAA,OAAO,CAAC,uBAAuB,EAAE;MAAE,YAAY,EAAEA,KAAK,CAACC;AAAS,KAAC,CAAC;AAAA,GAAA;AACnFC,EAAAA,KAAK,EAAE,SAAPA,KAAKA,CAAAC,KAAA,EAAA;AAAA,IAAA,IAAKC,QAAQ,GAAAD,KAAA,CAARC,QAAQ;MAAEJ,KAAK,GAAAG,KAAA,CAALH,KAAK;IAAA,OAAO,CAC5B,qBAAqB,EACrB;MACI,4BAA4B,EAAEA,KAAK,CAACK,MAAM;MAC1C,YAAY,EAAEL,KAAK,CAACC,QAAQ;MAC5B,WAAW,EAAEG,QAAQ,CAACE;AAC1B,KAAC,CACJ;AAAA,GAAA;AACDC,EAAAA,aAAa,EAAE,8BAA8B;AAC7CC,EAAAA,eAAe,EAAE,gCAAgC;AACjDC,EAAAA,WAAW,EAAE,4BAA4B;AACzCC,EAAAA,GAAG,EAAE,mBAAmB;AACxBC,EAAAA,SAAS,EAAE;AACf,CAAC;AAED,uBAAeC,SAAS,CAACC,MAAM,CAAC;AAC5BC,EAAAA,IAAI,EAAE,aAAa;AACnBC,EAAAA,KAAK,EAALA,KAAK;AACLnB,EAAAA,OAAO,EAAPA;AACJ,CAAC,CAAC;;;;"}