{"version":3,"file":"primeng-orderlist.mjs","sources":["../../src/orderlist/style/orderliststyle.ts","../../src/orderlist/orderlist.ts","../../src/orderlist/primeng-orderlist.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { BaseStyle } from 'primeng/base';\n\nconst theme = ({ dt }) => `\n.p-orderlist {\n display: flex;\n gap: ${dt('orderlist.gap')};\n}\n\n.p-orderlist-controls {\n display: flex;\n flex-direction: column;\n justify-content: center;\n gap: ${dt('orderlist.controls.gap')};\n}\n`;\n\nconst classes = {\n root: 'p-orderlist p-component',\n controls: 'p-orderlist-controls'\n};\n\n@Injectable()\nexport class OrderListStyle extends BaseStyle {\n name = 'orderlist';\n\n theme = theme;\n\n classes = classes;\n}\n\n/**\n *\n * OrderList is used to maneged the order of a collection.\n *\n * [Live Demo](https://primeng.org/orderlist)\n *\n * @module orderliststyle\n *\n */\n\nexport enum OrderListClasses {\n /**\n * Class name of the root element\n */\n root = 'p-orderlist',\n /**\n * Class name of the controls element\n */\n controls = 'p-orderlist-controls'\n}\n\nexport interface OrderListStyle extends BaseStyle {}\n","import { CdkDragDrop, DragDropModule, moveItemInArray } from '@angular/cdk/drag-drop';\nimport { CommonModule, isPlatformBrowser } from '@angular/common';\nimport {\n AfterContentInit,\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n ContentChild,\n ContentChildren,\n ElementRef,\n EventEmitter,\n inject,\n Input,\n NgModule,\n numberAttribute,\n Output,\n QueryList,\n TemplateRef,\n ViewChild,\n ViewEncapsulation\n} from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { find, findIndexInList, findSingle, hasClass, insertIntoOrderedArray, isHidden, scrollInView, setAttribute, uuid } from '@primeuix/utils';\nimport { FilterService, PrimeTemplate, SharedModule } from 'primeng/api';\nimport { BaseComponent } from 'primeng/basecomponent';\nimport { ButtonDirective, ButtonProps } from 'primeng/button';\nimport { AngleDoubleDownIcon, AngleDoubleUpIcon, AngleDownIcon, AngleUpIcon } from 'primeng/icons';\nimport { Listbox } from 'primeng/listbox';\nimport { Ripple } from 'primeng/ripple';\nimport { Nullable } from 'primeng/ts-helpers';\nimport { OrderListFilterEvent, OrderListFilterOptions, OrderListSelectionChangeEvent } from './orderlist.interface';\nimport { OrderListStyle } from './style/orderliststyle';\n\n/**\n * OrderList is used to manage the order of a collection.\n * @group Components\n */\n@Component({\n selector: 'p-orderList, p-orderlist, p-order-list',\n standalone: true,\n imports: [CommonModule, ButtonDirective, Ripple, DragDropModule, AngleDoubleDownIcon, AngleDoubleUpIcon, AngleUpIcon, AngleDownIcon, Listbox, FormsModule, SharedModule],\n template: `\n