@caribeng/ui 22.1.1 → 22.4.0
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/README.md +134 -12
- package/fesm2022/caribeng-ui-accordion.mjs +4 -4
- package/fesm2022/caribeng-ui-anchor.mjs +169 -0
- package/fesm2022/caribeng-ui-autocomplete.mjs +10 -8
- package/fesm2022/caribeng-ui-avatar.mjs +2 -2
- package/fesm2022/caribeng-ui-avatargroup.mjs +9 -3
- package/fesm2022/caribeng-ui-badge.mjs +8 -2
- package/fesm2022/caribeng-ui-blockui.mjs +12 -4
- package/fesm2022/caribeng-ui-breadcrumb.mjs +17 -7
- package/fesm2022/caribeng-ui-button.mjs +22 -2
- package/fesm2022/caribeng-ui-caribe-alert.mjs +5 -2
- package/fesm2022/caribeng-ui-caribe-animation-lottie.mjs +6 -3
- package/fesm2022/caribeng-ui-caribe-button-group.mjs +6 -3
- package/fesm2022/caribeng-ui-caribe-calendar.mjs +11 -6
- package/fesm2022/caribeng-ui-caribe-card-content.mjs +6 -3
- package/fesm2022/caribeng-ui-caribe-card-move.mjs +29 -7
- package/fesm2022/caribeng-ui-caribe-card-select.mjs +56 -14
- package/fesm2022/caribeng-ui-caribe-circle-loading.mjs +10 -7
- package/fesm2022/caribeng-ui-caribe-coachmark.mjs +42 -19
- package/fesm2022/caribeng-ui-caribe-data-table.mjs +15 -9
- package/fesm2022/caribeng-ui-caribe-dots-indicator.mjs +38 -5
- package/fesm2022/caribeng-ui-caribe-expansion-panel.mjs +16 -5
- package/fesm2022/caribeng-ui-caribe-fab-menu.mjs +56 -7
- package/fesm2022/caribeng-ui-caribe-file-download.mjs +68 -27
- package/fesm2022/caribeng-ui-caribe-file-select.mjs +22 -17
- package/fesm2022/caribeng-ui-caribe-float-menu.mjs +6 -3
- package/fesm2022/caribeng-ui-caribe-footer.mjs +8 -4
- package/fesm2022/caribeng-ui-caribe-header.mjs +6 -3
- package/fesm2022/caribeng-ui-caribe-icon-button.mjs +6 -3
- package/fesm2022/caribeng-ui-caribe-illustration.mjs +6 -3
- package/fesm2022/caribeng-ui-caribe-inline-alert.mjs +5 -2
- package/fesm2022/caribeng-ui-caribe-input-search.mjs +14 -10
- package/fesm2022/caribeng-ui-caribe-input-select.mjs +12 -10
- package/fesm2022/caribeng-ui-caribe-input-token.mjs +61 -11
- package/fesm2022/caribeng-ui-caribe-link.mjs +7 -2
- package/fesm2022/caribeng-ui-caribe-loader.mjs +8 -5
- package/fesm2022/caribeng-ui-caribe-modal.mjs +32 -16
- package/fesm2022/caribeng-ui-caribe-off-canvas.mjs +26 -12
- package/fesm2022/caribeng-ui-caribe-onboarding.mjs +44 -19
- package/fesm2022/caribeng-ui-caribe-pictogram.mjs +6 -3
- package/fesm2022/caribeng-ui-caribe-pop-over.mjs +34 -10
- package/fesm2022/caribeng-ui-caribe-preloader.mjs +9 -6
- package/fesm2022/caribeng-ui-caribe-progress-bar.mjs +5 -2
- package/fesm2022/caribeng-ui-caribe-shortcut.mjs +8 -3
- package/fesm2022/caribeng-ui-caribe-step-indicator.mjs +12 -5
- package/fesm2022/caribeng-ui-caribe-stroke.mjs +6 -3
- package/fesm2022/caribeng-ui-caribe-switch.mjs +5 -3
- package/fesm2022/caribeng-ui-caribe-tag-button.mjs +1 -1
- package/fesm2022/caribeng-ui-caribe-tracker.mjs +5 -2
- package/fesm2022/caribeng-ui-caribe-transaction-status.mjs +1 -1
- package/fesm2022/caribeng-ui-caribe-voucher.mjs +11 -8
- package/fesm2022/caribeng-ui-carousel.mjs +49 -14
- package/fesm2022/caribeng-ui-cascadeselect.mjs +22 -8
- package/fesm2022/caribeng-ui-chart.mjs +2601 -303
- package/fesm2022/caribeng-ui-chat.mjs +1303 -0
- package/fesm2022/caribeng-ui-chip.mjs +9 -4
- package/fesm2022/caribeng-ui-chips.mjs +9 -5
- package/fesm2022/caribeng-ui-code-block.mjs +332 -0
- package/fesm2022/caribeng-ui-colorpicker.mjs +107 -11
- package/fesm2022/caribeng-ui-command-palette.mjs +476 -0
- package/fesm2022/caribeng-ui-confirmdialog.mjs +140 -10
- package/fesm2022/caribeng-ui-confirmpopup.mjs +209 -9
- package/fesm2022/caribeng-ui-contextmenu.mjs +13 -6
- package/fesm2022/caribeng-ui-copy-button.mjs +230 -0
- package/fesm2022/caribeng-ui-dataview.mjs +214 -6
- package/fesm2022/caribeng-ui-datepicker.mjs +1630 -393
- package/fesm2022/caribeng-ui-descriptions.mjs +124 -0
- package/fesm2022/caribeng-ui-dialog.mjs +10 -7
- package/fesm2022/caribeng-ui-dock.mjs +58 -15
- package/fesm2022/caribeng-ui-drawer.mjs +17 -9
- package/fesm2022/caribeng-ui-dynamicdialog.mjs +210 -6
- package/fesm2022/caribeng-ui-editor.mjs +4413 -243
- package/fesm2022/caribeng-ui-empty.mjs +80 -0
- package/fesm2022/caribeng-ui-fieldset.mjs +2 -2
- package/fesm2022/caribeng-ui-file-card.mjs +136 -19
- package/fesm2022/caribeng-ui-fileupload.mjs +96 -19
- package/fesm2022/caribeng-ui-floatlabel.mjs +4 -2
- package/fesm2022/caribeng-ui-folder-card.mjs +132 -15
- package/fesm2022/caribeng-ui-galleria.mjs +76 -45
- package/fesm2022/caribeng-ui-image.mjs +52 -29
- package/fesm2022/caribeng-ui-inlinemessage.mjs +2 -2
- package/fesm2022/caribeng-ui-inplace.mjs +22 -6
- package/fesm2022/caribeng-ui-input-number.mjs +9 -7
- package/fesm2022/caribeng-ui-inputgroup.mjs +2 -2
- package/fesm2022/caribeng-ui-inputmask.mjs +22 -13
- package/fesm2022/caribeng-ui-inputotp.mjs +12 -6
- package/fesm2022/caribeng-ui-kanban.mjs +4612 -0
- package/fesm2022/caribeng-ui-kbd.mjs +122 -0
- package/fesm2022/caribeng-ui-keyfilter.mjs +72 -0
- package/fesm2022/caribeng-ui-listbox.mjs +13 -11
- package/fesm2022/caribeng-ui-megamenu.mjs +228 -32
- package/fesm2022/caribeng-ui-mentions.mjs +495 -0
- package/fesm2022/caribeng-ui-menu.mjs +18 -8
- package/fesm2022/caribeng-ui-menubar.mjs +17 -8
- package/fesm2022/caribeng-ui-message.mjs +13 -7
- package/fesm2022/caribeng-ui-metergroup.mjs +29 -11
- package/fesm2022/caribeng-ui-multiselect.mjs +399 -97
- package/fesm2022/caribeng-ui-orderlist.mjs +230 -11
- package/fesm2022/caribeng-ui-organizationchart.mjs +16 -15
- package/fesm2022/caribeng-ui-paginator.mjs +18 -15
- package/fesm2022/caribeng-ui-panel.mjs +11 -8
- package/fesm2022/caribeng-ui-panelmenu.mjs +14 -8
- package/fesm2022/caribeng-ui-password.mjs +8 -6
- package/fesm2022/caribeng-ui-pdfviewer.mjs +1553 -0
- package/fesm2022/caribeng-ui-phone-input.mjs +688 -0
- package/fesm2022/caribeng-ui-picklist.mjs +251 -14
- package/fesm2022/caribeng-ui-pricing.mjs +272 -75
- package/fesm2022/caribeng-ui-qrcode.mjs +564 -0
- package/fesm2022/caribeng-ui-rating.mjs +7 -3
- package/fesm2022/caribeng-ui-repeater.mjs +223 -0
- package/fesm2022/caribeng-ui-result.mjs +91 -0
- package/fesm2022/caribeng-ui-ripple.mjs +2 -0
- package/fesm2022/caribeng-ui-scrollpanel.mjs +6 -3
- package/fesm2022/caribeng-ui-scrolltop.mjs +9 -4
- package/fesm2022/caribeng-ui-select.mjs +379 -87
- package/fesm2022/caribeng-ui-selectbutton.mjs +2 -2
- package/fesm2022/caribeng-ui-sidebar.mjs +573 -0
- package/fesm2022/caribeng-ui-slider.mjs +171 -75
- package/fesm2022/caribeng-ui-speeddial.mjs +7 -4
- package/fesm2022/caribeng-ui-spinner.mjs +5 -2
- package/fesm2022/caribeng-ui-splitbutton.mjs +163 -0
- package/fesm2022/caribeng-ui-splitter.mjs +5 -2
- package/fesm2022/caribeng-ui-statistic.mjs +183 -0
- package/fesm2022/caribeng-ui-stepper.mjs +17 -7
- package/fesm2022/caribeng-ui-steps.mjs +6 -3
- package/fesm2022/caribeng-ui-table.mjs +716 -84
- package/fesm2022/caribeng-ui-tabmenu.mjs +13 -6
- package/fesm2022/caribeng-ui-tag.mjs +2 -2
- package/fesm2022/caribeng-ui-terminal.mjs +45 -9
- package/fesm2022/caribeng-ui-themetoggle.mjs +82 -0
- package/fesm2022/caribeng-ui-tieredmenu.mjs +113 -20
- package/fesm2022/caribeng-ui-timeline.mjs +175 -6
- package/fesm2022/caribeng-ui-toast.mjs +7 -4
- package/fesm2022/caribeng-ui-togglebutton.mjs +8 -6
- package/fesm2022/caribeng-ui-toolbar.mjs +6 -3
- package/fesm2022/caribeng-ui-tree.mjs +302 -6
- package/fesm2022/caribeng-ui-treeselect.mjs +26 -10
- package/fesm2022/caribeng-ui-treetable.mjs +269 -6
- package/fesm2022/caribeng-ui-virtualscroller.mjs +123 -10
- package/fesm2022/caribeng-ui.mjs +1216 -6
- package/package.json +93 -3
- package/schematics/collection.json +15 -0
- package/schematics/migrate-from-primeng/core-icons.json +1 -0
- package/schematics/migrate-from-primeng/icons.js +269 -0
- package/schematics/migrate-from-primeng/index.js +290 -0
- package/schematics/migrate-from-primeng/mappings/button.js +93 -0
- package/schematics/migrate-from-primeng/mappings/card.js +33 -0
- package/schematics/migrate-from-primeng/mappings/checkbox.js +44 -0
- package/schematics/migrate-from-primeng/mappings/confirm.js +221 -0
- package/schematics/migrate-from-primeng/mappings/datepicker.js +121 -0
- package/schematics/migrate-from-primeng/mappings/dialog.js +84 -0
- package/schematics/migrate-from-primeng/mappings/index.js +88 -0
- package/schematics/migrate-from-primeng/mappings/inputnumber.js +62 -0
- package/schematics/migrate-from-primeng/mappings/inputtext.js +60 -0
- package/schematics/migrate-from-primeng/mappings/menu.js +468 -0
- package/schematics/migrate-from-primeng/mappings/multiselect.js +49 -0
- package/schematics/migrate-from-primeng/mappings/radiobutton.js +22 -0
- package/schematics/migrate-from-primeng/mappings/rules.js +206 -0
- package/schematics/migrate-from-primeng/mappings/select.js +97 -0
- package/schematics/migrate-from-primeng/mappings/service-calls.js +100 -0
- package/schematics/migrate-from-primeng/mappings/table.js +613 -0
- package/schematics/migrate-from-primeng/mappings/tabs.js +225 -0
- package/schematics/migrate-from-primeng/mappings/tag.js +29 -0
- package/schematics/migrate-from-primeng/mappings/textarea.js +44 -0
- package/schematics/migrate-from-primeng/mappings/toast.js +173 -0
- package/schematics/migrate-from-primeng/mappings/toggleswitch.js +37 -0
- package/schematics/migrate-from-primeng/mappings/tooltip.js +44 -0
- package/schematics/migrate-from-primeng/mappings/types.js +10 -0
- package/schematics/migrate-from-primeng/report.js +79 -0
- package/schematics/migrate-from-primeng/schema.js +2 -0
- package/schematics/migrate-from-primeng/schema.json +34 -0
- package/schematics/migrate-from-primeng/template.js +387 -0
- package/schematics/migrate-from-primeng/todo.js +5 -0
- package/schematics/migrate-from-primeng/typescript.js +442 -0
- package/schematics/migrate-from-primeng/workspace.js +117 -0
- package/schematics/ng-add/index.js +140 -0
- package/schematics/ng-add/schema.js +2 -0
- package/schematics/ng-add/schema.json +66 -0
- package/types/caribeng-ui-anchor.d.ts +50 -0
- package/types/caribeng-ui-autocomplete.d.ts +4 -2
- package/types/caribeng-ui-avatargroup.d.ts +3 -1
- package/types/caribeng-ui-badge.d.ts +3 -1
- package/types/caribeng-ui-blockui.d.ts +9 -4
- package/types/caribeng-ui-breadcrumb.d.ts +11 -0
- package/types/caribeng-ui-button.d.ts +9 -1
- package/types/caribeng-ui-caribe-alert.d.ts +3 -0
- package/types/caribeng-ui-caribe-animation-lottie.d.ts +4 -1
- package/types/caribeng-ui-caribe-button-group.d.ts +4 -1
- package/types/caribeng-ui-caribe-calendar.d.ts +5 -1
- package/types/caribeng-ui-caribe-card-content.d.ts +4 -1
- package/types/caribeng-ui-caribe-card-move.d.ts +13 -13
- package/types/caribeng-ui-caribe-card-select.d.ts +10 -1
- package/types/caribeng-ui-caribe-circle-loading.d.ts +4 -1
- package/types/caribeng-ui-caribe-coachmark.d.ts +6 -0
- package/types/caribeng-ui-caribe-data-table.d.ts +7 -2
- package/types/caribeng-ui-caribe-dots-indicator.d.ts +9 -0
- package/types/caribeng-ui-caribe-expansion-panel.d.ts +7 -10
- package/types/caribeng-ui-caribe-fab-menu.d.ts +10 -1
- package/types/caribeng-ui-caribe-file-download.d.ts +8 -10
- package/types/caribeng-ui-caribe-file-select.d.ts +7 -1
- package/types/caribeng-ui-caribe-float-menu.d.ts +4 -1
- package/types/caribeng-ui-caribe-header.d.ts +3 -0
- package/types/caribeng-ui-caribe-icon-button.d.ts +4 -1
- package/types/caribeng-ui-caribe-illustration.d.ts +4 -1
- package/types/caribeng-ui-caribe-inline-alert.d.ts +3 -0
- package/types/caribeng-ui-caribe-input-search.d.ts +4 -2
- package/types/caribeng-ui-caribe-input-select.d.ts +4 -2
- package/types/caribeng-ui-caribe-input-token.d.ts +16 -1
- package/types/caribeng-ui-caribe-link.d.ts +3 -0
- package/types/caribeng-ui-caribe-loader.d.ts +4 -1
- package/types/caribeng-ui-caribe-modal.d.ts +7 -10
- package/types/caribeng-ui-caribe-off-canvas.d.ts +6 -1
- package/types/caribeng-ui-caribe-onboarding.d.ts +6 -0
- package/types/caribeng-ui-caribe-pictogram.d.ts +4 -1
- package/types/caribeng-ui-caribe-pop-over.d.ts +7 -10
- package/types/caribeng-ui-caribe-preloader.d.ts +4 -1
- package/types/caribeng-ui-caribe-progress-bar.d.ts +3 -0
- package/types/caribeng-ui-caribe-shortcut.d.ts +3 -1
- package/types/caribeng-ui-caribe-step-indicator.d.ts +6 -0
- package/types/caribeng-ui-caribe-stroke.d.ts +4 -1
- package/types/caribeng-ui-caribe-switch.d.ts +3 -1
- package/types/caribeng-ui-caribe-tracker.d.ts +3 -0
- package/types/caribeng-ui-caribe-voucher.d.ts +5 -2
- package/types/caribeng-ui-carousel.d.ts +10 -1
- package/types/caribeng-ui-cascadeselect.d.ts +7 -2
- package/types/caribeng-ui-chart.d.ts +471 -44
- package/types/caribeng-ui-chat.d.ts +299 -0
- package/types/caribeng-ui-chip.d.ts +6 -0
- package/types/caribeng-ui-chips.d.ts +6 -2
- package/types/caribeng-ui-code-block.d.ts +65 -0
- package/types/caribeng-ui-colorpicker.d.ts +8 -2
- package/types/caribeng-ui-command-palette.d.ts +133 -0
- package/types/caribeng-ui-confirmdialog.d.ts +57 -6
- package/types/caribeng-ui-confirmpopup.d.ts +74 -5
- package/types/caribeng-ui-contextmenu.d.ts +11 -1
- package/types/caribeng-ui-copy-button.d.ts +90 -0
- package/types/caribeng-ui-dataview.d.ts +65 -5
- package/types/caribeng-ui-datepicker.d.ts +186 -21
- package/types/caribeng-ui-descriptions.d.ts +63 -0
- package/types/caribeng-ui-dialog.d.ts +4 -1
- package/types/caribeng-ui-dock.d.ts +17 -2
- package/types/caribeng-ui-drawer.d.ts +7 -2
- package/types/caribeng-ui-dynamicdialog.d.ts +93 -3
- package/types/caribeng-ui-editor.d.ts +486 -13
- package/types/caribeng-ui-empty.d.ts +34 -0
- package/types/caribeng-ui-file-card.d.ts +28 -3
- package/types/caribeng-ui-fileupload.d.ts +27 -4
- package/types/caribeng-ui-folder-card.d.ts +31 -6
- package/types/caribeng-ui-galleria.d.ts +9 -0
- package/types/caribeng-ui-image.d.ts +10 -0
- package/types/caribeng-ui-inplace.d.ts +8 -0
- package/types/caribeng-ui-input-number.d.ts +3 -1
- package/types/caribeng-ui-inputmask.d.ts +8 -1
- package/types/caribeng-ui-inputotp.d.ts +7 -2
- package/types/caribeng-ui-kanban.d.ts +783 -0
- package/types/caribeng-ui-kbd.d.ts +36 -0
- package/types/caribeng-ui-keyfilter.d.ts +30 -0
- package/types/caribeng-ui-listbox.d.ts +5 -3
- package/types/caribeng-ui-megamenu.d.ts +37 -2
- package/types/caribeng-ui-mentions.d.ts +127 -0
- package/types/caribeng-ui-menu.d.ts +14 -2
- package/types/caribeng-ui-menubar.d.ts +12 -1
- package/types/caribeng-ui-message.d.ts +5 -0
- package/types/caribeng-ui-metergroup.d.ts +9 -1
- package/types/caribeng-ui-multiselect.d.ts +71 -10
- package/types/caribeng-ui-orderlist.d.ts +58 -6
- package/types/caribeng-ui-organizationchart.d.ts +7 -1
- package/types/caribeng-ui-paginator.d.ts +3 -0
- package/types/caribeng-ui-panel.d.ts +3 -0
- package/types/caribeng-ui-panelmenu.d.ts +11 -1
- package/types/caribeng-ui-password.d.ts +4 -2
- package/types/caribeng-ui-pdfviewer.d.ts +258 -0
- package/types/caribeng-ui-phone-input.d.ts +168 -0
- package/types/caribeng-ui-picklist.d.ts +67 -7
- package/types/caribeng-ui-pricing.d.ts +49 -9
- package/types/caribeng-ui-qrcode.d.ts +88 -0
- package/types/caribeng-ui-rating.d.ts +6 -2
- package/types/caribeng-ui-repeater.d.ts +79 -0
- package/types/caribeng-ui-result.d.ts +35 -0
- package/types/caribeng-ui-scrollpanel.d.ts +4 -1
- package/types/caribeng-ui-scrolltop.d.ts +4 -1
- package/types/caribeng-ui-select.d.ts +73 -9
- package/types/caribeng-ui-sidebar.d.ts +167 -0
- package/types/caribeng-ui-slider.d.ts +63 -10
- package/types/caribeng-ui-speeddial.d.ts +5 -2
- package/types/caribeng-ui-spinner.d.ts +3 -0
- package/types/caribeng-ui-splitbutton.d.ts +49 -0
- package/types/caribeng-ui-splitter.d.ts +3 -0
- package/types/caribeng-ui-statistic.d.ts +65 -0
- package/types/caribeng-ui-stepper.d.ts +5 -0
- package/types/caribeng-ui-steps.d.ts +4 -1
- package/types/caribeng-ui-table.d.ts +185 -17
- package/types/caribeng-ui-tabmenu.d.ts +11 -1
- package/types/caribeng-ui-terminal.d.ts +10 -0
- package/types/caribeng-ui-themetoggle.d.ts +32 -0
- package/types/caribeng-ui-tieredmenu.d.ts +22 -3
- package/types/caribeng-ui-timeline.d.ts +63 -4
- package/types/caribeng-ui-toast.d.ts +3 -0
- package/types/caribeng-ui-togglebutton.d.ts +5 -3
- package/types/caribeng-ui-toolbar.d.ts +7 -4
- package/types/caribeng-ui-tree.d.ts +76 -4
- package/types/caribeng-ui-treeselect.d.ts +10 -2
- package/types/caribeng-ui-treetable.d.ts +68 -4
- package/types/caribeng-ui-virtualscroller.d.ts +45 -5
- package/types/caribeng-ui.d.ts +775 -12
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@caribeng/ui",
|
|
3
|
-
"version": "22.
|
|
4
|
-
"description": "CaribeNG — sistema de diseño y librería de componentes para Angular 22+ (standalone, signals, OnPush, zoneless).
|
|
3
|
+
"version": "22.4.0",
|
|
4
|
+
"description": "CaribeNG — sistema de diseño y librería de componentes para Angular 22+ (standalone, signals, OnPush, zoneless). 162 entry points tree-shakeables, accesibles (WCAG 2.2 AA) y tematizables.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
7
7
|
"ui library",
|
|
@@ -23,6 +23,10 @@
|
|
|
23
23
|
"url": "https://github.com/caribeng/ui/issues"
|
|
24
24
|
},
|
|
25
25
|
"sideEffects": false,
|
|
26
|
+
"schematics": "./schematics/collection.json",
|
|
27
|
+
"ng-add": {
|
|
28
|
+
"save": "dependencies"
|
|
29
|
+
},
|
|
26
30
|
"publishConfig": {
|
|
27
31
|
"access": "public"
|
|
28
32
|
},
|
|
@@ -30,7 +34,13 @@
|
|
|
30
34
|
"@angular/common": "^22.0.0",
|
|
31
35
|
"@angular/core": "^22.0.0",
|
|
32
36
|
"@angular/forms": "^22.0.0",
|
|
33
|
-
"@angular/platform-browser": "^22.0.0"
|
|
37
|
+
"@angular/platform-browser": "^22.0.0",
|
|
38
|
+
"pdfjs-dist": "^6.4.0"
|
|
39
|
+
},
|
|
40
|
+
"peerDependenciesMeta": {
|
|
41
|
+
"pdfjs-dist": {
|
|
42
|
+
"optional": true
|
|
43
|
+
}
|
|
34
44
|
},
|
|
35
45
|
"dependencies": {
|
|
36
46
|
"@angular/cdk": "^22.0.0",
|
|
@@ -50,6 +60,10 @@
|
|
|
50
60
|
"types": "./types/caribeng-ui-accordion.d.ts",
|
|
51
61
|
"default": "./fesm2022/caribeng-ui-accordion.mjs"
|
|
52
62
|
},
|
|
63
|
+
"./anchor": {
|
|
64
|
+
"types": "./types/caribeng-ui-anchor.d.ts",
|
|
65
|
+
"default": "./fesm2022/caribeng-ui-anchor.mjs"
|
|
66
|
+
},
|
|
53
67
|
"./animateonscroll": {
|
|
54
68
|
"types": "./types/caribeng-ui-animateonscroll.d.ts",
|
|
55
69
|
"default": "./fesm2022/caribeng-ui-animateonscroll.mjs"
|
|
@@ -282,6 +296,10 @@
|
|
|
282
296
|
"types": "./types/caribeng-ui-chart.d.ts",
|
|
283
297
|
"default": "./fesm2022/caribeng-ui-chart.mjs"
|
|
284
298
|
},
|
|
299
|
+
"./chat": {
|
|
300
|
+
"types": "./types/caribeng-ui-chat.d.ts",
|
|
301
|
+
"default": "./fesm2022/caribeng-ui-chat.mjs"
|
|
302
|
+
},
|
|
285
303
|
"./checkbox": {
|
|
286
304
|
"types": "./types/caribeng-ui-checkbox.d.ts",
|
|
287
305
|
"default": "./fesm2022/caribeng-ui-checkbox.mjs"
|
|
@@ -294,10 +312,18 @@
|
|
|
294
312
|
"types": "./types/caribeng-ui-chips.d.ts",
|
|
295
313
|
"default": "./fesm2022/caribeng-ui-chips.mjs"
|
|
296
314
|
},
|
|
315
|
+
"./code-block": {
|
|
316
|
+
"types": "./types/caribeng-ui-code-block.d.ts",
|
|
317
|
+
"default": "./fesm2022/caribeng-ui-code-block.mjs"
|
|
318
|
+
},
|
|
297
319
|
"./colorpicker": {
|
|
298
320
|
"types": "./types/caribeng-ui-colorpicker.d.ts",
|
|
299
321
|
"default": "./fesm2022/caribeng-ui-colorpicker.mjs"
|
|
300
322
|
},
|
|
323
|
+
"./command-palette": {
|
|
324
|
+
"types": "./types/caribeng-ui-command-palette.d.ts",
|
|
325
|
+
"default": "./fesm2022/caribeng-ui-command-palette.mjs"
|
|
326
|
+
},
|
|
301
327
|
"./confirmdialog": {
|
|
302
328
|
"types": "./types/caribeng-ui-confirmdialog.d.ts",
|
|
303
329
|
"default": "./fesm2022/caribeng-ui-confirmdialog.mjs"
|
|
@@ -310,6 +336,10 @@
|
|
|
310
336
|
"types": "./types/caribeng-ui-contextmenu.d.ts",
|
|
311
337
|
"default": "./fesm2022/caribeng-ui-contextmenu.mjs"
|
|
312
338
|
},
|
|
339
|
+
"./copy-button": {
|
|
340
|
+
"types": "./types/caribeng-ui-copy-button.d.ts",
|
|
341
|
+
"default": "./fesm2022/caribeng-ui-copy-button.mjs"
|
|
342
|
+
},
|
|
313
343
|
"./dataview": {
|
|
314
344
|
"types": "./types/caribeng-ui-dataview.d.ts",
|
|
315
345
|
"default": "./fesm2022/caribeng-ui-dataview.mjs"
|
|
@@ -318,6 +348,10 @@
|
|
|
318
348
|
"types": "./types/caribeng-ui-datepicker.d.ts",
|
|
319
349
|
"default": "./fesm2022/caribeng-ui-datepicker.mjs"
|
|
320
350
|
},
|
|
351
|
+
"./descriptions": {
|
|
352
|
+
"types": "./types/caribeng-ui-descriptions.d.ts",
|
|
353
|
+
"default": "./fesm2022/caribeng-ui-descriptions.mjs"
|
|
354
|
+
},
|
|
321
355
|
"./dialog": {
|
|
322
356
|
"types": "./types/caribeng-ui-dialog.d.ts",
|
|
323
357
|
"default": "./fesm2022/caribeng-ui-dialog.mjs"
|
|
@@ -342,6 +376,10 @@
|
|
|
342
376
|
"types": "./types/caribeng-ui-editor.d.ts",
|
|
343
377
|
"default": "./fesm2022/caribeng-ui-editor.mjs"
|
|
344
378
|
},
|
|
379
|
+
"./empty": {
|
|
380
|
+
"types": "./types/caribeng-ui-empty.d.ts",
|
|
381
|
+
"default": "./fesm2022/caribeng-ui-empty.mjs"
|
|
382
|
+
},
|
|
345
383
|
"./fieldset": {
|
|
346
384
|
"types": "./types/caribeng-ui-fieldset.d.ts",
|
|
347
385
|
"default": "./fesm2022/caribeng-ui-fieldset.mjs"
|
|
@@ -414,6 +452,18 @@
|
|
|
414
452
|
"types": "./types/caribeng-ui-inputotp.d.ts",
|
|
415
453
|
"default": "./fesm2022/caribeng-ui-inputotp.mjs"
|
|
416
454
|
},
|
|
455
|
+
"./kanban": {
|
|
456
|
+
"types": "./types/caribeng-ui-kanban.d.ts",
|
|
457
|
+
"default": "./fesm2022/caribeng-ui-kanban.mjs"
|
|
458
|
+
},
|
|
459
|
+
"./kbd": {
|
|
460
|
+
"types": "./types/caribeng-ui-kbd.d.ts",
|
|
461
|
+
"default": "./fesm2022/caribeng-ui-kbd.mjs"
|
|
462
|
+
},
|
|
463
|
+
"./keyfilter": {
|
|
464
|
+
"types": "./types/caribeng-ui-keyfilter.d.ts",
|
|
465
|
+
"default": "./fesm2022/caribeng-ui-keyfilter.mjs"
|
|
466
|
+
},
|
|
417
467
|
"./knob": {
|
|
418
468
|
"types": "./types/caribeng-ui-knob.d.ts",
|
|
419
469
|
"default": "./fesm2022/caribeng-ui-knob.mjs"
|
|
@@ -426,6 +476,10 @@
|
|
|
426
476
|
"types": "./types/caribeng-ui-megamenu.d.ts",
|
|
427
477
|
"default": "./fesm2022/caribeng-ui-megamenu.mjs"
|
|
428
478
|
},
|
|
479
|
+
"./mentions": {
|
|
480
|
+
"types": "./types/caribeng-ui-mentions.d.ts",
|
|
481
|
+
"default": "./fesm2022/caribeng-ui-mentions.mjs"
|
|
482
|
+
},
|
|
429
483
|
"./menu": {
|
|
430
484
|
"types": "./types/caribeng-ui-menu.d.ts",
|
|
431
485
|
"default": "./fesm2022/caribeng-ui-menu.mjs"
|
|
@@ -470,6 +524,14 @@
|
|
|
470
524
|
"types": "./types/caribeng-ui-password.d.ts",
|
|
471
525
|
"default": "./fesm2022/caribeng-ui-password.mjs"
|
|
472
526
|
},
|
|
527
|
+
"./pdfviewer": {
|
|
528
|
+
"types": "./types/caribeng-ui-pdfviewer.d.ts",
|
|
529
|
+
"default": "./fesm2022/caribeng-ui-pdfviewer.mjs"
|
|
530
|
+
},
|
|
531
|
+
"./phone-input": {
|
|
532
|
+
"types": "./types/caribeng-ui-phone-input.d.ts",
|
|
533
|
+
"default": "./fesm2022/caribeng-ui-phone-input.mjs"
|
|
534
|
+
},
|
|
473
535
|
"./picklist": {
|
|
474
536
|
"types": "./types/caribeng-ui-picklist.d.ts",
|
|
475
537
|
"default": "./fesm2022/caribeng-ui-picklist.mjs"
|
|
@@ -486,6 +548,10 @@
|
|
|
486
548
|
"types": "./types/caribeng-ui-progressbar.d.ts",
|
|
487
549
|
"default": "./fesm2022/caribeng-ui-progressbar.mjs"
|
|
488
550
|
},
|
|
551
|
+
"./qrcode": {
|
|
552
|
+
"types": "./types/caribeng-ui-qrcode.d.ts",
|
|
553
|
+
"default": "./fesm2022/caribeng-ui-qrcode.mjs"
|
|
554
|
+
},
|
|
489
555
|
"./radio": {
|
|
490
556
|
"types": "./types/caribeng-ui-radio.d.ts",
|
|
491
557
|
"default": "./fesm2022/caribeng-ui-radio.mjs"
|
|
@@ -494,6 +560,14 @@
|
|
|
494
560
|
"types": "./types/caribeng-ui-rating.d.ts",
|
|
495
561
|
"default": "./fesm2022/caribeng-ui-rating.mjs"
|
|
496
562
|
},
|
|
563
|
+
"./repeater": {
|
|
564
|
+
"types": "./types/caribeng-ui-repeater.d.ts",
|
|
565
|
+
"default": "./fesm2022/caribeng-ui-repeater.mjs"
|
|
566
|
+
},
|
|
567
|
+
"./result": {
|
|
568
|
+
"types": "./types/caribeng-ui-result.d.ts",
|
|
569
|
+
"default": "./fesm2022/caribeng-ui-result.mjs"
|
|
570
|
+
},
|
|
497
571
|
"./ripple": {
|
|
498
572
|
"types": "./types/caribeng-ui-ripple.d.ts",
|
|
499
573
|
"default": "./fesm2022/caribeng-ui-ripple.mjs"
|
|
@@ -514,6 +588,10 @@
|
|
|
514
588
|
"types": "./types/caribeng-ui-selectbutton.d.ts",
|
|
515
589
|
"default": "./fesm2022/caribeng-ui-selectbutton.mjs"
|
|
516
590
|
},
|
|
591
|
+
"./sidebar": {
|
|
592
|
+
"types": "./types/caribeng-ui-sidebar.d.ts",
|
|
593
|
+
"default": "./fesm2022/caribeng-ui-sidebar.mjs"
|
|
594
|
+
},
|
|
517
595
|
"./skeleton": {
|
|
518
596
|
"types": "./types/caribeng-ui-skeleton.d.ts",
|
|
519
597
|
"default": "./fesm2022/caribeng-ui-skeleton.mjs"
|
|
@@ -530,10 +608,18 @@
|
|
|
530
608
|
"types": "./types/caribeng-ui-spinner.d.ts",
|
|
531
609
|
"default": "./fesm2022/caribeng-ui-spinner.mjs"
|
|
532
610
|
},
|
|
611
|
+
"./splitbutton": {
|
|
612
|
+
"types": "./types/caribeng-ui-splitbutton.d.ts",
|
|
613
|
+
"default": "./fesm2022/caribeng-ui-splitbutton.mjs"
|
|
614
|
+
},
|
|
533
615
|
"./splitter": {
|
|
534
616
|
"types": "./types/caribeng-ui-splitter.d.ts",
|
|
535
617
|
"default": "./fesm2022/caribeng-ui-splitter.mjs"
|
|
536
618
|
},
|
|
619
|
+
"./statistic": {
|
|
620
|
+
"types": "./types/caribeng-ui-statistic.d.ts",
|
|
621
|
+
"default": "./fesm2022/caribeng-ui-statistic.mjs"
|
|
622
|
+
},
|
|
537
623
|
"./stepper": {
|
|
538
624
|
"types": "./types/caribeng-ui-stepper.d.ts",
|
|
539
625
|
"default": "./fesm2022/caribeng-ui-stepper.mjs"
|
|
@@ -570,6 +656,10 @@
|
|
|
570
656
|
"types": "./types/caribeng-ui-textarea.d.ts",
|
|
571
657
|
"default": "./fesm2022/caribeng-ui-textarea.mjs"
|
|
572
658
|
},
|
|
659
|
+
"./themetoggle": {
|
|
660
|
+
"types": "./types/caribeng-ui-themetoggle.d.ts",
|
|
661
|
+
"default": "./fesm2022/caribeng-ui-themetoggle.mjs"
|
|
662
|
+
},
|
|
573
663
|
"./tieredmenu": {
|
|
574
664
|
"types": "./types/caribeng-ui-tieredmenu.d.ts",
|
|
575
665
|
"default": "./fesm2022/caribeng-ui-tieredmenu.mjs"
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../../../node_modules/@angular-devkit/schematics/collection-schema.json",
|
|
3
|
+
"schematics": {
|
|
4
|
+
"ng-add": {
|
|
5
|
+
"description": "Configura CaribeNG en el proyecto: provideCaribeNG() y la hoja de estilos.",
|
|
6
|
+
"factory": "./ng-add/index#ngAdd",
|
|
7
|
+
"schema": "./ng-add/schema.json"
|
|
8
|
+
},
|
|
9
|
+
"migrate-from-primeng": {
|
|
10
|
+
"description": "Migra un proyecto PrimeNG (18+) a CaribeNG: imports, plantillas, iconos, estilos y proveedor. Deja avisos TODO(caribeng) y un informe con lo pendiente.",
|
|
11
|
+
"factory": "./migrate-from-primeng/index#migrateFromPrimeng",
|
|
12
|
+
"schema": "./migrate-from-primeng/schema.json"
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
["flip-horizontal","flip-vertical","accessibility","arrow-big-down","arrow-big-down-dash","arrow-big-left","arrow-big-left-dash","arrow-big-right","arrow-big-right-dash","arrow-big-up","arrow-big-up-dash","arrow-down","arrow-down-0-1","arrow-down-1-0","arrow-down-a-z","arrow-down-from-line","arrow-down-left","arrow-down-narrow-wide","arrow-down-right","arrow-down-to-dot","arrow-down-to-line","arrow-down-up","arrow-down-wide-narrow","arrow-down-z-a","arrow-left","arrow-left-from-line","arrow-left-right","arrow-left-to-line","arrow-right","arrow-right-from-line","arrow-right-left","arrow-right-to-line","arrow-up","arrow-up-0-1","arrow-up-1-0","arrow-up-a-z","arrow-up-down","arrow-up-from-dot","arrow-up-from-line","arrow-up-left","arrow-up-narrow-wide","arrow-up-right","arrow-up-to-line","arrow-up-wide-narrow","arrow-up-z-a","arrows-up-from-line","astroid","badge","barrel","bell","binoculars","birdhouse","calendar","calendar-chevrons-left","calendar-chevrons-right","calendar-days","calendar-sync","castle","check","check-check","chevron-down","chevron-first","chevron-last","chevron-left","chevron-right","chevron-up","chevrons-down","chevrons-down-up","chevrons-left","chevrons-left-right","chevrons-right","chevrons-right-left","chevrons-up","chevrons-up-down","church","circle","circle-alert","circle-arrow-down","circle-arrow-left","circle-arrow-out-down-left","circle-arrow-out-down-right","circle-arrow-out-up-left","circle-arrow-out-up-right","circle-arrow-right","circle-arrow-up","circle-check","circle-chevron-down","circle-chevron-left","circle-chevron-right","circle-chevron-up","circle-fading-arrow-up","circle-parking","circle-parking-off","circle-x","clipboard","clipboard-copy","clipboard-paste","clock","clock-arrow-right","cloud-backup","cloud-download","cloud-sync","cloud-upload","compass","copy","corner-down-left","corner-down-right","corner-left-down","corner-left-up","corner-right-down","corner-right-up","corner-up-left","corner-up-right","credit-card-reader","dam","database-backup","decimals-arrow-left","decimals-arrow-right","delete","dome","download","dumbbell","earth","ev-charger","expand","external-link","eye","eye-off","factory","fast-forward","faucet","ferris-wheel","file","file-down","file-input","file-output","file-up","flag-triangle-left","flag-triangle-right","fold-horizontal","fold-vertical","folder","folder-down","folder-input","folder-output","folder-sync","folder-up","footprints","fuel","funnel","gavel","git-commit-horizontal","git-commit-vertical","git-compare-arrows","git-pull-request-arrow","git-pull-request-create-arrow","globe","globe-check","globe-code","globe-off","globe-x","hard-drive-download","hard-drive-upload","heart","hiking-stick","hospital","hotel","house","image","import","info","iteration-ccw","iteration-cw","landmark","lasso-select","layers-arrow-up","library","library-big","lighthouse","line-dot-bottom-vertical","line-dot-left-horizontal","line-dot-right-horizontal","line-dot-top-vertical","list-chevrons-down-up","list-chevrons-up-down","loader","loader-circle","locate","locate-fixed","locate-off","lock","log-in","log-out","mail","map","map-minus","map-pin","map-pin-check","map-pin-check-inside","map-pin-house","map-pin-minus","map-pin-minus-inside","map-pin-off","map-pin-pen","map-pin-plus","map-pin-plus-inside","map-pin-search","map-pin-x","map-pin-x-inside","map-pinned","map-plus","maximize-2","menu","merge","milestone","minimize-2","minus","moon","mosque","mouse-pointer","mouse-pointer-2","mouse-pointer-2-off","mouse-pointer-ban","mouse-pointer-click","move","move-diagonal","move-diagonal-2","move-down","move-down-left","move-down-right","move-horizontal","move-left","move-right","move-up","move-up-left","move-up-right","move-vertical","navigation","navigation-2","navigation-2-off","navigation-off","palette","panel-bottom-close","panel-bottom-open","panel-left-close","panel-left-open","panel-right-close","panel-right-open","panel-top-close","panel-top-open","park","parking-meter","pencil","phone-forwarded","phone-incoming","phone-outgoing","pin","pin-off","plane","play","plug","plus","puzzle","radar","redo","redo-2","redo-dot","refresh-ccw","refresh-ccw-dot","refresh-cw","refresh-cw-off","repeat","repeat-2","repeat-off","rewind","roller-coaster","rotate-ccw","rotate-ccw-clock","rotate-ccw-square","rotate-cw","rotate-cw-clock","rotate-cw-square","route","route-off","save","scale","school","search","separator-horizontal","separator-vertical","settings","shield-check","ship","ship-cargo","ship-wheel","shrink","shuffle","signpost","signpost-big","skip-back","skip-forward","sparkles","spline-pointer","split","square-arrow-down","square-arrow-down-left","square-arrow-down-right","square-arrow-left","square-arrow-out-down-left","square-arrow-out-down-right","square-arrow-out-up-left","square-arrow-out-up-right","square-arrow-right","square-arrow-right-enter","square-arrow-right-exit","square-arrow-up","square-arrow-up-left","square-arrow-up-right","square-chevron-down","square-chevron-left","square-chevron-right","square-chevron-up","square-dashed-mouse-pointer","square-library","square-m","square-mouse-pointer","square-parking","square-parking-off","square-play","star","step-back","step-forward","store","sun","sunrise","sunset","text-wrap","train-front-tunnel","train-track","trash","tree-pine","trending-down","trending-up","trending-up-down","triangle-alert","undo","undo-2","undo-dot","unfold-horizontal","unfold-vertical","university","upload","user","user-round-arrow-left","users","utensils","utensils-crossed","warehouse","waves-horizontal","waypoints","wind-arrow-up","x","zap"]
|
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PRIME_ICONS = void 0;
|
|
4
|
+
exports.parsePrimeIcon = parsePrimeIcon;
|
|
5
|
+
exports.isCoreIcon = isCoreIcon;
|
|
6
|
+
exports.catalogExport = catalogExport;
|
|
7
|
+
const node_fs_1 = require("node:fs");
|
|
8
|
+
const node_path_1 = require("node:path");
|
|
9
|
+
/**
|
|
10
|
+
* PrimeIcons (`pi pi-<nombre>`) → iconos de CaribeNG (nombres de Lucide).
|
|
11
|
+
* Los que no están aquí se dejan con un aviso. Un test comprueba que cada
|
|
12
|
+
* destino existe en el set núcleo o en el catálogo `@caribeng/ui/icons`.
|
|
13
|
+
*/
|
|
14
|
+
exports.PRIME_ICONS = {
|
|
15
|
+
check: 'check',
|
|
16
|
+
'check-circle': 'circle-check',
|
|
17
|
+
'check-square': 'square-check',
|
|
18
|
+
times: 'x',
|
|
19
|
+
'times-circle': 'circle-x',
|
|
20
|
+
plus: 'plus',
|
|
21
|
+
'plus-circle': 'circle-plus',
|
|
22
|
+
minus: 'minus',
|
|
23
|
+
'minus-circle': 'circle-minus',
|
|
24
|
+
trash: 'trash',
|
|
25
|
+
pencil: 'pencil',
|
|
26
|
+
'pen-to-square': 'square-pen',
|
|
27
|
+
'file-edit': 'file-pen',
|
|
28
|
+
search: 'search',
|
|
29
|
+
'search-plus': 'zoom-in',
|
|
30
|
+
'search-minus': 'zoom-out',
|
|
31
|
+
user: 'user',
|
|
32
|
+
'user-plus': 'user-plus',
|
|
33
|
+
'user-minus': 'user-minus',
|
|
34
|
+
'user-edit': 'user-pen',
|
|
35
|
+
users: 'users',
|
|
36
|
+
home: 'house',
|
|
37
|
+
cog: 'settings',
|
|
38
|
+
sliders_h: 'sliders-horizontal',
|
|
39
|
+
'sliders-h': 'sliders-horizontal',
|
|
40
|
+
'sliders-v': 'sliders-vertical',
|
|
41
|
+
bars: 'menu',
|
|
42
|
+
'chevron-down': 'chevron-down',
|
|
43
|
+
'chevron-up': 'chevron-up',
|
|
44
|
+
'chevron-left': 'chevron-left',
|
|
45
|
+
'chevron-right': 'chevron-right',
|
|
46
|
+
'chevron-circle-down': 'circle-chevron-down',
|
|
47
|
+
'chevron-circle-up': 'circle-chevron-up',
|
|
48
|
+
'chevron-circle-left': 'circle-chevron-left',
|
|
49
|
+
'chevron-circle-right': 'circle-chevron-right',
|
|
50
|
+
'angle-down': 'chevron-down',
|
|
51
|
+
'angle-up': 'chevron-up',
|
|
52
|
+
'angle-left': 'chevron-left',
|
|
53
|
+
'angle-right': 'chevron-right',
|
|
54
|
+
'angle-double-down': 'chevrons-down',
|
|
55
|
+
'angle-double-up': 'chevrons-up',
|
|
56
|
+
'angle-double-left': 'chevrons-left',
|
|
57
|
+
'angle-double-right': 'chevrons-right',
|
|
58
|
+
'arrow-down': 'arrow-down',
|
|
59
|
+
'arrow-up': 'arrow-up',
|
|
60
|
+
'arrow-left': 'arrow-left',
|
|
61
|
+
'arrow-right': 'arrow-right',
|
|
62
|
+
'arrow-up-right': 'arrow-up-right',
|
|
63
|
+
'arrow-down-left': 'arrow-down-left',
|
|
64
|
+
'arrow-right-arrow-left': 'arrow-left-right',
|
|
65
|
+
'arrows-h': 'move-horizontal',
|
|
66
|
+
'arrows-v': 'move-vertical',
|
|
67
|
+
'arrows-alt': 'move',
|
|
68
|
+
'sort-alt': 'arrow-up-down',
|
|
69
|
+
'sort-amount-down': 'arrow-down-wide-narrow',
|
|
70
|
+
'sort-amount-up': 'arrow-up-wide-narrow',
|
|
71
|
+
'sort-alpha-down': 'arrow-down-a-z',
|
|
72
|
+
'sort-alpha-up': 'arrow-up-a-z',
|
|
73
|
+
refresh: 'refresh-cw',
|
|
74
|
+
sync: 'refresh-cw',
|
|
75
|
+
replay: 'rotate-ccw',
|
|
76
|
+
undo: 'undo',
|
|
77
|
+
history: 'rotate-ccw-clock',
|
|
78
|
+
save: 'save',
|
|
79
|
+
download: 'download',
|
|
80
|
+
upload: 'upload',
|
|
81
|
+
eye: 'eye',
|
|
82
|
+
'eye-slash': 'eye-off',
|
|
83
|
+
calendar: 'calendar',
|
|
84
|
+
'calendar-plus': 'calendar-plus',
|
|
85
|
+
'calendar-minus': 'calendar-minus',
|
|
86
|
+
'calendar-times': 'calendar-x',
|
|
87
|
+
clock: 'clock',
|
|
88
|
+
stopwatch: 'timer',
|
|
89
|
+
envelope: 'mail',
|
|
90
|
+
inbox: 'inbox',
|
|
91
|
+
phone: 'phone',
|
|
92
|
+
mobile: 'smartphone',
|
|
93
|
+
tablet: 'tablet',
|
|
94
|
+
desktop: 'monitor',
|
|
95
|
+
lock: 'lock',
|
|
96
|
+
'lock-open': 'lock-open',
|
|
97
|
+
unlock: 'lock-open',
|
|
98
|
+
key: 'key',
|
|
99
|
+
shield: 'shield',
|
|
100
|
+
'sign-in': 'log-in',
|
|
101
|
+
'sign-out': 'log-out',
|
|
102
|
+
'power-off': 'power',
|
|
103
|
+
info: 'info',
|
|
104
|
+
'info-circle': 'info',
|
|
105
|
+
question: 'circle-question-mark',
|
|
106
|
+
'question-circle': 'circle-question-mark',
|
|
107
|
+
exclamation: 'circle-alert',
|
|
108
|
+
'exclamation-circle': 'circle-alert',
|
|
109
|
+
'exclamation-triangle': 'triangle-alert',
|
|
110
|
+
ban: 'ban',
|
|
111
|
+
star: 'star',
|
|
112
|
+
'star-fill': 'star',
|
|
113
|
+
heart: 'heart',
|
|
114
|
+
'heart-fill': 'heart',
|
|
115
|
+
bookmark: 'bookmark',
|
|
116
|
+
'bookmark-fill': 'bookmark',
|
|
117
|
+
'thumbs-up': 'thumbs-up',
|
|
118
|
+
'thumbs-down': 'thumbs-down',
|
|
119
|
+
filter: 'funnel',
|
|
120
|
+
'filter-fill': 'funnel',
|
|
121
|
+
'filter-slash': 'funnel-x',
|
|
122
|
+
'external-link': 'external-link',
|
|
123
|
+
link: 'link',
|
|
124
|
+
copy: 'copy',
|
|
125
|
+
clone: 'copy',
|
|
126
|
+
clipboard: 'clipboard',
|
|
127
|
+
file: 'file',
|
|
128
|
+
'file-pdf': 'file-text',
|
|
129
|
+
'file-excel': 'file-spreadsheet',
|
|
130
|
+
'file-word': 'file-text',
|
|
131
|
+
'file-export': 'file-output',
|
|
132
|
+
'file-import': 'file-input',
|
|
133
|
+
folder: 'folder',
|
|
134
|
+
'folder-open': 'folder-open',
|
|
135
|
+
image: 'image',
|
|
136
|
+
images: 'images',
|
|
137
|
+
camera: 'camera',
|
|
138
|
+
video: 'video',
|
|
139
|
+
microphone: 'mic',
|
|
140
|
+
'volume-up': 'volume-2',
|
|
141
|
+
'volume-down': 'volume-1',
|
|
142
|
+
'volume-off': 'volume-x',
|
|
143
|
+
play: 'play',
|
|
144
|
+
pause: 'pause',
|
|
145
|
+
stop: 'square',
|
|
146
|
+
'step-forward': 'skip-forward',
|
|
147
|
+
'step-backward': 'skip-back',
|
|
148
|
+
forward: 'fast-forward',
|
|
149
|
+
backward: 'rewind',
|
|
150
|
+
print: 'printer',
|
|
151
|
+
'share-alt': 'share-2',
|
|
152
|
+
send: 'send',
|
|
153
|
+
'map-marker': 'map-pin',
|
|
154
|
+
map: 'map',
|
|
155
|
+
globe: 'globe',
|
|
156
|
+
compass: 'compass',
|
|
157
|
+
bell: 'bell',
|
|
158
|
+
'bell-slash': 'bell-off',
|
|
159
|
+
'shopping-cart': 'shopping-cart',
|
|
160
|
+
'shopping-bag': 'shopping-bag',
|
|
161
|
+
'cart-plus': 'shopping-cart',
|
|
162
|
+
tag: 'tag',
|
|
163
|
+
tags: 'tags',
|
|
164
|
+
'ellipsis-v': 'ellipsis-vertical',
|
|
165
|
+
'ellipsis-h': 'ellipsis',
|
|
166
|
+
spinner: 'loader-circle',
|
|
167
|
+
'spinner-dotted': 'loader',
|
|
168
|
+
'circle-notch': 'loader-circle',
|
|
169
|
+
sun: 'sun',
|
|
170
|
+
moon: 'moon',
|
|
171
|
+
comment: 'message-circle',
|
|
172
|
+
comments: 'messages-square',
|
|
173
|
+
wrench: 'wrench',
|
|
174
|
+
hammer: 'hammer',
|
|
175
|
+
database: 'database',
|
|
176
|
+
server: 'server',
|
|
177
|
+
'chart-bar': 'chart-column',
|
|
178
|
+
'chart-line': 'chart-line',
|
|
179
|
+
'chart-pie': 'chart-pie',
|
|
180
|
+
'chart-scatter': 'chart-scatter',
|
|
181
|
+
list: 'list',
|
|
182
|
+
'list-check': 'list-checks',
|
|
183
|
+
'th-large': 'layout-grid',
|
|
184
|
+
table: 'table',
|
|
185
|
+
paperclip: 'paperclip',
|
|
186
|
+
cloud: 'cloud',
|
|
187
|
+
'cloud-upload': 'cloud-upload',
|
|
188
|
+
'cloud-download': 'cloud-download',
|
|
189
|
+
'credit-card': 'credit-card',
|
|
190
|
+
wallet: 'wallet',
|
|
191
|
+
dollar: 'dollar-sign',
|
|
192
|
+
euro: 'euro',
|
|
193
|
+
'money-bill': 'banknote',
|
|
194
|
+
percentage: 'percent',
|
|
195
|
+
calculator: 'calculator',
|
|
196
|
+
receipt: 'receipt',
|
|
197
|
+
ticket: 'ticket',
|
|
198
|
+
building: 'building',
|
|
199
|
+
'building-columns': 'landmark',
|
|
200
|
+
briefcase: 'briefcase',
|
|
201
|
+
flag: 'flag',
|
|
202
|
+
'flag-fill': 'flag',
|
|
203
|
+
gift: 'gift',
|
|
204
|
+
book: 'book',
|
|
205
|
+
box: 'box',
|
|
206
|
+
car: 'car',
|
|
207
|
+
truck: 'truck',
|
|
208
|
+
'id-card': 'id-card',
|
|
209
|
+
verified: 'badge-check',
|
|
210
|
+
megaphone: 'megaphone',
|
|
211
|
+
bolt: 'zap',
|
|
212
|
+
at: 'at-sign',
|
|
213
|
+
hashtag: 'hash',
|
|
214
|
+
palette: 'palette',
|
|
215
|
+
qrcode: 'qr-code',
|
|
216
|
+
expand: 'expand',
|
|
217
|
+
'window-maximize': 'maximize-2',
|
|
218
|
+
'window-minimize': 'minimize-2',
|
|
219
|
+
sitemap: 'network',
|
|
220
|
+
'objects-column': 'layout-dashboard',
|
|
221
|
+
'circle-fill': 'circle',
|
|
222
|
+
circle: 'circle',
|
|
223
|
+
'stop-circle': 'circle-stop',
|
|
224
|
+
'play-circle': 'circle-play',
|
|
225
|
+
'pause-circle': 'circle-pause',
|
|
226
|
+
directions: 'signpost',
|
|
227
|
+
language: 'languages',
|
|
228
|
+
'shield-check': 'shield-check',
|
|
229
|
+
};
|
|
230
|
+
/** Clases de PrimeIcons que no son un icono. */
|
|
231
|
+
const MODIFIERS = new Set(['pi', 'pi-fw', 'pi-spin']);
|
|
232
|
+
/** Lee `"pi pi-check pi-spin mr-2"`. `null` si las clases no son de un icono de PrimeIcons. */
|
|
233
|
+
function parsePrimeIcon(classes) {
|
|
234
|
+
const tokens = classes.split(/\s+/).filter(Boolean);
|
|
235
|
+
if (!tokens.includes('pi'))
|
|
236
|
+
return null;
|
|
237
|
+
const icon = tokens.find((token) => token.startsWith('pi-') && !MODIFIERS.has(token));
|
|
238
|
+
if (!icon)
|
|
239
|
+
return null;
|
|
240
|
+
const prime = icon.slice(3);
|
|
241
|
+
return {
|
|
242
|
+
prime,
|
|
243
|
+
name: exports.PRIME_ICONS[prime] ?? null,
|
|
244
|
+
spin: tokens.includes('pi-spin'),
|
|
245
|
+
rest: tokens.filter((token) => token !== 'pi' && !token.startsWith('pi-')),
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
let coreIcons;
|
|
249
|
+
/**
|
|
250
|
+
* Iconos del set núcleo de CaribeNG (se registran solos). Los demás hay que
|
|
251
|
+
* registrarlos con `provideCbIcons`. `core-icons.json` lo genera
|
|
252
|
+
* `scripts/build-schematics.mjs` a partir de `icon/src/lib/icons.ts`.
|
|
253
|
+
*/
|
|
254
|
+
function isCoreIcon(name) {
|
|
255
|
+
coreIcons ??= new Set(JSON.parse((0, node_fs_1.readFileSync)((0, node_path_1.join)(__dirname, 'core-icons.json'), 'utf8')));
|
|
256
|
+
return coreIcons.has(name);
|
|
257
|
+
}
|
|
258
|
+
/** Palabras reservadas: el catálogo las exporta con prefijo (`delete` → `iconDelete`). */
|
|
259
|
+
const RESERVED = new Set(('break case catch class const continue debugger default delete do else enum export extends false finally for ' +
|
|
260
|
+
'function if import in instanceof new null return super switch this throw true try typeof var void while ' +
|
|
261
|
+
'with let static yield await implements interface package private protected public').split(' '));
|
|
262
|
+
/**
|
|
263
|
+
* Nombre del export del catálogo `@caribeng/ui/icons` (`arrow-down-0-1` →
|
|
264
|
+
* `arrowDown01`). Misma regla que `icon/scripts/generate-icons.mjs`.
|
|
265
|
+
*/
|
|
266
|
+
function catalogExport(name) {
|
|
267
|
+
const camel = name.replace(/-([a-z0-9])/g, (_, char) => char.toUpperCase());
|
|
268
|
+
return /^[0-9]/.test(camel) || RESERVED.has(camel) ? `icon${camel[0].toUpperCase()}${camel.slice(1)}` : camel;
|
|
269
|
+
}
|