@economic/taco 1.1.9-alpha.2 → 1.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Icon/components/Numbers.d.ts +3 -0
- package/dist/components/Icon/components/index.d.ts +1 -1
- package/dist/components/Input/Input.d.ts +1 -1
- package/dist/components/Menu/Menu.d.ts +2 -2
- package/dist/components/Menu/components/Item.d.ts +1 -1
- package/dist/components/Menu/components/Link.d.ts +1 -1
- package/dist/esm/_virtual/_rollupPluginBabelHelpers.js +1 -18
- package/dist/esm/_virtual/_rollupPluginBabelHelpers.js.map +1 -1
- package/dist/esm/components/Badge/Badge.js +14 -14
- package/dist/esm/components/Badge/Badge.js.map +1 -1
- package/dist/esm/components/Button/Button.js +12 -13
- package/dist/esm/components/Button/Button.js.map +1 -1
- package/dist/esm/components/Card/Card.js +0 -2
- package/dist/esm/components/Card/Card.js.map +1 -1
- package/dist/esm/components/Icon/components/Numbers.js +18 -0
- package/dist/esm/components/Icon/components/Numbers.js.map +1 -0
- package/dist/esm/components/Icon/components/index.js +2 -0
- package/dist/esm/components/Icon/components/index.js.map +1 -1
- package/dist/esm/components/SearchInput/SearchInput.js +0 -2
- package/dist/esm/components/SearchInput/SearchInput.js.map +1 -1
- package/dist/esm/index.js +0 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/utils/hooks/useDropTarget.js +7 -10
- package/dist/esm/utils/hooks/useDropTarget.js.map +1 -1
- package/dist/esm/utils/hooks/useProxiedRef.js +3 -3
- package/dist/esm/utils/hooks/useProxiedRef.js.map +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/taco.cjs.development.js +37 -44
- package/dist/taco.cjs.development.js.map +1 -1
- package/dist/taco.cjs.production.min.js +1 -1
- package/dist/taco.cjs.production.min.js.map +1 -1
- package/dist/utils/tailwind.d.ts +1 -1
- package/package.json +131 -130
- package/tailwind.config.js +0 -9
- package/types.json +3 -2
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../src/components/Icon/components/index.tsx"],"sourcesContent":["import AccountPreview from './AccountPreview';\r\nimport AccountingYearCancel from './AccountingYearCancel';\r\nimport AccountingYear from './AccountingYear';\r\nimport Accounting from './Accounting';\r\nimport ArrowBottom from './ArrowBottom';\r\nimport ArrowDown from './ArrowDown';\r\nimport ArrowEnd from './ArrowEnd';\r\nimport ArrowLeft from './ArrowLeft';\r\nimport ArrowRight from './ArrowRight';\r\nimport ArrowStart from './ArrowStart';\r\nimport ArrowTop from './ArrowTop';\r\nimport ArrowUp from './ArrowUp';\r\nimport AttachAuto from './AttachAuto';\r\nimport AttachCancel from './AttachCancel';\r\nimport Attach from './Attach';\r\nimport AutotextInsert from './AutotextInsert';\r\nimport Autotext from './Autotext';\r\nimport BasicTabs from './BasicTabs';\r\nimport Basic from './Basic';\r\nimport BellSolid from './BellSolid';\r\nimport Book from './Book';\r\nimport Booking from './Booking';\r\nimport Budget from './Budget';\r\nimport Calendar from './Calendar';\r\nimport CashAccount from './CashAccount';\r\nimport CashReports from './CashReports';\r\nimport ChatSolid from './ChatSolid';\r\nimport Chat from './Chat';\r\nimport ChevronDownDouble from './ChevronDownDouble';\r\nimport ChevronDownSolid from './ChevronDownSolid';\r\nimport ChevronDown from './ChevronDown';\r\nimport ChevronLeftDouble from './ChevronLeftDouble';\r\nimport ChevronLeft from './ChevronLeft';\r\nimport ChevronRightDouble from './ChevronRightDouble';\r\nimport ChevronRight from './ChevronRight';\r\nimport ChevronUpDouble from './ChevronUpDouble';\r\nimport ChevronUpSolid from './ChevronUpSolid';\r\nimport ChevronUp from './ChevronUp';\r\nimport CircleClose from './CircleClose';\r\nimport CircleMinus from './CircleMinus';\r\nimport CirclePlus from './CirclePlus';\r\nimport CircleTick from './CircleTick';\r\nimport ClampOpen from './ClampOpen';\r\nimport Clamp from './Clamp';\r\nimport Close from './Close';\r\nimport ConnectionEnable from './ConnectionEnable';\r\nimport ConnectionRevoke from './ConnectionRevoke';\r\nimport Contacts from './Contacts';\r\nimport Copy from './Copy';\r\nimport Courses from './Courses';\r\nimport Credit from './Credit';\r\nimport DeletePermanently from './DeletePermanently';\r\nimport Delete from './Delete';\r\nimport Depecriate from './Depecriate';\r\nimport Developer from './Developer';\r\nimport DistributionTemplate from './DistributionTemplate';\r\nimport DocumentApprove from './DocumentApprove';\r\nimport DocumentCreateEntry from './DocumentCreateEntry';\r\nimport DocumentCut from './DocumentCut';\r\nimport DocumentError from './DocumentError';\r\nimport DocumentIsolatePage from './DocumentIsolatePage';\r\nimport DocumentMerge from './DocumentMerge';\r\nimport DocumentMove from './DocumentMove';\r\nimport DocumentPreview from './DocumentPreview';\r\nimport DocumentReceived from './DocumentReceived';\r\nimport DocumentRejectedRequest from './DocumentRejectedRequest';\r\nimport DocumentSplit from './DocumentSplit';\r\nimport DocumentTime from './DocumentTime';\r\nimport Document from './Document';\r\nimport Download from './Download';\r\nimport Drag from './Drag';\r\nimport ECopedia from './ECopedia';\r\nimport ESignature from './ESignature';\r\nimport Edit from './Edit';\r\nimport EllipsisHorizontal from './EllipsisHorizontal';\r\nimport EllipsisVertical from './EllipsisVertical';\r\nimport EntriesOnAccount from './EntriesOnAccount';\r\nimport EntriesOpen from './EntriesOpen';\r\nimport EntriesWarning from './EntriesWarning';\r\nimport EntryTypeCustomerInvoice from './EntryTypeCustomerInvoice';\r\nimport EntryTypeCustomerPayment from './EntryTypeCustomerPayment';\r\nimport EntryTypeJournalEntry from './EntryTypeJournalEntry';\r\nimport EntryTypeManualCustomerInvoice from './EntryTypeManualCustomerInvoice';\r\nimport EntryTypeSupplierInvoice from './EntryTypeSupplierInvoice';\r\nimport EntryTypeSupplierPayment from './EntryTypeSupplierPayment';\r\nimport EnvelopeApproved from './EnvelopeApproved';\r\nimport Envelope from './Envelope';\r\nimport ExpandView from './ExpandView';\r\nimport Expenses from './Expenses';\r\nimport ExportToExcel from './ExportToExcel';\r\nimport ExportToPdf from './ExportToPdf';\r\nimport Export from './Export';\r\nimport FilterSolid from './FilterSolid';\r\nimport Filter from './Filter';\r\nimport GraphSolid from './GraphSolid';\r\nimport Hash from './Hash';\r\nimport Home from './Home';\r\nimport Images from './Images';\r\nimport Import from './Import';\r\nimport InboxEinvoicing from './InboxEinvoicing';\r\nimport InboxScanning from './InboxScanning';\r\nimport InboxSmart from './InboxSmart';\r\nimport Inbox from './Inbox';\r\nimport Info from './Info';\r\nimport InventoryMatrix from './InventoryMatrix';\r\nimport Inventory from './Inventory';\r\nimport JournalPro from './JournalPro';\r\nimport LayoutBoth from './LayoutBoth';\r\nimport LayoutFirst from './LayoutFirst';\r\nimport LayoutLast from './LayoutLast';\r\nimport LayoutNone from './LayoutNone';\r\nimport Layout from './Layout';\r\nimport LedgerCardCustomerReminder from './LedgerCardCustomerReminder';\r\nimport LedgerCardManualCustomerInvoice from './LedgerCardManualCustomerInvoice';\r\nimport LedgerCardObsoleteStock from './LedgerCardObsoleteStock';\r\nimport LedgerCardOpeningEntry from './LedgerCardOpeningEntry';\r\nimport LedgerCardReservedEntry from './LedgerCardReservedEntry';\r\nimport LedgerCardShrinkagePilferage from './LedgerCardShrinkagePilferage';\r\nimport LedgerCardStockAdjustment from './LedgerCardStockAdjustment';\r\nimport LedgerCardTransferredOpeningEntry from './LedgerCardTransferredOpeningEntry';\r\nimport LedgerCard from './LedgerCard';\r\nimport Lightbulb from './Lightbulb';\r\nimport Line from './Line';\r\nimport ListBulleted from './ListBulleted';\r\nimport ListSearch from './ListSearch';\r\nimport List from './List';\r\nimport LockOpen from './LockOpen';\r\nimport LogOut from './LogOut';\r\nimport Log from './Log';\r\nimport Market from './Market';\r\nimport MatchAmount from './MatchAmount';\r\nimport MatchEntries from './MatchEntries';\r\nimport Menu from './Menu';\r\nimport Mileage from './Mileage';\r\nimport ModalResize from './ModalResize';\r\nimport ModalShrink from './ModalShrink';\r\nimport MoreSolid from './MoreSolid';\r\nimport More from './More';\r\nimport Move from './Move';\r\nimport NavigationList from './NavigationList';\r\nimport NoteFollowUp from './NoteFollowUp';\r\nimport NoteRead from './NoteRead';\r\nimport Note from './Note';\r\nimport PartnerApi from './PartnerApi';\r\nimport Period from './Period';\r\nimport PersonChange from './PersonChange';\r\nimport PersonMinus from './PersonMinus';\r\nimport PersonPlus from './PersonPlus';\r\nimport PersonTick from './PersonTick';\r\nimport Play from './Play';\r\nimport PlusMinus from './PlusMinus';\r\nimport Print from './Print';\r\nimport ProcessPayment from './ProcessPayment';\r\nimport ProductLedgerCard from './ProductLedgerCard';\r\nimport Profile from './Profile';\r\nimport ProjectCards from './ProjectCards';\r\nimport Projects from './Projects';\r\nimport Quicklinks from './Quicklinks';\r\nimport RatingBankruptcy from './RatingBankruptcy';\r\nimport RatingPaymentProblems from './RatingPaymentProblems';\r\nimport Reconciled from './Reconciled';\r\nimport Refresh from './Refresh';\r\nimport ReportSolid from './ReportSolid';\r\nimport Report from './Report';\r\nimport Restore from './Restore';\r\nimport RotateLeft from './RotateLeft';\r\nimport RotateRight from './RotateRight';\r\nimport Sales from './Sales';\r\nimport SearchBold from './SearchBold';\r\nimport Search from './Search';\r\nimport SecureTick from './SecureTick';\r\nimport Secure from './Secure';\r\nimport SettingsSolid from './SettingsSolid';\r\nimport Settings from './Settings';\r\nimport Shortcuts from './Shortcuts';\r\nimport ShowAll from './ShowAll';\r\nimport ShowLess from './ShowLess';\r\nimport ShowMore from './ShowMore';\r\nimport ShowTemplate from './ShowTemplate';\r\nimport Sliders from './Sliders';\r\nimport Smartpay from './Smartpay';\r\nimport SortBy from './SortBy';\r\nimport Spinner from './Spinner';\r\nimport StarSolid from './StarSolid';\r\nimport Star from './Star';\r\nimport Subscriptions from './Subscriptions';\r\nimport SystemEntries from './SystemEntries';\r\nimport Tag from './Tag';\r\nimport TemplateOverride from './TemplateOverride';\r\nimport Templates from './Templates';\r\nimport ThumbBoth from './ThumbBoth';\r\nimport ThumbDownSolid from './ThumbDownSolid';\r\nimport ThumbDown from './ThumbDown';\r\nimport ThumbUpSolid from './ThumbUpSolid';\r\nimport ThumbUp from './ThumbUp';\r\nimport Tick from './Tick';\r\nimport Time from './Time';\r\nimport TransferCancel from './TransferCancel';\r\nimport TransferLocked from './TransferLocked';\r\nimport Transfer from './Transfer';\r\nimport Undock from './Undock';\r\nimport Unreconciled from './Unreconciled';\r\nimport Warning from './Warning';\r\nimport Webshop from './Webshop';\r\nimport Website from './Website';\r\nimport Workflow from './Workflow';\r\nimport Zoom from './Zoom';\r\n\r\nexport const icons: Record<\r\n IconName,\r\n React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>\r\n> = {\r\n 'account-preview': AccountPreview,\r\n 'accounting-year-cancel': AccountingYearCancel,\r\n 'accounting-year': AccountingYear,\r\n accounting: Accounting,\r\n 'arrow-bottom': ArrowBottom,\r\n 'arrow-down': ArrowDown,\r\n 'arrow-end': ArrowEnd,\r\n 'arrow-left': ArrowLeft,\r\n 'arrow-right': ArrowRight,\r\n 'arrow-start': ArrowStart,\r\n 'arrow-top': ArrowTop,\r\n 'arrow-up': ArrowUp,\r\n 'attach-auto': AttachAuto,\r\n 'attach-cancel': AttachCancel,\r\n attach: Attach,\r\n 'autotext-insert': AutotextInsert,\r\n autotext: Autotext,\r\n 'basic-tabs': BasicTabs,\r\n basic: Basic,\r\n 'bell-solid': BellSolid,\r\n book: Book,\r\n booking: Booking,\r\n budget: Budget,\r\n calendar: Calendar,\r\n 'cash-account': CashAccount,\r\n 'cash-reports': CashReports,\r\n 'chat-solid': ChatSolid,\r\n chat: Chat,\r\n 'chevron-down-double': ChevronDownDouble,\r\n 'chevron-down-solid': ChevronDownSolid,\r\n 'chevron-down': ChevronDown,\r\n 'chevron-left-double': ChevronLeftDouble,\r\n 'chevron-left': ChevronLeft,\r\n 'chevron-right-double': ChevronRightDouble,\r\n 'chevron-right': ChevronRight,\r\n 'chevron-up-double': ChevronUpDouble,\r\n 'chevron-up-solid': ChevronUpSolid,\r\n 'chevron-up': ChevronUp,\r\n 'circle-close': CircleClose,\r\n 'circle-minus': CircleMinus,\r\n 'circle-plus': CirclePlus,\r\n 'circle-tick': CircleTick,\r\n 'clamp-open': ClampOpen,\r\n clamp: Clamp,\r\n close: Close,\r\n 'connection-enable': ConnectionEnable,\r\n 'connection-revoke': ConnectionRevoke,\r\n contacts: Contacts,\r\n copy: Copy,\r\n courses: Courses,\r\n credit: Credit,\r\n 'delete-permanently': DeletePermanently,\r\n delete: Delete,\r\n depecriate: Depecriate,\r\n developer: Developer,\r\n 'distribution-template': DistributionTemplate,\r\n 'document-approve': DocumentApprove,\r\n 'document-create-entry': DocumentCreateEntry,\r\n 'document-cut': DocumentCut,\r\n 'document-error': DocumentError,\r\n 'document-isolate-page': DocumentIsolatePage,\r\n 'document-merge': DocumentMerge,\r\n 'document-move': DocumentMove,\r\n 'document-preview': DocumentPreview,\r\n 'document-received': DocumentReceived,\r\n 'document-rejected-request': DocumentRejectedRequest,\r\n 'document-split': DocumentSplit,\r\n 'document-time': DocumentTime,\r\n document: Document,\r\n download: Download,\r\n drag: Drag,\r\n 'e-copedia': ECopedia,\r\n 'e-signature': ESignature,\r\n edit: Edit,\r\n 'ellipsis-horizontal': EllipsisHorizontal,\r\n 'ellipsis-vertical': EllipsisVertical,\r\n 'entries-on-account': EntriesOnAccount,\r\n 'entries-open': EntriesOpen,\r\n 'entries-warning': EntriesWarning,\r\n 'entry-type-customer-invoice': EntryTypeCustomerInvoice,\r\n 'entry-type-customer-payment': EntryTypeCustomerPayment,\r\n 'entry-type-journal-entry': EntryTypeJournalEntry,\r\n 'entry-type-manual-customer-invoice': EntryTypeManualCustomerInvoice,\r\n 'entry-type-supplier-invoice': EntryTypeSupplierInvoice,\r\n 'entry-type-supplier-payment': EntryTypeSupplierPayment,\r\n 'envelope-approved': EnvelopeApproved,\r\n envelope: Envelope,\r\n 'expand-view': ExpandView,\r\n expenses: Expenses,\r\n 'export-to-excel': ExportToExcel,\r\n 'export-to-pdf': ExportToPdf,\r\n export: Export,\r\n 'filter-solid': FilterSolid,\r\n filter: Filter,\r\n 'graph-solid': GraphSolid,\r\n hash: Hash,\r\n home: Home,\r\n images: Images,\r\n import: Import,\r\n 'inbox-einvoicing': InboxEinvoicing,\r\n 'inbox-scanning': InboxScanning,\r\n 'inbox-smart': InboxSmart,\r\n inbox: Inbox,\r\n info: Info,\r\n 'inventory-matrix': InventoryMatrix,\r\n inventory: Inventory,\r\n 'journal-pro': JournalPro,\r\n 'layout-both': LayoutBoth,\r\n 'layout-first': LayoutFirst,\r\n 'layout-last': LayoutLast,\r\n 'layout-none': LayoutNone,\r\n layout: Layout,\r\n 'ledger-card-customer-reminder': LedgerCardCustomerReminder,\r\n 'ledger-card-manual-customer-invoice': LedgerCardManualCustomerInvoice,\r\n 'ledger-card-obsolete-stock': LedgerCardObsoleteStock,\r\n 'ledger-card-opening-entry': LedgerCardOpeningEntry,\r\n 'ledger-card-reserved-entry': LedgerCardReservedEntry,\r\n 'ledger-card-shrinkage-pilferage': LedgerCardShrinkagePilferage,\r\n 'ledger-card-stock-adjustment': LedgerCardStockAdjustment,\r\n 'ledger-card-transferred-opening-entry': LedgerCardTransferredOpeningEntry,\r\n 'ledger-card': LedgerCard,\r\n lightbulb: Lightbulb,\r\n line: Line,\r\n 'list-bulleted': ListBulleted,\r\n 'list-search': ListSearch,\r\n list: List,\r\n 'lock-open': LockOpen,\r\n 'log-out': LogOut,\r\n log: Log,\r\n market: Market,\r\n 'match-amount': MatchAmount,\r\n 'match-entries': MatchEntries,\r\n menu: Menu,\r\n mileage: Mileage,\r\n 'modal-resize': ModalResize,\r\n 'modal-shrink': ModalShrink,\r\n 'more-solid': MoreSolid,\r\n more: More,\r\n move: Move,\r\n 'navigation-list': NavigationList,\r\n 'note-follow-up': NoteFollowUp,\r\n 'note-read': NoteRead,\r\n note: Note,\r\n 'partner-api': PartnerApi,\r\n period: Period,\r\n 'person-change': PersonChange,\r\n 'person-minus': PersonMinus,\r\n 'person-plus': PersonPlus,\r\n 'person-tick': PersonTick,\r\n play: Play,\r\n 'plus-minus': PlusMinus,\r\n print: Print,\r\n 'process-payment': ProcessPayment,\r\n 'product-ledger-card': ProductLedgerCard,\r\n profile: Profile,\r\n 'project-cards': ProjectCards,\r\n projects: Projects,\r\n quicklinks: Quicklinks,\r\n 'rating-bankruptcy': RatingBankruptcy,\r\n 'rating-payment-problems': RatingPaymentProblems,\r\n reconciled: Reconciled,\r\n refresh: Refresh,\r\n 'report-solid': ReportSolid,\r\n report: Report,\r\n restore: Restore,\r\n 'rotate-left': RotateLeft,\r\n 'rotate-right': RotateRight,\r\n sales: Sales,\r\n 'search-bold': SearchBold,\r\n search: Search,\r\n 'secure-tick': SecureTick,\r\n secure: Secure,\r\n 'settings-solid': SettingsSolid,\r\n settings: Settings,\r\n shortcuts: Shortcuts,\r\n 'show-all': ShowAll,\r\n 'show-less': ShowLess,\r\n 'show-more': ShowMore,\r\n 'show-template': ShowTemplate,\r\n sliders: Sliders,\r\n smartpay: Smartpay,\r\n 'sort-by': SortBy,\r\n spinner: Spinner,\r\n 'star-solid': StarSolid,\r\n star: Star,\r\n subscriptions: Subscriptions,\r\n 'system-entries': SystemEntries,\r\n tag: Tag,\r\n 'template-override': TemplateOverride,\r\n templates: Templates,\r\n 'thumb-both': ThumbBoth,\r\n 'thumb-down-solid': ThumbDownSolid,\r\n 'thumb-down': ThumbDown,\r\n 'thumb-up-solid': ThumbUpSolid,\r\n 'thumb-up': ThumbUp,\r\n tick: Tick,\r\n time: Time,\r\n 'transfer-cancel': TransferCancel,\r\n 'transfer-locked': TransferLocked,\r\n transfer: Transfer,\r\n undock: Undock,\r\n unreconciled: Unreconciled,\r\n warning: Warning,\r\n webshop: Webshop,\r\n website: Website,\r\n workflow: Workflow,\r\n zoom: Zoom,\r\n};\r\n\r\n// the prop extraction tool can't handle this\r\n//export type IconName = keyof typeof icons;\r\nexport type IconName =\r\n | 'account-preview'\r\n | 'accounting-year-cancel'\r\n | 'accounting-year'\r\n | 'accounting'\r\n | 'arrow-bottom'\r\n | 'arrow-down'\r\n | 'arrow-end'\r\n | 'arrow-left'\r\n | 'arrow-right'\r\n | 'arrow-start'\r\n | 'arrow-top'\r\n | 'arrow-up'\r\n | 'attach-auto'\r\n | 'attach-cancel'\r\n | 'attach'\r\n | 'autotext-insert'\r\n | 'autotext'\r\n | 'basic-tabs'\r\n | 'basic'\r\n | 'bell-solid'\r\n | 'book'\r\n | 'booking'\r\n | 'budget'\r\n | 'calendar'\r\n | 'cash-account'\r\n | 'cash-reports'\r\n | 'chat-solid'\r\n | 'chat'\r\n | 'chevron-down-double'\r\n | 'chevron-down-solid'\r\n | 'chevron-down'\r\n | 'chevron-left-double'\r\n | 'chevron-left'\r\n | 'chevron-right-double'\r\n | 'chevron-right'\r\n | 'chevron-up-double'\r\n | 'chevron-up-solid'\r\n | 'chevron-up'\r\n | 'circle-close'\r\n | 'circle-minus'\r\n | 'circle-plus'\r\n | 'circle-tick'\r\n | 'clamp-open'\r\n | 'clamp'\r\n | 'close'\r\n | 'connection-enable'\r\n | 'connection-revoke'\r\n | 'contacts'\r\n | 'copy'\r\n | 'courses'\r\n | 'credit'\r\n | 'delete-permanently'\r\n | 'delete'\r\n | 'depecriate'\r\n | 'developer'\r\n | 'distribution-template'\r\n | 'document-approve'\r\n | 'document-create-entry'\r\n | 'document-cut'\r\n | 'document-error'\r\n | 'document-isolate-page'\r\n | 'document-merge'\r\n | 'document-move'\r\n | 'document-preview'\r\n | 'document-received'\r\n | 'document-rejected-request'\r\n | 'document-split'\r\n | 'document-time'\r\n | 'document'\r\n | 'download'\r\n | 'drag'\r\n | 'e-copedia'\r\n | 'e-signature'\r\n | 'edit'\r\n | 'ellipsis-horizontal'\r\n | 'ellipsis-vertical'\r\n | 'entries-on-account'\r\n | 'entries-open'\r\n | 'entries-warning'\r\n | 'entry-type-customer-invoice'\r\n | 'entry-type-customer-payment'\r\n | 'entry-type-journal-entry'\r\n | 'entry-type-manual-customer-invoice'\r\n | 'entry-type-supplier-invoice'\r\n | 'entry-type-supplier-payment'\r\n | 'envelope-approved'\r\n | 'envelope'\r\n | 'expand-view'\r\n | 'expenses'\r\n | 'export-to-excel'\r\n | 'export-to-pdf'\r\n | 'export'\r\n | 'filter-solid'\r\n | 'filter'\r\n | 'graph-solid'\r\n | 'hash'\r\n | 'home'\r\n | 'images'\r\n | 'import'\r\n | 'inbox-einvoicing'\r\n | 'inbox-scanning'\r\n | 'inbox-smart'\r\n | 'inbox'\r\n | 'info'\r\n | 'inventory-matrix'\r\n | 'inventory'\r\n | 'journal-pro'\r\n | 'layout-both'\r\n | 'layout-first'\r\n | 'layout-last'\r\n | 'layout-none'\r\n | 'layout'\r\n | 'ledger-card-customer-reminder'\r\n | 'ledger-card-manual-customer-invoice'\r\n | 'ledger-card-obsolete-stock'\r\n | 'ledger-card-opening-entry'\r\n | 'ledger-card-reserved-entry'\r\n | 'ledger-card-shrinkage-pilferage'\r\n | 'ledger-card-stock-adjustment'\r\n | 'ledger-card-transferred-opening-entry'\r\n | 'ledger-card'\r\n | 'lightbulb'\r\n | 'line'\r\n | 'list-bulleted'\r\n | 'list-search'\r\n | 'list'\r\n | 'lock-open'\r\n | 'log-out'\r\n | 'log'\r\n | 'market'\r\n | 'match-amount'\r\n | 'match-entries'\r\n | 'menu'\r\n | 'mileage'\r\n | 'modal-resize'\r\n | 'modal-shrink'\r\n | 'more-solid'\r\n | 'more'\r\n | 'move'\r\n | 'navigation-list'\r\n | 'note-follow-up'\r\n | 'note-read'\r\n | 'note'\r\n | 'partner-api'\r\n | 'period'\r\n | 'person-change'\r\n | 'person-minus'\r\n | 'person-plus'\r\n | 'person-tick'\r\n | 'play'\r\n | 'plus-minus'\r\n | 'print'\r\n | 'process-payment'\r\n | 'product-ledger-card'\r\n | 'profile'\r\n | 'project-cards'\r\n | 'projects'\r\n | 'quicklinks'\r\n | 'rating-bankruptcy'\r\n | 'rating-payment-problems'\r\n | 'reconciled'\r\n | 'refresh'\r\n | 'report-solid'\r\n | 'report'\r\n | 'restore'\r\n | 'rotate-left'\r\n | 'rotate-right'\r\n | 'sales'\r\n | 'search-bold'\r\n | 'search'\r\n | 'secure-tick'\r\n | 'secure'\r\n | 'settings-solid'\r\n | 'settings'\r\n | 'shortcuts'\r\n | 'show-all'\r\n | 'show-less'\r\n | 'show-more'\r\n | 'show-template'\r\n | 'sliders'\r\n | 'smartpay'\r\n | 'sort-by'\r\n | 'spinner'\r\n | 'star-solid'\r\n | 'star'\r\n | 'subscriptions'\r\n | 'system-entries'\r\n | 'tag'\r\n | 'template-override'\r\n | 'templates'\r\n | 'thumb-both'\r\n | 'thumb-down-solid'\r\n | 'thumb-down'\r\n | 'thumb-up-solid'\r\n | 'thumb-up'\r\n | 'tick'\r\n | 'time'\r\n | 'transfer-cancel'\r\n | 'transfer-locked'\r\n | 'transfer'\r\n | 'undock'\r\n | 'unreconciled'\r\n | 'warning'\r\n | 'webshop'\r\n | 'website'\r\n | 'workflow'\r\n | 'zoom';\r\n"],"names":["icons","AccountPreview","AccountingYearCancel","AccountingYear","accounting","Accounting","ArrowBottom","ArrowDown","ArrowEnd","ArrowLeft","ArrowRight","ArrowStart","ArrowTop","ArrowUp","AttachAuto","AttachCancel","attach","Attach","AutotextInsert","autotext","Autotext","BasicTabs","basic","Basic","BellSolid","book","Book","booking","Booking","budget","Budget","calendar","Calendar","CashAccount","CashReports","ChatSolid","chat","Chat","ChevronDownDouble","ChevronDownSolid","ChevronDown","ChevronLeftDouble","ChevronLeft","ChevronRightDouble","ChevronRight","ChevronUpDouble","ChevronUpSolid","ChevronUp","CircleClose","CircleMinus","CirclePlus","CircleTick","ClampOpen","clamp","Clamp","close","Close","ConnectionEnable","ConnectionRevoke","contacts","Contacts","copy","Copy","courses","Courses","credit","Credit","DeletePermanently","delete","Delete","depecriate","Depecriate","developer","Developer","DistributionTemplate","DocumentApprove","DocumentCreateEntry","DocumentCut","DocumentError","DocumentIsolatePage","DocumentMerge","DocumentMove","DocumentPreview","DocumentReceived","DocumentRejectedRequest","DocumentSplit","DocumentTime","document","Document","download","Download","drag","Drag","ECopedia","ESignature","edit","Edit","EllipsisHorizontal","EllipsisVertical","EntriesOnAccount","EntriesOpen","EntriesWarning","EntryTypeCustomerInvoice","EntryTypeCustomerPayment","EntryTypeJournalEntry","EntryTypeManualCustomerInvoice","EntryTypeSupplierInvoice","EntryTypeSupplierPayment","EnvelopeApproved","envelope","Envelope","ExpandView","expenses","Expenses","ExportToExcel","ExportToPdf","export","Export","FilterSolid","filter","Filter","GraphSolid","hash","Hash","home","Home","images","Images","import","Import","InboxEinvoicing","InboxScanning","InboxSmart","inbox","Inbox","info","Info","InventoryMatrix","inventory","Inventory","JournalPro","LayoutBoth","LayoutFirst","LayoutLast","LayoutNone","layout","Layout","LedgerCardCustomerReminder","LedgerCardManualCustomerInvoice","LedgerCardObsoleteStock","LedgerCardOpeningEntry","LedgerCardReservedEntry","LedgerCardShrinkagePilferage","LedgerCardStockAdjustment","LedgerCardTransferredOpeningEntry","LedgerCard","lightbulb","Lightbulb","line","Line","ListBulleted","ListSearch","list","List","LockOpen","LogOut","log","Log","market","Market","MatchAmount","MatchEntries","menu","Menu","mileage","Mileage","ModalResize","ModalShrink","MoreSolid","more","More","move","Move","NavigationList","NoteFollowUp","NoteRead","note","Note","PartnerApi","period","Period","PersonChange","PersonMinus","PersonPlus","PersonTick","play","Play","PlusMinus","print","Print","ProcessPayment","ProductLedgerCard","profile","Profile","ProjectCards","projects","Projects","quicklinks","Quicklinks","RatingBankruptcy","RatingPaymentProblems","reconciled","Reconciled","refresh","Refresh","ReportSolid","report","Report","restore","Restore","RotateLeft","RotateRight","sales","Sales","SearchBold","search","Search","SecureTick","secure","Secure","SettingsSolid","settings","Settings","shortcuts","Shortcuts","ShowAll","ShowLess","ShowMore","ShowTemplate","sliders","Sliders","smartpay","Smartpay","SortBy","spinner","Spinner","StarSolid","star","Star","subscriptions","Subscriptions","SystemEntries","tag","Tag","TemplateOverride","templates","Templates","ThumbBoth","ThumbDownSolid","ThumbDown","ThumbUpSolid","ThumbUp","tick","Tick","time","Time","TransferCancel","TransferLocked","transfer","Transfer","undock","Undock","unreconciled","Unreconciled","warning","Warning","webshop","Webshop","website","Website","workflow","Workflow","zoom","Zoom"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAgNaA,KAAK,GAGd;EACA,mBAAmBC,cADnB;EAEA,0BAA0BC,oBAF1B;EAGA,mBAAmBC,cAHnB;EAIAC,UAAU,EAAEC,UAJZ;EAKA,gBAAgBC,WALhB;EAMA,cAAcC,SANd;EAOA,aAAaC,QAPb;EAQA,cAAcC,SARd;EASA,eAAeC,UATf;EAUA,eAAeC,UAVf;EAWA,aAAaC,QAXb;EAYA,YAAYC,OAZZ;EAaA,eAAeC,UAbf;EAcA,iBAAiBC,YAdjB;EAeAC,MAAM,EAAEC,MAfR;EAgBA,mBAAmBC,cAhBnB;EAiBAC,QAAQ,EAAEC,QAjBV;EAkBA,cAAcC,SAlBd;EAmBAC,KAAK,EAAEC,KAnBP;EAoBA,cAAcC,SApBd;EAqBAC,IAAI,EAAEC,IArBN;EAsBAC,OAAO,EAAEC,OAtBT;EAuBAC,MAAM,EAAEC,MAvBR;EAwBAC,QAAQ,EAAEC,QAxBV;EAyBA,gBAAgBC,WAzBhB;EA0BA,gBAAgBC,WA1BhB;EA2BA,cAAcC,SA3Bd;EA4BAC,IAAI,EAAEC,IA5BN;EA6BA,uBAAuBC,iBA7BvB;EA8BA,sBAAsBC,gBA9BtB;EA+BA,gBAAgBC,WA/BhB;EAgCA,uBAAuBC,iBAhCvB;EAiCA,gBAAgBC,WAjChB;EAkCA,wBAAwBC,kBAlCxB;EAmCA,iBAAiBC,YAnCjB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jLb;EAkLA,aAAaC,QAlLb;EAmLA,iBAAiBC,YAnLjB;EAoLAC,OAAO,EAAEC,OApLT;EAqLAC,QAAQ,EAAEC,QArLV;EAsLA,WAAWC,MAtLX;EAuLAC,OAAO,EAAEC,OAvLT;EAwLA,cAAcC,SAxLd;EAyLAC,IAAI,EAAEC,IAzLN;EA0LAC,aAAa,EAAEC,aA1Lf;EA2LA,kBAAkBC,aA3LlB;EA4LAC,GAAG,EAAEC,GA5LL;EA6LA,qBAAqBC,gBA7LrB;EA8LAC,SAAS,EAAEC,SA9LX;EA+LA,cAAcC,SA/Ld;EAgMA,oBAAoBC,cAhMpB;EAiMA,cAAcC,SAjMd;EAkMA,kBAAkBC,YAlMlB;EAmMA,YAAYC,OAnMZ;EAoMAC,IAAI,EAAEC,IApMN;EAqMAC,IAAI,EAAEC,IArMN;EAsMA,mBAAmBC,cAtMnB;EAuMA,mBAAmBC,cAvMnB;EAwMAC,QAAQ,EAAEC,QAxMV;EAyMAC,MAAM,EAAEC,MAzMR;EA0MAC,YAAY,EAAEC,YA1Md;EA2MAC,OAAO,EAAEC,OA3MT;EA4MAC,OAAO,EAAEC,OA5MT;EA6MAC,OAAO,EAAEC,OA7MT;EA8MAC,QAAQ,EAAEC,QA9MV;EA+MAC,IAAI,EAAEC;AA/MN;;;;"}
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/components/Icon/components/index.tsx"],"sourcesContent":["import AccountPreview from './AccountPreview';\r\nimport AccountingYearCancel from './AccountingYearCancel';\r\nimport AccountingYear from './AccountingYear';\r\nimport Accounting from './Accounting';\r\nimport ArrowBottom from './ArrowBottom';\r\nimport ArrowDown from './ArrowDown';\r\nimport ArrowEnd from './ArrowEnd';\r\nimport ArrowLeft from './ArrowLeft';\r\nimport ArrowRight from './ArrowRight';\r\nimport ArrowStart from './ArrowStart';\r\nimport ArrowTop from './ArrowTop';\r\nimport ArrowUp from './ArrowUp';\r\nimport AttachAuto from './AttachAuto';\r\nimport AttachCancel from './AttachCancel';\r\nimport Attach from './Attach';\r\nimport AutotextInsert from './AutotextInsert';\r\nimport Autotext from './Autotext';\r\nimport BasicTabs from './BasicTabs';\r\nimport Basic from './Basic';\r\nimport BellSolid from './BellSolid';\r\nimport Book from './Book';\r\nimport Booking from './Booking';\r\nimport Budget from './Budget';\r\nimport Calendar from './Calendar';\r\nimport CashAccount from './CashAccount';\r\nimport CashReports from './CashReports';\r\nimport ChatSolid from './ChatSolid';\r\nimport Chat from './Chat';\r\nimport ChevronDownDouble from './ChevronDownDouble';\r\nimport ChevronDownSolid from './ChevronDownSolid';\r\nimport ChevronDown from './ChevronDown';\r\nimport ChevronLeftDouble from './ChevronLeftDouble';\r\nimport ChevronLeft from './ChevronLeft';\r\nimport ChevronRightDouble from './ChevronRightDouble';\r\nimport ChevronRight from './ChevronRight';\r\nimport ChevronUpDouble from './ChevronUpDouble';\r\nimport ChevronUpSolid from './ChevronUpSolid';\r\nimport ChevronUp from './ChevronUp';\r\nimport CircleClose from './CircleClose';\r\nimport CircleMinus from './CircleMinus';\r\nimport CirclePlus from './CirclePlus';\r\nimport CircleTick from './CircleTick';\r\nimport ClampOpen from './ClampOpen';\r\nimport Clamp from './Clamp';\r\nimport Close from './Close';\r\nimport ConnectionEnable from './ConnectionEnable';\r\nimport ConnectionRevoke from './ConnectionRevoke';\r\nimport Contacts from './Contacts';\r\nimport Copy from './Copy';\r\nimport Courses from './Courses';\r\nimport Credit from './Credit';\r\nimport DeletePermanently from './DeletePermanently';\r\nimport Delete from './Delete';\r\nimport Depecriate from './Depecriate';\r\nimport Developer from './Developer';\r\nimport DistributionTemplate from './DistributionTemplate';\r\nimport DocumentApprove from './DocumentApprove';\r\nimport DocumentCreateEntry from './DocumentCreateEntry';\r\nimport DocumentCut from './DocumentCut';\r\nimport DocumentError from './DocumentError';\r\nimport DocumentIsolatePage from './DocumentIsolatePage';\r\nimport DocumentMerge from './DocumentMerge';\r\nimport DocumentMove from './DocumentMove';\r\nimport DocumentPreview from './DocumentPreview';\r\nimport DocumentReceived from './DocumentReceived';\r\nimport DocumentRejectedRequest from './DocumentRejectedRequest';\r\nimport DocumentSplit from './DocumentSplit';\r\nimport DocumentTime from './DocumentTime';\r\nimport Document from './Document';\r\nimport Download from './Download';\r\nimport Drag from './Drag';\r\nimport ECopedia from './ECopedia';\r\nimport ESignature from './ESignature';\r\nimport Edit from './Edit';\r\nimport EllipsisHorizontal from './EllipsisHorizontal';\r\nimport EllipsisVertical from './EllipsisVertical';\r\nimport EntriesOnAccount from './EntriesOnAccount';\r\nimport EntriesOpen from './EntriesOpen';\r\nimport EntriesWarning from './EntriesWarning';\r\nimport EntryTypeCustomerInvoice from './EntryTypeCustomerInvoice';\r\nimport EntryTypeCustomerPayment from './EntryTypeCustomerPayment';\r\nimport EntryTypeJournalEntry from './EntryTypeJournalEntry';\r\nimport EntryTypeManualCustomerInvoice from './EntryTypeManualCustomerInvoice';\r\nimport EntryTypeSupplierInvoice from './EntryTypeSupplierInvoice';\r\nimport EntryTypeSupplierPayment from './EntryTypeSupplierPayment';\r\nimport EnvelopeApproved from './EnvelopeApproved';\r\nimport Envelope from './Envelope';\r\nimport ExpandView from './ExpandView';\r\nimport Expenses from './Expenses';\r\nimport ExportToExcel from './ExportToExcel';\r\nimport ExportToPdf from './ExportToPdf';\r\nimport Export from './Export';\r\nimport FilterSolid from './FilterSolid';\r\nimport Filter from './Filter';\r\nimport GraphSolid from './GraphSolid';\r\nimport Hash from './Hash';\r\nimport Home from './Home';\r\nimport Images from './Images';\r\nimport Import from './Import';\r\nimport InboxEinvoicing from './InboxEinvoicing';\r\nimport InboxScanning from './InboxScanning';\r\nimport InboxSmart from './InboxSmart';\r\nimport Inbox from './Inbox';\r\nimport Info from './Info';\r\nimport InventoryMatrix from './InventoryMatrix';\r\nimport Inventory from './Inventory';\r\nimport JournalPro from './JournalPro';\r\nimport LayoutBoth from './LayoutBoth';\r\nimport LayoutFirst from './LayoutFirst';\r\nimport LayoutLast from './LayoutLast';\r\nimport LayoutNone from './LayoutNone';\r\nimport Layout from './Layout';\r\nimport LedgerCardCustomerReminder from './LedgerCardCustomerReminder';\r\nimport LedgerCardManualCustomerInvoice from './LedgerCardManualCustomerInvoice';\r\nimport LedgerCardObsoleteStock from './LedgerCardObsoleteStock';\r\nimport LedgerCardOpeningEntry from './LedgerCardOpeningEntry';\r\nimport LedgerCardReservedEntry from './LedgerCardReservedEntry';\r\nimport LedgerCardShrinkagePilferage from './LedgerCardShrinkagePilferage';\r\nimport LedgerCardStockAdjustment from './LedgerCardStockAdjustment';\r\nimport LedgerCardTransferredOpeningEntry from './LedgerCardTransferredOpeningEntry';\r\nimport LedgerCard from './LedgerCard';\r\nimport Lightbulb from './Lightbulb';\r\nimport Line from './Line';\r\nimport ListBulleted from './ListBulleted';\r\nimport ListSearch from './ListSearch';\r\nimport List from './List';\r\nimport LockOpen from './LockOpen';\r\nimport LogOut from './LogOut';\r\nimport Log from './Log';\r\nimport Market from './Market';\r\nimport MatchAmount from './MatchAmount';\r\nimport MatchEntries from './MatchEntries';\r\nimport Menu from './Menu';\r\nimport Mileage from './Mileage';\r\nimport ModalResize from './ModalResize';\r\nimport ModalShrink from './ModalShrink';\r\nimport MoreSolid from './MoreSolid';\r\nimport More from './More';\r\nimport Move from './Move';\r\nimport NavigationList from './NavigationList';\r\nimport NoteFollowUp from './NoteFollowUp';\r\nimport NoteRead from './NoteRead';\r\nimport Note from './Note';\r\nimport Numbers from './Numbers';\r\nimport PartnerApi from './PartnerApi';\r\nimport Period from './Period';\r\nimport PersonChange from './PersonChange';\r\nimport PersonMinus from './PersonMinus';\r\nimport PersonPlus from './PersonPlus';\r\nimport PersonTick from './PersonTick';\r\nimport Play from './Play';\r\nimport PlusMinus from './PlusMinus';\r\nimport Print from './Print';\r\nimport ProcessPayment from './ProcessPayment';\r\nimport ProductLedgerCard from './ProductLedgerCard';\r\nimport Profile from './Profile';\r\nimport ProjectCards from './ProjectCards';\r\nimport Projects from './Projects';\r\nimport Quicklinks from './Quicklinks';\r\nimport RatingBankruptcy from './RatingBankruptcy';\r\nimport RatingPaymentProblems from './RatingPaymentProblems';\r\nimport Reconciled from './Reconciled';\r\nimport Refresh from './Refresh';\r\nimport ReportSolid from './ReportSolid';\r\nimport Report from './Report';\r\nimport Restore from './Restore';\r\nimport RotateLeft from './RotateLeft';\r\nimport RotateRight from './RotateRight';\r\nimport Sales from './Sales';\r\nimport SearchBold from './SearchBold';\r\nimport Search from './Search';\r\nimport SecureTick from './SecureTick';\r\nimport Secure from './Secure';\r\nimport SettingsSolid from './SettingsSolid';\r\nimport Settings from './Settings';\r\nimport Shortcuts from './Shortcuts';\r\nimport ShowAll from './ShowAll';\r\nimport ShowLess from './ShowLess';\r\nimport ShowMore from './ShowMore';\r\nimport ShowTemplate from './ShowTemplate';\r\nimport Sliders from './Sliders';\r\nimport Smartpay from './Smartpay';\r\nimport SortBy from './SortBy';\r\nimport Spinner from './Spinner';\r\nimport StarSolid from './StarSolid';\r\nimport Star from './Star';\r\nimport Subscriptions from './Subscriptions';\r\nimport SystemEntries from './SystemEntries';\r\nimport Tag from './Tag';\r\nimport TemplateOverride from './TemplateOverride';\r\nimport Templates from './Templates';\r\nimport ThumbBoth from './ThumbBoth';\r\nimport ThumbDownSolid from './ThumbDownSolid';\r\nimport ThumbDown from './ThumbDown';\r\nimport ThumbUpSolid from './ThumbUpSolid';\r\nimport ThumbUp from './ThumbUp';\r\nimport Tick from './Tick';\r\nimport Time from './Time';\r\nimport TransferCancel from './TransferCancel';\r\nimport TransferLocked from './TransferLocked';\r\nimport Transfer from './Transfer';\r\nimport Undock from './Undock';\r\nimport Unreconciled from './Unreconciled';\r\nimport Warning from './Warning';\r\nimport Webshop from './Webshop';\r\nimport Website from './Website';\r\nimport Workflow from './Workflow';\r\nimport Zoom from './Zoom';\r\n\r\nexport const icons: Record<\r\n IconName,\r\n React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>\r\n> = {\r\n 'account-preview': AccountPreview,\r\n 'accounting-year-cancel': AccountingYearCancel,\r\n 'accounting-year': AccountingYear,\r\n accounting: Accounting,\r\n 'arrow-bottom': ArrowBottom,\r\n 'arrow-down': ArrowDown,\r\n 'arrow-end': ArrowEnd,\r\n 'arrow-left': ArrowLeft,\r\n 'arrow-right': ArrowRight,\r\n 'arrow-start': ArrowStart,\r\n 'arrow-top': ArrowTop,\r\n 'arrow-up': ArrowUp,\r\n 'attach-auto': AttachAuto,\r\n 'attach-cancel': AttachCancel,\r\n attach: Attach,\r\n 'autotext-insert': AutotextInsert,\r\n autotext: Autotext,\r\n 'basic-tabs': BasicTabs,\r\n basic: Basic,\r\n 'bell-solid': BellSolid,\r\n book: Book,\r\n booking: Booking,\r\n budget: Budget,\r\n calendar: Calendar,\r\n 'cash-account': CashAccount,\r\n 'cash-reports': CashReports,\r\n 'chat-solid': ChatSolid,\r\n chat: Chat,\r\n 'chevron-down-double': ChevronDownDouble,\r\n 'chevron-down-solid': ChevronDownSolid,\r\n 'chevron-down': ChevronDown,\r\n 'chevron-left-double': ChevronLeftDouble,\r\n 'chevron-left': ChevronLeft,\r\n 'chevron-right-double': ChevronRightDouble,\r\n 'chevron-right': ChevronRight,\r\n 'chevron-up-double': ChevronUpDouble,\r\n 'chevron-up-solid': ChevronUpSolid,\r\n 'chevron-up': ChevronUp,\r\n 'circle-close': CircleClose,\r\n 'circle-minus': CircleMinus,\r\n 'circle-plus': CirclePlus,\r\n 'circle-tick': CircleTick,\r\n 'clamp-open': ClampOpen,\r\n clamp: Clamp,\r\n close: Close,\r\n 'connection-enable': ConnectionEnable,\r\n 'connection-revoke': ConnectionRevoke,\r\n contacts: Contacts,\r\n copy: Copy,\r\n courses: Courses,\r\n credit: Credit,\r\n 'delete-permanently': DeletePermanently,\r\n delete: Delete,\r\n depecriate: Depecriate,\r\n developer: Developer,\r\n 'distribution-template': DistributionTemplate,\r\n 'document-approve': DocumentApprove,\r\n 'document-create-entry': DocumentCreateEntry,\r\n 'document-cut': DocumentCut,\r\n 'document-error': DocumentError,\r\n 'document-isolate-page': DocumentIsolatePage,\r\n 'document-merge': DocumentMerge,\r\n 'document-move': DocumentMove,\r\n 'document-preview': DocumentPreview,\r\n 'document-received': DocumentReceived,\r\n 'document-rejected-request': DocumentRejectedRequest,\r\n 'document-split': DocumentSplit,\r\n 'document-time': DocumentTime,\r\n document: Document,\r\n download: Download,\r\n drag: Drag,\r\n 'e-copedia': ECopedia,\r\n 'e-signature': ESignature,\r\n edit: Edit,\r\n 'ellipsis-horizontal': EllipsisHorizontal,\r\n 'ellipsis-vertical': EllipsisVertical,\r\n 'entries-on-account': EntriesOnAccount,\r\n 'entries-open': EntriesOpen,\r\n 'entries-warning': EntriesWarning,\r\n 'entry-type-customer-invoice': EntryTypeCustomerInvoice,\r\n 'entry-type-customer-payment': EntryTypeCustomerPayment,\r\n 'entry-type-journal-entry': EntryTypeJournalEntry,\r\n 'entry-type-manual-customer-invoice': EntryTypeManualCustomerInvoice,\r\n 'entry-type-supplier-invoice': EntryTypeSupplierInvoice,\r\n 'entry-type-supplier-payment': EntryTypeSupplierPayment,\r\n 'envelope-approved': EnvelopeApproved,\r\n envelope: Envelope,\r\n 'expand-view': ExpandView,\r\n expenses: Expenses,\r\n 'export-to-excel': ExportToExcel,\r\n 'export-to-pdf': ExportToPdf,\r\n export: Export,\r\n 'filter-solid': FilterSolid,\r\n filter: Filter,\r\n 'graph-solid': GraphSolid,\r\n hash: Hash,\r\n home: Home,\r\n images: Images,\r\n import: Import,\r\n 'inbox-einvoicing': InboxEinvoicing,\r\n 'inbox-scanning': InboxScanning,\r\n 'inbox-smart': InboxSmart,\r\n inbox: Inbox,\r\n info: Info,\r\n 'inventory-matrix': InventoryMatrix,\r\n inventory: Inventory,\r\n 'journal-pro': JournalPro,\r\n 'layout-both': LayoutBoth,\r\n 'layout-first': LayoutFirst,\r\n 'layout-last': LayoutLast,\r\n 'layout-none': LayoutNone,\r\n layout: Layout,\r\n 'ledger-card-customer-reminder': LedgerCardCustomerReminder,\r\n 'ledger-card-manual-customer-invoice': LedgerCardManualCustomerInvoice,\r\n 'ledger-card-obsolete-stock': LedgerCardObsoleteStock,\r\n 'ledger-card-opening-entry': LedgerCardOpeningEntry,\r\n 'ledger-card-reserved-entry': LedgerCardReservedEntry,\r\n 'ledger-card-shrinkage-pilferage': LedgerCardShrinkagePilferage,\r\n 'ledger-card-stock-adjustment': LedgerCardStockAdjustment,\r\n 'ledger-card-transferred-opening-entry': LedgerCardTransferredOpeningEntry,\r\n 'ledger-card': LedgerCard,\r\n lightbulb: Lightbulb,\r\n line: Line,\r\n 'list-bulleted': ListBulleted,\r\n 'list-search': ListSearch,\r\n list: List,\r\n 'lock-open': LockOpen,\r\n 'log-out': LogOut,\r\n log: Log,\r\n market: Market,\r\n 'match-amount': MatchAmount,\r\n 'match-entries': MatchEntries,\r\n menu: Menu,\r\n mileage: Mileage,\r\n 'modal-resize': ModalResize,\r\n 'modal-shrink': ModalShrink,\r\n 'more-solid': MoreSolid,\r\n more: More,\r\n move: Move,\r\n 'navigation-list': NavigationList,\r\n 'note-follow-up': NoteFollowUp,\r\n 'note-read': NoteRead,\r\n note: Note,\r\n numbers: Numbers,\r\n 'partner-api': PartnerApi,\r\n period: Period,\r\n 'person-change': PersonChange,\r\n 'person-minus': PersonMinus,\r\n 'person-plus': PersonPlus,\r\n 'person-tick': PersonTick,\r\n play: Play,\r\n 'plus-minus': PlusMinus,\r\n print: Print,\r\n 'process-payment': ProcessPayment,\r\n 'product-ledger-card': ProductLedgerCard,\r\n profile: Profile,\r\n 'project-cards': ProjectCards,\r\n projects: Projects,\r\n quicklinks: Quicklinks,\r\n 'rating-bankruptcy': RatingBankruptcy,\r\n 'rating-payment-problems': RatingPaymentProblems,\r\n reconciled: Reconciled,\r\n refresh: Refresh,\r\n 'report-solid': ReportSolid,\r\n report: Report,\r\n restore: Restore,\r\n 'rotate-left': RotateLeft,\r\n 'rotate-right': RotateRight,\r\n sales: Sales,\r\n 'search-bold': SearchBold,\r\n search: Search,\r\n 'secure-tick': SecureTick,\r\n secure: Secure,\r\n 'settings-solid': SettingsSolid,\r\n settings: Settings,\r\n shortcuts: Shortcuts,\r\n 'show-all': ShowAll,\r\n 'show-less': ShowLess,\r\n 'show-more': ShowMore,\r\n 'show-template': ShowTemplate,\r\n sliders: Sliders,\r\n smartpay: Smartpay,\r\n 'sort-by': SortBy,\r\n spinner: Spinner,\r\n 'star-solid': StarSolid,\r\n star: Star,\r\n subscriptions: Subscriptions,\r\n 'system-entries': SystemEntries,\r\n tag: Tag,\r\n 'template-override': TemplateOverride,\r\n templates: Templates,\r\n 'thumb-both': ThumbBoth,\r\n 'thumb-down-solid': ThumbDownSolid,\r\n 'thumb-down': ThumbDown,\r\n 'thumb-up-solid': ThumbUpSolid,\r\n 'thumb-up': ThumbUp,\r\n tick: Tick,\r\n time: Time,\r\n 'transfer-cancel': TransferCancel,\r\n 'transfer-locked': TransferLocked,\r\n transfer: Transfer,\r\n undock: Undock,\r\n unreconciled: Unreconciled,\r\n warning: Warning,\r\n webshop: Webshop,\r\n website: Website,\r\n workflow: Workflow,\r\n zoom: Zoom,\r\n};\r\n\r\n// the prop extraction tool can't handle this\r\n//export type IconName = keyof typeof icons;\r\nexport type IconName =\r\n | 'account-preview'\r\n | 'accounting-year-cancel'\r\n | 'accounting-year'\r\n | 'accounting'\r\n | 'arrow-bottom'\r\n | 'arrow-down'\r\n | 'arrow-end'\r\n | 'arrow-left'\r\n | 'arrow-right'\r\n | 'arrow-start'\r\n | 'arrow-top'\r\n | 'arrow-up'\r\n | 'attach-auto'\r\n | 'attach-cancel'\r\n | 'attach'\r\n | 'autotext-insert'\r\n | 'autotext'\r\n | 'basic-tabs'\r\n | 'basic'\r\n | 'bell-solid'\r\n | 'book'\r\n | 'booking'\r\n | 'budget'\r\n | 'calendar'\r\n | 'cash-account'\r\n | 'cash-reports'\r\n | 'chat-solid'\r\n | 'chat'\r\n | 'chevron-down-double'\r\n | 'chevron-down-solid'\r\n | 'chevron-down'\r\n | 'chevron-left-double'\r\n | 'chevron-left'\r\n | 'chevron-right-double'\r\n | 'chevron-right'\r\n | 'chevron-up-double'\r\n | 'chevron-up-solid'\r\n | 'chevron-up'\r\n | 'circle-close'\r\n | 'circle-minus'\r\n | 'circle-plus'\r\n | 'circle-tick'\r\n | 'clamp-open'\r\n | 'clamp'\r\n | 'close'\r\n | 'connection-enable'\r\n | 'connection-revoke'\r\n | 'contacts'\r\n | 'copy'\r\n | 'courses'\r\n | 'credit'\r\n | 'delete-permanently'\r\n | 'delete'\r\n | 'depecriate'\r\n | 'developer'\r\n | 'distribution-template'\r\n | 'document-approve'\r\n | 'document-create-entry'\r\n | 'document-cut'\r\n | 'document-error'\r\n | 'document-isolate-page'\r\n | 'document-merge'\r\n | 'document-move'\r\n | 'document-preview'\r\n | 'document-received'\r\n | 'document-rejected-request'\r\n | 'document-split'\r\n | 'document-time'\r\n | 'document'\r\n | 'download'\r\n | 'drag'\r\n | 'e-copedia'\r\n | 'e-signature'\r\n | 'edit'\r\n | 'ellipsis-horizontal'\r\n | 'ellipsis-vertical'\r\n | 'entries-on-account'\r\n | 'entries-open'\r\n | 'entries-warning'\r\n | 'entry-type-customer-invoice'\r\n | 'entry-type-customer-payment'\r\n | 'entry-type-journal-entry'\r\n | 'entry-type-manual-customer-invoice'\r\n | 'entry-type-supplier-invoice'\r\n | 'entry-type-supplier-payment'\r\n | 'envelope-approved'\r\n | 'envelope'\r\n | 'expand-view'\r\n | 'expenses'\r\n | 'export-to-excel'\r\n | 'export-to-pdf'\r\n | 'export'\r\n | 'filter-solid'\r\n | 'filter'\r\n | 'graph-solid'\r\n | 'hash'\r\n | 'home'\r\n | 'images'\r\n | 'import'\r\n | 'inbox-einvoicing'\r\n | 'inbox-scanning'\r\n | 'inbox-smart'\r\n | 'inbox'\r\n | 'info'\r\n | 'inventory-matrix'\r\n | 'inventory'\r\n | 'journal-pro'\r\n | 'layout-both'\r\n | 'layout-first'\r\n | 'layout-last'\r\n | 'layout-none'\r\n | 'layout'\r\n | 'ledger-card-customer-reminder'\r\n | 'ledger-card-manual-customer-invoice'\r\n | 'ledger-card-obsolete-stock'\r\n | 'ledger-card-opening-entry'\r\n | 'ledger-card-reserved-entry'\r\n | 'ledger-card-shrinkage-pilferage'\r\n | 'ledger-card-stock-adjustment'\r\n | 'ledger-card-transferred-opening-entry'\r\n | 'ledger-card'\r\n | 'lightbulb'\r\n | 'line'\r\n | 'list-bulleted'\r\n | 'list-search'\r\n | 'list'\r\n | 'lock-open'\r\n | 'log-out'\r\n | 'log'\r\n | 'market'\r\n | 'match-amount'\r\n | 'match-entries'\r\n | 'menu'\r\n | 'mileage'\r\n | 'modal-resize'\r\n | 'modal-shrink'\r\n | 'more-solid'\r\n | 'more'\r\n | 'move'\r\n | 'navigation-list'\r\n | 'note-follow-up'\r\n | 'note-read'\r\n | 'note'\r\n | 'numbers'\r\n | 'partner-api'\r\n | 'period'\r\n | 'person-change'\r\n | 'person-minus'\r\n | 'person-plus'\r\n | 'person-tick'\r\n | 'play'\r\n | 'plus-minus'\r\n | 'print'\r\n | 'process-payment'\r\n | 'product-ledger-card'\r\n | 'profile'\r\n | 'project-cards'\r\n | 'projects'\r\n | 'quicklinks'\r\n | 'rating-bankruptcy'\r\n | 'rating-payment-problems'\r\n | 'reconciled'\r\n | 'refresh'\r\n | 'report-solid'\r\n | 'report'\r\n | 'restore'\r\n | 'rotate-left'\r\n | 'rotate-right'\r\n | 'sales'\r\n | 'search-bold'\r\n | 'search'\r\n | 'secure-tick'\r\n | 'secure'\r\n | 'settings-solid'\r\n | 'settings'\r\n | 'shortcuts'\r\n | 'show-all'\r\n | 'show-less'\r\n | 'show-more'\r\n | 'show-template'\r\n | 'sliders'\r\n | 'smartpay'\r\n | 'sort-by'\r\n | 'spinner'\r\n | 'star-solid'\r\n | 'star'\r\n | 'subscriptions'\r\n | 'system-entries'\r\n | 'tag'\r\n | 'template-override'\r\n | 'templates'\r\n | 'thumb-both'\r\n | 'thumb-down-solid'\r\n | 'thumb-down'\r\n | 'thumb-up-solid'\r\n | 'thumb-up'\r\n | 'tick'\r\n | 'time'\r\n | 'transfer-cancel'\r\n | 'transfer-locked'\r\n | 'transfer'\r\n | 'undock'\r\n | 'unreconciled'\r\n | 'warning'\r\n | 'webshop'\r\n | 'website'\r\n | 'workflow'\r\n | 'zoom';\r\n"],"names":["icons","AccountPreview","AccountingYearCancel","AccountingYear","accounting","Accounting","ArrowBottom","ArrowDown","ArrowEnd","ArrowLeft","ArrowRight","ArrowStart","ArrowTop","ArrowUp","AttachAuto","AttachCancel","attach","Attach","AutotextInsert","autotext","Autotext","BasicTabs","basic","Basic","BellSolid","book","Book","booking","Booking","budget","Budget","calendar","Calendar","CashAccount","CashReports","ChatSolid","chat","Chat","ChevronDownDouble","ChevronDownSolid","ChevronDown","ChevronLeftDouble","ChevronLeft","ChevronRightDouble","ChevronRight","ChevronUpDouble","ChevronUpSolid","ChevronUp","CircleClose","CircleMinus","CirclePlus","CircleTick","ClampOpen","clamp","Clamp","close","Close","ConnectionEnable","ConnectionRevoke","contacts","Contacts","copy","Copy","courses","Courses","credit","Credit","DeletePermanently","delete","Delete","depecriate","Depecriate","developer","Developer","DistributionTemplate","DocumentApprove","DocumentCreateEntry","DocumentCut","DocumentError","DocumentIsolatePage","DocumentMerge","DocumentMove","DocumentPreview","DocumentReceived","DocumentRejectedRequest","DocumentSplit","DocumentTime","document","Document","download","Download","drag","Drag","ECopedia","ESignature","edit","Edit","EllipsisHorizontal","EllipsisVertical","EntriesOnAccount","EntriesOpen","EntriesWarning","EntryTypeCustomerInvoice","EntryTypeCustomerPayment","EntryTypeJournalEntry","EntryTypeManualCustomerInvoice","EntryTypeSupplierInvoice","EntryTypeSupplierPayment","EnvelopeApproved","envelope","Envelope","ExpandView","expenses","Expenses","ExportToExcel","ExportToPdf","export","Export","FilterSolid","filter","Filter","GraphSolid","hash","Hash","home","Home","images","Images","import","Import","InboxEinvoicing","InboxScanning","InboxSmart","inbox","Inbox","info","Info","InventoryMatrix","inventory","Inventory","JournalPro","LayoutBoth","LayoutFirst","LayoutLast","LayoutNone","layout","Layout","LedgerCardCustomerReminder","LedgerCardManualCustomerInvoice","LedgerCardObsoleteStock","LedgerCardOpeningEntry","LedgerCardReservedEntry","LedgerCardShrinkagePilferage","LedgerCardStockAdjustment","LedgerCardTransferredOpeningEntry","LedgerCard","lightbulb","Lightbulb","line","Line","ListBulleted","ListSearch","list","List","LockOpen","LogOut","log","Log","market","Market","MatchAmount","MatchEntries","menu","Menu","mileage","Mileage","ModalResize","ModalShrink","MoreSolid","more","More","move","Move","NavigationList","NoteFollowUp","NoteRead","note","Note","numbers","Numbers","PartnerApi","period","Period","PersonChange","PersonMinus","PersonPlus","PersonTick","play","Play","PlusMinus","print","Print","ProcessPayment","ProductLedgerCard","profile","Profile","ProjectCards","projects","Projects","quicklinks","Quicklinks","RatingBankruptcy","RatingPaymentProblems","reconciled","Reconciled","refresh","Refresh","ReportSolid","report","Report","restore","Restore","RotateLeft","RotateRight","sales","Sales","SearchBold","search","Search","SecureTick","secure","Secure","SettingsSolid","settings","Settings","shortcuts","Shortcuts","ShowAll","ShowLess","ShowMore","ShowTemplate","sliders","Sliders","smartpay","Smartpay","SortBy","spinner","Spinner","StarSolid","star","Star","subscriptions","Subscriptions","SystemEntries","tag","Tag","TemplateOverride","templates","Templates","ThumbBoth","ThumbDownSolid","ThumbDown","ThumbUpSolid","ThumbUp","tick","Tick","time","Time","TransferCancel","TransferLocked","transfer","Transfer","undock","Undock","unreconciled","Unreconciled","warning","Warning","webshop","Webshop","website","Website","workflow","Workflow","zoom","Zoom"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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B;EA+LAC,SAAS,EAAEC,SA/LX;EAgMA,cAAcC,SAhMd;EAiMA,oBAAoBC,cAjMpB;EAkMA,cAAcC,SAlMd;EAmMA,kBAAkBC,YAnMlB;EAoMA,YAAYC,OApMZ;EAqMAC,IAAI,EAAEC,IArMN;EAsMAC,IAAI,EAAEC,IAtMN;EAuMA,mBAAmBC,cAvMnB;EAwMA,mBAAmBC,cAxMnB;EAyMAC,QAAQ,EAAEC,QAzMV;EA0MAC,MAAM,EAAEC,MA1MR;EA2MAC,YAAY,EAAEC,YA3Md;EA4MAC,OAAO,EAAEC,OA5MT;EA6MAC,OAAO,EAAEC,OA7MT;EA8MAC,OAAO,EAAEC,OA9MT;EA+MAC,QAAQ,EAAEC,QA/MV;EAgNAC,IAAI,EAAEC;AAhNN;;;;"}
|
@@ -14,7 +14,6 @@ import '../Toast/Toaster.js';
|
|
14
14
|
import { useLocalization } from '../Provider/Provider.js';
|
15
15
|
import '../Calendar/Calendar.js';
|
16
16
|
import '../Checkbox/Checkbox.js';
|
17
|
-
import '../../utils/hooks/useProxiedRef.js';
|
18
17
|
import { Input } from '../Input/Input.js';
|
19
18
|
import keycode from 'keycode';
|
20
19
|
import '../../utils/hooks/useListKeyboardNavigation.js';
|
@@ -34,7 +33,6 @@ import '../Listbox/Listbox.js';
|
|
34
33
|
import '../RadioGroup/RadioGroup.js';
|
35
34
|
import '../Menu/Menu.js';
|
36
35
|
import '../Treeview/Treeview.js';
|
37
|
-
import '../../utils/hooks/useDropTarget.js';
|
38
36
|
import '../Navigation/Navigation.js';
|
39
37
|
import '../Select/Select.js';
|
40
38
|
import '../Pagination/usePagination.js';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SearchInput.js","sources":["../../../../src/components/SearchInput/SearchInput.tsx"],"sourcesContent":["import * as React from 'react';\r\nimport keycode from 'keycode';\r\nimport { Input, InputProps, useLocalization, IconButton } from '../..';\r\n\r\nexport type SearchInputTexts = {\r\n /**\r\n * aria-label text for input\r\n */\r\n inputLabel: string;\r\n};\r\n\r\nexport type SearchInputProps = Omit<InputProps, 'icon'> & {\r\n /** Current input value will be passed to the method. In order to get the value, the component must be controlled otherwise value will always be undefined */\r\n onSearch?: (value: string | number | readonly string[] | undefined) => void;\r\n};\r\n\r\nexport const SearchInput = React.forwardRef(function SearchInput(\r\n { onSearch, ...props }: SearchInputProps,\r\n ref: React.Ref<HTMLInputElement>\r\n) {\r\n const { texts } = useLocalization();\r\n\r\n const handleClick = (): void => {\r\n if (!props.disabled) {\r\n onSearch?.(props.value);\r\n }\r\n };\r\n\r\n const handleKeyDown = (event: React.KeyboardEvent<HTMLInputElement>): void => {\r\n const isEnterKeyPressed = event.keyCode === keycode('enter');\r\n\r\n if (isEnterKeyPressed) {\r\n handleClick();\r\n }\r\n\r\n props.onKeyDown?.(event);\r\n };\r\n\r\n return (\r\n <Input\r\n aria-label={texts.searchInput.inputLabel}\r\n {...props}\r\n button={\r\n <IconButton\r\n icon=\"search\"\r\n className=\"!border-transparent !bg-transparent focus:!border-transparent peer-focus:!border-transparent peer-focus:peer-active:!border-transparent\"\r\n disabled={props.disabled}\r\n onClick={handleClick}\r\n />\r\n }\r\n onKeyDown={handleKeyDown}\r\n ref={ref}\r\n type=\"search\"\r\n />\r\n );\r\n});\r\n"],"names":["SearchInput","React","onSearch","props","ref","texts","useLocalization","handleClick","disabled","value","handleKeyDown","event","isEnterKeyPressed","keyCode","keycode","onKeyDown","Input","searchInput","inputLabel","button","IconButton","icon","className","onClick","type"],"mappings":"
|
1
|
+
{"version":3,"file":"SearchInput.js","sources":["../../../../src/components/SearchInput/SearchInput.tsx"],"sourcesContent":["import * as React from 'react';\r\nimport keycode from 'keycode';\r\nimport { Input, InputProps, useLocalization, IconButton } from '../..';\r\n\r\nexport type SearchInputTexts = {\r\n /**\r\n * aria-label text for input\r\n */\r\n inputLabel: string;\r\n};\r\n\r\nexport type SearchInputProps = Omit<InputProps, 'icon'> & {\r\n /** Current input value will be passed to the method. In order to get the value, the component must be controlled otherwise value will always be undefined */\r\n onSearch?: (value: string | number | readonly string[] | undefined) => void;\r\n};\r\n\r\nexport const SearchInput = React.forwardRef(function SearchInput(\r\n { onSearch, ...props }: SearchInputProps,\r\n ref: React.Ref<HTMLInputElement>\r\n) {\r\n const { texts } = useLocalization();\r\n\r\n const handleClick = (): void => {\r\n if (!props.disabled) {\r\n onSearch?.(props.value);\r\n }\r\n };\r\n\r\n const handleKeyDown = (event: React.KeyboardEvent<HTMLInputElement>): void => {\r\n const isEnterKeyPressed = event.keyCode === keycode('enter');\r\n\r\n if (isEnterKeyPressed) {\r\n handleClick();\r\n }\r\n\r\n props.onKeyDown?.(event);\r\n };\r\n\r\n return (\r\n <Input\r\n aria-label={texts.searchInput.inputLabel}\r\n {...props}\r\n button={\r\n <IconButton\r\n icon=\"search\"\r\n className=\"!border-transparent !bg-transparent focus:!border-transparent peer-focus:!border-transparent peer-focus:peer-active:!border-transparent\"\r\n disabled={props.disabled}\r\n onClick={handleClick}\r\n />\r\n }\r\n onKeyDown={handleKeyDown}\r\n ref={ref}\r\n type=\"search\"\r\n />\r\n );\r\n});\r\n"],"names":["SearchInput","React","onSearch","props","ref","texts","useLocalization","handleClick","disabled","value","handleKeyDown","event","isEnterKeyPressed","keyCode","keycode","onKeyDown","Input","searchInput","inputLabel","button","IconButton","icon","className","onClick","type"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAgBaA,WAAW,gBAAGC,UAAA,CAAiB,SAASD,WAAT,CACxC;EAAEE,QAAF;EAAY,GAAGC;AAAf,CADwC,EAExCC,GAFwC;EAIxC,MAAM;IAAEC;MAAUC,eAAe,EAAjC;;EAEA,MAAMC,WAAW,GAAG;IAChB,IAAI,CAACJ,KAAK,CAACK,QAAX,EAAqB;MACjBN,QAAQ,SAAR,IAAAA,QAAQ,WAAR,YAAAA,QAAQ,CAAGC,KAAK,CAACM,KAAT,CAAR;;GAFR;;EAMA,MAAMC,aAAa,GAAIC,KAAD;;;IAClB,MAAMC,iBAAiB,GAAGD,KAAK,CAACE,OAAN,KAAkBC,OAAO,CAAC,OAAD,CAAnD;;IAEA,IAAIF,iBAAJ,EAAuB;MACnBL,WAAW;;;IAGf,oBAAAJ,KAAK,CAACY,SAAN,2EAAAZ,KAAK,EAAaQ,KAAb,CAAL;GAPJ;;EAUA,OACIV,aAAA,CAACe,KAAD;kBACgBX,KAAK,CAACY,WAAN,CAAkBC;KAC1Bf;IACJgB,MAAM,EACFlB,aAAA,CAACmB,UAAD;MACIC,IAAI,EAAC;MACLC,SAAS,EAAC;MACVd,QAAQ,EAAEL,KAAK,CAACK;MAChBe,OAAO,EAAEhB;KAJb;IAOJQ,SAAS,EAAEL;IACXN,GAAG,EAAEA;IACLoB,IAAI,EAAC;IAbT,CADJ;AAiBH,CAvC0B;;;;"}
|
package/dist/esm/index.js
CHANGED
@@ -13,7 +13,6 @@ export { ToastProvider, useToast } from './components/Toast/Toaster.js';
|
|
13
13
|
export { Provider, defaultLocalisationTexts, useLocalization, useTaco } from './components/Provider/Provider.js';
|
14
14
|
export { Calendar } from './components/Calendar/Calendar.js';
|
15
15
|
export { Checkbox } from './components/Checkbox/Checkbox.js';
|
16
|
-
export { useProxiedRef } from './utils/hooks/useProxiedRef.js';
|
17
16
|
export { Input } from './components/Input/Input.js';
|
18
17
|
export { getNextIndexFromKeycode, useListKeyboardNavigation } from './utils/hooks/useListKeyboardNavigation.js';
|
19
18
|
export { useListScrollTo } from './utils/hooks/useListScrollTo.js';
|
@@ -33,7 +32,6 @@ export { Listbox, MultiListbox } from './components/Listbox/Listbox.js';
|
|
33
32
|
export { RadioGroup, findByValue, getRadioGroupItemValueAsString, useRadioGroup } from './components/RadioGroup/RadioGroup.js';
|
34
33
|
export { Menu } from './components/Menu/Menu.js';
|
35
34
|
export { Treeview } from './components/Treeview/Treeview.js';
|
36
|
-
export { useDropTarget } from './utils/hooks/useDropTarget.js';
|
37
35
|
export { Navigation } from './components/Navigation/Navigation.js';
|
38
36
|
export { Select } from './components/Select/Select.js';
|
39
37
|
export { usePagination } from './components/Pagination/usePagination.js';
|
package/dist/esm/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,25 +1,22 @@
|
|
1
1
|
import React__default from 'react';
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
setDraggedOver = _React$useState[1];
|
7
|
-
|
8
|
-
var handleDragEnter = React__default.useCallback(function (event) {
|
3
|
+
const useDropTarget = onDrop => {
|
4
|
+
const [isDraggedOver, setDraggedOver] = React__default.useState(false);
|
5
|
+
const handleDragEnter = React__default.useCallback(event => {
|
9
6
|
event.preventDefault();
|
10
7
|
setDraggedOver(true);
|
11
8
|
}, []);
|
12
|
-
|
9
|
+
const handleDragLeave = React__default.useCallback(event => {
|
13
10
|
event.preventDefault();
|
14
11
|
|
15
12
|
if (event.target === event.currentTarget) {
|
16
13
|
setDraggedOver(false);
|
17
14
|
}
|
18
15
|
}, []);
|
19
|
-
|
16
|
+
const handleDragOver = React__default.useCallback(event => {
|
20
17
|
event.preventDefault();
|
21
18
|
}, []);
|
22
|
-
|
19
|
+
const handleDrop = React__default.useCallback(event => {
|
23
20
|
event.preventDefault();
|
24
21
|
event.persist();
|
25
22
|
setDraggedOver(false);
|
@@ -28,7 +25,7 @@ var useDropTarget = function useDropTarget(onDrop) {
|
|
28
25
|
onDrop(event);
|
29
26
|
}
|
30
27
|
}, [onDrop]);
|
31
|
-
|
28
|
+
const props = onDrop ? {
|
32
29
|
onDragEnter: handleDragEnter,
|
33
30
|
onDragLeave: handleDragLeave,
|
34
31
|
onDragOver: handleDragOver,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useDropTarget.js","sources":["../../../../src/utils/hooks/useDropTarget.ts"],"sourcesContent":["import React from 'react';\r\n\r\nexport type useDropTarget = [\r\n boolean,\r\n (\r\n | undefined\r\n | {\r\n onDragEnter: React.DragEventHandler;\r\n onDragLeave: React.DragEventHandler;\r\n onDragOver: React.DragEventHandler;\r\n onDrop: React.DragEventHandler;\r\n }\r\n )\r\n];\r\n\r\nexport const useDropTarget = (onDrop: React.DragEventHandler | undefined): useDropTarget => {\r\n const [isDraggedOver, setDraggedOver] = React.useState(false);\r\n\r\n const handleDragEnter = React.useCallback((event: React.DragEvent<HTMLElement>) => {\r\n event.preventDefault();\r\n setDraggedOver(true);\r\n }, []);\r\n\r\n const handleDragLeave = React.useCallback((event: React.DragEvent<HTMLElement>) => {\r\n event.preventDefault();\r\n\r\n if (event.target === event.currentTarget) {\r\n setDraggedOver(false);\r\n }\r\n }, []);\r\n\r\n const handleDragOver = React.useCallback((event: React.DragEvent<HTMLElement>) => {\r\n event.preventDefault();\r\n }, []);\r\n\r\n const handleDrop = React.useCallback(\r\n (event: React.DragEvent<HTMLElement>) => {\r\n event.preventDefault();\r\n event.persist();\r\n\r\n setDraggedOver(false);\r\n\r\n if (onDrop) {\r\n onDrop(event);\r\n }\r\n },\r\n [onDrop]\r\n );\r\n\r\n const props = onDrop\r\n ? {\r\n onDragEnter: handleDragEnter,\r\n onDragLeave: handleDragLeave,\r\n onDragOver: handleDragOver,\r\n onDrop: handleDrop,\r\n }\r\n : undefined;\r\n\r\n return [isDraggedOver, props];\r\n};\r\n"],"names":["useDropTarget","onDrop","
|
1
|
+
{"version":3,"file":"useDropTarget.js","sources":["../../../../src/utils/hooks/useDropTarget.ts"],"sourcesContent":["import React from 'react';\r\n\r\nexport type useDropTarget = [\r\n boolean,\r\n (\r\n | undefined\r\n | {\r\n onDragEnter: React.DragEventHandler;\r\n onDragLeave: React.DragEventHandler;\r\n onDragOver: React.DragEventHandler;\r\n onDrop: React.DragEventHandler;\r\n }\r\n )\r\n];\r\n\r\nexport const useDropTarget = (onDrop: React.DragEventHandler | undefined): useDropTarget => {\r\n const [isDraggedOver, setDraggedOver] = React.useState(false);\r\n\r\n const handleDragEnter = React.useCallback((event: React.DragEvent<HTMLElement>) => {\r\n event.preventDefault();\r\n setDraggedOver(true);\r\n }, []);\r\n\r\n const handleDragLeave = React.useCallback((event: React.DragEvent<HTMLElement>) => {\r\n event.preventDefault();\r\n\r\n if (event.target === event.currentTarget) {\r\n setDraggedOver(false);\r\n }\r\n }, []);\r\n\r\n const handleDragOver = React.useCallback((event: React.DragEvent<HTMLElement>) => {\r\n event.preventDefault();\r\n }, []);\r\n\r\n const handleDrop = React.useCallback(\r\n (event: React.DragEvent<HTMLElement>) => {\r\n event.preventDefault();\r\n event.persist();\r\n\r\n setDraggedOver(false);\r\n\r\n if (onDrop) {\r\n onDrop(event);\r\n }\r\n },\r\n [onDrop]\r\n );\r\n\r\n const props = onDrop\r\n ? {\r\n onDragEnter: handleDragEnter,\r\n onDragLeave: handleDragLeave,\r\n onDragOver: handleDragOver,\r\n onDrop: handleDrop,\r\n }\r\n : undefined;\r\n\r\n return [isDraggedOver, props];\r\n};\r\n"],"names":["useDropTarget","onDrop","isDraggedOver","setDraggedOver","React","useState","handleDragEnter","useCallback","event","preventDefault","handleDragLeave","target","currentTarget","handleDragOver","handleDrop","persist","props","onDragEnter","onDragLeave","onDragOver","undefined"],"mappings":";;MAeaA,aAAa,GAAIC,MAAD;EACzB,MAAM,CAACC,aAAD,EAAgBC,cAAhB,IAAkCC,cAAK,CAACC,QAAN,CAAe,KAAf,CAAxC;EAEA,MAAMC,eAAe,GAAGF,cAAK,CAACG,WAAN,CAAmBC,KAAD;IACtCA,KAAK,CAACC,cAAN;IACAN,cAAc,CAAC,IAAD,CAAd;GAFoB,EAGrB,EAHqB,CAAxB;EAKA,MAAMO,eAAe,GAAGN,cAAK,CAACG,WAAN,CAAmBC,KAAD;IACtCA,KAAK,CAACC,cAAN;;IAEA,IAAID,KAAK,CAACG,MAAN,KAAiBH,KAAK,CAACI,aAA3B,EAA0C;MACtCT,cAAc,CAAC,KAAD,CAAd;;GAJgB,EAMrB,EANqB,CAAxB;EAQA,MAAMU,cAAc,GAAGT,cAAK,CAACG,WAAN,CAAmBC,KAAD;IACrCA,KAAK,CAACC,cAAN;GADmB,EAEpB,EAFoB,CAAvB;EAIA,MAAMK,UAAU,GAAGV,cAAK,CAACG,WAAN,CACdC,KAAD;IACIA,KAAK,CAACC,cAAN;IACAD,KAAK,CAACO,OAAN;IAEAZ,cAAc,CAAC,KAAD,CAAd;;IAEA,IAAIF,MAAJ,EAAY;MACRA,MAAM,CAACO,KAAD,CAAN;;GARO,EAWf,CAACP,MAAD,CAXe,CAAnB;EAcA,MAAMe,KAAK,GAAGf,MAAM,GACd;IACIgB,WAAW,EAAEX,eADjB;IAEIY,WAAW,EAAER,eAFjB;IAGIS,UAAU,EAAEN,cAHhB;IAIIZ,MAAM,EAAEa;GALE,GAOdM,SAPN;EASA,OAAO,CAAClB,aAAD,EAAgBc,KAAhB,CAAP;AACH;;;;"}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { useRef, useEffect } from 'react';
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
useEffect(
|
3
|
+
const useProxiedRef = ref => {
|
4
|
+
const internalRef = useRef(null);
|
5
|
+
useEffect(() => {
|
6
6
|
if (ref) {
|
7
7
|
if (typeof ref === 'function') {
|
8
8
|
ref(internalRef.current);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useProxiedRef.js","sources":["../../../../src/utils/hooks/useProxiedRef.ts"],"sourcesContent":["import * as React from 'react';\r\n\r\nexport const useProxiedRef = <T extends HTMLElement>(ref: React.Ref<HTMLElement>): React.RefObject<T> => {\r\n const internalRef = React.useRef<T>(null);\r\n\r\n React.useEffect(() => {\r\n if (ref) {\r\n if (typeof ref === 'function') {\r\n ref(internalRef.current);\r\n } else {\r\n (ref as React.MutableRefObject<HTMLElement | null>).current = internalRef.current;\r\n }\r\n }\r\n }, [ref]);\r\n\r\n return internalRef;\r\n};\r\n"],"names":["useProxiedRef","ref","internalRef","React","current"],"mappings":";;
|
1
|
+
{"version":3,"file":"useProxiedRef.js","sources":["../../../../src/utils/hooks/useProxiedRef.ts"],"sourcesContent":["import * as React from 'react';\r\n\r\nexport const useProxiedRef = <T extends HTMLElement>(ref: React.Ref<HTMLElement>): React.RefObject<T> => {\r\n const internalRef = React.useRef<T>(null);\r\n\r\n React.useEffect(() => {\r\n if (ref) {\r\n if (typeof ref === 'function') {\r\n ref(internalRef.current);\r\n } else {\r\n (ref as React.MutableRefObject<HTMLElement | null>).current = internalRef.current;\r\n }\r\n }\r\n }, [ref]);\r\n\r\n return internalRef;\r\n};\r\n"],"names":["useProxiedRef","ref","internalRef","React","current"],"mappings":";;MAEaA,aAAa,GAA2BC,GAAxB;EACzB,MAAMC,WAAW,GAAGC,MAAA,CAAgB,IAAhB,CAApB;EAEAA,SAAA,CAAgB;IACZ,IAAIF,GAAJ,EAAS;MACL,IAAI,OAAOA,GAAP,KAAe,UAAnB,EAA+B;QAC3BA,GAAG,CAACC,WAAW,CAACE,OAAb,CAAH;OADJ,MAEO;QACFH,GAAkD,CAACG,OAAnD,GAA6DF,WAAW,CAACE,OAAzE;;;GALb,EAQG,CAACH,GAAD,CARH;EAUA,OAAOC,WAAP;AACH;;;;"}
|
package/dist/index.d.ts
CHANGED
@@ -43,6 +43,4 @@ export * from './utils/hooks/useBoundingClientRectListener';
|
|
43
43
|
export * from './utils/hooks/useListKeyboardNavigation';
|
44
44
|
export * from './utils/hooks/useOnClickOutside';
|
45
45
|
export * from './utils/hooks/useListScrollTo';
|
46
|
-
export * from './utils/hooks/useProxiedRef';
|
47
|
-
export * from './utils/hooks/useDropTarget';
|
48
46
|
export * from './types';
|
@@ -38,23 +38,6 @@ var PrimitiveSwitch = require('@radix-ui/react-switch');
|
|
38
38
|
var Joyride = require('react-joyride');
|
39
39
|
var Joyride__default = _interopDefault(Joyride);
|
40
40
|
|
41
|
-
function _extends() {
|
42
|
-
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
43
|
-
for (var i = 1; i < arguments.length; i++) {
|
44
|
-
var source = arguments[i];
|
45
|
-
|
46
|
-
for (var key in source) {
|
47
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
48
|
-
target[key] = source[key];
|
49
|
-
}
|
50
|
-
}
|
51
|
-
}
|
52
|
-
|
53
|
-
return target;
|
54
|
-
};
|
55
|
-
return _extends.apply(this, arguments);
|
56
|
-
}
|
57
|
-
|
58
41
|
function _objectWithoutPropertiesLoose(source, excluded) {
|
59
42
|
if (source == null) return {};
|
60
43
|
var target = {};
|
@@ -2076,6 +2059,20 @@ function IconNote(props, svgRef) {
|
|
2076
2059
|
|
2077
2060
|
var Note = /*#__PURE__*/React.forwardRef(IconNote);
|
2078
2061
|
|
2062
|
+
function IconNumbers(props, svgRef) {
|
2063
|
+
return React.createElement("svg", Object.assign({
|
2064
|
+
fill: "none",
|
2065
|
+
xmlns: "http://www.w3.org/2000/svg",
|
2066
|
+
viewBox: "0 0 24 24",
|
2067
|
+
ref: svgRef
|
2068
|
+
}, props), React.createElement("path", {
|
2069
|
+
d: "M3.203 16.625c0 .602.328.96.875.96.555 0 .875-.35.875-.96V7.898c0-.671-.437-1.132-1.078-1.132-.375 0-.742.14-1.273.515L1.125 8.344c-.367.25-.54.508-.54.789 0 .367.282.656.65.656.195 0 .382-.07.663-.266l1.258-.898h.047v8zm4.149.031c0 .516.414.844 1.046.844h5.22c.53 0 .843-.281.843-.734 0-.461-.328-.743-.844-.743H9.648v-.101l2.665-2.953c1.367-1.492 1.812-2.313 1.812-3.36 0-1.742-1.43-2.984-3.422-2.984-2.086 0-3.492 1.375-3.492 2.742 0 .485.312.813.766.813.367 0 .617-.211.804-.657.266-.906.93-1.43 1.82-1.43 1.063 0 1.774.665 1.774 1.657 0 .688-.344 1.313-1.21 2.266l-3.071 3.406c-.563.601-.742.89-.742 1.234zm8.562-1.375c0 1.242 1.555 2.446 3.617 2.446 2.274 0 3.867-1.297 3.867-3.141 0-1.352-.992-2.484-2.296-2.617v-.11c1.078-.171 1.953-1.257 1.953-2.421 0-1.649-1.461-2.813-3.524-2.813-1.984 0-3.414 1.156-3.414 2.39 0 .454.305.766.742.766.344 0 .578-.164.782-.578.367-.742 1.007-1.156 1.851-1.156 1.086 0 1.828.648 1.828 1.61 0 .952-.758 1.64-1.804 1.64h-.813c-.43 0-.726.305-.726.71 0 .423.304.735.726.735h.86c1.25 0 2.085.719 2.085 1.79 0 1.077-.82 1.765-2.093 1.765-.961 0-1.711-.422-2.14-1.188-.25-.414-.47-.57-.782-.57-.422 0-.719.313-.719.742z",
|
2070
|
+
fill: "currentColor"
|
2071
|
+
}));
|
2072
|
+
}
|
2073
|
+
|
2074
|
+
var Numbers = /*#__PURE__*/React.forwardRef(IconNumbers);
|
2075
|
+
|
2079
2076
|
function IconPartnerApi(props, svgRef) {
|
2080
2077
|
return React.createElement("svg", Object.assign({
|
2081
2078
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -3122,6 +3119,7 @@ const icons = {
|
|
3122
3119
|
'note-follow-up': NoteFollowUp,
|
3123
3120
|
'note-read': NoteRead,
|
3124
3121
|
note: Note,
|
3122
|
+
numbers: Numbers,
|
3125
3123
|
'partner-api': PartnerApi,
|
3126
3124
|
period: Period,
|
3127
3125
|
'person-change': PersonChange,
|
@@ -3563,32 +3561,32 @@ var Banner = /*#__PURE__*/React.forwardRef(function Banner(props, ref) {
|
|
3563
3561
|
}) : null);
|
3564
3562
|
});
|
3565
3563
|
|
3566
|
-
|
3567
|
-
|
3568
|
-
|
3569
|
-
|
3570
|
-
|
3571
|
-
|
3564
|
+
const Button$1 = /*#__PURE__*/React.forwardRef(function Button(props, ref) {
|
3565
|
+
const {
|
3566
|
+
fluid,
|
3567
|
+
...otherProps
|
3568
|
+
} = props;
|
3569
|
+
const className = cn(getButtonClasses(), getAppearanceClasses(otherProps.appearance), 'rounded px-3', {
|
3572
3570
|
'cursor-not-allowed opacity-50': props.disabled,
|
3573
3571
|
'focus:yt-focus active:focus:yt-focus': !props.disabled,
|
3574
3572
|
'w-full': fluid
|
3575
3573
|
}, props.className);
|
3576
|
-
|
3574
|
+
let children = otherProps.children; // add a chevron icon to menu buttons
|
3577
3575
|
|
3578
3576
|
if (typeof otherProps.menu === 'function') {
|
3579
|
-
children = Array.isArray(children) ? [
|
3577
|
+
children = Array.isArray(children) ? [...children, React.createElement(Icon, {
|
3580
3578
|
key: "chevron-down",
|
3581
3579
|
name: "chevron-down"
|
3582
|
-
})]
|
3580
|
+
})] : [children, React.createElement(Icon, {
|
3583
3581
|
key: "chevron-down",
|
3584
3582
|
name: "chevron-down"
|
3585
3583
|
})];
|
3586
3584
|
}
|
3587
3585
|
|
3588
|
-
return createButton(
|
3589
|
-
children
|
3586
|
+
return createButton({ ...otherProps,
|
3587
|
+
children,
|
3590
3588
|
'data-taco': 'button'
|
3591
|
-
}
|
3589
|
+
}, className, ref);
|
3592
3590
|
});
|
3593
3591
|
|
3594
3592
|
function useTimer(duration = 0, callback) {
|
@@ -4221,9 +4219,9 @@ const Checkbox = /*#__PURE__*/React.forwardRef(function Checkbox(props, ref) {
|
|
4221
4219
|
return element;
|
4222
4220
|
});
|
4223
4221
|
|
4224
|
-
|
4225
|
-
|
4226
|
-
React.useEffect(
|
4222
|
+
const useProxiedRef = ref => {
|
4223
|
+
const internalRef = React.useRef(null);
|
4224
|
+
React.useEffect(() => {
|
4227
4225
|
if (ref) {
|
4228
4226
|
if (typeof ref === 'function') {
|
4229
4227
|
ref(internalRef.current);
|
@@ -6867,26 +6865,23 @@ const Treeview = /*#__PURE__*/React__default.forwardRef(function Treeview(props,
|
|
6867
6865
|
Treeview.Group = TreeviewGroup;
|
6868
6866
|
Treeview.Item = TreeviewItem;
|
6869
6867
|
|
6870
|
-
|
6871
|
-
|
6872
|
-
|
6873
|
-
setDraggedOver = _React$useState[1];
|
6874
|
-
|
6875
|
-
var handleDragEnter = React__default.useCallback(function (event) {
|
6868
|
+
const useDropTarget = onDrop => {
|
6869
|
+
const [isDraggedOver, setDraggedOver] = React__default.useState(false);
|
6870
|
+
const handleDragEnter = React__default.useCallback(event => {
|
6876
6871
|
event.preventDefault();
|
6877
6872
|
setDraggedOver(true);
|
6878
6873
|
}, []);
|
6879
|
-
|
6874
|
+
const handleDragLeave = React__default.useCallback(event => {
|
6880
6875
|
event.preventDefault();
|
6881
6876
|
|
6882
6877
|
if (event.target === event.currentTarget) {
|
6883
6878
|
setDraggedOver(false);
|
6884
6879
|
}
|
6885
6880
|
}, []);
|
6886
|
-
|
6881
|
+
const handleDragOver = React__default.useCallback(event => {
|
6887
6882
|
event.preventDefault();
|
6888
6883
|
}, []);
|
6889
|
-
|
6884
|
+
const handleDrop = React__default.useCallback(event => {
|
6890
6885
|
event.preventDefault();
|
6891
6886
|
event.persist();
|
6892
6887
|
setDraggedOver(false);
|
@@ -6895,7 +6890,7 @@ var useDropTarget = function useDropTarget(onDrop) {
|
|
6895
6890
|
onDrop(event);
|
6896
6891
|
}
|
6897
6892
|
}, [onDrop]);
|
6898
|
-
|
6893
|
+
const props = onDrop ? {
|
6899
6894
|
onDragEnter: handleDragEnter,
|
6900
6895
|
onDragLeave: handleDragLeave,
|
6901
6896
|
onDragOver: handleDragOver,
|
@@ -9510,13 +9505,11 @@ exports.parseFromISOString = parseFromISOString;
|
|
9510
9505
|
exports.removeChildTableRow = removeChildTableRow;
|
9511
9506
|
exports.setByRowIndexPath = setByRowIndexPath;
|
9512
9507
|
exports.useBoundingClientRectListener = useBoundingClientRectListener;
|
9513
|
-
exports.useDropTarget = useDropTarget;
|
9514
9508
|
exports.useListKeyboardNavigation = useListKeyboardNavigation;
|
9515
9509
|
exports.useListScrollTo = useListScrollTo;
|
9516
9510
|
exports.useLocalization = useLocalization;
|
9517
9511
|
exports.useOnClickOutside = useOnClickOutside;
|
9518
9512
|
exports.usePagination = usePagination;
|
9519
|
-
exports.useProxiedRef = useProxiedRef;
|
9520
9513
|
exports.useRadioGroup = useRadioGroup;
|
9521
9514
|
exports.useTableRowCreation = useTableRowCreation;
|
9522
9515
|
exports.useTaco = useTaco;
|