@genarou/blazir-icons 1.1.1 → 1.1.3

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.
@@ -19,7 +19,6 @@
19
19
  });
20
20
  </script>
21
21
 
22
- // 📁 src/lib/DynamicIcon.svelte - Componente que usa el registry
23
22
  {#if IconComponent}
24
23
  <IconComponent {...iconProps} />
25
24
  {:else}
package/dist/Icon.svelte CHANGED
@@ -23,15 +23,27 @@
23
23
  titleId = $bindable(""),
24
24
  testId = $bindable(undefined),
25
25
  attrs = $bindable({}),
26
+ animationDuration = $bindable(undefined),
27
+ animationDelay = $bindable(undefined),
28
+ animationEasing = $bindable(undefined),
29
+ ...restProps
26
30
  }: { name: IconName } & Partial<IconProps> = $props();
27
31
 
28
- // Componente dinámico
29
32
  const Comp = $derived(iconRegistry[name]);
30
33
 
31
- // Props a pasar - con lógica mejorada para color
32
- const passProps: Partial<IconProps> = $derived({
34
+ // Normalizar valores de animación
35
+ function normalizeAnimationValue(
36
+ value: number | string | undefined
37
+ ): string | undefined {
38
+ if (typeof value === "number") {
39
+ return `${value}ms`;
40
+ }
41
+ return value;
42
+ }
43
+
44
+ // Props a pasar - obteniendo valores directamente, no funciones derivadas
45
+ const passProps = $derived(() => ({
33
46
  size,
34
- // Si se pasa color, override fill y stroke para asegurar que funcione
35
47
  color,
36
48
  stroke: color ? (stroke ?? "none") : stroke,
37
49
  fill: color ? (fill ?? color) : fill,
@@ -49,7 +61,12 @@
49
61
  titleId,
50
62
  testId,
51
63
  attrs,
52
- });
64
+ // Normalizar las propiedades de animación
65
+ animationDuration: normalizeAnimationValue(animationDuration),
66
+ animationDelay: normalizeAnimationValue(animationDelay),
67
+ animationEasing,
68
+ ...restProps,
69
+ }));
53
70
  </script>
54
71
 
55
72
  {#if Comp}
@@ -3,6 +3,6 @@ import type { IconProps } from "./types";
3
3
  type $$ComponentProps = {
4
4
  name: IconName;
5
5
  } & Partial<IconProps>;
6
- declare const Icon: import("svelte").Component<$$ComponentProps, {}, "size" | "stroke" | "strokeWidth" | "fill" | "className" | "ariaLabel" | "title" | "rotate" | "flipH" | "flipV" | "spin" | "color" | "nonScalingStroke" | "preserveAspectRatio" | "decorative" | "titleId" | "testId" | "attrs">;
6
+ declare const Icon: import("svelte").Component<$$ComponentProps, {}, "size" | "stroke" | "strokeWidth" | "fill" | "className" | "ariaLabel" | "title" | "rotate" | "flipH" | "flipV" | "spin" | "color" | "nonScalingStroke" | "preserveAspectRatio" | "decorative" | "titleId" | "testId" | "attrs" | "animationDuration" | "animationDelay" | "animationEasing">;
7
7
  type Icon = ReturnType<typeof Icon>;
8
8
  export default Icon;
@@ -55,7 +55,6 @@
55
55
  );
56
56
  </script>
57
57
 
58
- // 📁 src/lib/Icon.svelte
59
58
  <svg
60
59
  xmlns="http://www.w3.org/2000/svg"
61
60
  width={typeof common.size === "number" ? `${common.size}px` : common.size}
@@ -0,0 +1,109 @@
1
+ import { IconComponent, IconName } from "./icons/registry";
2
+ export declare const bzIcons: Record<string, IconName>;
3
+ export declare class IconAPI {
4
+ static getValid(...names: string[]): Array<{
5
+ iconName: IconName;
6
+ component: IconComponent;
7
+ }>;
8
+ static search(query: string): Array<{
9
+ key: string;
10
+ iconName: IconName;
11
+ component: IconComponent;
12
+ }>;
13
+ static findByName(name: string): IconName | undefined;
14
+ static getComponent(name: string): IconComponent | undefined;
15
+ static exists(name: string): boolean;
16
+ static getByCategory(category: keyof typeof iconCategories): Array<{
17
+ iconName: IconName;
18
+ component: IconComponent;
19
+ }>;
20
+ static getAllCategories(): Array<keyof typeof iconCategories>;
21
+ static random(): {
22
+ iconName: IconName;
23
+ component: IconComponent;
24
+ };
25
+ static count(): number;
26
+ static list(): Array<{
27
+ key: string;
28
+ iconName: IconName;
29
+ component: IconComponent;
30
+ }>;
31
+ }
32
+ export declare const iconCategories: {
33
+ readonly navigation: readonly ["mainComponent", "home", "dashboard", "settings", "search", "magnifyingGlass", "filterOutline", "hamburguer", "close", "plus"];
34
+ readonly users: readonly ["user", "userTie", "team", "group", "supervisor", "enterprise", "lock", "lockOpen", "key", "logout", "eye", "eyeOff"];
35
+ readonly communication: readonly ["email", "emailAnimated", "phone", "bell"];
36
+ readonly business: readonly ["building", "handShake", "money", "wallet", "safeSolid", "costIcon", "exchange", "swap"];
37
+ readonly data: readonly ["chart", "chartDoc", "squareChart", "table", "list", "listDots", "formatListGroup"];
38
+ readonly files: readonly ["file", "pdf", "excel", "excelAnimated", "notes", "book", "image", "imageAnimated"];
39
+ readonly calendar: readonly ["calendar", "calendarPlus", "calendarEdit"];
40
+ readonly arrows: readonly ["rightArrow", "upArrow", "upDownArrow", "animatedArrowLeft", "chevronDown", "chevronUpDown"];
41
+ readonly actions: readonly ["download", "downloadAnimated", "upload", "uploadAnimated", "uploadLoader", "fileUpdateAnimated"];
42
+ readonly feedback: readonly ["check", "checkO", "circleCheck", "error", "errorO", "circleExclamation", "warning", "circleInfo", "circleQuestion"];
43
+ readonly loading: readonly ["loadingDots", "loadingRegular", "loadingSquares"];
44
+ readonly commerce: readonly ["product", "bag", "pointSale", "categoryAdd", "categorySearch", "boxAdd", "measure"];
45
+ readonly logistics: readonly ["truck", "truckReturn", "warehouse", "location", "locationAnimated"];
46
+ readonly tools: readonly ["editOutline", "trash", "trashOutline", "scan", "security"];
47
+ readonly tech: readonly ["google", "aws", "golang"];
48
+ readonly entities: readonly ["objectGroup", "project"];
49
+ };
50
+ export declare const iconShortcuts: {
51
+ readonly nav: {
52
+ readonly home: "close" | "check" | "email" | "user" | "enterprise" | "chevronUpDown" | "chevronDown" | "wallet" | "truck" | "upArrow" | "userTie" | "upDownArrow" | "trash" | "trashOutline" | "truckReturn" | "team" | "table" | "swap" | "supervisor" | "search" | "scan" | "settings" | "safeSolid" | "rightArrow" | "product" | "pointSale" | "plus" | "pdf" | "notes" | "measure" | "mainComponent" | "logout" | "loadingDots" | "listDots" | "list" | "lock" | "objectGroup" | "key" | "handShake" | "hamburguer" | "google" | "golang" | "filterOutline" | "excel" | "download" | "dashboard" | "costIcon" | "circleCheck" | "circleExclamation" | "circleQuestion" | "circleInfo" | "chartDoc" | "chart" | "categorySearch" | "categoryAdd" | "calendar" | "building" | "book" | "home" | "boxAdd" | "bell" | "bag" | "animatedArrowLeft" | "aws" | "checkO" | "error" | "errorO" | "warning" | "warehouse" | "project" | "group" | "magnifyingGlass" | "formatListGroup" | "editOutline" | "security" | "money" | "calendarEdit" | "calendarPlus" | "lockOpen" | "eye" | "eyeOff" | "loadingRegular" | "loadingSquares" | "phone" | "exchange" | "image" | "imageAnimated" | "file" | "fileUpdateAnimated" | "excelAnimated" | "location" | "locationAnimated" | "squareChart" | "upload" | "uploadAnimated" | "uploadLoader" | "downloadAnimated" | "emailAnimated";
53
+ readonly dashboard: "close" | "check" | "email" | "user" | "enterprise" | "chevronUpDown" | "chevronDown" | "wallet" | "truck" | "upArrow" | "userTie" | "upDownArrow" | "trash" | "trashOutline" | "truckReturn" | "team" | "table" | "swap" | "supervisor" | "search" | "scan" | "settings" | "safeSolid" | "rightArrow" | "product" | "pointSale" | "plus" | "pdf" | "notes" | "measure" | "mainComponent" | "logout" | "loadingDots" | "listDots" | "list" | "lock" | "objectGroup" | "key" | "handShake" | "hamburguer" | "google" | "golang" | "filterOutline" | "excel" | "download" | "dashboard" | "costIcon" | "circleCheck" | "circleExclamation" | "circleQuestion" | "circleInfo" | "chartDoc" | "chart" | "categorySearch" | "categoryAdd" | "calendar" | "building" | "book" | "home" | "boxAdd" | "bell" | "bag" | "animatedArrowLeft" | "aws" | "checkO" | "error" | "errorO" | "warning" | "warehouse" | "project" | "group" | "magnifyingGlass" | "formatListGroup" | "editOutline" | "security" | "money" | "calendarEdit" | "calendarPlus" | "lockOpen" | "eye" | "eyeOff" | "loadingRegular" | "loadingSquares" | "phone" | "exchange" | "image" | "imageAnimated" | "file" | "fileUpdateAnimated" | "excelAnimated" | "location" | "locationAnimated" | "squareChart" | "upload" | "uploadAnimated" | "uploadLoader" | "downloadAnimated" | "emailAnimated";
54
+ readonly settings: "close" | "check" | "email" | "user" | "enterprise" | "chevronUpDown" | "chevronDown" | "wallet" | "truck" | "upArrow" | "userTie" | "upDownArrow" | "trash" | "trashOutline" | "truckReturn" | "team" | "table" | "swap" | "supervisor" | "search" | "scan" | "settings" | "safeSolid" | "rightArrow" | "product" | "pointSale" | "plus" | "pdf" | "notes" | "measure" | "mainComponent" | "logout" | "loadingDots" | "listDots" | "list" | "lock" | "objectGroup" | "key" | "handShake" | "hamburguer" | "google" | "golang" | "filterOutline" | "excel" | "download" | "dashboard" | "costIcon" | "circleCheck" | "circleExclamation" | "circleQuestion" | "circleInfo" | "chartDoc" | "chart" | "categorySearch" | "categoryAdd" | "calendar" | "building" | "book" | "home" | "boxAdd" | "bell" | "bag" | "animatedArrowLeft" | "aws" | "checkO" | "error" | "errorO" | "warning" | "warehouse" | "project" | "group" | "magnifyingGlass" | "formatListGroup" | "editOutline" | "security" | "money" | "calendarEdit" | "calendarPlus" | "lockOpen" | "eye" | "eyeOff" | "loadingRegular" | "loadingSquares" | "phone" | "exchange" | "image" | "imageAnimated" | "file" | "fileUpdateAnimated" | "excelAnimated" | "location" | "locationAnimated" | "squareChart" | "upload" | "uploadAnimated" | "uploadLoader" | "downloadAnimated" | "emailAnimated";
55
+ readonly menu: "close" | "check" | "email" | "user" | "enterprise" | "chevronUpDown" | "chevronDown" | "wallet" | "truck" | "upArrow" | "userTie" | "upDownArrow" | "trash" | "trashOutline" | "truckReturn" | "team" | "table" | "swap" | "supervisor" | "search" | "scan" | "settings" | "safeSolid" | "rightArrow" | "product" | "pointSale" | "plus" | "pdf" | "notes" | "measure" | "mainComponent" | "logout" | "loadingDots" | "listDots" | "list" | "lock" | "objectGroup" | "key" | "handShake" | "hamburguer" | "google" | "golang" | "filterOutline" | "excel" | "download" | "dashboard" | "costIcon" | "circleCheck" | "circleExclamation" | "circleQuestion" | "circleInfo" | "chartDoc" | "chart" | "categorySearch" | "categoryAdd" | "calendar" | "building" | "book" | "home" | "boxAdd" | "bell" | "bag" | "animatedArrowLeft" | "aws" | "checkO" | "error" | "errorO" | "warning" | "warehouse" | "project" | "group" | "magnifyingGlass" | "formatListGroup" | "editOutline" | "security" | "money" | "calendarEdit" | "calendarPlus" | "lockOpen" | "eye" | "eyeOff" | "loadingRegular" | "loadingSquares" | "phone" | "exchange" | "image" | "imageAnimated" | "file" | "fileUpdateAnimated" | "excelAnimated" | "location" | "locationAnimated" | "squareChart" | "upload" | "uploadAnimated" | "uploadLoader" | "downloadAnimated" | "emailAnimated";
56
+ readonly close: "close" | "check" | "email" | "user" | "enterprise" | "chevronUpDown" | "chevronDown" | "wallet" | "truck" | "upArrow" | "userTie" | "upDownArrow" | "trash" | "trashOutline" | "truckReturn" | "team" | "table" | "swap" | "supervisor" | "search" | "scan" | "settings" | "safeSolid" | "rightArrow" | "product" | "pointSale" | "plus" | "pdf" | "notes" | "measure" | "mainComponent" | "logout" | "loadingDots" | "listDots" | "list" | "lock" | "objectGroup" | "key" | "handShake" | "hamburguer" | "google" | "golang" | "filterOutline" | "excel" | "download" | "dashboard" | "costIcon" | "circleCheck" | "circleExclamation" | "circleQuestion" | "circleInfo" | "chartDoc" | "chart" | "categorySearch" | "categoryAdd" | "calendar" | "building" | "book" | "home" | "boxAdd" | "bell" | "bag" | "animatedArrowLeft" | "aws" | "checkO" | "error" | "errorO" | "warning" | "warehouse" | "project" | "group" | "magnifyingGlass" | "formatListGroup" | "editOutline" | "security" | "money" | "calendarEdit" | "calendarPlus" | "lockOpen" | "eye" | "eyeOff" | "loadingRegular" | "loadingSquares" | "phone" | "exchange" | "image" | "imageAnimated" | "file" | "fileUpdateAnimated" | "excelAnimated" | "location" | "locationAnimated" | "squareChart" | "upload" | "uploadAnimated" | "uploadLoader" | "downloadAnimated" | "emailAnimated";
57
+ readonly search: "close" | "check" | "email" | "user" | "enterprise" | "chevronUpDown" | "chevronDown" | "wallet" | "truck" | "upArrow" | "userTie" | "upDownArrow" | "trash" | "trashOutline" | "truckReturn" | "team" | "table" | "swap" | "supervisor" | "search" | "scan" | "settings" | "safeSolid" | "rightArrow" | "product" | "pointSale" | "plus" | "pdf" | "notes" | "measure" | "mainComponent" | "logout" | "loadingDots" | "listDots" | "list" | "lock" | "objectGroup" | "key" | "handShake" | "hamburguer" | "google" | "golang" | "filterOutline" | "excel" | "download" | "dashboard" | "costIcon" | "circleCheck" | "circleExclamation" | "circleQuestion" | "circleInfo" | "chartDoc" | "chart" | "categorySearch" | "categoryAdd" | "calendar" | "building" | "book" | "home" | "boxAdd" | "bell" | "bag" | "animatedArrowLeft" | "aws" | "checkO" | "error" | "errorO" | "warning" | "warehouse" | "project" | "group" | "magnifyingGlass" | "formatListGroup" | "editOutline" | "security" | "money" | "calendarEdit" | "calendarPlus" | "lockOpen" | "eye" | "eyeOff" | "loadingRegular" | "loadingSquares" | "phone" | "exchange" | "image" | "imageAnimated" | "file" | "fileUpdateAnimated" | "excelAnimated" | "location" | "locationAnimated" | "squareChart" | "upload" | "uploadAnimated" | "uploadLoader" | "downloadAnimated" | "emailAnimated";
58
+ };
59
+ readonly user: {
60
+ readonly profile: "close" | "check" | "email" | "user" | "enterprise" | "chevronUpDown" | "chevronDown" | "wallet" | "truck" | "upArrow" | "userTie" | "upDownArrow" | "trash" | "trashOutline" | "truckReturn" | "team" | "table" | "swap" | "supervisor" | "search" | "scan" | "settings" | "safeSolid" | "rightArrow" | "product" | "pointSale" | "plus" | "pdf" | "notes" | "measure" | "mainComponent" | "logout" | "loadingDots" | "listDots" | "list" | "lock" | "objectGroup" | "key" | "handShake" | "hamburguer" | "google" | "golang" | "filterOutline" | "excel" | "download" | "dashboard" | "costIcon" | "circleCheck" | "circleExclamation" | "circleQuestion" | "circleInfo" | "chartDoc" | "chart" | "categorySearch" | "categoryAdd" | "calendar" | "building" | "book" | "home" | "boxAdd" | "bell" | "bag" | "animatedArrowLeft" | "aws" | "checkO" | "error" | "errorO" | "warning" | "warehouse" | "project" | "group" | "magnifyingGlass" | "formatListGroup" | "editOutline" | "security" | "money" | "calendarEdit" | "calendarPlus" | "lockOpen" | "eye" | "eyeOff" | "loadingRegular" | "loadingSquares" | "phone" | "exchange" | "image" | "imageAnimated" | "file" | "fileUpdateAnimated" | "excelAnimated" | "location" | "locationAnimated" | "squareChart" | "upload" | "uploadAnimated" | "uploadLoader" | "downloadAnimated" | "emailAnimated";
61
+ readonly team: "close" | "check" | "email" | "user" | "enterprise" | "chevronUpDown" | "chevronDown" | "wallet" | "truck" | "upArrow" | "userTie" | "upDownArrow" | "trash" | "trashOutline" | "truckReturn" | "team" | "table" | "swap" | "supervisor" | "search" | "scan" | "settings" | "safeSolid" | "rightArrow" | "product" | "pointSale" | "plus" | "pdf" | "notes" | "measure" | "mainComponent" | "logout" | "loadingDots" | "listDots" | "list" | "lock" | "objectGroup" | "key" | "handShake" | "hamburguer" | "google" | "golang" | "filterOutline" | "excel" | "download" | "dashboard" | "costIcon" | "circleCheck" | "circleExclamation" | "circleQuestion" | "circleInfo" | "chartDoc" | "chart" | "categorySearch" | "categoryAdd" | "calendar" | "building" | "book" | "home" | "boxAdd" | "bell" | "bag" | "animatedArrowLeft" | "aws" | "checkO" | "error" | "errorO" | "warning" | "warehouse" | "project" | "group" | "magnifyingGlass" | "formatListGroup" | "editOutline" | "security" | "money" | "calendarEdit" | "calendarPlus" | "lockOpen" | "eye" | "eyeOff" | "loadingRegular" | "loadingSquares" | "phone" | "exchange" | "image" | "imageAnimated" | "file" | "fileUpdateAnimated" | "excelAnimated" | "location" | "locationAnimated" | "squareChart" | "upload" | "uploadAnimated" | "uploadLoader" | "downloadAnimated" | "emailAnimated";
62
+ readonly client: "close" | "check" | "email" | "user" | "enterprise" | "chevronUpDown" | "chevronDown" | "wallet" | "truck" | "upArrow" | "userTie" | "upDownArrow" | "trash" | "trashOutline" | "truckReturn" | "team" | "table" | "swap" | "supervisor" | "search" | "scan" | "settings" | "safeSolid" | "rightArrow" | "product" | "pointSale" | "plus" | "pdf" | "notes" | "measure" | "mainComponent" | "logout" | "loadingDots" | "listDots" | "list" | "lock" | "objectGroup" | "key" | "handShake" | "hamburguer" | "google" | "golang" | "filterOutline" | "excel" | "download" | "dashboard" | "costIcon" | "circleCheck" | "circleExclamation" | "circleQuestion" | "circleInfo" | "chartDoc" | "chart" | "categorySearch" | "categoryAdd" | "calendar" | "building" | "book" | "home" | "boxAdd" | "bell" | "bag" | "animatedArrowLeft" | "aws" | "checkO" | "error" | "errorO" | "warning" | "warehouse" | "project" | "group" | "magnifyingGlass" | "formatListGroup" | "editOutline" | "security" | "money" | "calendarEdit" | "calendarPlus" | "lockOpen" | "eye" | "eyeOff" | "loadingRegular" | "loadingSquares" | "phone" | "exchange" | "image" | "imageAnimated" | "file" | "fileUpdateAnimated" | "excelAnimated" | "location" | "locationAnimated" | "squareChart" | "upload" | "uploadAnimated" | "uploadLoader" | "downloadAnimated" | "emailAnimated";
63
+ readonly logout: "close" | "check" | "email" | "user" | "enterprise" | "chevronUpDown" | "chevronDown" | "wallet" | "truck" | "upArrow" | "userTie" | "upDownArrow" | "trash" | "trashOutline" | "truckReturn" | "team" | "table" | "swap" | "supervisor" | "search" | "scan" | "settings" | "safeSolid" | "rightArrow" | "product" | "pointSale" | "plus" | "pdf" | "notes" | "measure" | "mainComponent" | "logout" | "loadingDots" | "listDots" | "list" | "lock" | "objectGroup" | "key" | "handShake" | "hamburguer" | "google" | "golang" | "filterOutline" | "excel" | "download" | "dashboard" | "costIcon" | "circleCheck" | "circleExclamation" | "circleQuestion" | "circleInfo" | "chartDoc" | "chart" | "categorySearch" | "categoryAdd" | "calendar" | "building" | "book" | "home" | "boxAdd" | "bell" | "bag" | "animatedArrowLeft" | "aws" | "checkO" | "error" | "errorO" | "warning" | "warehouse" | "project" | "group" | "magnifyingGlass" | "formatListGroup" | "editOutline" | "security" | "money" | "calendarEdit" | "calendarPlus" | "lockOpen" | "eye" | "eyeOff" | "loadingRegular" | "loadingSquares" | "phone" | "exchange" | "image" | "imageAnimated" | "file" | "fileUpdateAnimated" | "excelAnimated" | "location" | "locationAnimated" | "squareChart" | "upload" | "uploadAnimated" | "uploadLoader" | "downloadAnimated" | "emailAnimated";
64
+ readonly login: "close" | "check" | "email" | "user" | "enterprise" | "chevronUpDown" | "chevronDown" | "wallet" | "truck" | "upArrow" | "userTie" | "upDownArrow" | "trash" | "trashOutline" | "truckReturn" | "team" | "table" | "swap" | "supervisor" | "search" | "scan" | "settings" | "safeSolid" | "rightArrow" | "product" | "pointSale" | "plus" | "pdf" | "notes" | "measure" | "mainComponent" | "logout" | "loadingDots" | "listDots" | "list" | "lock" | "objectGroup" | "key" | "handShake" | "hamburguer" | "google" | "golang" | "filterOutline" | "excel" | "download" | "dashboard" | "costIcon" | "circleCheck" | "circleExclamation" | "circleQuestion" | "circleInfo" | "chartDoc" | "chart" | "categorySearch" | "categoryAdd" | "calendar" | "building" | "book" | "home" | "boxAdd" | "bell" | "bag" | "animatedArrowLeft" | "aws" | "checkO" | "error" | "errorO" | "warning" | "warehouse" | "project" | "group" | "magnifyingGlass" | "formatListGroup" | "editOutline" | "security" | "money" | "calendarEdit" | "calendarPlus" | "lockOpen" | "eye" | "eyeOff" | "loadingRegular" | "loadingSquares" | "phone" | "exchange" | "image" | "imageAnimated" | "file" | "fileUpdateAnimated" | "excelAnimated" | "location" | "locationAnimated" | "squareChart" | "upload" | "uploadAnimated" | "uploadLoader" | "downloadAnimated" | "emailAnimated";
65
+ };
66
+ readonly action: {
67
+ readonly add: "close" | "check" | "email" | "user" | "enterprise" | "chevronUpDown" | "chevronDown" | "wallet" | "truck" | "upArrow" | "userTie" | "upDownArrow" | "trash" | "trashOutline" | "truckReturn" | "team" | "table" | "swap" | "supervisor" | "search" | "scan" | "settings" | "safeSolid" | "rightArrow" | "product" | "pointSale" | "plus" | "pdf" | "notes" | "measure" | "mainComponent" | "logout" | "loadingDots" | "listDots" | "list" | "lock" | "objectGroup" | "key" | "handShake" | "hamburguer" | "google" | "golang" | "filterOutline" | "excel" | "download" | "dashboard" | "costIcon" | "circleCheck" | "circleExclamation" | "circleQuestion" | "circleInfo" | "chartDoc" | "chart" | "categorySearch" | "categoryAdd" | "calendar" | "building" | "book" | "home" | "boxAdd" | "bell" | "bag" | "animatedArrowLeft" | "aws" | "checkO" | "error" | "errorO" | "warning" | "warehouse" | "project" | "group" | "magnifyingGlass" | "formatListGroup" | "editOutline" | "security" | "money" | "calendarEdit" | "calendarPlus" | "lockOpen" | "eye" | "eyeOff" | "loadingRegular" | "loadingSquares" | "phone" | "exchange" | "image" | "imageAnimated" | "file" | "fileUpdateAnimated" | "excelAnimated" | "location" | "locationAnimated" | "squareChart" | "upload" | "uploadAnimated" | "uploadLoader" | "downloadAnimated" | "emailAnimated";
68
+ readonly edit: "close" | "check" | "email" | "user" | "enterprise" | "chevronUpDown" | "chevronDown" | "wallet" | "truck" | "upArrow" | "userTie" | "upDownArrow" | "trash" | "trashOutline" | "truckReturn" | "team" | "table" | "swap" | "supervisor" | "search" | "scan" | "settings" | "safeSolid" | "rightArrow" | "product" | "pointSale" | "plus" | "pdf" | "notes" | "measure" | "mainComponent" | "logout" | "loadingDots" | "listDots" | "list" | "lock" | "objectGroup" | "key" | "handShake" | "hamburguer" | "google" | "golang" | "filterOutline" | "excel" | "download" | "dashboard" | "costIcon" | "circleCheck" | "circleExclamation" | "circleQuestion" | "circleInfo" | "chartDoc" | "chart" | "categorySearch" | "categoryAdd" | "calendar" | "building" | "book" | "home" | "boxAdd" | "bell" | "bag" | "animatedArrowLeft" | "aws" | "checkO" | "error" | "errorO" | "warning" | "warehouse" | "project" | "group" | "magnifyingGlass" | "formatListGroup" | "editOutline" | "security" | "money" | "calendarEdit" | "calendarPlus" | "lockOpen" | "eye" | "eyeOff" | "loadingRegular" | "loadingSquares" | "phone" | "exchange" | "image" | "imageAnimated" | "file" | "fileUpdateAnimated" | "excelAnimated" | "location" | "locationAnimated" | "squareChart" | "upload" | "uploadAnimated" | "uploadLoader" | "downloadAnimated" | "emailAnimated";
69
+ readonly delete: "close" | "check" | "email" | "user" | "enterprise" | "chevronUpDown" | "chevronDown" | "wallet" | "truck" | "upArrow" | "userTie" | "upDownArrow" | "trash" | "trashOutline" | "truckReturn" | "team" | "table" | "swap" | "supervisor" | "search" | "scan" | "settings" | "safeSolid" | "rightArrow" | "product" | "pointSale" | "plus" | "pdf" | "notes" | "measure" | "mainComponent" | "logout" | "loadingDots" | "listDots" | "list" | "lock" | "objectGroup" | "key" | "handShake" | "hamburguer" | "google" | "golang" | "filterOutline" | "excel" | "download" | "dashboard" | "costIcon" | "circleCheck" | "circleExclamation" | "circleQuestion" | "circleInfo" | "chartDoc" | "chart" | "categorySearch" | "categoryAdd" | "calendar" | "building" | "book" | "home" | "boxAdd" | "bell" | "bag" | "animatedArrowLeft" | "aws" | "checkO" | "error" | "errorO" | "warning" | "warehouse" | "project" | "group" | "magnifyingGlass" | "formatListGroup" | "editOutline" | "security" | "money" | "calendarEdit" | "calendarPlus" | "lockOpen" | "eye" | "eyeOff" | "loadingRegular" | "loadingSquares" | "phone" | "exchange" | "image" | "imageAnimated" | "file" | "fileUpdateAnimated" | "excelAnimated" | "location" | "locationAnimated" | "squareChart" | "upload" | "uploadAnimated" | "uploadLoader" | "downloadAnimated" | "emailAnimated";
70
+ readonly search: "close" | "check" | "email" | "user" | "enterprise" | "chevronUpDown" | "chevronDown" | "wallet" | "truck" | "upArrow" | "userTie" | "upDownArrow" | "trash" | "trashOutline" | "truckReturn" | "team" | "table" | "swap" | "supervisor" | "search" | "scan" | "settings" | "safeSolid" | "rightArrow" | "product" | "pointSale" | "plus" | "pdf" | "notes" | "measure" | "mainComponent" | "logout" | "loadingDots" | "listDots" | "list" | "lock" | "objectGroup" | "key" | "handShake" | "hamburguer" | "google" | "golang" | "filterOutline" | "excel" | "download" | "dashboard" | "costIcon" | "circleCheck" | "circleExclamation" | "circleQuestion" | "circleInfo" | "chartDoc" | "chart" | "categorySearch" | "categoryAdd" | "calendar" | "building" | "book" | "home" | "boxAdd" | "bell" | "bag" | "animatedArrowLeft" | "aws" | "checkO" | "error" | "errorO" | "warning" | "warehouse" | "project" | "group" | "magnifyingGlass" | "formatListGroup" | "editOutline" | "security" | "money" | "calendarEdit" | "calendarPlus" | "lockOpen" | "eye" | "eyeOff" | "loadingRegular" | "loadingSquares" | "phone" | "exchange" | "image" | "imageAnimated" | "file" | "fileUpdateAnimated" | "excelAnimated" | "location" | "locationAnimated" | "squareChart" | "upload" | "uploadAnimated" | "uploadLoader" | "downloadAnimated" | "emailAnimated";
71
+ readonly filter: "close" | "check" | "email" | "user" | "enterprise" | "chevronUpDown" | "chevronDown" | "wallet" | "truck" | "upArrow" | "userTie" | "upDownArrow" | "trash" | "trashOutline" | "truckReturn" | "team" | "table" | "swap" | "supervisor" | "search" | "scan" | "settings" | "safeSolid" | "rightArrow" | "product" | "pointSale" | "plus" | "pdf" | "notes" | "measure" | "mainComponent" | "logout" | "loadingDots" | "listDots" | "list" | "lock" | "objectGroup" | "key" | "handShake" | "hamburguer" | "google" | "golang" | "filterOutline" | "excel" | "download" | "dashboard" | "costIcon" | "circleCheck" | "circleExclamation" | "circleQuestion" | "circleInfo" | "chartDoc" | "chart" | "categorySearch" | "categoryAdd" | "calendar" | "building" | "book" | "home" | "boxAdd" | "bell" | "bag" | "animatedArrowLeft" | "aws" | "checkO" | "error" | "errorO" | "warning" | "warehouse" | "project" | "group" | "magnifyingGlass" | "formatListGroup" | "editOutline" | "security" | "money" | "calendarEdit" | "calendarPlus" | "lockOpen" | "eye" | "eyeOff" | "loadingRegular" | "loadingSquares" | "phone" | "exchange" | "image" | "imageAnimated" | "file" | "fileUpdateAnimated" | "excelAnimated" | "location" | "locationAnimated" | "squareChart" | "upload" | "uploadAnimated" | "uploadLoader" | "downloadAnimated" | "emailAnimated";
72
+ readonly upload: "close" | "check" | "email" | "user" | "enterprise" | "chevronUpDown" | "chevronDown" | "wallet" | "truck" | "upArrow" | "userTie" | "upDownArrow" | "trash" | "trashOutline" | "truckReturn" | "team" | "table" | "swap" | "supervisor" | "search" | "scan" | "settings" | "safeSolid" | "rightArrow" | "product" | "pointSale" | "plus" | "pdf" | "notes" | "measure" | "mainComponent" | "logout" | "loadingDots" | "listDots" | "list" | "lock" | "objectGroup" | "key" | "handShake" | "hamburguer" | "google" | "golang" | "filterOutline" | "excel" | "download" | "dashboard" | "costIcon" | "circleCheck" | "circleExclamation" | "circleQuestion" | "circleInfo" | "chartDoc" | "chart" | "categorySearch" | "categoryAdd" | "calendar" | "building" | "book" | "home" | "boxAdd" | "bell" | "bag" | "animatedArrowLeft" | "aws" | "checkO" | "error" | "errorO" | "warning" | "warehouse" | "project" | "group" | "magnifyingGlass" | "formatListGroup" | "editOutline" | "security" | "money" | "calendarEdit" | "calendarPlus" | "lockOpen" | "eye" | "eyeOff" | "loadingRegular" | "loadingSquares" | "phone" | "exchange" | "image" | "imageAnimated" | "file" | "fileUpdateAnimated" | "excelAnimated" | "location" | "locationAnimated" | "squareChart" | "upload" | "uploadAnimated" | "uploadLoader" | "downloadAnimated" | "emailAnimated";
73
+ readonly download: "close" | "check" | "email" | "user" | "enterprise" | "chevronUpDown" | "chevronDown" | "wallet" | "truck" | "upArrow" | "userTie" | "upDownArrow" | "trash" | "trashOutline" | "truckReturn" | "team" | "table" | "swap" | "supervisor" | "search" | "scan" | "settings" | "safeSolid" | "rightArrow" | "product" | "pointSale" | "plus" | "pdf" | "notes" | "measure" | "mainComponent" | "logout" | "loadingDots" | "listDots" | "list" | "lock" | "objectGroup" | "key" | "handShake" | "hamburguer" | "google" | "golang" | "filterOutline" | "excel" | "download" | "dashboard" | "costIcon" | "circleCheck" | "circleExclamation" | "circleQuestion" | "circleInfo" | "chartDoc" | "chart" | "categorySearch" | "categoryAdd" | "calendar" | "building" | "book" | "home" | "boxAdd" | "bell" | "bag" | "animatedArrowLeft" | "aws" | "checkO" | "error" | "errorO" | "warning" | "warehouse" | "project" | "group" | "magnifyingGlass" | "formatListGroup" | "editOutline" | "security" | "money" | "calendarEdit" | "calendarPlus" | "lockOpen" | "eye" | "eyeOff" | "loadingRegular" | "loadingSquares" | "phone" | "exchange" | "image" | "imageAnimated" | "file" | "fileUpdateAnimated" | "excelAnimated" | "location" | "locationAnimated" | "squareChart" | "upload" | "uploadAnimated" | "uploadLoader" | "downloadAnimated" | "emailAnimated";
74
+ };
75
+ readonly status: {
76
+ readonly success: "close" | "check" | "email" | "user" | "enterprise" | "chevronUpDown" | "chevronDown" | "wallet" | "truck" | "upArrow" | "userTie" | "upDownArrow" | "trash" | "trashOutline" | "truckReturn" | "team" | "table" | "swap" | "supervisor" | "search" | "scan" | "settings" | "safeSolid" | "rightArrow" | "product" | "pointSale" | "plus" | "pdf" | "notes" | "measure" | "mainComponent" | "logout" | "loadingDots" | "listDots" | "list" | "lock" | "objectGroup" | "key" | "handShake" | "hamburguer" | "google" | "golang" | "filterOutline" | "excel" | "download" | "dashboard" | "costIcon" | "circleCheck" | "circleExclamation" | "circleQuestion" | "circleInfo" | "chartDoc" | "chart" | "categorySearch" | "categoryAdd" | "calendar" | "building" | "book" | "home" | "boxAdd" | "bell" | "bag" | "animatedArrowLeft" | "aws" | "checkO" | "error" | "errorO" | "warning" | "warehouse" | "project" | "group" | "magnifyingGlass" | "formatListGroup" | "editOutline" | "security" | "money" | "calendarEdit" | "calendarPlus" | "lockOpen" | "eye" | "eyeOff" | "loadingRegular" | "loadingSquares" | "phone" | "exchange" | "image" | "imageAnimated" | "file" | "fileUpdateAnimated" | "excelAnimated" | "location" | "locationAnimated" | "squareChart" | "upload" | "uploadAnimated" | "uploadLoader" | "downloadAnimated" | "emailAnimated";
77
+ readonly error: "close" | "check" | "email" | "user" | "enterprise" | "chevronUpDown" | "chevronDown" | "wallet" | "truck" | "upArrow" | "userTie" | "upDownArrow" | "trash" | "trashOutline" | "truckReturn" | "team" | "table" | "swap" | "supervisor" | "search" | "scan" | "settings" | "safeSolid" | "rightArrow" | "product" | "pointSale" | "plus" | "pdf" | "notes" | "measure" | "mainComponent" | "logout" | "loadingDots" | "listDots" | "list" | "lock" | "objectGroup" | "key" | "handShake" | "hamburguer" | "google" | "golang" | "filterOutline" | "excel" | "download" | "dashboard" | "costIcon" | "circleCheck" | "circleExclamation" | "circleQuestion" | "circleInfo" | "chartDoc" | "chart" | "categorySearch" | "categoryAdd" | "calendar" | "building" | "book" | "home" | "boxAdd" | "bell" | "bag" | "animatedArrowLeft" | "aws" | "checkO" | "error" | "errorO" | "warning" | "warehouse" | "project" | "group" | "magnifyingGlass" | "formatListGroup" | "editOutline" | "security" | "money" | "calendarEdit" | "calendarPlus" | "lockOpen" | "eye" | "eyeOff" | "loadingRegular" | "loadingSquares" | "phone" | "exchange" | "image" | "imageAnimated" | "file" | "fileUpdateAnimated" | "excelAnimated" | "location" | "locationAnimated" | "squareChart" | "upload" | "uploadAnimated" | "uploadLoader" | "downloadAnimated" | "emailAnimated";
78
+ readonly warning: "close" | "check" | "email" | "user" | "enterprise" | "chevronUpDown" | "chevronDown" | "wallet" | "truck" | "upArrow" | "userTie" | "upDownArrow" | "trash" | "trashOutline" | "truckReturn" | "team" | "table" | "swap" | "supervisor" | "search" | "scan" | "settings" | "safeSolid" | "rightArrow" | "product" | "pointSale" | "plus" | "pdf" | "notes" | "measure" | "mainComponent" | "logout" | "loadingDots" | "listDots" | "list" | "lock" | "objectGroup" | "key" | "handShake" | "hamburguer" | "google" | "golang" | "filterOutline" | "excel" | "download" | "dashboard" | "costIcon" | "circleCheck" | "circleExclamation" | "circleQuestion" | "circleInfo" | "chartDoc" | "chart" | "categorySearch" | "categoryAdd" | "calendar" | "building" | "book" | "home" | "boxAdd" | "bell" | "bag" | "animatedArrowLeft" | "aws" | "checkO" | "error" | "errorO" | "warning" | "warehouse" | "project" | "group" | "magnifyingGlass" | "formatListGroup" | "editOutline" | "security" | "money" | "calendarEdit" | "calendarPlus" | "lockOpen" | "eye" | "eyeOff" | "loadingRegular" | "loadingSquares" | "phone" | "exchange" | "image" | "imageAnimated" | "file" | "fileUpdateAnimated" | "excelAnimated" | "location" | "locationAnimated" | "squareChart" | "upload" | "uploadAnimated" | "uploadLoader" | "downloadAnimated" | "emailAnimated";
79
+ readonly info: "close" | "check" | "email" | "user" | "enterprise" | "chevronUpDown" | "chevronDown" | "wallet" | "truck" | "upArrow" | "userTie" | "upDownArrow" | "trash" | "trashOutline" | "truckReturn" | "team" | "table" | "swap" | "supervisor" | "search" | "scan" | "settings" | "safeSolid" | "rightArrow" | "product" | "pointSale" | "plus" | "pdf" | "notes" | "measure" | "mainComponent" | "logout" | "loadingDots" | "listDots" | "list" | "lock" | "objectGroup" | "key" | "handShake" | "hamburguer" | "google" | "golang" | "filterOutline" | "excel" | "download" | "dashboard" | "costIcon" | "circleCheck" | "circleExclamation" | "circleQuestion" | "circleInfo" | "chartDoc" | "chart" | "categorySearch" | "categoryAdd" | "calendar" | "building" | "book" | "home" | "boxAdd" | "bell" | "bag" | "animatedArrowLeft" | "aws" | "checkO" | "error" | "errorO" | "warning" | "warehouse" | "project" | "group" | "magnifyingGlass" | "formatListGroup" | "editOutline" | "security" | "money" | "calendarEdit" | "calendarPlus" | "lockOpen" | "eye" | "eyeOff" | "loadingRegular" | "loadingSquares" | "phone" | "exchange" | "image" | "imageAnimated" | "file" | "fileUpdateAnimated" | "excelAnimated" | "location" | "locationAnimated" | "squareChart" | "upload" | "uploadAnimated" | "uploadLoader" | "downloadAnimated" | "emailAnimated";
80
+ readonly loading: "close" | "check" | "email" | "user" | "enterprise" | "chevronUpDown" | "chevronDown" | "wallet" | "truck" | "upArrow" | "userTie" | "upDownArrow" | "trash" | "trashOutline" | "truckReturn" | "team" | "table" | "swap" | "supervisor" | "search" | "scan" | "settings" | "safeSolid" | "rightArrow" | "product" | "pointSale" | "plus" | "pdf" | "notes" | "measure" | "mainComponent" | "logout" | "loadingDots" | "listDots" | "list" | "lock" | "objectGroup" | "key" | "handShake" | "hamburguer" | "google" | "golang" | "filterOutline" | "excel" | "download" | "dashboard" | "costIcon" | "circleCheck" | "circleExclamation" | "circleQuestion" | "circleInfo" | "chartDoc" | "chart" | "categorySearch" | "categoryAdd" | "calendar" | "building" | "book" | "home" | "boxAdd" | "bell" | "bag" | "animatedArrowLeft" | "aws" | "checkO" | "error" | "errorO" | "warning" | "warehouse" | "project" | "group" | "magnifyingGlass" | "formatListGroup" | "editOutline" | "security" | "money" | "calendarEdit" | "calendarPlus" | "lockOpen" | "eye" | "eyeOff" | "loadingRegular" | "loadingSquares" | "phone" | "exchange" | "image" | "imageAnimated" | "file" | "fileUpdateAnimated" | "excelAnimated" | "location" | "locationAnimated" | "squareChart" | "upload" | "uploadAnimated" | "uploadLoader" | "downloadAnimated" | "emailAnimated";
81
+ };
82
+ readonly file: {
83
+ readonly pdf: "close" | "check" | "email" | "user" | "enterprise" | "chevronUpDown" | "chevronDown" | "wallet" | "truck" | "upArrow" | "userTie" | "upDownArrow" | "trash" | "trashOutline" | "truckReturn" | "team" | "table" | "swap" | "supervisor" | "search" | "scan" | "settings" | "safeSolid" | "rightArrow" | "product" | "pointSale" | "plus" | "pdf" | "notes" | "measure" | "mainComponent" | "logout" | "loadingDots" | "listDots" | "list" | "lock" | "objectGroup" | "key" | "handShake" | "hamburguer" | "google" | "golang" | "filterOutline" | "excel" | "download" | "dashboard" | "costIcon" | "circleCheck" | "circleExclamation" | "circleQuestion" | "circleInfo" | "chartDoc" | "chart" | "categorySearch" | "categoryAdd" | "calendar" | "building" | "book" | "home" | "boxAdd" | "bell" | "bag" | "animatedArrowLeft" | "aws" | "checkO" | "error" | "errorO" | "warning" | "warehouse" | "project" | "group" | "magnifyingGlass" | "formatListGroup" | "editOutline" | "security" | "money" | "calendarEdit" | "calendarPlus" | "lockOpen" | "eye" | "eyeOff" | "loadingRegular" | "loadingSquares" | "phone" | "exchange" | "image" | "imageAnimated" | "file" | "fileUpdateAnimated" | "excelAnimated" | "location" | "locationAnimated" | "squareChart" | "upload" | "uploadAnimated" | "uploadLoader" | "downloadAnimated" | "emailAnimated";
84
+ readonly excel: "close" | "check" | "email" | "user" | "enterprise" | "chevronUpDown" | "chevronDown" | "wallet" | "truck" | "upArrow" | "userTie" | "upDownArrow" | "trash" | "trashOutline" | "truckReturn" | "team" | "table" | "swap" | "supervisor" | "search" | "scan" | "settings" | "safeSolid" | "rightArrow" | "product" | "pointSale" | "plus" | "pdf" | "notes" | "measure" | "mainComponent" | "logout" | "loadingDots" | "listDots" | "list" | "lock" | "objectGroup" | "key" | "handShake" | "hamburguer" | "google" | "golang" | "filterOutline" | "excel" | "download" | "dashboard" | "costIcon" | "circleCheck" | "circleExclamation" | "circleQuestion" | "circleInfo" | "chartDoc" | "chart" | "categorySearch" | "categoryAdd" | "calendar" | "building" | "book" | "home" | "boxAdd" | "bell" | "bag" | "animatedArrowLeft" | "aws" | "checkO" | "error" | "errorO" | "warning" | "warehouse" | "project" | "group" | "magnifyingGlass" | "formatListGroup" | "editOutline" | "security" | "money" | "calendarEdit" | "calendarPlus" | "lockOpen" | "eye" | "eyeOff" | "loadingRegular" | "loadingSquares" | "phone" | "exchange" | "image" | "imageAnimated" | "file" | "fileUpdateAnimated" | "excelAnimated" | "location" | "locationAnimated" | "squareChart" | "upload" | "uploadAnimated" | "uploadLoader" | "downloadAnimated" | "emailAnimated";
85
+ readonly image: "close" | "check" | "email" | "user" | "enterprise" | "chevronUpDown" | "chevronDown" | "wallet" | "truck" | "upArrow" | "userTie" | "upDownArrow" | "trash" | "trashOutline" | "truckReturn" | "team" | "table" | "swap" | "supervisor" | "search" | "scan" | "settings" | "safeSolid" | "rightArrow" | "product" | "pointSale" | "plus" | "pdf" | "notes" | "measure" | "mainComponent" | "logout" | "loadingDots" | "listDots" | "list" | "lock" | "objectGroup" | "key" | "handShake" | "hamburguer" | "google" | "golang" | "filterOutline" | "excel" | "download" | "dashboard" | "costIcon" | "circleCheck" | "circleExclamation" | "circleQuestion" | "circleInfo" | "chartDoc" | "chart" | "categorySearch" | "categoryAdd" | "calendar" | "building" | "book" | "home" | "boxAdd" | "bell" | "bag" | "animatedArrowLeft" | "aws" | "checkO" | "error" | "errorO" | "warning" | "warehouse" | "project" | "group" | "magnifyingGlass" | "formatListGroup" | "editOutline" | "security" | "money" | "calendarEdit" | "calendarPlus" | "lockOpen" | "eye" | "eyeOff" | "loadingRegular" | "loadingSquares" | "phone" | "exchange" | "image" | "imageAnimated" | "file" | "fileUpdateAnimated" | "excelAnimated" | "location" | "locationAnimated" | "squareChart" | "upload" | "uploadAnimated" | "uploadLoader" | "downloadAnimated" | "emailAnimated";
86
+ readonly document: "close" | "check" | "email" | "user" | "enterprise" | "chevronUpDown" | "chevronDown" | "wallet" | "truck" | "upArrow" | "userTie" | "upDownArrow" | "trash" | "trashOutline" | "truckReturn" | "team" | "table" | "swap" | "supervisor" | "search" | "scan" | "settings" | "safeSolid" | "rightArrow" | "product" | "pointSale" | "plus" | "pdf" | "notes" | "measure" | "mainComponent" | "logout" | "loadingDots" | "listDots" | "list" | "lock" | "objectGroup" | "key" | "handShake" | "hamburguer" | "google" | "golang" | "filterOutline" | "excel" | "download" | "dashboard" | "costIcon" | "circleCheck" | "circleExclamation" | "circleQuestion" | "circleInfo" | "chartDoc" | "chart" | "categorySearch" | "categoryAdd" | "calendar" | "building" | "book" | "home" | "boxAdd" | "bell" | "bag" | "animatedArrowLeft" | "aws" | "checkO" | "error" | "errorO" | "warning" | "warehouse" | "project" | "group" | "magnifyingGlass" | "formatListGroup" | "editOutline" | "security" | "money" | "calendarEdit" | "calendarPlus" | "lockOpen" | "eye" | "eyeOff" | "loadingRegular" | "loadingSquares" | "phone" | "exchange" | "image" | "imageAnimated" | "file" | "fileUpdateAnimated" | "excelAnimated" | "location" | "locationAnimated" | "squareChart" | "upload" | "uploadAnimated" | "uploadLoader" | "downloadAnimated" | "emailAnimated";
87
+ readonly note: "close" | "check" | "email" | "user" | "enterprise" | "chevronUpDown" | "chevronDown" | "wallet" | "truck" | "upArrow" | "userTie" | "upDownArrow" | "trash" | "trashOutline" | "truckReturn" | "team" | "table" | "swap" | "supervisor" | "search" | "scan" | "settings" | "safeSolid" | "rightArrow" | "product" | "pointSale" | "plus" | "pdf" | "notes" | "measure" | "mainComponent" | "logout" | "loadingDots" | "listDots" | "list" | "lock" | "objectGroup" | "key" | "handShake" | "hamburguer" | "google" | "golang" | "filterOutline" | "excel" | "download" | "dashboard" | "costIcon" | "circleCheck" | "circleExclamation" | "circleQuestion" | "circleInfo" | "chartDoc" | "chart" | "categorySearch" | "categoryAdd" | "calendar" | "building" | "book" | "home" | "boxAdd" | "bell" | "bag" | "animatedArrowLeft" | "aws" | "checkO" | "error" | "errorO" | "warning" | "warehouse" | "project" | "group" | "magnifyingGlass" | "formatListGroup" | "editOutline" | "security" | "money" | "calendarEdit" | "calendarPlus" | "lockOpen" | "eye" | "eyeOff" | "loadingRegular" | "loadingSquares" | "phone" | "exchange" | "image" | "imageAnimated" | "file" | "fileUpdateAnimated" | "excelAnimated" | "location" | "locationAnimated" | "squareChart" | "upload" | "uploadAnimated" | "uploadLoader" | "downloadAnimated" | "emailAnimated";
88
+ };
89
+ readonly business: {
90
+ readonly money: "close" | "check" | "email" | "user" | "enterprise" | "chevronUpDown" | "chevronDown" | "wallet" | "truck" | "upArrow" | "userTie" | "upDownArrow" | "trash" | "trashOutline" | "truckReturn" | "team" | "table" | "swap" | "supervisor" | "search" | "scan" | "settings" | "safeSolid" | "rightArrow" | "product" | "pointSale" | "plus" | "pdf" | "notes" | "measure" | "mainComponent" | "logout" | "loadingDots" | "listDots" | "list" | "lock" | "objectGroup" | "key" | "handShake" | "hamburguer" | "google" | "golang" | "filterOutline" | "excel" | "download" | "dashboard" | "costIcon" | "circleCheck" | "circleExclamation" | "circleQuestion" | "circleInfo" | "chartDoc" | "chart" | "categorySearch" | "categoryAdd" | "calendar" | "building" | "book" | "home" | "boxAdd" | "bell" | "bag" | "animatedArrowLeft" | "aws" | "checkO" | "error" | "errorO" | "warning" | "warehouse" | "project" | "group" | "magnifyingGlass" | "formatListGroup" | "editOutline" | "security" | "money" | "calendarEdit" | "calendarPlus" | "lockOpen" | "eye" | "eyeOff" | "loadingRegular" | "loadingSquares" | "phone" | "exchange" | "image" | "imageAnimated" | "file" | "fileUpdateAnimated" | "excelAnimated" | "location" | "locationAnimated" | "squareChart" | "upload" | "uploadAnimated" | "uploadLoader" | "downloadAnimated" | "emailAnimated";
91
+ readonly profit: "close" | "check" | "email" | "user" | "enterprise" | "chevronUpDown" | "chevronDown" | "wallet" | "truck" | "upArrow" | "userTie" | "upDownArrow" | "trash" | "trashOutline" | "truckReturn" | "team" | "table" | "swap" | "supervisor" | "search" | "scan" | "settings" | "safeSolid" | "rightArrow" | "product" | "pointSale" | "plus" | "pdf" | "notes" | "measure" | "mainComponent" | "logout" | "loadingDots" | "listDots" | "list" | "lock" | "objectGroup" | "key" | "handShake" | "hamburguer" | "google" | "golang" | "filterOutline" | "excel" | "download" | "dashboard" | "costIcon" | "circleCheck" | "circleExclamation" | "circleQuestion" | "circleInfo" | "chartDoc" | "chart" | "categorySearch" | "categoryAdd" | "calendar" | "building" | "book" | "home" | "boxAdd" | "bell" | "bag" | "animatedArrowLeft" | "aws" | "checkO" | "error" | "errorO" | "warning" | "warehouse" | "project" | "group" | "magnifyingGlass" | "formatListGroup" | "editOutline" | "security" | "money" | "calendarEdit" | "calendarPlus" | "lockOpen" | "eye" | "eyeOff" | "loadingRegular" | "loadingSquares" | "phone" | "exchange" | "image" | "imageAnimated" | "file" | "fileUpdateAnimated" | "excelAnimated" | "location" | "locationAnimated" | "squareChart" | "upload" | "uploadAnimated" | "uploadLoader" | "downloadAnimated" | "emailAnimated";
92
+ readonly cost: "close" | "check" | "email" | "user" | "enterprise" | "chevronUpDown" | "chevronDown" | "wallet" | "truck" | "upArrow" | "userTie" | "upDownArrow" | "trash" | "trashOutline" | "truckReturn" | "team" | "table" | "swap" | "supervisor" | "search" | "scan" | "settings" | "safeSolid" | "rightArrow" | "product" | "pointSale" | "plus" | "pdf" | "notes" | "measure" | "mainComponent" | "logout" | "loadingDots" | "listDots" | "list" | "lock" | "objectGroup" | "key" | "handShake" | "hamburguer" | "google" | "golang" | "filterOutline" | "excel" | "download" | "dashboard" | "costIcon" | "circleCheck" | "circleExclamation" | "circleQuestion" | "circleInfo" | "chartDoc" | "chart" | "categorySearch" | "categoryAdd" | "calendar" | "building" | "book" | "home" | "boxAdd" | "bell" | "bag" | "animatedArrowLeft" | "aws" | "checkO" | "error" | "errorO" | "warning" | "warehouse" | "project" | "group" | "magnifyingGlass" | "formatListGroup" | "editOutline" | "security" | "money" | "calendarEdit" | "calendarPlus" | "lockOpen" | "eye" | "eyeOff" | "loadingRegular" | "loadingSquares" | "phone" | "exchange" | "image" | "imageAnimated" | "file" | "fileUpdateAnimated" | "excelAnimated" | "location" | "locationAnimated" | "squareChart" | "upload" | "uploadAnimated" | "uploadLoader" | "downloadAnimated" | "emailAnimated";
93
+ readonly building: "close" | "check" | "email" | "user" | "enterprise" | "chevronUpDown" | "chevronDown" | "wallet" | "truck" | "upArrow" | "userTie" | "upDownArrow" | "trash" | "trashOutline" | "truckReturn" | "team" | "table" | "swap" | "supervisor" | "search" | "scan" | "settings" | "safeSolid" | "rightArrow" | "product" | "pointSale" | "plus" | "pdf" | "notes" | "measure" | "mainComponent" | "logout" | "loadingDots" | "listDots" | "list" | "lock" | "objectGroup" | "key" | "handShake" | "hamburguer" | "google" | "golang" | "filterOutline" | "excel" | "download" | "dashboard" | "costIcon" | "circleCheck" | "circleExclamation" | "circleQuestion" | "circleInfo" | "chartDoc" | "chart" | "categorySearch" | "categoryAdd" | "calendar" | "building" | "book" | "home" | "boxAdd" | "bell" | "bag" | "animatedArrowLeft" | "aws" | "checkO" | "error" | "errorO" | "warning" | "warehouse" | "project" | "group" | "magnifyingGlass" | "formatListGroup" | "editOutline" | "security" | "money" | "calendarEdit" | "calendarPlus" | "lockOpen" | "eye" | "eyeOff" | "loadingRegular" | "loadingSquares" | "phone" | "exchange" | "image" | "imageAnimated" | "file" | "fileUpdateAnimated" | "excelAnimated" | "location" | "locationAnimated" | "squareChart" | "upload" | "uploadAnimated" | "uploadLoader" | "downloadAnimated" | "emailAnimated";
94
+ readonly handshake: "close" | "check" | "email" | "user" | "enterprise" | "chevronUpDown" | "chevronDown" | "wallet" | "truck" | "upArrow" | "userTie" | "upDownArrow" | "trash" | "trashOutline" | "truckReturn" | "team" | "table" | "swap" | "supervisor" | "search" | "scan" | "settings" | "safeSolid" | "rightArrow" | "product" | "pointSale" | "plus" | "pdf" | "notes" | "measure" | "mainComponent" | "logout" | "loadingDots" | "listDots" | "list" | "lock" | "objectGroup" | "key" | "handShake" | "hamburguer" | "google" | "golang" | "filterOutline" | "excel" | "download" | "dashboard" | "costIcon" | "circleCheck" | "circleExclamation" | "circleQuestion" | "circleInfo" | "chartDoc" | "chart" | "categorySearch" | "categoryAdd" | "calendar" | "building" | "book" | "home" | "boxAdd" | "bell" | "bag" | "animatedArrowLeft" | "aws" | "checkO" | "error" | "errorO" | "warning" | "warehouse" | "project" | "group" | "magnifyingGlass" | "formatListGroup" | "editOutline" | "security" | "money" | "calendarEdit" | "calendarPlus" | "lockOpen" | "eye" | "eyeOff" | "loadingRegular" | "loadingSquares" | "phone" | "exchange" | "image" | "imageAnimated" | "file" | "fileUpdateAnimated" | "excelAnimated" | "location" | "locationAnimated" | "squareChart" | "upload" | "uploadAnimated" | "uploadLoader" | "downloadAnimated" | "emailAnimated";
95
+ };
96
+ };
97
+ export type BzIconKey = keyof typeof bzIcons;
98
+ export type IconCategory = keyof typeof iconCategories;
99
+ export type IconShortcutCategory = keyof typeof iconShortcuts;
100
+ export declare const iconStats: {
101
+ readonly total: number;
102
+ readonly categories: number;
103
+ readonly animated: number;
104
+ readonly byCategory: {
105
+ [k: string]: 2 | 9 | 3 | 4 | 5 | 6 | 7 | 8 | 10 | 12;
106
+ };
107
+ readonly mostUsedCategory: string;
108
+ readonly shortcuts: number;
109
+ };
@@ -0,0 +1,452 @@
1
+ // 📁 src/lib/icons/icon-api.ts - MANTENIENDO bzIcons como nombre original
2
+ import { iconRegistry } from "./icons/registry";
3
+ // 🎯 MANTENER TU NOMBRE ORIGINAL: bzIcons
4
+ export const bzIcons = {
5
+ // ===================================================================
6
+ // 🏠 NAVEGACIÓN Y GENERAL
7
+ // ===================================================================
8
+ General: "mainComponent",
9
+ MainComponent: "mainComponent",
10
+ Home: "home",
11
+ Dashboard: "dashboard",
12
+ Settings: "settings",
13
+ Search: "search",
14
+ MagnifyingGlass: "magnifyingGlass", // Corregido el typo
15
+ FilterSearch: "magnifyingGlass", // Corregido el typo
16
+ Filter: "filterOutline",
17
+ FilterOutline: "filterOutline",
18
+ MenuBurger: "hamburguer",
19
+ Hamburguer: "hamburguer",
20
+ Close: "close",
21
+ Plus: "plus",
22
+ // ===================================================================
23
+ // 👤 USUARIOS Y AUTENTICACIÓN
24
+ // ===================================================================
25
+ User: "user",
26
+ Client: "userTie",
27
+ UserTie: "userTie",
28
+ Team: "team",
29
+ Group: "group",
30
+ Supervisor: "supervisor",
31
+ Enterprise: "enterprise",
32
+ Lock: "lock",
33
+ LockOpen: "lockOpen",
34
+ Key: "key",
35
+ Logout: "logout",
36
+ Eye: "eye",
37
+ EyeOff: "eyeOff",
38
+ // ===================================================================
39
+ // 📧 COMUNICACIÓN
40
+ // ===================================================================
41
+ Email: "email",
42
+ EmailAnimated: "emailAnimated",
43
+ Phone: "phone",
44
+ Notifications: "bell",
45
+ Bell: "bell",
46
+ // ===================================================================
47
+ // 🏢 NEGOCIO Y EMPRESA
48
+ // ===================================================================
49
+ Building: "building",
50
+ Business: "handShake",
51
+ HandShake: "handShake",
52
+ Money: "money",
53
+ Wallet: "wallet",
54
+ Profit: "safeSolid",
55
+ SafeSolid: "safeSolid",
56
+ CostIcon: "costIcon",
57
+ Exchange: "exchange",
58
+ Change: "swap",
59
+ Swap: "swap",
60
+ // ===================================================================
61
+ // 📊 DATOS Y ANÁLISIS
62
+ // ===================================================================
63
+ Chart: "chart",
64
+ ChartDoc: "chartDoc",
65
+ SquareChart: "squareChart",
66
+ Table: "table",
67
+ List: "list",
68
+ ListDots: "listDots",
69
+ Ellipsis: "listDots",
70
+ FormatListGroup: "formatListGroup",
71
+ // ===================================================================
72
+ // 📁 ARCHIVOS Y DOCUMENTOS
73
+ // ===================================================================
74
+ File: "file",
75
+ Pdf: "pdf",
76
+ Excel: "excel",
77
+ ExcelAnimated: "excelAnimated",
78
+ Notes: "notes",
79
+ Book: "book",
80
+ Image: "image",
81
+ ImageAnimated: "imageAnimated",
82
+ // ===================================================================
83
+ // 📅 CALENDARIO Y TIEMPO
84
+ // ===================================================================
85
+ Calendar: "calendar",
86
+ CalendarPlus: "calendarPlus",
87
+ CalendarEdit: "calendarEdit",
88
+ // ===================================================================
89
+ // ⬆️ FLECHAS Y NAVEGACIÓN
90
+ // ===================================================================
91
+ RightArrow: "rightArrow",
92
+ UpArrow: "upArrow",
93
+ UpDownArrow: "upDownArrow",
94
+ AnimatedArrowLeft: "animatedArrowLeft",
95
+ ChevronDown: "chevronDown",
96
+ ChevronUpDown: "chevronUpDown",
97
+ Selector: "chevronUpDown",
98
+ // ===================================================================
99
+ // ⬇️ ACCIONES DE ARCHIVO
100
+ // ===================================================================
101
+ Download: "download",
102
+ DownloadAnimated: "downloadAnimated",
103
+ Upload: "upload",
104
+ UploadAnimated: "uploadAnimated",
105
+ UploadLoader: "uploadLoader",
106
+ FileUpdate: "fileUpdateAnimated",
107
+ FileUpdateAnimated: "fileUpdateAnimated",
108
+ // ===================================================================
109
+ // ✅ ESTADOS Y FEEDBACK
110
+ // ===================================================================
111
+ Check: "check",
112
+ CheckO: "checkO",
113
+ CircleCheck: "circleCheck",
114
+ Error: "error",
115
+ ErrorO: "errorO",
116
+ CircleExclamation: "circleExclamation",
117
+ Warning: "warning",
118
+ CircleInfo: "circleInfo",
119
+ CircleQuestion: "circleQuestion",
120
+ // ===================================================================
121
+ // 🔄 LOADING Y PROGRESO
122
+ // ===================================================================
123
+ Loading: "loadingDots",
124
+ LoadingDots: "loadingDots",
125
+ LoadingRegular: "loadingRegular",
126
+ LoadingSquares: "loadingSquares",
127
+ // ===================================================================
128
+ // 🛒 COMERCIO Y VENTAS
129
+ // ===================================================================
130
+ Product: "product",
131
+ Buy: "bag",
132
+ Bag: "bag",
133
+ SaleBox: "pointSale",
134
+ PointSale: "pointSale",
135
+ Category: "categoryAdd",
136
+ CategoryAdd: "categoryAdd",
137
+ Subcategory: "categorySearch",
138
+ CategorySearch: "categorySearch",
139
+ BoxAdd: "boxAdd",
140
+ Measure: "measure",
141
+ // ===================================================================
142
+ // 🚚 LOGÍSTICA Y TRANSPORTE
143
+ // ===================================================================
144
+ Truck: "truck",
145
+ TruckReturn: "truckReturn",
146
+ Return: "truckReturn",
147
+ Storehouse: "warehouse",
148
+ Warehouse: "warehouse",
149
+ Location: "location",
150
+ LocationAnimated: "locationAnimated",
151
+ // ===================================================================
152
+ // 🔧 HERRAMIENTAS Y UTILIDADES
153
+ // ===================================================================
154
+ EditOutline: "editOutline",
155
+ Trash: "trash",
156
+ TrashOutline: "trashOutline",
157
+ ScanBar: "scan",
158
+ Scan: "scan",
159
+ Security: "security",
160
+ // ===================================================================
161
+ // 🎨 ENTIDADES Y OBJETOS
162
+ // ===================================================================
163
+ Entities: "objectGroup",
164
+ ObjectGroup: "objectGroup",
165
+ Project: "project",
166
+ // ===================================================================
167
+ // 🌐 TECNOLOGÍAS Y PLATAFORMAS
168
+ // ===================================================================
169
+ Google: "google",
170
+ Aws: "aws",
171
+ Golang: "golang",
172
+ };
173
+ // ===================================================================
174
+ // 🚀 ICON API CLASS - USANDO bzIcons
175
+ // ===================================================================
176
+ export class IconAPI {
177
+ // 🔧 Método getValid corregido
178
+ static getValid(...names) {
179
+ const results = [];
180
+ for (const name of names) {
181
+ const iconName = bzIcons[name]; // 🎯 Usar bzIcons
182
+ if (iconName && iconRegistry[iconName]) {
183
+ results.push({
184
+ iconName,
185
+ component: iconRegistry[iconName],
186
+ });
187
+ }
188
+ }
189
+ return results;
190
+ }
191
+ // 🔍 BÚSQUEDA Y FILTRADO
192
+ static search(query) {
193
+ const searchTerm = query.toLowerCase();
194
+ return Object.entries(bzIcons) // 🎯 Usar bzIcons
195
+ .filter(([key, iconName]) => key.toLowerCase().includes(searchTerm) ||
196
+ iconName.toLowerCase().includes(searchTerm))
197
+ .map(([key, iconName]) => ({
198
+ key,
199
+ iconName,
200
+ component: iconRegistry[iconName],
201
+ }));
202
+ }
203
+ static findByName(name) {
204
+ return bzIcons[name]; // 🎯 Usar bzIcons
205
+ }
206
+ static getComponent(name) {
207
+ const iconName = this.findByName(name);
208
+ return iconName ? iconRegistry[iconName] : undefined;
209
+ }
210
+ static exists(name) {
211
+ return name in bzIcons; // 🎯 Usar bzIcons
212
+ }
213
+ // 📂 CATEGORÍAS
214
+ static getByCategory(category) {
215
+ return iconCategories[category].map((iconName) => ({
216
+ iconName: iconName,
217
+ component: iconRegistry[iconName],
218
+ }));
219
+ }
220
+ static getAllCategories() {
221
+ return Object.keys(iconCategories);
222
+ }
223
+ // 🎲 UTILIDADES
224
+ static random() {
225
+ const iconNames = Object.values(bzIcons); // 🎯 Usar bzIcons
226
+ const randomName = iconNames[Math.floor(Math.random() * iconNames.length)];
227
+ return {
228
+ iconName: randomName,
229
+ component: iconRegistry[randomName],
230
+ };
231
+ }
232
+ static count() {
233
+ return Object.keys(bzIcons).length; // 🎯 Usar bzIcons
234
+ }
235
+ static list() {
236
+ return Object.entries(bzIcons).map(([key, iconName]) => ({
237
+ // 🎯 Usar bzIcons
238
+ key,
239
+ iconName,
240
+ component: iconRegistry[iconName],
241
+ }));
242
+ }
243
+ }
244
+ // ===================================================================
245
+ // 📂 CATEGORÍAS (sin cambios)
246
+ // ===================================================================
247
+ export const iconCategories = {
248
+ navigation: [
249
+ "mainComponent",
250
+ "home",
251
+ "dashboard",
252
+ "settings",
253
+ "search",
254
+ "magnifyingGlass",
255
+ "filterOutline",
256
+ "hamburguer",
257
+ "close",
258
+ "plus",
259
+ ],
260
+ users: [
261
+ "user",
262
+ "userTie",
263
+ "team",
264
+ "group",
265
+ "supervisor",
266
+ "enterprise",
267
+ "lock",
268
+ "lockOpen",
269
+ "key",
270
+ "logout",
271
+ "eye",
272
+ "eyeOff",
273
+ ],
274
+ communication: ["email", "emailAnimated", "phone", "bell"],
275
+ business: [
276
+ "building",
277
+ "handShake",
278
+ "money",
279
+ "wallet",
280
+ "safeSolid",
281
+ "costIcon",
282
+ "exchange",
283
+ "swap",
284
+ ],
285
+ data: [
286
+ "chart",
287
+ "chartDoc",
288
+ "squareChart",
289
+ "table",
290
+ "list",
291
+ "listDots",
292
+ "formatListGroup",
293
+ ],
294
+ files: [
295
+ "file",
296
+ "pdf",
297
+ "excel",
298
+ "excelAnimated",
299
+ "notes",
300
+ "book",
301
+ "image",
302
+ "imageAnimated",
303
+ ],
304
+ calendar: ["calendar", "calendarPlus", "calendarEdit"],
305
+ arrows: [
306
+ "rightArrow",
307
+ "upArrow",
308
+ "upDownArrow",
309
+ "animatedArrowLeft",
310
+ "chevronDown",
311
+ "chevronUpDown",
312
+ ],
313
+ actions: [
314
+ "download",
315
+ "downloadAnimated",
316
+ "upload",
317
+ "uploadAnimated",
318
+ "uploadLoader",
319
+ "fileUpdateAnimated",
320
+ ],
321
+ feedback: [
322
+ "check",
323
+ "checkO",
324
+ "circleCheck",
325
+ "error",
326
+ "errorO",
327
+ "circleExclamation",
328
+ "warning",
329
+ "circleInfo",
330
+ "circleQuestion",
331
+ ],
332
+ loading: ["loadingDots", "loadingRegular", "loadingSquares"],
333
+ commerce: [
334
+ "product",
335
+ "bag",
336
+ "pointSale",
337
+ "categoryAdd",
338
+ "categorySearch",
339
+ "boxAdd",
340
+ "measure",
341
+ ],
342
+ logistics: [
343
+ "truck",
344
+ "truckReturn",
345
+ "warehouse",
346
+ "location",
347
+ "locationAnimated",
348
+ ],
349
+ tools: ["editOutline", "trash", "trashOutline", "scan", "security"],
350
+ tech: ["google", "aws", "golang"],
351
+ entities: ["objectGroup", "project"],
352
+ };
353
+ // ===================================================================
354
+ // 🎨 SHORTCUTS USANDO bzIcons
355
+ // ===================================================================
356
+ export const iconShortcuts = {
357
+ nav: {
358
+ home: bzIcons.Home,
359
+ dashboard: bzIcons.Dashboard,
360
+ settings: bzIcons.Settings,
361
+ menu: bzIcons.MenuBurger,
362
+ close: bzIcons.Close,
363
+ search: bzIcons.Search,
364
+ },
365
+ user: {
366
+ profile: bzIcons.User,
367
+ team: bzIcons.Team,
368
+ client: bzIcons.Client,
369
+ logout: bzIcons.Logout,
370
+ login: bzIcons.Key,
371
+ },
372
+ action: {
373
+ add: bzIcons.Plus,
374
+ edit: bzIcons.EditOutline,
375
+ delete: bzIcons.Trash,
376
+ search: bzIcons.Search,
377
+ filter: bzIcons.Filter,
378
+ upload: bzIcons.Upload,
379
+ download: bzIcons.Download,
380
+ },
381
+ status: {
382
+ success: bzIcons.Check,
383
+ error: bzIcons.Error,
384
+ warning: bzIcons.Warning,
385
+ info: bzIcons.CircleInfo,
386
+ loading: bzIcons.Loading,
387
+ },
388
+ file: {
389
+ pdf: bzIcons.Pdf,
390
+ excel: bzIcons.Excel,
391
+ image: bzIcons.Image,
392
+ document: bzIcons.File,
393
+ note: bzIcons.Notes,
394
+ },
395
+ business: {
396
+ money: bzIcons.Money,
397
+ profit: bzIcons.Profit,
398
+ cost: bzIcons.CostIcon,
399
+ building: bzIcons.Building,
400
+ handshake: bzIcons.Business,
401
+ },
402
+ };
403
+ // ===================================================================
404
+ // 📊 ESTADÍSTICAS
405
+ // ===================================================================
406
+ export const iconStats = {
407
+ get total() {
408
+ return Object.keys(bzIcons).length; // 🎯 Usar bzIcons
409
+ },
410
+ get categories() {
411
+ return Object.keys(iconCategories).length;
412
+ },
413
+ get animated() {
414
+ return Object.values(bzIcons).filter((icon) => icon.includes("Animated"))
415
+ .length;
416
+ },
417
+ get byCategory() {
418
+ return Object.fromEntries(Object.entries(iconCategories).map(([cat, icons]) => [cat, icons.length]));
419
+ },
420
+ get mostUsedCategory() {
421
+ const categorySizes = Object.entries(iconCategories);
422
+ return categorySizes.reduce((max, [name, icons]) => icons.length > max.count ? { name, count: icons.length } : max, { name: "", count: 0 }).name;
423
+ },
424
+ get shortcuts() {
425
+ return Object.keys(iconShortcuts).length;
426
+ },
427
+ };
428
+ // ===================================================================
429
+ // 📝 EJEMPLOS DE USO MANTENIENDO TU NOMBRE ORIGINAL
430
+ // ===================================================================
431
+ /*
432
+ // ✅ Tu forma original sigue funcionando:
433
+ import { bzIcons } from './icons';
434
+
435
+ const menuItems = [
436
+ { label: "Inicio", icon: bzIcons.Home },
437
+ { label: "Usuarios", icon: bzIcons.Team },
438
+ { label: "Config", icon: bzIcons.Settings }
439
+ ];
440
+
441
+ // ✅ Con la nueva API:
442
+ import { IconAPI, bzIcons, iconShortcuts } from './icons';
443
+
444
+ // Búsqueda
445
+ const results = IconAPI.search("user");
446
+
447
+ // Tu objeto original
448
+ <Icon name={bzIcons.Home} size={24} />
449
+
450
+ // Shortcuts nuevos
451
+ <Icon name={iconShortcuts.nav.home} size={24} />
452
+ */
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export type { DynamicIconProps, IconEffectOptions, IconMode, IconName, IconProps, } from "./types.js";
1
+ export type { IconEffectOptions, IconMode, IconProps } from "./types.js";
2
2
  export { coerceStrokeWidth, commonDefaults, modeDefaults, normalizeClass, withDefaults, } from "./utils/defaults.js";
3
3
  export { combineTransforms, getAnimationClasses, getAnimationStyle, getChevronTransform, getMorphTransform, getSlideTransform, } from "./utils/animations.js";
4
4
  export { batchStyleUpdates, EASING_PRESETS, getPrefersReducedMotion, optimizeEasing, } from "./utils/performance.js";
@@ -6,7 +6,8 @@ export { iconEffects } from "./effects/icon-effects.js";
6
6
  export { getInjectionInfo, injectIconEffectsCSS, injectIconEffectsCSSFromFile, injectIconEffectsCSSLegacy, injectIconEffectsCSSOptimized, } from "./styles/css-injection.js";
7
7
  export { default as DynamicIcon, default as Icon } from "./DynamicIcon.svelte";
8
8
  export { default as BaseIcon } from "./Icon.svelte";
9
- export { iconRegistry, type IconComponent } from "./icons/registry.js";
9
+ export { bzIcons, IconAPI, iconCategories, iconShortcuts, iconStats, type BzIconKey, type IconCategory, type IconShortcutCategory, } from "./icons-api.js";
10
+ export { iconRegistry, type IconComponent, type IconName, } from "./icons/registry.js";
10
11
  export { default as AnimatedArrowLeft } from "./icons/AnimatedArrowLeft.svelte";
11
12
  export { default as Aws } from "./icons/Aws.svelte";
12
13
  export { default as Bag } from "./icons/Bag.svelte";
package/dist/index.js CHANGED
@@ -1,4 +1,5 @@
1
- // Utilities
1
+ // 📁 src/lib/index.ts - Index principal con API exportada
2
+ // Utilities del sistema de animaciones
2
3
  export { coerceStrokeWidth, commonDefaults, modeDefaults, normalizeClass, withDefaults, } from "./utils/defaults.js";
3
4
  export { combineTransforms, getAnimationClasses, getAnimationStyle, getChevronTransform, getMorphTransform, getSlideTransform, } from "./utils/animations.js";
4
5
  export { batchStyleUpdates, EASING_PRESETS, getPrefersReducedMotion, optimizeEasing, } from "./utils/performance.js";
@@ -7,11 +8,13 @@ export { iconEffects } from "./effects/icon-effects.js";
7
8
  // CSS Injection
8
9
  export { getInjectionInfo, injectIconEffectsCSS, injectIconEffectsCSSFromFile, injectIconEffectsCSSLegacy, injectIconEffectsCSSOptimized, } from "./styles/css-injection.js";
9
10
  // 🎯 COMPONENTES
10
- export { default as DynamicIcon, default as Icon } from "./DynamicIcon.svelte"; // 🆕 Componente dinámico principal
11
+ export { default as DynamicIcon, default as Icon } from "./DynamicIcon.svelte"; // Componente dinámico principal
11
12
  export { default as BaseIcon } from "./Icon.svelte"; // Componente base original
12
- // Registry
13
- export { iconRegistry } from "./icons/registry.js";
14
- // Exports individuales (para tree-shaking)
13
+ // 🆕 NUEVA API DE ICONOS
14
+ export { bzIcons, IconAPI, iconCategories, iconShortcuts, iconStats, } from "./icons-api.js";
15
+ // Registry original (para casos avanzados)
16
+ export { iconRegistry, } from "./icons/registry.js";
17
+ // Exports individuales de iconos (para tree-shaking perfecto)
15
18
  export { default as AnimatedArrowLeft } from "./icons/AnimatedArrowLeft.svelte";
16
19
  export { default as Aws } from "./icons/Aws.svelte";
17
20
  export { default as Bag } from "./icons/Bag.svelte";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@genarou/blazir-icons",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "publishConfig": {