@flusys/ng-ui 8.0.0 → 8.0.2

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.
@@ -1,7 +1,8 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { signal, Service, makeEnvironmentProviders, provideAppInitializer, inject, PLATFORM_ID, input, booleanAttribute, computed, Component, output, contentChild, viewChild, effect, ElementRef, Directive, numberAttribute, afterNextRender, TemplateRef, contentChildren, DestroyRef, untracked, forwardRef, model, viewChildren, Renderer2, InjectionToken, Injector, SecurityContext } from '@angular/core';
3
3
  import { isPlatformBrowser, NgTemplateOutlet, DOCUMENT, NgComponentOutlet } from '@angular/common';
4
- import { LucideAlertCircle, LucideAlertTriangle, LucideAlignLeft, LucideAnchor, LucideAppWindow, LucideArrowDown, LucideArrowDownRight, LucideArrowLeft, LucideArrowRight, LucideArrowUp, LucideArrowUpRight, LucideBadge, LucideBadgeCheck, LucideBan, LucideBell, LucideBellOff, LucideBold, LucideBolt, LucideBook, LucideBriefcase, LucideBuilding, LucideBuilding2, LucideCalculator, LucideCalendar, LucideCarrot, LucideChartBar, LucideChartColumn, LucideChartLine, LucideCheck, LucideCheckCircle, LucideCheckSquare, LucideChevronDown, LucideChevronLeft, LucideChevronRight, LucideChevronUp, LucideChevronsDown, LucideChevronsLeft, LucideChevronsRight, LucideChevronsUp, LucideCircle, LucideClock, LucideCloud, LucideCloudUpload, LucideCode, LucideCog, LucideColumns, LucideCommand, LucideContainer, LucideContrast, LucideCookie, LucideCopy, LucideCurrency, LucideDatabase, LucideDelete, LucideDivide, LucideDollarSign, LucideDownload, LucideEllipse, LucideEllipsisVertical, LucideEraser, LucideExternalLink, LucideEye, LucideEyeOff, LucideFile, LucideFileEdit, LucideFilePen, LucideFileSpreadsheet, LucideFileType, LucideFiles, LucideFilter, LucideFocus, LucideFolder, LucideFolderOpen, LucideFolders, LucideForm, LucideGhost, LucideGlobe, LucideGrid, LucideGroup, LucideHeart, LucideHelpCircle, LucideHistory, LucideHome, LucideImage, LucideImageOff, LucideInbox, LucideInfo, LucideItalic, LucideKey, LucideLanguages, LucideLayout, LucideLayoutGrid, LucideLayoutPanelTop, LucideLink, LucideList, LucideListCheck, LucideListChecks, LucideListOrdered, LucideLoader, LucideLoaderCircle, LucideLock, LucideLogIn, LucideLogOut, LucideMail, LucideMapPin, LucideMaximize2, LucideMenu, LucideMessageCircle, LucideMinus, LucideMinusCircle, LucideMonitor, LucideMoon, LucideMoveHorizontal, LucideNavigation, LucideNetwork, LucideOption, LucidePalette, LucidePen, LucidePencil, LucidePercent, LucidePhone, LucidePin, LucidePlay, LucidePlus, LucidePlusCircle, LucidePresentation, LucideQuote, LucideRadar, LucideRadio, LucideRadius, LucideRedo, LucideRefreshCw, LucideReply, LucideRocket, LucideRose, LucideRotateCcw, LucideRotateCw, LucideRows, LucideSave, LucideScroll, LucideSearch, LucideSection, LucideSend, LucideServer, LucideSettings, LucideShield, LucideSidebar, LucideSlidersHorizontal, LucideSmartphone, LucideSparkles, LucideSquare, LucideSquareStack, LucideStar, LucideStars, LucideStone, LucideSun, LucideTable, LucideTable2, LucideTablet, LucideTag, LucideTags, LucideTarget, LucideText, LucideTrash, LucideTrash2, LucideType, LucideUnderline, LucideUndo, LucideUpload, LucideUser, LucideUsers, LucideVerified, LucideVideo, LucideVolume2, LucideX, LucideXCircle, LucideZap, LucideZoomIn, LucideZoomOut, LucideDynamicIcon, provideLucideIcons } from '@lucide/angular';
4
+ import * as lucideNamespace from '@lucide/angular';
5
+ import { isLucideIconComponent, LucideDynamicIcon, provideLucideIcons } from '@lucide/angular';
5
6
  import * as i1 from '@angular/forms';
6
7
  import { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
7
8
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
@@ -799,53 +800,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImpor
799
800
  }]
800
801
  }], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], severity: [{ type: i0.Input, args: [{ isSignal: true, alias: "severity", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], styleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleClass", required: false }] }], style: [{ type: i0.Input, args: [{ isSignal: true, alias: "style", required: false }] }] } });
801
802
 
802
- const allLucideIcons = [
803
- LucideAlertCircle, LucideAlertTriangle, LucideAlignLeft, LucideAnchor,
804
- LucideAppWindow, LucideArrowDown, LucideArrowDownRight, LucideArrowLeft,
805
- LucideArrowRight, LucideArrowUp, LucideArrowUpRight, LucideBadge,
806
- LucideBadgeCheck, LucideBan, LucideBell, LucideBellOff,
807
- LucideBold, LucideBolt, LucideBook, LucideBriefcase,
808
- LucideBuilding, LucideBuilding2, LucideCalculator, LucideCalendar,
809
- LucideCarrot, LucideChartBar, LucideChartColumn, LucideChartLine,
810
- LucideCheck, LucideCheckCircle, LucideCheckSquare, LucideChevronDown,
811
- LucideChevronLeft, LucideChevronRight, LucideChevronUp, LucideChevronsDown,
812
- LucideChevronsLeft, LucideChevronsRight, LucideChevronsUp, LucideCircle,
813
- LucideClock, LucideCloud, LucideCloudUpload, LucideCode,
814
- LucideCog, LucideColumns, LucideCommand, LucideContainer,
815
- LucideContrast, LucideCookie, LucideCopy, LucideCurrency,
816
- LucideDatabase, LucideDelete, LucideDivide, LucideDollarSign,
817
- LucideDownload, LucideEllipse, LucideEllipsisVertical, LucideEraser,
818
- LucideExternalLink, LucideEye, LucideEyeOff, LucideFile,
819
- LucideFileEdit, LucideFilePen, LucideFileSpreadsheet, LucideFileType,
820
- LucideFiles, LucideFilter, LucideFocus, LucideFolder,
821
- LucideFolderOpen, LucideFolders, LucideForm, LucideGhost,
822
- LucideGlobe, LucideGrid, LucideGroup, LucideHeart,
823
- LucideHelpCircle, LucideHistory, LucideHome, LucideImage,
824
- LucideImageOff, LucideInbox, LucideInfo, LucideItalic,
825
- LucideKey, LucideLanguages, LucideLayout, LucideLayoutGrid,
826
- LucideLayoutPanelTop, LucideLink, LucideList, LucideListCheck,
827
- LucideListChecks, LucideListOrdered, LucideLoader, LucideLoaderCircle,
828
- LucideLock, LucideLogIn, LucideLogOut, LucideMail,
829
- LucideMapPin, LucideMaximize2, LucideMenu, LucideMessageCircle,
830
- LucideMinus, LucideMinusCircle, LucideMonitor, LucideMoon,
831
- LucideMoveHorizontal, LucideNavigation, LucideNetwork, LucideOption,
832
- LucidePalette, LucidePen, LucidePencil, LucidePercent,
833
- LucidePhone, LucidePin, LucidePlay, LucidePlus,
834
- LucidePlusCircle, LucidePresentation, LucideQuote, LucideRadar,
835
- LucideRadio, LucideRadius, LucideRedo, LucideRefreshCw,
836
- LucideReply, LucideRocket, LucideRose, LucideRotateCcw,
837
- LucideRotateCw, LucideRows, LucideSave, LucideScroll,
838
- LucideSearch, LucideSection, LucideSend, LucideServer,
839
- LucideSettings, LucideShield, LucideSidebar, LucideSlidersHorizontal,
840
- LucideSmartphone, LucideSparkles, LucideSquare, LucideSquareStack,
841
- LucideStar, LucideStars, LucideStone, LucideSun,
842
- LucideTable, LucideTable2, LucideTablet, LucideTag,
843
- LucideTags, LucideTarget, LucideText, LucideTrash,
844
- LucideTrash2, LucideType, LucideUnderline, LucideUndo,
845
- LucideUpload, LucideUser, LucideUsers, LucideVerified,
846
- LucideVideo, LucideVolume2, LucideX, LucideXCircle,
847
- LucideZap, LucideZoomIn, LucideZoomOut,
848
- ];
803
+ // `filter`'s type-guard overload can't narrow a ~1700-member union of exact
804
+ // icon-class types against the broader `LucideIcon` interface, so the guard
805
+ // still runs at runtime but the result needs an explicit cast.
806
+ const allLucideIcons = Object.values(lucideNamespace).filter(isLucideIconComponent);
849
807
  const PI_TO_LUCIDE = {
850
808
  'align-left': 'align-left',
851
809
  'angle-double-left': 'chevrons-left',