claude-web/node_modules/primevue/checkboxgroup/index.mjs

47 lines
1.1 KiB
JavaScript
Raw Permalink Normal View History

2026-02-23 02:23:38 +00:00
import { uuid } from '@primeuix/utils';
import BaseEditableHolder from '@primevue/core/baseeditableholder';
import CheckboxGroupStyle from 'primevue/checkboxgroup/style';
import { createElementBlock, openBlock, mergeProps, renderSlot } from 'vue';
var script$1 = {
name: 'BaseCheckboxGroup',
"extends": BaseEditableHolder,
style: CheckboxGroupStyle,
provide: function provide() {
return {
$pcCheckboxGroup: this,
$parentInstance: this
};
}
};
var script = {
name: 'CheckboxGroup',
"extends": script$1,
inheritAttrs: false,
data: function data() {
return {
groupName: this.name
};
},
watch: {
name: function name(newValue) {
this.groupName = newValue || uuid('checkbox-group-');
}
},
mounted: function mounted() {
this.groupName = this.groupName || uuid('checkbox-group-');
}
};
function render(_ctx, _cache, $props, $setup, $data, $options) {
return openBlock(), createElementBlock("div", mergeProps({
"class": _ctx.cx('root')
}, _ctx.ptmi('root')), [renderSlot(_ctx.$slots, "default")], 16);
}
script.render = render;
export { script as default };
//# sourceMappingURL=index.mjs.map