@dataclouder/ngx-core 0.1.25 → 0.1.27
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/fesm2022/dataclouder-ngx-core.mjs +156 -4
- package/fesm2022/dataclouder-ngx-core.mjs.map +1 -1
- package/lib/models/character-models.d.ts +5 -0
- package/lib/models/extension.model.d.ts +1 -2
- package/lib/models/languages.model.d.ts +7 -0
- package/lib/services/ui-state.service.d.ts +7 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
|
@@ -161,7 +161,7 @@ class DCFilterBarComponent {
|
|
|
161
161
|
this.onFilterAction.emit(filterEvent);
|
|
162
162
|
}
|
|
163
163
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: DCFilterBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
164
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.4", type: DCFilterBarComponent, isStandalone: true, selector: "dc-filter-bar", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, customFilters: { classPropertyName: "customFilters", publicName: "customFilters", isSignal: false, isRequired: false, transformFunction: null } }, outputs: { onFilterAction: "onFilterAction", onChangeSort: "onChangeSort", onNew: "onNew" }, ngImport: i0, template: "<div class=\"background-bar\">\n <div class=\"button-flex\">\n <div>\n <p-button icon=\"pi pi-search\" label=\"buscar\" severity=\"secondary\" (click)=\"isSearchVisible = true\" />\n </div>\n\n @if (options()?.showCreateButton) {\n <span class=\"admin\">\n <i style=\"position: absolute; right: -5px; top: -5px; z-index: 2; color: grey\" class=\"pi pi-key\"></i>\n <p-button icon=\"pi pi-plus\" label=\"Crear Nueva\" severity=\"secondary\" (click)=\"createNew()\" />\n </span>\n }\n </div>\n\n @if(options()?.showViewButton){\n <p-button icon=\"pi pi-objects-column\" variant=\"text\" (click)=\"doItemAction({ action: 'changeView', item: null })\" severity=\"secondary\"></p-button>\n } @if(options()?.showActions){ @for(item of items(); track $index) {\n <p-button [icon]=\"item.icon\" variant=\"text\" (click)=\"doItemAction({ action: item.title, item: item })\" severity=\"secondary\"></p-button>\n }\n\n <div class=\"button-flex\">\n <p-button icon=\"pi pi-filter\" label=\"Filtrar\" severity=\"secondary\" (click)=\"isFilterVisible = true\" />\n </div>\n }\n</div>\n\n@if (placeholder) {\n<span class=\"search-flex\" (click)=\"search(null)\"> <i class=\"pi pi-times\"></i>{{ placeholder }} </span>\n}\n\n<p-dialog [(visible)]=\"isSearchVisible\" [dismissableMask]=\"true\" [modal]=\"true\" [showHeader]=\"false\" (onHide)=\"isSearchVisible = false\">\n <p>Haz una b\u00FAsqueda (Enter)</p>\n <div>\n <span>\n <input (keydown.enter)=\"search(placeholder)\" type=\"text\" pInputText [(ngModel)]=\"placeholder\" />\n </span>\n </div>\n</p-dialog>\n\n<p-dialog [(visible)]=\"isFilterVisible\" [modal]=\"true\" [style]=\"{ width: '70vw', height: '70vh' }\" [header]=\"'Filtros'\">\n <div class=\"flex flex-column gap-4\">\n <!-- Sort Options -->\n <div class=\"field\">\n <label class=\"font-semibold block mb-2\">Ordenar por</label>\n <p-select [options]=\"sortOptions\" [(ngModel)]=\"selectedSort\" optionLabel=\"label\" [style]=\"{ width: '100%' }\" placeholder=\"Seleccionar orden\"> </p-select>\n </div>\n\n <p-multiselect\n [options]=\"availibleFilters\"\n [(ngModel)]=\"selectedFilters\"\n optionLabel=\"name\"\n placeholder=\"Filtros R\u00E1pidos\"\n [maxSelectedLabels]=\"3\"\n styleClass=\"w-full md:w-80\" />\n\n <!-- Date Filter -->\n <div class=\"field\">\n <label class=\"font-semibold block mb-2\">Rango de fechas</label>\n <p-calendar\n [(ngModel)]=\"dateRange\"\n selectionMode=\"range\"\n [showButtonBar]=\"true\"\n [style]=\"{ width: '100%' }\"\n placeholder=\"Seleccionar fechas\"\n dateFormat=\"dd/mm/yy\">\n </p-calendar>\n </div>\n\n @if (customFilters?.length > 0) {\n <h4>Filtros Personalizados (No terminado...) </h4>\n <h6>Encontrar la forma de que cada custom filter se renderize como un nuevo form.</h6>\n @for (filter of customFilters; track filter.name) {\n <div class=\"field\">\n <label class=\"font-semibold block mb-2\">{{ filter.name }}</label>\n </div>\n } }\n\n <!-- Recent/All Toggle -->\n </div>\n\n <ng-template pTemplate=\"footer\">\n <div class=\"flex justify-content-end gap-2\">\n <p-button label=\"Limpiar\" icon=\"pi pi-trash\" (click)=\"clearFilters()\" styleClass=\"p-button-text\"> </p-button>\n <p-button label=\"Aplicar\" icon=\"pi pi-check\" (click)=\"applyFilters()\" severity=\"primary\"> </p-button>\n </div>\n </ng-template>\n</p-dialog>\n", styles: [":host{display:block}.admin{margin-left:10px;position:relative}.background-bar{background-color:var(--p-primary-color);display:flex;border-radius:10px;justify-content:space-between;padding:10px}.button-flex{display:flex;margin-right:10px}.white{color:#fff}.search-flex{margin-left:10px}.search-dialog{width:750px;-webkit-backdrop-filter:blur(70px);backdrop-filter:blur(70px)}.border-none{border:none}.bg-black-alpha-50{background-color:var(--p-primary-color)}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i1$1.Button, selector: "p-button", inputs: ["type", "iconPos", "icon", "badge", "label", "disabled", "loading", "loadingIcon", "raised", "rounded", "text", "plain", "severity", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "fluid", "buttonProps"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "ngmodule", type: DialogModule }, { kind: "component", type: i4.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "closeButtonProps", "maximizeButtonProps", "visible", "style", "position", "role", "content", "contentTemplate", "footerTemplate", "closeIconTemplate", "maximizeIconTemplate", "minimizeIconTemplate", "headlessTemplate"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }, { kind: "ngmodule", type: SelectModule }, { kind: "component", type: i5.Select, selector: "p-select", inputs: ["id", "scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "variant", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "size", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "fluid", "disabled", "itemSize", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "filterValue", "options"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "ngmodule", type: MultiSelectModule }, { kind: "component", type: i6.MultiSelect, selector: "p-multiSelect, p-multiselect, p-multi-select", inputs: ["id", "ariaLabel", "style", "styleClass", "panelStyle", "panelStyleClass", "inputId", "disabled", "fluid", "readonly", "group", "filter", "filterPlaceHolder", "filterLocale", "overlayVisible", "tabindex", "variant", "appendTo", "dataKey", "name", "ariaLabelledBy", "displaySelectedLabel", "maxSelectedLabels", "selectionLimit", "selectedItemsLabel", "showToggleAll", "emptyFilterMessage", "emptyMessage", "resetFilterOnHide", "dropdownIcon", "chipIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "showHeader", "filterBy", "scrollHeight", "lazy", "virtualScroll", "loading", "virtualScrollItemSize", "loadingIcon", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "display", "autocomplete", "size", "showClear", "autofocus", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "defaultLabel", "placeholder", "options", "filterValue", "itemSize", "selectAll", "focusOnHover", "filterFields", "selectOnFocus", "autoOptionFocus"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onClear", "onPanelShow", "onPanelHide", "onLazyLoad", "onRemove", "onSelectAllChange"] }, { kind: "ngmodule", type: CalendarModule }, { kind: "component", type: i7.Calendar, selector: "p-calendar", inputs: ["iconDisplay", "style", "styleClass", "inputStyle", "inputId", "name", "inputStyleClass", "placeholder", "ariaLabelledBy", "ariaLabel", "iconAriaLabel", "disabled", "dateFormat", "multipleSeparator", "rangeSeparator", "inline", "showOtherMonths", "selectOtherMonths", "showIcon", "fluid", "icon", "appendTo", "readonlyInput", "shortYearCutoff", "monthNavigator", "yearNavigator", "hourFormat", "timeOnly", "stepHour", "stepMinute", "stepSecond", "showSeconds", "required", "showOnFocus", "showWeek", "startWeekFromFirstDayOfYear", "showClear", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autofocus", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "touchUI", "timeSeparator", "focusTrap", "showTransitionOptions", "hideTransitionOptions", "tabindex", "variant", "minDate", "maxDate", "disabledDates", "disabledDays", "yearRange", "showTime", "responsiveOptions", "numberOfMonths", "firstDayOfWeek", "locale", "view", "defaultDate"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onClear", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
164
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.4", type: DCFilterBarComponent, isStandalone: true, selector: "dc-filter-bar", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, customFilters: { classPropertyName: "customFilters", publicName: "customFilters", isSignal: false, isRequired: false, transformFunction: null } }, outputs: { onFilterAction: "onFilterAction", onChangeSort: "onChangeSort", onNew: "onNew" }, ngImport: i0, template: "<div class=\"background-bar\">\n <div class=\"button-flex\">\n <div>\n <p-button icon=\"pi pi-search\" label=\"buscar\" severity=\"secondary\" (click)=\"isSearchVisible = true\" />\n </div>\n\n @if (options()?.showCreateButton) {\n <span class=\"admin\">\n <i style=\"position: absolute; right: -5px; top: -5px; z-index: 2; color: grey\" class=\"pi pi-key\"></i>\n <p-button icon=\"pi pi-plus\" label=\"Crear Nueva\" severity=\"secondary\" (click)=\"createNew()\" />\n </span>\n }\n </div>\n\n @if(options()?.showViewButton){\n <p-button icon=\"pi pi-objects-column\" variant=\"text\" (click)=\"doItemAction({ action: 'changeView', item: null })\" severity=\"secondary\"></p-button>\n } @if(options()?.showActions){ @for(item of items(); track $index) {\n <p-button [icon]=\"item.icon\" variant=\"text\" (click)=\"doItemAction({ action: item.title, item: item })\" severity=\"secondary\"></p-button>\n }\n\n <div class=\"button-flex\">\n <p-button icon=\"pi pi-filter\" label=\"Filtrar\" severity=\"secondary\" (click)=\"isFilterVisible = true\" />\n </div>\n }\n</div>\n\n@if (placeholder) {\n<span class=\"search-flex\" (click)=\"search(null)\"> <i class=\"pi pi-times\"></i>{{ placeholder }} </span>\n}\n\n<p-dialog [(visible)]=\"isSearchVisible\" [dismissableMask]=\"true\" [modal]=\"true\" [showHeader]=\"false\" (onHide)=\"isSearchVisible = false\">\n <p>Haz una b\u00FAsqueda (Enter)</p>\n <div>\n <span>\n <input (keydown.enter)=\"search(placeholder)\" type=\"text\" pInputText [(ngModel)]=\"placeholder\" />\n </span>\n </div>\n</p-dialog>\n\n<p-dialog [(visible)]=\"isFilterVisible\" [modal]=\"true\" [style]=\"{ width: '70vw', height: '70vh' }\" [header]=\"'Filtros'\">\n <div class=\"flex flex-column gap-4\">\n <!-- Sort Options -->\n <div class=\"field\">\n <label class=\"font-semibold block mb-2\">Ordenar por</label>\n <p-select [options]=\"sortOptions\" [(ngModel)]=\"selectedSort\" optionLabel=\"label\" [style]=\"{ width: '100%' }\" placeholder=\"Seleccionar orden\"> </p-select>\n </div>\n\n <p-multiselect\n [options]=\"availibleFilters\"\n [(ngModel)]=\"selectedFilters\"\n optionLabel=\"name\"\n placeholder=\"Filtros R\u00E1pidos\"\n [maxSelectedLabels]=\"3\"\n styleClass=\"w-full md:w-80\" />\n\n <!-- Date Filter -->\n <div class=\"field\">\n <label class=\"font-semibold block mb-2\">Rango de fechas</label>\n <p-calendar\n [(ngModel)]=\"dateRange\"\n selectionMode=\"range\"\n [showButtonBar]=\"true\"\n [style]=\"{ width: '100%' }\"\n placeholder=\"Seleccionar fechas\"\n dateFormat=\"dd/mm/yy\">\n </p-calendar>\n </div>\n\n @if (customFilters?.length > 0) {\n <h4>Filtros Personalizados (No terminado...) </h4>\n <h6>Encontrar la forma de que cada custom filter se renderize como un nuevo form.</h6>\n @for (filter of customFilters; track filter.name) {\n <div class=\"field\">\n <label class=\"font-semibold block mb-2\">{{ filter.name }}</label>\n </div>\n } }\n\n <!-- Recent/All Toggle -->\n </div>\n\n <ng-template pTemplate=\"footer\">\n <div class=\"flex justify-content-end gap-2\">\n <p-button label=\"Limpiar\" icon=\"pi pi-trash\" (click)=\"clearFilters()\" styleClass=\"p-button-text\"> </p-button>\n <p-button label=\"Aplicar\" icon=\"pi pi-check\" (click)=\"applyFilters()\" severity=\"primary\"> </p-button>\n </div>\n </ng-template>\n</p-dialog>\n", styles: [":host{display:block}.admin{margin-left:10px;position:relative}.background-bar{background-color:var(--p-primary-color);display:flex;border-radius:10px;justify-content:space-between;padding:10px}.button-flex{display:flex;margin-right:10px}.white{color:#fff}.search-flex{margin-left:10px}.search-dialog{width:750px;-webkit-backdrop-filter:blur(70px);backdrop-filter:blur(70px)}.border-none{border:none}.bg-black-alpha-50{background-color:var(--p-primary-color)}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i1$1.Button, selector: "p-button", inputs: ["type", "iconPos", "icon", "badge", "label", "disabled", "loading", "loadingIcon", "raised", "rounded", "text", "plain", "severity", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "fluid", "buttonProps"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "ngmodule", type: DialogModule }, { kind: "component", type: i4.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "closeButtonProps", "maximizeButtonProps", "visible", "style", "position", "role", "content", "contentTemplate", "footerTemplate", "closeIconTemplate", "maximizeIconTemplate", "minimizeIconTemplate", "headlessTemplate"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }, { kind: "ngmodule", type: SelectModule }, { kind: "component", type: i5.Select, selector: "p-select", inputs: ["id", "scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "variant", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "size", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "fluid", "disabled", "itemSize", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "filterValue", "options"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "ngmodule", type: MultiSelectModule }, { kind: "component", type: i6.MultiSelect, selector: "p-multiSelect, p-multiselect, p-multi-select", inputs: ["id", "ariaLabel", "style", "styleClass", "panelStyle", "panelStyleClass", "inputId", "disabled", "fluid", "readonly", "group", "filter", "filterPlaceHolder", "filterLocale", "overlayVisible", "tabindex", "variant", "appendTo", "dataKey", "name", "ariaLabelledBy", "displaySelectedLabel", "maxSelectedLabels", "selectionLimit", "selectedItemsLabel", "showToggleAll", "emptyFilterMessage", "emptyMessage", "resetFilterOnHide", "dropdownIcon", "chipIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "showHeader", "filterBy", "scrollHeight", "lazy", "virtualScroll", "loading", "virtualScrollItemSize", "loadingIcon", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "display", "autocomplete", "size", "showClear", "autofocus", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "defaultLabel", "placeholder", "options", "filterValue", "itemSize", "selectAll", "focusOnHover", "filterFields", "selectOnFocus", "autoOptionFocus", "highlightOnSelect"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onClear", "onPanelShow", "onPanelHide", "onLazyLoad", "onRemove", "onSelectAllChange"] }, { kind: "ngmodule", type: CalendarModule }, { kind: "component", type: i7.Calendar, selector: "p-calendar", inputs: ["iconDisplay", "style", "styleClass", "inputStyle", "inputId", "name", "inputStyleClass", "placeholder", "ariaLabelledBy", "ariaLabel", "iconAriaLabel", "disabled", "dateFormat", "multipleSeparator", "rangeSeparator", "inline", "showOtherMonths", "selectOtherMonths", "showIcon", "fluid", "icon", "appendTo", "readonlyInput", "shortYearCutoff", "monthNavigator", "yearNavigator", "hourFormat", "timeOnly", "stepHour", "stepMinute", "stepSecond", "showSeconds", "required", "showOnFocus", "showWeek", "startWeekFromFirstDayOfYear", "showClear", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autofocus", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "touchUI", "timeSeparator", "focusTrap", "showTransitionOptions", "hideTransitionOptions", "tabindex", "variant", "minDate", "maxDate", "disabledDates", "disabledDays", "yearRange", "showTime", "responsiveOptions", "numberOfMonths", "firstDayOfWeek", "locale", "view", "defaultDate"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onClear", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
165
165
|
}
|
|
166
166
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: DCFilterBarComponent, decorators: [{
|
|
167
167
|
type: Component,
|
|
@@ -610,7 +610,7 @@ class QuickTableComponent {
|
|
|
610
610
|
}
|
|
611
611
|
}
|
|
612
612
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: QuickTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
613
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.4", type: QuickTableComponent, isStandalone: true, selector: "app-quick-table", inputs: { columns: { classPropertyName: "columns", publicName: "columns", isSignal: true, isRequired: false, transformFunction: null }, tableData: { classPropertyName: "tableData", publicName: "tableData", isSignal: true, isRequired: false, transformFunction: null }, actions: { classPropertyName: "actions", publicName: "actions", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onAction: "onAction" }, viewQueries: [{ propertyName: "tableRef", first: true, predicate: ["tableRef"], descendants: true }], ngImport: i0, template: "<p-table\n [tableStyle]=\"{ 'min-width': '20rem' }\"\n #tableRef\n [value]=\"_tableData()\"\n [columns]=\"_columns()\"\n [globalFilterFields]=\"globalFilterFields()\"\n [filters]=\"filters()\"\n (onFilter)=\"onFilterLocal($event)\">\n <ng-template pTemplate=\"caption\">\n <div class=\"flex justify-content-between align-items-center\">\n <h5 class=\"m-0\">Table Data</h5>\n <span class=\"p-input-icon-left\">\n <i class=\"pi pi-search\"></i>\n <input pInputText type=\"text\" (input)=\"onGlobalFilter($event)\" placeholder=\"Search keyword\" />\n </span>\n </div>\n </ng-template>\n <ng-template pTemplate=\"header\" let-columns>\n <tr>\n @for (column of columns; track column) {\n <th [pSortableColumn]=\"column.field\">{{ column.header }} <p-sortIcon [field]=\"column.field\"></p-sortIcon></th>\n }\n </tr>\n <tr>\n @for (column of columns; track column) { @if(column.type === 'tags') {\n <th>\n <p-multiselect\n [options]=\"filters()?.[column.field]?.['options']\"\n placeholder=\"Selecciona\"\n (onChange)=\"filterOutsideTable('tags', column.field, $event.value)\"\n [style]=\"{ minWidth: '14rem' }\"\n [panelStyle]=\"{ minWidth: '16rem' }\">\n <ng-template let-option #item>\n <div class=\"flex items-center gap-2\">\n <span>{{ option }}</span>\n </div>\n </ng-template>\n </p-multiselect>\n </th>\n\n } @else {\n <th>\n <p-columnFilter [type]=\"getFilterType(column)\" [field]=\"column.field\" placeholder=\"Search\" [showMenu]=\"false\"></p-columnFilter>\n </th>\n } }\n </tr>\n </ng-template>\n <!-- @if(tableData()){ -->\n <ng-template pTemplate=\"body\" let-item let-columns=\"columns\">\n <tr>\n @for (column of columns; track column) {\n <td>\n @if(column.type === 'image'){\n <div class=\"image-container\">\n <img [src]=\"item | getPath: column\" alt=\"Image\" class=\"image\" />\n </div>\n } @else if(column.type === 'tags') {\n <div class=\"tags-container\">\n @for (tag of item[column.field]; track tag) {\n <p-tag [rounded]=\"true\" [value]=\"tag\"></p-tag>\n }\n </div>\n } @else if(column.type === 'actions') {\n <div style=\"display: flex; gap: 2px\">\n @for (actionBtn of _actions(); track actionBtn) {\n <p-button (click)=\"selectItem(item, actionBtn)\" [icon]=\"actionBtn.icon\" [severity]=\"actionBtn['severity']\" />\n }\n </div>\n } @else {\n <span>{{ item | getPath: column}} </span>\n }\n </td>\n }\n </tr>\n </ng-template>\n <!-- } -->\n</p-table>\n", styles: [":host{display:block;height:100%;overflow:auto}.generic-list-container{display:flex;flex-direction:column;height:100%}.generic-list-content{margin-top:10px;flex:1;overflow-y:auto;padding-bottom:10px}.card-source{margin-bottom:10px;position:relative}.paginator-container{margin-top:auto;padding-top:10px}.image-container{width:50px;height:50px;border-radius:50%;overflow:hidden;display:flex;justify-content:center;align-items:center}.image-container img{width:100%;height:100%;object-fit:cover}\n"], dependencies: [{ kind: "ngmodule", type: CardModule }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i1$1.Button, selector: "p-button", inputs: ["type", "iconPos", "icon", "badge", "label", "disabled", "loading", "loadingIcon", "raised", "rounded", "text", "plain", "severity", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "fluid", "buttonProps"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: SpeedDialModule }, { kind: "ngmodule", type: PaginatorModule }, { kind: "ngmodule", type: TableModule }, { kind: "component", type: i3$2.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "style", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "scrollDirection", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "responsive", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "autoLayout", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "size", "showGridlines", "stripedRows", "groupRowsByOrder", "responsiveLayout", "breakpoint", "paginatorLocale", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "virtualRowHeight", "selectAll"], outputs: ["contextMenuSelectionChange", "selectAllChange", "selectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { kind: "directive", type: i3$2.SortableColumn, selector: "[pSortableColumn]", inputs: ["pSortableColumn", "pSortableColumnDisabled"] }, { kind: "component", type: i3$2.SortIcon, selector: "p-sortIcon", inputs: ["field"] }, { kind: "component", type: i3$2.ColumnFilter, selector: "p-columnFilter", inputs: ["field", "type", "display", "showMenu", "matchMode", "operator", "showOperator", "showClearButton", "showApplyButton", "showMatchModes", "showAddButton", "hideOnClear", "placeholder", "matchModeOptions", "maxConstraints", "minFractionDigits", "maxFractionDigits", "prefix", "suffix", "locale", "localeMatcher", "currency", "currencyDisplay", "useGrouping", "showButtons", "ariaLabel", "filterButtonProps"], outputs: ["onShow", "onHide"] }, { kind: "ngmodule", type: RouterModule }, { kind: "pipe", type: GetPathPipe, name: "getPath" }, { kind: "ngmodule", type: InputTextModule }, { kind: "directive", type: i4$1.InputText, selector: "[pInputText]", inputs: ["variant", "fluid", "pSize"] }, { kind: "ngmodule", type: TagModule }, { kind: "component", type: i5$1.Tag, selector: "p-tag", inputs: ["style", "styleClass", "severity", "value", "icon", "rounded"] }, { kind: "ngmodule", type: SelectModule }, { kind: "ngmodule", type: MultiSelectModule }, { kind: "component", type: i6.MultiSelect, selector: "p-multiSelect, p-multiselect, p-multi-select", inputs: ["id", "ariaLabel", "style", "styleClass", "panelStyle", "panelStyleClass", "inputId", "disabled", "fluid", "readonly", "group", "filter", "filterPlaceHolder", "filterLocale", "overlayVisible", "tabindex", "variant", "appendTo", "dataKey", "name", "ariaLabelledBy", "displaySelectedLabel", "maxSelectedLabels", "selectionLimit", "selectedItemsLabel", "showToggleAll", "emptyFilterMessage", "emptyMessage", "resetFilterOnHide", "dropdownIcon", "chipIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "showHeader", "filterBy", "scrollHeight", "lazy", "virtualScroll", "loading", "virtualScrollItemSize", "loadingIcon", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "display", "autocomplete", "size", "showClear", "autofocus", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "defaultLabel", "placeholder", "options", "filterValue", "itemSize", "selectAll", "focusOnHover", "filterFields", "selectOnFocus", "autoOptionFocus"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onClear", "onPanelShow", "onPanelHide", "onLazyLoad", "onRemove", "onSelectAllChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
613
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.4", type: QuickTableComponent, isStandalone: true, selector: "app-quick-table", inputs: { columns: { classPropertyName: "columns", publicName: "columns", isSignal: true, isRequired: false, transformFunction: null }, tableData: { classPropertyName: "tableData", publicName: "tableData", isSignal: true, isRequired: false, transformFunction: null }, actions: { classPropertyName: "actions", publicName: "actions", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onAction: "onAction" }, viewQueries: [{ propertyName: "tableRef", first: true, predicate: ["tableRef"], descendants: true }], ngImport: i0, template: "<p-table\n [tableStyle]=\"{ 'min-width': '20rem' }\"\n #tableRef\n [value]=\"_tableData()\"\n [columns]=\"_columns()\"\n [globalFilterFields]=\"globalFilterFields()\"\n [filters]=\"filters()\"\n (onFilter)=\"onFilterLocal($event)\">\n <ng-template pTemplate=\"caption\">\n <div class=\"flex justify-content-between align-items-center\">\n <h5 class=\"m-0\">Table Data</h5>\n <span class=\"p-input-icon-left\">\n <i class=\"pi pi-search\"></i>\n <input pInputText type=\"text\" (input)=\"onGlobalFilter($event)\" placeholder=\"Search keyword\" />\n </span>\n </div>\n </ng-template>\n <ng-template pTemplate=\"header\" let-columns>\n <tr>\n @for (column of columns; track column) {\n <th [pSortableColumn]=\"column.field\">{{ column.header }} <p-sortIcon [field]=\"column.field\"></p-sortIcon></th>\n }\n </tr>\n <tr>\n @for (column of columns; track column) { @if(column.type === 'tags') {\n <th>\n <p-multiselect\n [options]=\"filters()?.[column.field]?.['options']\"\n placeholder=\"Selecciona\"\n (onChange)=\"filterOutsideTable('tags', column.field, $event.value)\"\n [style]=\"{ minWidth: '14rem' }\"\n [panelStyle]=\"{ minWidth: '16rem' }\">\n <ng-template let-option #item>\n <div class=\"flex items-center gap-2\">\n <span>{{ option }}</span>\n </div>\n </ng-template>\n </p-multiselect>\n </th>\n\n } @else {\n <th>\n <p-columnFilter [type]=\"getFilterType(column)\" [field]=\"column.field\" placeholder=\"Search\" [showMenu]=\"false\"></p-columnFilter>\n </th>\n } }\n </tr>\n </ng-template>\n <!-- @if(tableData()){ -->\n <ng-template pTemplate=\"body\" let-item let-columns=\"columns\">\n <tr>\n @for (column of columns; track column) {\n <td>\n @if(column.type === 'image'){\n <div class=\"image-container\">\n <img [src]=\"item | getPath: column\" alt=\"Image\" class=\"image\" />\n </div>\n } @else if(column.type === 'tags') {\n <div class=\"tags-container\">\n @for (tag of item[column.field]; track tag) {\n <p-tag [rounded]=\"true\" [value]=\"tag\"></p-tag>\n }\n </div>\n } @else if(column.type === 'actions') {\n <div style=\"display: flex; gap: 2px\">\n @for (actionBtn of _actions(); track actionBtn) {\n <p-button (click)=\"selectItem(item, actionBtn)\" [icon]=\"actionBtn.icon\" [severity]=\"actionBtn['severity']\" />\n }\n </div>\n } @else {\n <span>{{ item | getPath: column}} </span>\n }\n </td>\n }\n </tr>\n </ng-template>\n <!-- } -->\n</p-table>\n", styles: [":host{display:block;height:100%;overflow:auto}.generic-list-container{display:flex;flex-direction:column;height:100%}.generic-list-content{margin-top:10px;flex:1;overflow-y:auto;padding-bottom:10px}.card-source{margin-bottom:10px;position:relative}.paginator-container{margin-top:auto;padding-top:10px}.image-container{width:50px;height:50px;border-radius:50%;overflow:hidden;display:flex;justify-content:center;align-items:center}.image-container img{width:100%;height:100%;object-fit:cover}\n"], dependencies: [{ kind: "ngmodule", type: CardModule }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i1$1.Button, selector: "p-button", inputs: ["type", "iconPos", "icon", "badge", "label", "disabled", "loading", "loadingIcon", "raised", "rounded", "text", "plain", "severity", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "fluid", "buttonProps"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: SpeedDialModule }, { kind: "ngmodule", type: PaginatorModule }, { kind: "ngmodule", type: TableModule }, { kind: "component", type: i3$2.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "style", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "scrollDirection", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "responsive", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "autoLayout", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "size", "showGridlines", "stripedRows", "groupRowsByOrder", "responsiveLayout", "breakpoint", "paginatorLocale", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "virtualRowHeight", "selectAll"], outputs: ["contextMenuSelectionChange", "selectAllChange", "selectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { kind: "directive", type: i3$2.SortableColumn, selector: "[pSortableColumn]", inputs: ["pSortableColumn", "pSortableColumnDisabled"] }, { kind: "component", type: i3$2.SortIcon, selector: "p-sortIcon", inputs: ["field"] }, { kind: "component", type: i3$2.ColumnFilter, selector: "p-columnFilter", inputs: ["field", "type", "display", "showMenu", "matchMode", "operator", "showOperator", "showClearButton", "showApplyButton", "showMatchModes", "showAddButton", "hideOnClear", "placeholder", "matchModeOptions", "maxConstraints", "minFractionDigits", "maxFractionDigits", "prefix", "suffix", "locale", "localeMatcher", "currency", "currencyDisplay", "useGrouping", "showButtons", "ariaLabel", "filterButtonProps"], outputs: ["onShow", "onHide"] }, { kind: "ngmodule", type: RouterModule }, { kind: "pipe", type: GetPathPipe, name: "getPath" }, { kind: "ngmodule", type: InputTextModule }, { kind: "directive", type: i4$1.InputText, selector: "[pInputText]", inputs: ["variant", "fluid", "pSize"] }, { kind: "ngmodule", type: TagModule }, { kind: "component", type: i5$1.Tag, selector: "p-tag", inputs: ["style", "styleClass", "severity", "value", "icon", "rounded"] }, { kind: "ngmodule", type: SelectModule }, { kind: "ngmodule", type: MultiSelectModule }, { kind: "component", type: i6.MultiSelect, selector: "p-multiSelect, p-multiselect, p-multi-select", inputs: ["id", "ariaLabel", "style", "styleClass", "panelStyle", "panelStyleClass", "inputId", "disabled", "fluid", "readonly", "group", "filter", "filterPlaceHolder", "filterLocale", "overlayVisible", "tabindex", "variant", "appendTo", "dataKey", "name", "ariaLabelledBy", "displaySelectedLabel", "maxSelectedLabels", "selectionLimit", "selectedItemsLabel", "showToggleAll", "emptyFilterMessage", "emptyMessage", "resetFilterOnHide", "dropdownIcon", "chipIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "showHeader", "filterBy", "scrollHeight", "lazy", "virtualScroll", "loading", "virtualScrollItemSize", "loadingIcon", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "display", "autocomplete", "size", "showClear", "autofocus", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "defaultLabel", "placeholder", "options", "filterValue", "itemSize", "selectAll", "focusOnHover", "filterFields", "selectOnFocus", "autoOptionFocus", "highlightOnSelect"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onClear", "onPanelShow", "onPanelHide", "onLazyLoad", "onRemove", "onSelectAllChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
614
614
|
}
|
|
615
615
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: QuickTableComponent, decorators: [{
|
|
616
616
|
type: Component,
|
|
@@ -1242,7 +1242,7 @@ class PromptComponent {
|
|
|
1242
1242
|
this.ref.close(null);
|
|
1243
1243
|
}
|
|
1244
1244
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: PromptComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1245
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.4", type: PromptComponent, isStandalone: true, selector: "dc-prompt", ngImport: i0, template: "<div class=\"form-input-card p-4\">\n <p-message severity=\"secondary\"> {{ title() }}</p-message>\n\n <div class=\"my-4\">{{ message() }}</div>\n\n <div class=\"p-field mb-4\">\n <textarea rows=\"5\" cols=\"30\" pTextarea [(ngModel)]=\"inputValue\" class=\"w-full\"></textarea>\n </div>\n\n <div class=\"flex justify-content-end gap-2\">\n <p-button [label]=\"cancelText()\" (click)=\"cancel()\" severity=\"secondary\"></p-button>\n <p-button [label]=\"acceptText()\" (click)=\"accept()\"></p-button>\n </div>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i1$1.Button, selector: "p-button", inputs: ["type", "iconPos", "icon", "badge", "label", "disabled", "loading", "loadingIcon", "raised", "rounded", "text", "plain", "severity", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "fluid", "buttonProps"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: InputTextModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MessageModule }, { kind: "component", type: i2.Message, selector: "p-message", inputs: ["severity", "text", "escape", "style", "styleClass", "closable", "icon", "closeIcon", "life", "showTransitionOptions", "hideTransitionOptions", "size", "variant"], outputs: ["onClose"] }, { kind: "ngmodule", type: TextareaModule }, { kind: "directive", type: i4$3.Textarea, selector: "[pTextarea]", inputs: ["autoResize", "variant", "fluid", "pSize"], outputs: ["onResize"] }] }); }
|
|
1245
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.4", type: PromptComponent, isStandalone: true, selector: "dc-prompt", ngImport: i0, template: "<div class=\"form-input-card p-4\">\n <p-message severity=\"secondary\"> {{ title() }}</p-message>\n\n <div class=\"my-4\">{{ message() }}</div>\n\n <div class=\"p-field mb-4\">\n <textarea rows=\"5\" cols=\"30\" pTextarea [(ngModel)]=\"inputValue\" class=\"w-full\"></textarea>\n </div>\n\n <div class=\"flex justify-content-end gap-2\">\n <p-button [label]=\"cancelText()\" (click)=\"cancel()\" severity=\"secondary\"></p-button>\n <p-button [label]=\"acceptText()\" (click)=\"accept()\"></p-button>\n </div>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i1$1.Button, selector: "p-button", inputs: ["type", "iconPos", "icon", "badge", "label", "disabled", "loading", "loadingIcon", "raised", "rounded", "text", "plain", "severity", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "fluid", "buttonProps"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: InputTextModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MessageModule }, { kind: "component", type: i2.Message, selector: "p-message", inputs: ["severity", "text", "escape", "style", "styleClass", "closable", "icon", "closeIcon", "life", "showTransitionOptions", "hideTransitionOptions", "size", "variant"], outputs: ["onClose"] }, { kind: "ngmodule", type: TextareaModule }, { kind: "directive", type: i4$3.Textarea, selector: "[pTextarea], [pInputTextarea]", inputs: ["autoResize", "variant", "fluid", "pSize"], outputs: ["onResize"] }] }); }
|
|
1246
1246
|
}
|
|
1247
1247
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: PromptComponent, decorators: [{
|
|
1248
1248
|
type: Component,
|
|
@@ -1798,6 +1798,49 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImpor
|
|
|
1798
1798
|
type: Injectable
|
|
1799
1799
|
}], ctorParameters: () => [{ type: undefined }] });
|
|
1800
1800
|
|
|
1801
|
+
class UiStateService {
|
|
1802
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: UiStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1803
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: UiStateService, providedIn: 'root' }); }
|
|
1804
|
+
}
|
|
1805
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: UiStateService, decorators: [{
|
|
1806
|
+
type: Injectable,
|
|
1807
|
+
args: [{
|
|
1808
|
+
providedIn: 'root',
|
|
1809
|
+
}]
|
|
1810
|
+
}] });
|
|
1811
|
+
|
|
1812
|
+
const SUPPORTED_LANGUAGES = [
|
|
1813
|
+
'en',
|
|
1814
|
+
'es',
|
|
1815
|
+
'de',
|
|
1816
|
+
'fr',
|
|
1817
|
+
'zh',
|
|
1818
|
+
'it',
|
|
1819
|
+
'pt',
|
|
1820
|
+
'ja',
|
|
1821
|
+
'nl',
|
|
1822
|
+
'ru',
|
|
1823
|
+
'ko',
|
|
1824
|
+
'pl',
|
|
1825
|
+
'sv',
|
|
1826
|
+
'tr',
|
|
1827
|
+
'ar',
|
|
1828
|
+
'vi',
|
|
1829
|
+
'id',
|
|
1830
|
+
'da',
|
|
1831
|
+
'no',
|
|
1832
|
+
'fi',
|
|
1833
|
+
'cs',
|
|
1834
|
+
'el',
|
|
1835
|
+
'hu',
|
|
1836
|
+
'ro',
|
|
1837
|
+
'uk',
|
|
1838
|
+
'he',
|
|
1839
|
+
'th',
|
|
1840
|
+
'hi',
|
|
1841
|
+
'ca',
|
|
1842
|
+
'bg',
|
|
1843
|
+
];
|
|
1801
1844
|
const LANGUAGES = {
|
|
1802
1845
|
en: {
|
|
1803
1846
|
nativeName: 'English',
|
|
@@ -1812,6 +1855,7 @@ const LANGUAGES = {
|
|
|
1812
1855
|
es: 'Inglés',
|
|
1813
1856
|
},
|
|
1814
1857
|
status: 'ready',
|
|
1858
|
+
speakers: 1500000000,
|
|
1815
1859
|
},
|
|
1816
1860
|
es: {
|
|
1817
1861
|
nativeName: 'Español',
|
|
@@ -1847,6 +1891,7 @@ const LANGUAGES = {
|
|
|
1847
1891
|
es: 'Español',
|
|
1848
1892
|
},
|
|
1849
1893
|
status: 'almostready',
|
|
1894
|
+
speakers: 592000000,
|
|
1850
1895
|
},
|
|
1851
1896
|
de: {
|
|
1852
1897
|
nativeName: 'Deutsch',
|
|
@@ -1861,6 +1906,7 @@ const LANGUAGES = {
|
|
|
1861
1906
|
es: 'Alemán',
|
|
1862
1907
|
},
|
|
1863
1908
|
status: 'almostready',
|
|
1909
|
+
speakers: 135000000,
|
|
1864
1910
|
},
|
|
1865
1911
|
fr: {
|
|
1866
1912
|
nativeName: 'Français',
|
|
@@ -1875,6 +1921,7 @@ const LANGUAGES = {
|
|
|
1875
1921
|
es: 'Francés',
|
|
1876
1922
|
},
|
|
1877
1923
|
status: 'almostready',
|
|
1924
|
+
speakers: 300000000,
|
|
1878
1925
|
},
|
|
1879
1926
|
zh: {
|
|
1880
1927
|
nativeName: '中文 (Zhōngwén)',
|
|
@@ -1889,6 +1936,7 @@ const LANGUAGES = {
|
|
|
1889
1936
|
es: 'Chino (Mandarín)',
|
|
1890
1937
|
},
|
|
1891
1938
|
status: 'almostready',
|
|
1939
|
+
speakers: 1120000000,
|
|
1892
1940
|
},
|
|
1893
1941
|
it: {
|
|
1894
1942
|
nativeName: 'Italiano',
|
|
@@ -1903,6 +1951,7 @@ const LANGUAGES = {
|
|
|
1903
1951
|
es: 'Italiano',
|
|
1904
1952
|
},
|
|
1905
1953
|
status: 'almostready',
|
|
1954
|
+
speakers: 67000000,
|
|
1906
1955
|
},
|
|
1907
1956
|
pt: {
|
|
1908
1957
|
nativeName: 'Português',
|
|
@@ -1917,6 +1966,7 @@ const LANGUAGES = {
|
|
|
1917
1966
|
es: 'Portugués',
|
|
1918
1967
|
},
|
|
1919
1968
|
status: 'ready',
|
|
1969
|
+
speakers: 258000000,
|
|
1920
1970
|
},
|
|
1921
1971
|
ja: {
|
|
1922
1972
|
nativeName: '日本語 (Nihongo)',
|
|
@@ -1931,6 +1981,7 @@ const LANGUAGES = {
|
|
|
1931
1981
|
es: 'Japonés',
|
|
1932
1982
|
},
|
|
1933
1983
|
status: 'almostready',
|
|
1984
|
+
speakers: 125000000,
|
|
1934
1985
|
},
|
|
1935
1986
|
nl: {
|
|
1936
1987
|
nativeName: 'Nederlands',
|
|
@@ -1945,6 +1996,7 @@ const LANGUAGES = {
|
|
|
1945
1996
|
es: 'Neerlandés',
|
|
1946
1997
|
},
|
|
1947
1998
|
status: 'commingsoon',
|
|
1999
|
+
speakers: 25000000,
|
|
1948
2000
|
},
|
|
1949
2001
|
ru: {
|
|
1950
2002
|
nativeName: 'Русский (Russkiy)',
|
|
@@ -1959,6 +2011,7 @@ const LANGUAGES = {
|
|
|
1959
2011
|
es: 'Ruso',
|
|
1960
2012
|
},
|
|
1961
2013
|
status: 'commingsoon',
|
|
2014
|
+
speakers: 258000000,
|
|
1962
2015
|
},
|
|
1963
2016
|
ko: {
|
|
1964
2017
|
nativeName: '한국어 (Hangugeo)',
|
|
@@ -1973,6 +2026,7 @@ const LANGUAGES = {
|
|
|
1973
2026
|
es: 'Coreano',
|
|
1974
2027
|
},
|
|
1975
2028
|
status: 'almostready',
|
|
2029
|
+
speakers: 82000000,
|
|
1976
2030
|
},
|
|
1977
2031
|
pl: {
|
|
1978
2032
|
nativeName: 'Polski',
|
|
@@ -1987,6 +2041,7 @@ const LANGUAGES = {
|
|
|
1987
2041
|
es: 'Polaco',
|
|
1988
2042
|
},
|
|
1989
2043
|
status: 'commingsoon',
|
|
2044
|
+
speakers: 40000000,
|
|
1990
2045
|
},
|
|
1991
2046
|
sv: {
|
|
1992
2047
|
nativeName: 'Svenska',
|
|
@@ -2001,6 +2056,7 @@ const LANGUAGES = {
|
|
|
2001
2056
|
es: 'Sueco',
|
|
2002
2057
|
},
|
|
2003
2058
|
status: 'commingsoon',
|
|
2059
|
+
speakers: 10000000,
|
|
2004
2060
|
},
|
|
2005
2061
|
tr: {
|
|
2006
2062
|
nativeName: 'Türkçe',
|
|
@@ -2015,6 +2071,7 @@ const LANGUAGES = {
|
|
|
2015
2071
|
es: 'Turco',
|
|
2016
2072
|
},
|
|
2017
2073
|
status: 'commingsoon',
|
|
2074
|
+
speakers: 88000000,
|
|
2018
2075
|
},
|
|
2019
2076
|
ar: {
|
|
2020
2077
|
nativeName: 'العربية (Al-Arabiyyah)',
|
|
@@ -2055,6 +2112,7 @@ const LANGUAGES = {
|
|
|
2055
2112
|
es: 'Árabe',
|
|
2056
2113
|
},
|
|
2057
2114
|
status: 'commingsoon',
|
|
2115
|
+
speakers: 422000000,
|
|
2058
2116
|
},
|
|
2059
2117
|
vi: {
|
|
2060
2118
|
nativeName: 'Tiếng Việt',
|
|
@@ -2069,6 +2127,7 @@ const LANGUAGES = {
|
|
|
2069
2127
|
es: 'Vietnamita',
|
|
2070
2128
|
},
|
|
2071
2129
|
status: 'commingsoon',
|
|
2130
|
+
speakers: 90000000,
|
|
2072
2131
|
},
|
|
2073
2132
|
id: {
|
|
2074
2133
|
nativeName: 'Bahasa Indonesia',
|
|
@@ -2083,6 +2142,7 @@ const LANGUAGES = {
|
|
|
2083
2142
|
es: 'Indonesio',
|
|
2084
2143
|
},
|
|
2085
2144
|
status: 'commingsoon',
|
|
2145
|
+
speakers: 199000000,
|
|
2086
2146
|
},
|
|
2087
2147
|
da: {
|
|
2088
2148
|
nativeName: 'Dansk',
|
|
@@ -2097,6 +2157,7 @@ const LANGUAGES = {
|
|
|
2097
2157
|
es: 'Danés',
|
|
2098
2158
|
},
|
|
2099
2159
|
status: 'commingsoon',
|
|
2160
|
+
speakers: 6000000,
|
|
2100
2161
|
},
|
|
2101
2162
|
no: {
|
|
2102
2163
|
nativeName: 'Norsk',
|
|
@@ -2111,6 +2172,7 @@ const LANGUAGES = {
|
|
|
2111
2172
|
es: 'Noruego',
|
|
2112
2173
|
},
|
|
2113
2174
|
status: 'commingsoon',
|
|
2175
|
+
speakers: 5300000,
|
|
2114
2176
|
},
|
|
2115
2177
|
fi: {
|
|
2116
2178
|
nativeName: 'Suomi',
|
|
@@ -2125,6 +2187,7 @@ const LANGUAGES = {
|
|
|
2125
2187
|
es: 'Finlandés',
|
|
2126
2188
|
},
|
|
2127
2189
|
status: 'commingsoon',
|
|
2190
|
+
speakers: 5400000,
|
|
2128
2191
|
},
|
|
2129
2192
|
cs: {
|
|
2130
2193
|
nativeName: 'Čeština',
|
|
@@ -2139,6 +2202,7 @@ const LANGUAGES = {
|
|
|
2139
2202
|
es: 'Checo',
|
|
2140
2203
|
},
|
|
2141
2204
|
status: 'commingsoon',
|
|
2205
|
+
speakers: 10700000,
|
|
2142
2206
|
},
|
|
2143
2207
|
el: {
|
|
2144
2208
|
nativeName: 'Ελληνικά (Elliniká)',
|
|
@@ -2153,6 +2217,7 @@ const LANGUAGES = {
|
|
|
2153
2217
|
es: 'Griego',
|
|
2154
2218
|
},
|
|
2155
2219
|
status: 'commingsoon',
|
|
2220
|
+
speakers: 13500000,
|
|
2156
2221
|
},
|
|
2157
2222
|
hu: {
|
|
2158
2223
|
nativeName: 'Magyar',
|
|
@@ -2167,6 +2232,7 @@ const LANGUAGES = {
|
|
|
2167
2232
|
es: 'Húngaro',
|
|
2168
2233
|
},
|
|
2169
2234
|
status: 'commingsoon',
|
|
2235
|
+
speakers: 13000000,
|
|
2170
2236
|
},
|
|
2171
2237
|
ro: {
|
|
2172
2238
|
nativeName: 'Română',
|
|
@@ -2181,6 +2247,7 @@ const LANGUAGES = {
|
|
|
2181
2247
|
es: 'Rumano',
|
|
2182
2248
|
},
|
|
2183
2249
|
status: 'commingsoon',
|
|
2250
|
+
speakers: 24000000,
|
|
2184
2251
|
},
|
|
2185
2252
|
uk: {
|
|
2186
2253
|
nativeName: 'Українська (Ukrainska)',
|
|
@@ -2195,6 +2262,7 @@ const LANGUAGES = {
|
|
|
2195
2262
|
es: 'Ucraniano',
|
|
2196
2263
|
},
|
|
2197
2264
|
status: 'commingsoon',
|
|
2265
|
+
speakers: 33000000,
|
|
2198
2266
|
},
|
|
2199
2267
|
he: {
|
|
2200
2268
|
nativeName: 'עברית (Ivrit)',
|
|
@@ -2209,6 +2277,7 @@ const LANGUAGES = {
|
|
|
2209
2277
|
es: 'Hebreo',
|
|
2210
2278
|
},
|
|
2211
2279
|
status: 'commingsoon',
|
|
2280
|
+
speakers: 9000000,
|
|
2212
2281
|
},
|
|
2213
2282
|
th: {
|
|
2214
2283
|
nativeName: 'ภาษาไทย (Phasa Thai)',
|
|
@@ -2223,6 +2292,7 @@ const LANGUAGES = {
|
|
|
2223
2292
|
es: 'Tailandés',
|
|
2224
2293
|
},
|
|
2225
2294
|
status: 'commingsoon',
|
|
2295
|
+
speakers: 69000000,
|
|
2226
2296
|
},
|
|
2227
2297
|
hi: {
|
|
2228
2298
|
nativeName: 'हिन्दी (Hindī)',
|
|
@@ -2237,6 +2307,7 @@ const LANGUAGES = {
|
|
|
2237
2307
|
es: 'Hindi',
|
|
2238
2308
|
},
|
|
2239
2309
|
status: 'commingsoon',
|
|
2310
|
+
speakers: 602000000,
|
|
2240
2311
|
},
|
|
2241
2312
|
ca: {
|
|
2242
2313
|
nativeName: 'Català',
|
|
@@ -2251,6 +2322,7 @@ const LANGUAGES = {
|
|
|
2251
2322
|
es: 'Catalán',
|
|
2252
2323
|
},
|
|
2253
2324
|
status: 'commingsoon',
|
|
2325
|
+
speakers: 10000000,
|
|
2254
2326
|
},
|
|
2255
2327
|
bg: {
|
|
2256
2328
|
nativeName: 'Български (Balgarski)',
|
|
@@ -2265,6 +2337,7 @@ const LANGUAGES = {
|
|
|
2265
2337
|
es: 'Búlgaro',
|
|
2266
2338
|
},
|
|
2267
2339
|
status: 'commingsoon',
|
|
2340
|
+
speakers: 9000000,
|
|
2268
2341
|
},
|
|
2269
2342
|
eo: {
|
|
2270
2343
|
nativeName: 'Esperanto',
|
|
@@ -2279,6 +2352,7 @@ const LANGUAGES = {
|
|
|
2279
2352
|
es: 'Esperanto',
|
|
2280
2353
|
},
|
|
2281
2354
|
status: 'commingsoon',
|
|
2355
|
+
speakers: 2000000,
|
|
2282
2356
|
},
|
|
2283
2357
|
ia: {
|
|
2284
2358
|
nativeName: 'Interlingua',
|
|
@@ -2293,6 +2367,7 @@ const LANGUAGES = {
|
|
|
2293
2367
|
es: 'Interlingua',
|
|
2294
2368
|
},
|
|
2295
2369
|
status: 'commingsoon',
|
|
2370
|
+
speakers: 1500,
|
|
2296
2371
|
},
|
|
2297
2372
|
hr: {
|
|
2298
2373
|
nativeName: 'Hrvatski',
|
|
@@ -2307,6 +2382,7 @@ const LANGUAGES = {
|
|
|
2307
2382
|
es: 'Croata',
|
|
2308
2383
|
},
|
|
2309
2384
|
status: 'commingsoon',
|
|
2385
|
+
speakers: 5700000,
|
|
2310
2386
|
},
|
|
2311
2387
|
sk: {
|
|
2312
2388
|
nativeName: 'Slovenčina',
|
|
@@ -2321,6 +2397,7 @@ const LANGUAGES = {
|
|
|
2321
2397
|
es: 'Eslovaco',
|
|
2322
2398
|
},
|
|
2323
2399
|
status: 'commingsoon',
|
|
2400
|
+
speakers: 5400000,
|
|
2324
2401
|
},
|
|
2325
2402
|
fil: {
|
|
2326
2403
|
nativeName: 'Filipino',
|
|
@@ -2335,6 +2412,7 @@ const LANGUAGES = {
|
|
|
2335
2412
|
es: 'Filipino',
|
|
2336
2413
|
},
|
|
2337
2414
|
status: 'commingsoon',
|
|
2415
|
+
speakers: 109000000,
|
|
2338
2416
|
},
|
|
2339
2417
|
tl: {
|
|
2340
2418
|
// Tagalog often used as base for Filipino, but distinct ISO code
|
|
@@ -2350,6 +2428,7 @@ const LANGUAGES = {
|
|
|
2350
2428
|
es: 'Tagalo',
|
|
2351
2429
|
},
|
|
2352
2430
|
status: 'commingsoon',
|
|
2431
|
+
speakers: 109000000,
|
|
2353
2432
|
},
|
|
2354
2433
|
lt: {
|
|
2355
2434
|
nativeName: 'Lietuvių',
|
|
@@ -2364,6 +2443,7 @@ const LANGUAGES = {
|
|
|
2364
2443
|
es: 'Lituano',
|
|
2365
2444
|
},
|
|
2366
2445
|
status: 'commingsoon',
|
|
2446
|
+
speakers: 2800000,
|
|
2367
2447
|
},
|
|
2368
2448
|
lv: {
|
|
2369
2449
|
nativeName: 'Latviešu',
|
|
@@ -2378,6 +2458,7 @@ const LANGUAGES = {
|
|
|
2378
2458
|
es: 'Letón',
|
|
2379
2459
|
},
|
|
2380
2460
|
status: 'commingsoon',
|
|
2461
|
+
speakers: 1900000,
|
|
2381
2462
|
},
|
|
2382
2463
|
sl: {
|
|
2383
2464
|
nativeName: 'Slovenščina',
|
|
@@ -2392,6 +2473,7 @@ const LANGUAGES = {
|
|
|
2392
2473
|
es: 'Esloveno',
|
|
2393
2474
|
},
|
|
2394
2475
|
status: 'commingsoon',
|
|
2476
|
+
speakers: 2500000,
|
|
2395
2477
|
},
|
|
2396
2478
|
et: {
|
|
2397
2479
|
nativeName: 'Eesti',
|
|
@@ -2406,6 +2488,7 @@ const LANGUAGES = {
|
|
|
2406
2488
|
es: 'Estonio',
|
|
2407
2489
|
},
|
|
2408
2490
|
status: 'commingsoon',
|
|
2491
|
+
speakers: 1100000,
|
|
2409
2492
|
},
|
|
2410
2493
|
ms: {
|
|
2411
2494
|
nativeName: 'Bahasa Melayu',
|
|
@@ -2420,6 +2503,7 @@ const LANGUAGES = {
|
|
|
2420
2503
|
es: 'Malayo',
|
|
2421
2504
|
},
|
|
2422
2505
|
status: 'commingsoon',
|
|
2506
|
+
speakers: 290000000,
|
|
2423
2507
|
},
|
|
2424
2508
|
sw: {
|
|
2425
2509
|
nativeName: 'Kiswahili',
|
|
@@ -2434,6 +2518,7 @@ const LANGUAGES = {
|
|
|
2434
2518
|
es: 'Suajili',
|
|
2435
2519
|
},
|
|
2436
2520
|
status: 'commingsoon',
|
|
2521
|
+
speakers: 200000000,
|
|
2437
2522
|
},
|
|
2438
2523
|
fa: {
|
|
2439
2524
|
nativeName: 'فارسی (Fārsī)',
|
|
@@ -2448,6 +2533,7 @@ const LANGUAGES = {
|
|
|
2448
2533
|
es: 'Persa',
|
|
2449
2534
|
},
|
|
2450
2535
|
status: 'commingsoon',
|
|
2536
|
+
speakers: 110000000,
|
|
2451
2537
|
},
|
|
2452
2538
|
bn: {
|
|
2453
2539
|
nativeName: 'বাংলা (Bangla)',
|
|
@@ -2462,6 +2548,7 @@ const LANGUAGES = {
|
|
|
2462
2548
|
es: 'Bengalí',
|
|
2463
2549
|
},
|
|
2464
2550
|
status: 'commingsoon',
|
|
2551
|
+
speakers: 272000000,
|
|
2465
2552
|
},
|
|
2466
2553
|
ur: {
|
|
2467
2554
|
nativeName: 'اردو (Urdū)',
|
|
@@ -2476,6 +2563,7 @@ const LANGUAGES = {
|
|
|
2476
2563
|
es: 'Urdu',
|
|
2477
2564
|
},
|
|
2478
2565
|
status: 'commingsoon',
|
|
2566
|
+
speakers: 231000000,
|
|
2479
2567
|
},
|
|
2480
2568
|
sr: {
|
|
2481
2569
|
nativeName: 'Српски (Srpski)',
|
|
@@ -2490,6 +2578,7 @@ const LANGUAGES = {
|
|
|
2490
2578
|
es: 'Serbio',
|
|
2491
2579
|
},
|
|
2492
2580
|
status: 'commingsoon',
|
|
2581
|
+
speakers: 9000000,
|
|
2493
2582
|
},
|
|
2494
2583
|
is: {
|
|
2495
2584
|
nativeName: 'Íslenska',
|
|
@@ -2504,6 +2593,7 @@ const LANGUAGES = {
|
|
|
2504
2593
|
es: 'Islandés',
|
|
2505
2594
|
},
|
|
2506
2595
|
status: 'commingsoon',
|
|
2596
|
+
speakers: 314000,
|
|
2507
2597
|
},
|
|
2508
2598
|
ta: {
|
|
2509
2599
|
nativeName: 'தமிழ் (Tamiḻ)',
|
|
@@ -2518,6 +2608,7 @@ const LANGUAGES = {
|
|
|
2518
2608
|
es: 'Tamil',
|
|
2519
2609
|
},
|
|
2520
2610
|
status: 'commingsoon',
|
|
2611
|
+
speakers: 86000000,
|
|
2521
2612
|
},
|
|
2522
2613
|
mr: {
|
|
2523
2614
|
nativeName: 'मराठी (Marāṭhī)',
|
|
@@ -2532,6 +2623,7 @@ const LANGUAGES = {
|
|
|
2532
2623
|
es: 'Maratí',
|
|
2533
2624
|
},
|
|
2534
2625
|
status: 'commingsoon',
|
|
2626
|
+
speakers: 99000000,
|
|
2535
2627
|
},
|
|
2536
2628
|
my: {
|
|
2537
2629
|
nativeName: 'မြန်မာဘာသာ (Myanmar)',
|
|
@@ -2546,6 +2638,7 @@ const LANGUAGES = {
|
|
|
2546
2638
|
es: 'Birmano',
|
|
2547
2639
|
},
|
|
2548
2640
|
status: 'commingsoon',
|
|
2641
|
+
speakers: 43000000,
|
|
2549
2642
|
},
|
|
2550
2643
|
cy: {
|
|
2551
2644
|
nativeName: 'Cymraeg',
|
|
@@ -2560,6 +2653,7 @@ const LANGUAGES = {
|
|
|
2560
2653
|
es: 'Galés',
|
|
2561
2654
|
},
|
|
2562
2655
|
status: 'commingsoon',
|
|
2656
|
+
speakers: 724000,
|
|
2563
2657
|
},
|
|
2564
2658
|
ha: {
|
|
2565
2659
|
nativeName: 'Hausa',
|
|
@@ -2574,6 +2668,7 @@ const LANGUAGES = {
|
|
|
2574
2668
|
es: 'Hausa',
|
|
2575
2669
|
},
|
|
2576
2670
|
status: 'commingsoon',
|
|
2671
|
+
speakers: 130000000,
|
|
2577
2672
|
},
|
|
2578
2673
|
eu: {
|
|
2579
2674
|
nativeName: 'Euskara',
|
|
@@ -2588,6 +2683,7 @@ const LANGUAGES = {
|
|
|
2588
2683
|
es: 'Vasco',
|
|
2589
2684
|
},
|
|
2590
2685
|
status: 'commingsoon',
|
|
2686
|
+
speakers: 750000,
|
|
2591
2687
|
},
|
|
2592
2688
|
ga: {
|
|
2593
2689
|
nativeName: 'Gaeilge',
|
|
@@ -2602,6 +2698,7 @@ const LANGUAGES = {
|
|
|
2602
2698
|
es: 'Irlandés',
|
|
2603
2699
|
},
|
|
2604
2700
|
status: 'commingsoon',
|
|
2701
|
+
speakers: 1900000,
|
|
2605
2702
|
},
|
|
2606
2703
|
sd: {
|
|
2607
2704
|
nativeName: 'سنڌي (Sindhī)',
|
|
@@ -2616,6 +2713,7 @@ const LANGUAGES = {
|
|
|
2616
2713
|
es: 'Sindi',
|
|
2617
2714
|
},
|
|
2618
2715
|
status: 'commingsoon',
|
|
2716
|
+
speakers: 32000000,
|
|
2619
2717
|
},
|
|
2620
2718
|
am: {
|
|
2621
2719
|
nativeName: 'አማርኛ (Amarəñña)',
|
|
@@ -2630,6 +2728,7 @@ const LANGUAGES = {
|
|
|
2630
2728
|
es: 'Amárico',
|
|
2631
2729
|
},
|
|
2632
2730
|
status: 'commingsoon',
|
|
2731
|
+
speakers: 57000000,
|
|
2633
2732
|
},
|
|
2634
2733
|
jv: {
|
|
2635
2734
|
nativeName: 'Basa Jawa',
|
|
@@ -2644,6 +2743,7 @@ const LANGUAGES = {
|
|
|
2644
2743
|
es: 'Javanés',
|
|
2645
2744
|
},
|
|
2646
2745
|
status: 'commingsoon',
|
|
2746
|
+
speakers: 68000000,
|
|
2647
2747
|
},
|
|
2648
2748
|
km: {
|
|
2649
2749
|
nativeName: 'ភាសាខ្មែរ (Phéasa Khmér)',
|
|
@@ -2658,6 +2758,7 @@ const LANGUAGES = {
|
|
|
2658
2758
|
es: 'Jemer',
|
|
2659
2759
|
},
|
|
2660
2760
|
status: 'commingsoon',
|
|
2761
|
+
speakers: 16000000,
|
|
2661
2762
|
},
|
|
2662
2763
|
yo: {
|
|
2663
2764
|
nativeName: 'Yorùbá',
|
|
@@ -2672,6 +2773,7 @@ const LANGUAGES = {
|
|
|
2672
2773
|
es: 'Yoruba',
|
|
2673
2774
|
},
|
|
2674
2775
|
status: 'commingsoon',
|
|
2776
|
+
speakers: 50000000,
|
|
2675
2777
|
},
|
|
2676
2778
|
gl: {
|
|
2677
2779
|
nativeName: 'Galego',
|
|
@@ -2686,8 +2788,58 @@ const LANGUAGES = {
|
|
|
2686
2788
|
es: 'Gallego',
|
|
2687
2789
|
},
|
|
2688
2790
|
status: 'commingsoon',
|
|
2791
|
+
speakers: 2400000,
|
|
2689
2792
|
},
|
|
2690
2793
|
};
|
|
2794
|
+
function getLangDesc(langCode, lang) {
|
|
2795
|
+
return LANGUAGES[langCode]?.translations[lang] || langCode;
|
|
2796
|
+
}
|
|
2797
|
+
function getSupportedLanguageOptions(lang = 'es') {
|
|
2798
|
+
return SUPPORTED_LANGUAGES.map((langCode) => ({
|
|
2799
|
+
value: langCode,
|
|
2800
|
+
label: getLangDesc(langCode, lang),
|
|
2801
|
+
}));
|
|
2802
|
+
}
|
|
2803
|
+
|
|
2804
|
+
const MoodStateOptions = [
|
|
2805
|
+
// Emociones básicas y fundamentales
|
|
2806
|
+
{ value: 'happy', label: '1) Alegría - Felicidad, gozo, satisfacción', emoji: '😊' },
|
|
2807
|
+
{ value: 'sad', label: '2) Tristeza - Pena, melancolía, desánimo', emoji: '😢' },
|
|
2808
|
+
{ value: 'angry', label: '3) Enojo - Ira, furia, irritación', emoji: '😠' },
|
|
2809
|
+
{ value: 'fear', label: '4) Miedo - Temor, pánico, terror', emoji: '😨' },
|
|
2810
|
+
{ value: 'surprised', label: '5) Sorpresa - Asombro, desconcierto', emoji: '😮' },
|
|
2811
|
+
{ value: 'disgusted', label: '6) Asco - Repugnancia, aversión', emoji: '🤢' },
|
|
2812
|
+
// { value: 'excited', label: '27) Entusiasmo - Emoción, euforia, anticipación' },
|
|
2813
|
+
// Emociones sociales y autoconscientes
|
|
2814
|
+
{ value: 'proud', label: '7) Orgullo - Satisfacción por logros propios o ajenos', emoji: '😎' },
|
|
2815
|
+
{ value: 'ashamed', label: '8) Vergüenza - Humillado', emoji: '😰' },
|
|
2816
|
+
{ value: 'guilty', label: '9) Culpa - Remordimiento, arrepentimiento', emoji: '😔' },
|
|
2817
|
+
{ value: 'jealous', label: '10) Celos - Envidia, desconfianza', emoji: '😒' },
|
|
2818
|
+
{ value: 'love', label: '11) Amor - Cariño, afecto, ternura', emoji: '❤️' },
|
|
2819
|
+
// { value: 'grateful', label: '12) Agradecimiento - Gratitud, aprecio' },
|
|
2820
|
+
{ value: 'contempt', label: '30) Desprecio - Desdén, menosprecio', emoji: '🙃' },
|
|
2821
|
+
{ value: 'comic', label: '32) Cómico - Divertido, gracioso', emoji: '😂' },
|
|
2822
|
+
{ value: 'blushing', label: '33) Apenado - Sonrojado, avergonzado', emoji: '😳' },
|
|
2823
|
+
// Estados cognitivos y mentales
|
|
2824
|
+
// { value: 'neutral', label: '13) Neutral - Calma, imparcialidad' },
|
|
2825
|
+
{ value: 'confused', label: '14) Confusión - Desorientación, perplejidad', emoji: '😕' },
|
|
2826
|
+
{ value: 'curious', label: '15) Curiosidad - Interés, intriga, exploración', emoji: '🤔' },
|
|
2827
|
+
{ value: 'bored', label: '16) Aburrimiento - Desinterés, tedio, apatía', emoji: '😑' },
|
|
2828
|
+
// { value: 'hopeful', label: '17) Esperanza - Optimismo, fe, expectativa positiva' },
|
|
2829
|
+
{ value: 'frustrated', label: '18) Frustración - Decepción, impotencia', emoji: '😤' },
|
|
2830
|
+
{ value: 'overwhelmed', label: '19) Abrumado - Agobio, exceso de carga', emoji: '😫' },
|
|
2831
|
+
// { value: 'lonely', label: '20) Soledad - Aislamiento, desamparo' },
|
|
2832
|
+
{ value: 'focused', label: '21) Concentración - Enfoque, atención plena', emoji: '🤓' },
|
|
2833
|
+
{ value: 'challenge', label: '28) Desafío - Reto, provocación, competitividad', emoji: '😏' },
|
|
2834
|
+
// { value: 'satisfied', label: '29) Satisfacción - Contentamiento, plenitud' },
|
|
2835
|
+
{ value: 'serious', label: '31) Serenidad - Actitud seria', emoji: '😐' },
|
|
2836
|
+
// Estados corporales y fisiológicos
|
|
2837
|
+
{ value: 'sleepy', label: '22) Cansancio - Somnolencia, agotamiento, fatiga', emoji: '😴' },
|
|
2838
|
+
// { value: 'energetic', label: '23) Energía - Vitalidad, vigor, dinamismo' },
|
|
2839
|
+
{ value: 'horny', label: '24) Excitación sexual - Lujuria, deseo sexual', emoji: '😈' },
|
|
2840
|
+
{ value: 'anxious', label: '25) Ansiedad - Nerviosismo, preocupación, inquietud', emoji: '😟' },
|
|
2841
|
+
{ value: 'relaxed', label: '26) Relajación - Paz, serenidad, tranquilidad', emoji: '😌' },
|
|
2842
|
+
];
|
|
2691
2843
|
|
|
2692
2844
|
/*
|
|
2693
2845
|
* Public API Surface of core-components
|
|
@@ -2698,5 +2850,5 @@ const LANGUAGES = {
|
|
|
2698
2850
|
* Generated bundle index. Do not edit.
|
|
2699
2851
|
*/
|
|
2700
2852
|
|
|
2701
|
-
export { AudioSpeed, AudioSpeedReverse, ChatUserSettings, ConfirmComponent, ConfirmService, DCFilterBarComponent, DCProgressToastComponent, DcAuditableViewerComponent, DcExtensionsViewerComponent, DcLearnableViewerComponent, DcManageableViewerComponent, DcReactionsViewerComponent, EModelQuality, EmptyStateComponent, EntityBaseFormComponent, EntityBaseListComponent, EntityCommunicationService, GetPathPipe, HTTP_CORE_CONFIG, HttpCoreService, IAIModel, LANGUAGES, LoadingBarComponent, LoadingBarService, ModelQualityOptions, OptionValue, PaginationBase, PromptService, QuickTableComponent, TOAST_ALERTS_TOKEN, ToastAlertsAbstractService, availibleFilters, extractJsonFromString, formatCamelCaseString, provideToastAlert, sortOptions, sortTypes };
|
|
2853
|
+
export { AudioSpeed, AudioSpeedReverse, ChatUserSettings, ConfirmComponent, ConfirmService, DCFilterBarComponent, DCProgressToastComponent, DcAuditableViewerComponent, DcExtensionsViewerComponent, DcLearnableViewerComponent, DcManageableViewerComponent, DcReactionsViewerComponent, EModelQuality, EmptyStateComponent, EntityBaseFormComponent, EntityBaseListComponent, EntityCommunicationService, GetPathPipe, HTTP_CORE_CONFIG, HttpCoreService, IAIModel, LANGUAGES, LoadingBarComponent, LoadingBarService, ModelQualityOptions, MoodStateOptions, OptionValue, PaginationBase, PromptService, QuickTableComponent, SUPPORTED_LANGUAGES, TOAST_ALERTS_TOKEN, ToastAlertsAbstractService, UiStateService, availibleFilters, extractJsonFromString, formatCamelCaseString, getLangDesc, getSupportedLanguageOptions, provideToastAlert, sortOptions, sortTypes };
|
|
2702
2854
|
//# sourceMappingURL=dataclouder-ngx-core.mjs.map
|