@xsmusices/ui 2.0.0 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/{xsmusices-ui-country-flag.xsstory-BPTu5b4i.mjs → xsmusices-ui-country-flag.xsstory-Z3oNFSU_.mjs} +8 -1
- package/fesm2022/{xsmusices-ui-country-flag.xsstory-BPTu5b4i.mjs.map → xsmusices-ui-country-flag.xsstory-Z3oNFSU_.mjs.map} +1 -1
- package/fesm2022/{xsmusices-ui-country-name.xsstory-ENhKrPTw.mjs → xsmusices-ui-country-name.xsstory-DjltbuxD.mjs} +8 -1
- package/fesm2022/{xsmusices-ui-country-name.xsstory-ENhKrPTw.mjs.map → xsmusices-ui-country-name.xsstory-DjltbuxD.mjs.map} +1 -1
- package/fesm2022/{xsmusices-ui-date-chat.xsstory-BBAJebr1.mjs → xsmusices-ui-date-chat.xsstory-CQtKdsMm.mjs} +8 -1
- package/fesm2022/xsmusices-ui-date-chat.xsstory-CQtKdsMm.mjs.map +1 -0
- package/fesm2022/{xsmusices-ui-date-format.xsstory-Chrcn1yu.mjs → xsmusices-ui-date-format.xsstory-CrdrFYcc.mjs} +8 -1
- package/fesm2022/xsmusices-ui-date-format.xsstory-CrdrFYcc.mjs.map +1 -0
- package/fesm2022/{xsmusices-ui-date-long.xsstory-CkYL5e1z.mjs → xsmusices-ui-date-long.xsstory-BjOIOC1H.mjs} +8 -1
- package/fesm2022/xsmusices-ui-date-long.xsstory-BjOIOC1H.mjs.map +1 -0
- package/fesm2022/{xsmusices-ui-first-letter-case.xsstory-BJDtnUwE.mjs → xsmusices-ui-first-letter-case.xsstory-C2fNXgOe.mjs} +8 -1
- package/fesm2022/xsmusices-ui-first-letter-case.xsstory-C2fNXgOe.mjs.map +1 -0
- package/fesm2022/{xsmusices-ui-max-count.xsstory-kWzvhDsC.mjs → xsmusices-ui-max-count.xsstory-CsVhR149.mjs} +8 -1
- package/fesm2022/xsmusices-ui-max-count.xsstory-CsVhR149.mjs.map +1 -0
- package/fesm2022/{xsmusices-ui-number-to-month.xsstory-LUhA1uRx.mjs → xsmusices-ui-number-to-month.xsstory-CVZxU6NA.mjs} +8 -1
- package/fesm2022/xsmusices-ui-number-to-month.xsstory-CVZxU6NA.mjs.map +1 -0
- package/fesm2022/{xsmusices-ui-slice-array.xsstory-ElPwFlwd.mjs → xsmusices-ui-slice-array.xsstory-KvdMXkXI.mjs} +8 -1
- package/fesm2022/xsmusices-ui-slice-array.xsstory-KvdMXkXI.mjs.map +1 -0
- package/fesm2022/{xsmusices-ui-thousands-separator.xsstory-Q9Q7cCAG.mjs → xsmusices-ui-thousands-separator.xsstory-Gnfhsxyh.mjs} +8 -1
- package/fesm2022/xsmusices-ui-thousands-separator.xsstory-Gnfhsxyh.mjs.map +1 -0
- package/fesm2022/{xsmusices-ui-title-media.xsstory-C4qa-mT2.mjs → xsmusices-ui-title-media.xsstory-BoxLfHKN.mjs} +8 -1
- package/fesm2022/xsmusices-ui-title-media.xsstory-BoxLfHKN.mjs.map +1 -0
- package/fesm2022/{xsmusices-ui-truncate-text.xsstory-B3RQ9xZ3.mjs → xsmusices-ui-truncate-text.xsstory-BDVuKaja.mjs} +8 -1
- package/fesm2022/{xsmusices-ui-truncate-text.xsstory-B3RQ9xZ3.mjs.map → xsmusices-ui-truncate-text.xsstory-BDVuKaja.mjs.map} +1 -1
- package/fesm2022/{xsmusices-ui-xs-breadcrumbs.xsstory-CNyBeURd.mjs → xsmusices-ui-xs-breadcrumbs.xsstory-D2NxXjKe.mjs} +8 -1
- package/fesm2022/{xsmusices-ui-xs-breadcrumbs.xsstory-CNyBeURd.mjs.map → xsmusices-ui-xs-breadcrumbs.xsstory-D2NxXjKe.mjs.map} +1 -1
- package/fesm2022/{xsmusices-ui-xs-customize-profile.xsstory-Ba7wmXF7.mjs → xsmusices-ui-xs-customize-profile.xsstory-BolHLdwK.mjs} +7 -1
- package/fesm2022/xsmusices-ui-xs-customize-profile.xsstory-BolHLdwK.mjs.map +1 -0
- package/fesm2022/{xsmusices-ui-xs-profile-tops.xsstory-BhgHy7Gc.mjs → xsmusices-ui-xs-profile-tops.xsstory-DSwdyEYc.mjs} +6 -6
- package/fesm2022/xsmusices-ui-xs-profile-tops.xsstory-DSwdyEYc.mjs.map +1 -0
- package/fesm2022/{xsmusices-ui-xs-tabs.xsstory-ColZVzXZ.mjs → xsmusices-ui-xs-tabs.xsstory-DxQ7WEeb.mjs} +8 -1
- package/fesm2022/xsmusices-ui-xs-tabs.xsstory-DxQ7WEeb.mjs.map +1 -0
- package/fesm2022/xsmusices-ui.mjs +101 -40
- package/fesm2022/xsmusices-ui.mjs.map +1 -1
- package/index.d.ts +27 -24
- package/package.json +3 -4
- package/MIGRATION.md +0 -168
- package/fesm2022/xsmusices-ui-date-chat.xsstory-BBAJebr1.mjs.map +0 -1
- package/fesm2022/xsmusices-ui-date-format.xsstory-Chrcn1yu.mjs.map +0 -1
- package/fesm2022/xsmusices-ui-date-long.xsstory-CkYL5e1z.mjs.map +0 -1
- package/fesm2022/xsmusices-ui-first-letter-case.xsstory-BJDtnUwE.mjs.map +0 -1
- package/fesm2022/xsmusices-ui-max-count.xsstory-kWzvhDsC.mjs.map +0 -1
- package/fesm2022/xsmusices-ui-number-to-month.xsstory-LUhA1uRx.mjs.map +0 -1
- package/fesm2022/xsmusices-ui-slice-array.xsstory-ElPwFlwd.mjs.map +0 -1
- package/fesm2022/xsmusices-ui-thousands-separator.xsstory-Q9Q7cCAG.mjs.map +0 -1
- package/fesm2022/xsmusices-ui-title-media.xsstory-C4qa-mT2.mjs.map +0 -1
- package/fesm2022/xsmusices-ui-xs-customize-profile.xsstory-Ba7wmXF7.mjs.map +0 -1
- package/fesm2022/xsmusices-ui-xs-profile-tops.xsstory-BhgHy7Gc.mjs.map +0 -1
- package/fesm2022/xsmusices-ui-xs-tabs.xsstory-ColZVzXZ.mjs.map +0 -1
|
@@ -7104,7 +7104,12 @@ var UPLOAD_IMAGE$1 = {
|
|
|
7104
7104
|
HINT: "JPG, PNG o GIF. Haz clic aquí para elegir.",
|
|
7105
7105
|
SELECT_BUTTON: "Seleccionar",
|
|
7106
7106
|
CHANGE_BUTTON: "Cambiar",
|
|
7107
|
-
REMOVE_BUTTON: "Borrar"
|
|
7107
|
+
REMOVE_BUTTON: "Borrar",
|
|
7108
|
+
MODE_FILE: "Archivo",
|
|
7109
|
+
MODE_URL: "URL",
|
|
7110
|
+
URL_PLACEHOLDER: "Pega la URL de la imagen (https://…)",
|
|
7111
|
+
URL_APPLY: "Aplicar",
|
|
7112
|
+
URL_INVALID: "La URL no es válida. Debe empezar por http:// o https://"
|
|
7108
7113
|
};
|
|
7109
7114
|
var es$n = {
|
|
7110
7115
|
UPLOAD_IMAGE: UPLOAD_IMAGE$1
|
|
@@ -7115,7 +7120,12 @@ var UPLOAD_IMAGE = {
|
|
|
7115
7120
|
HINT: "JPG, PNG or GIF. Click here to choose.",
|
|
7116
7121
|
SELECT_BUTTON: "Select",
|
|
7117
7122
|
CHANGE_BUTTON: "Change",
|
|
7118
|
-
REMOVE_BUTTON: "Delete"
|
|
7123
|
+
REMOVE_BUTTON: "Delete",
|
|
7124
|
+
MODE_FILE: "File",
|
|
7125
|
+
MODE_URL: "URL",
|
|
7126
|
+
URL_PLACEHOLDER: "Paste the image URL (https://…)",
|
|
7127
|
+
URL_APPLY: "Apply",
|
|
7128
|
+
URL_INVALID: "Invalid URL. It must start with http:// or https://"
|
|
7119
7129
|
};
|
|
7120
7130
|
var en$n = {
|
|
7121
7131
|
UPLOAD_IMAGE: UPLOAD_IMAGE
|
|
@@ -7125,6 +7135,9 @@ class XSFormlyUploadImageComponent extends XSFormlyBaseComponent {
|
|
|
7125
7135
|
fileInput = viewChild('fileInput', ...(ngDevMode ? [{ debugName: "fileInput" }] : []));
|
|
7126
7136
|
previewUrl;
|
|
7127
7137
|
isDragging = false;
|
|
7138
|
+
mode = 'file';
|
|
7139
|
+
urlInput = '';
|
|
7140
|
+
urlError = '';
|
|
7128
7141
|
valueChangesSub = new Subscription();
|
|
7129
7142
|
translateService = inject(XSTranslateService);
|
|
7130
7143
|
changeDetectorRef = inject(ChangeDetectorRef);
|
|
@@ -7148,6 +7161,21 @@ class XSFormlyUploadImageComponent extends XSFormlyBaseComponent {
|
|
|
7148
7161
|
get removeButtonLabel() {
|
|
7149
7162
|
return this.xsTranslateService.translate('UPLOAD_IMAGE.REMOVE_BUTTON');
|
|
7150
7163
|
}
|
|
7164
|
+
get modeFileLabel() {
|
|
7165
|
+
return this.xsTranslateService.translate('UPLOAD_IMAGE.MODE_FILE');
|
|
7166
|
+
}
|
|
7167
|
+
get modeUrlLabel() {
|
|
7168
|
+
return this.xsTranslateService.translate('UPLOAD_IMAGE.MODE_URL');
|
|
7169
|
+
}
|
|
7170
|
+
get urlPlaceholder() {
|
|
7171
|
+
return this.xsTranslateService.translate('UPLOAD_IMAGE.URL_PLACEHOLDER');
|
|
7172
|
+
}
|
|
7173
|
+
get urlApplyLabel() {
|
|
7174
|
+
return this.xsTranslateService.translate('UPLOAD_IMAGE.URL_APPLY');
|
|
7175
|
+
}
|
|
7176
|
+
get urlInvalidMessage() {
|
|
7177
|
+
return this.xsTranslateService.translate('UPLOAD_IMAGE.URL_INVALID');
|
|
7178
|
+
}
|
|
7151
7179
|
get isFieldDisabled() {
|
|
7152
7180
|
return !!this.props['disabled'] || !!this.control?.disabled;
|
|
7153
7181
|
}
|
|
@@ -7156,6 +7184,7 @@ class XSFormlyUploadImageComponent extends XSFormlyBaseComponent {
|
|
|
7156
7184
|
const initial = this.control.value;
|
|
7157
7185
|
if (initial) {
|
|
7158
7186
|
this.syncPreview(initial);
|
|
7187
|
+
this.syncMode(initial);
|
|
7159
7188
|
}
|
|
7160
7189
|
else if (this.props?.['currentImageUrl']) {
|
|
7161
7190
|
this.previewUrl = this.props['currentImageUrl'];
|
|
@@ -7164,6 +7193,7 @@ class XSFormlyUploadImageComponent extends XSFormlyBaseComponent {
|
|
|
7164
7193
|
if (value instanceof File ||
|
|
7165
7194
|
(typeof value === 'string' && value)) {
|
|
7166
7195
|
this.syncPreview(value);
|
|
7196
|
+
this.syncMode(value);
|
|
7167
7197
|
}
|
|
7168
7198
|
else if (!value) {
|
|
7169
7199
|
this.revokeOldUrl();
|
|
@@ -7221,6 +7251,48 @@ class XSFormlyUploadImageComponent extends XSFormlyBaseComponent {
|
|
|
7221
7251
|
this.control.markAsTouched();
|
|
7222
7252
|
this.control.markAsDirty();
|
|
7223
7253
|
}
|
|
7254
|
+
isHttpUrl(value) {
|
|
7255
|
+
return /^https?:\/\/.+/i.test(value.trim());
|
|
7256
|
+
}
|
|
7257
|
+
syncMode(value) {
|
|
7258
|
+
if (typeof value === 'string' &&
|
|
7259
|
+
this.isHttpUrl(value) &&
|
|
7260
|
+
this.mode !== 'url') {
|
|
7261
|
+
this.mode = 'url';
|
|
7262
|
+
this.urlInput = value;
|
|
7263
|
+
}
|
|
7264
|
+
}
|
|
7265
|
+
setMode(mode) {
|
|
7266
|
+
if (this.isFieldDisabled)
|
|
7267
|
+
return;
|
|
7268
|
+
this.mode = mode;
|
|
7269
|
+
if (mode === 'url') {
|
|
7270
|
+
const current = this.control.value;
|
|
7271
|
+
if (typeof current === 'string' && current) {
|
|
7272
|
+
this.urlInput = current;
|
|
7273
|
+
}
|
|
7274
|
+
this.urlError = '';
|
|
7275
|
+
}
|
|
7276
|
+
this.changeDetectorRef.markForCheck();
|
|
7277
|
+
}
|
|
7278
|
+
onUrlInput(event) {
|
|
7279
|
+
const input = event.target;
|
|
7280
|
+
this.urlInput = input.value;
|
|
7281
|
+
}
|
|
7282
|
+
applyUrl() {
|
|
7283
|
+
if (this.isFieldDisabled)
|
|
7284
|
+
return;
|
|
7285
|
+
const url = this.urlInput.trim();
|
|
7286
|
+
if (!this.isHttpUrl(url)) {
|
|
7287
|
+
this.urlError = this.urlInvalidMessage;
|
|
7288
|
+
this.changeDetectorRef.markForCheck();
|
|
7289
|
+
return;
|
|
7290
|
+
}
|
|
7291
|
+
this.urlError = '';
|
|
7292
|
+
this.control.setValue(url);
|
|
7293
|
+
this.control.markAsTouched();
|
|
7294
|
+
this.control.markAsDirty();
|
|
7295
|
+
}
|
|
7224
7296
|
clearFile(event) {
|
|
7225
7297
|
event.preventDefault();
|
|
7226
7298
|
event.stopPropagation();
|
|
@@ -7228,9 +7300,13 @@ class XSFormlyUploadImageComponent extends XSFormlyBaseComponent {
|
|
|
7228
7300
|
return;
|
|
7229
7301
|
this.revokeOldUrl();
|
|
7230
7302
|
this.previewUrl = undefined;
|
|
7303
|
+
this.urlInput = '';
|
|
7304
|
+
this.urlError = '';
|
|
7231
7305
|
this.control.setValue(null);
|
|
7232
7306
|
this.control.markAsTouched();
|
|
7233
|
-
this.fileInput()
|
|
7307
|
+
const fileEl = this.fileInput()?.nativeElement;
|
|
7308
|
+
if (fileEl)
|
|
7309
|
+
fileEl.value = '';
|
|
7234
7310
|
}
|
|
7235
7311
|
revokeOldUrl() {
|
|
7236
7312
|
if (this.previewUrl && this.previewUrl.startsWith('blob:')) {
|
|
@@ -7243,7 +7319,7 @@ class XSFormlyUploadImageComponent extends XSFormlyBaseComponent {
|
|
|
7243
7319
|
this.revokeOldUrl();
|
|
7244
7320
|
}
|
|
7245
7321
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: XSFormlyUploadImageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7246
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.33", type: XSFormlyUploadImageComponent, isStandalone: true, selector: "xs-formly-upload-image", viewQueries: [{ propertyName: "fileInput", first: true, predicate: ["fileInput"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div\n class=\"xs-uploader-container flex flex-col mb-4\"\n id=\"xs-upload-image-root-{{ id }}\"\n>\n <xs-formly-label\n [for]=\"'xs-upload-image-input-' + id\"\n [label]=\"translateLabel(props.label)\"\n [required]=\"props.required\"\n [infoText]=\"infoText\"\n [elementId]=\"'xs-upload-image-label-' + id\"\n />\n\n <div\n class=\"mt-2 relative h-52 w-full overflow-hidden rounded-xl bg-zinc-900/50 transition-all duration-300 hover:border-zinc-600\"\n [class.border-zinc-400]=\"isDragging\"\n id=\"xs-upload-image-dropzone-{{ id }}\"\n >\n <input\n #fileInput\n id=\"xs-upload-image-input-{{ id }}\"\n type=\"file\"\n accept=\"image/*\"\n (change)=\"onFileChange($event)\"\n (dragover)=\"onDragOver($event)\"\n (dragleave) = \"isDragging = false\"\n (drop)=\"onDrop($event)\"\n [disabled]=\"isFieldDisabled\"\n [attr.aria-describedby]=\"errorMessage ? 'xs-upload-image-error-message-' + id : null\"\n class=\"absolute inset-0 z-10 h-full w-full cursor-pointer opacity-0\"\n />\n\n <div\n class=\"absolute inset-0 z-20 pointer-events-none flex h-full w-full items-center justify-center\"\n id=\"xs-upload-image-preview-container-{{ id }}\"\n >\n @if (previewUrl) {\n <div\n class=\"relative h-full w-full pointer-events-auto\"\n id=\"xs-upload-image-preview-wrapper-{{ id }}\"\n >\n <xs-image\n [src]=\"previewUrl\"\n [customClass]=\"'h-full w-full object-cover transition-all duration-500 group-hover:scale-105'\"\n id=\"xs-upload-image-preview-image-{{ id }}\"\n ></xs-image>\n\n <div\n class=\"absolute inset-0 flex items-center justify-center gap-3 bg-black/60 opacity-0 backdrop-blur-[2px] transition-opacity duration-300 hover:opacity-100 focus-within:opacity-100\"\n >\n <button\n type=\"button\"\n (click)=\"openFilePicker()\"\n [disabled]=\"isFieldDisabled\"\n class=\"z-30 flex h-10 items-center px-4 rounded-full bg-white text-black text-xs font-bold shadow-2xl transition-all hover:scale-105 active:scale-95 pointer-events-auto\"\n id=\"xs-upload-image-change-button-{{ id }}\"\n >\n {{ changeButtonLabel }}\n </button>\n <button\n type=\"button\"\n (click)=\"clearFile($event)\"\n [disabled]=\"isFieldDisabled\"\n [attr.aria-label]=\"removeButtonLabel\"\n class=\"z-30 flex h-10 w-10 items-center justify-center rounded-full bg-red-600 text-white shadow-2xl transition-all hover:bg-red-500 hover:scale-110 active:scale-95 pointer-events-auto\"\n id=\"xs-upload-image-clear-button-{{ id }}\"\n >\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"18\"\n height=\"18\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"3\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <path d=\"M18 6 6 18\" />\n <path d=\"m6 6 12 12\" />\n </svg>\n </button>\n </div>\n </div>\n } @else {\n <div\n class=\"flex flex-col items-center gap-4\"\n id=\"xs-upload-image-empty-state-{{ id }}\"\n >\n <div\n class=\"flex h-14 w-14 items-center justify-center rounded-2xl bg-zinc-900 text-zinc-600 shadow-[inset_0_1px_1px_rgba(255,255,255,0.05)] transition-colors group-hover:text-zinc-400\"\n >\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"1.5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <rect\n width=\"18\"\n height=\"18\"\n x=\"3\"\n y=\"3\"\n rx=\"2\"\n ry=\"2\"\n />\n <circle cx=\"9\" cy=\"9\" r=\"2\" />\n <path\n d=\"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21\"\n />\n </svg>\n </div>\n <div class=\"text-center\">\n <p\n class=\"text-[11px] font-bold text-zinc-300 uppercase tracking-tight\"\n id=\"xs-upload-image-select-title-{{ id }}\"\n >\n {{ selectTitle }}\n </p>\n <p\n class=\"text-[9px] text-zinc-600 uppercase tracking-widest mt-1\"\n id=\"xs-upload-image-hint-text-{{ id }}\"\n >\n {{ hintText }}\n </p>\n </div>\n </div>\n }\n </div>\n </div>\n\n @if (errorMessage) {\n <div\n class=\"flex items-center gap-2 px-1 animate-in\"\n id=\"xs-upload-image-error-wrapper-{{ id }}\"\n >\n <span\n class=\"h-1 w-1 rounded-full bg-red-500 shadow-[0_0_8px_#ef4444]\"\n ></span>\n <p\n class=\"text-[9px] font-black uppercase text-red-500 tracking-tighter\"\n id=\"xs-upload-image-error-message-{{ id }}\"\n >\n {{ errorMessage }}\n </p>\n </div>\n }\n</div>\n", styles: [":host{display:block}.animate-in{animation:fadeIn .25s ease-out}@keyframes fadeIn{0%{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "component", type: XSImageComponent, selector: "xs-image", inputs: ["config", "viewTransitionName", "src", "alt", "width", "height", "size", "rounded", "objectFit", "clickable", "item", "typeItem", "imageType", "fallbackSrc", "loading", "priority", "customClass", "generateAvatar"], outputs: ["onClick", "onLoad", "onError"] }, { kind: "component", type: XSFormlyLabelComponent, selector: "xs-formly-label", inputs: ["for", "label", "required", "infoText", "asHeading", "elementId"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
7322
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.33", type: XSFormlyUploadImageComponent, isStandalone: true, selector: "xs-formly-upload-image", viewQueries: [{ propertyName: "fileInput", first: true, predicate: ["fileInput"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div\n class=\"xs-uploader-container flex flex-col mb-4\"\n id=\"xs-upload-image-root-{{ id }}\"\n>\n <xs-formly-label\n [for]=\"'xs-upload-image-input-' + id\"\n [label]=\"translateLabel(props.label)\"\n [required]=\"props.required\"\n [infoText]=\"infoText\"\n [elementId]=\"'xs-upload-image-label-' + id\"\n />\n\n <div\n class=\"mt-2 flex gap-2\"\n id=\"xs-upload-image-mode-toggle-{{ id }}\"\n >\n <button\n type=\"button\"\n (click)=\"setMode('file')\"\n [disabled]=\"isFieldDisabled\"\n [class.bg-white]=\"mode === 'file'\"\n [class.text-black]=\"mode === 'file'\"\n [class.bg-zinc-900]=\"mode !== 'file'\"\n [class.text-zinc-400]=\"mode !== 'file'\"\n class=\"rounded-full px-4 py-1 text-[11px] font-bold uppercase tracking-tight transition-all hover:scale-105 active:scale-95 disabled:cursor-not-allowed disabled:opacity-50\"\n id=\"xs-upload-image-mode-file-{{ id }}\"\n >\n {{ modeFileLabel }}\n </button>\n <button\n type=\"button\"\n (click)=\"setMode('url')\"\n [disabled]=\"isFieldDisabled\"\n [class.bg-white]=\"mode === 'url'\"\n [class.text-black]=\"mode === 'url'\"\n [class.bg-zinc-900]=\"mode !== 'url'\"\n [class.text-zinc-400]=\"mode !== 'url'\"\n class=\"rounded-full px-4 py-1 text-[11px] font-bold uppercase tracking-tight transition-all hover:scale-105 active:scale-95 disabled:cursor-not-allowed disabled:opacity-50\"\n id=\"xs-upload-image-mode-url-{{ id }}\"\n >\n {{ modeUrlLabel }}\n </button>\n </div>\n\n @if (mode === 'file') {\n <div\n class=\"mt-2 relative h-52 w-full overflow-hidden rounded-xl bg-zinc-900/50 transition-all duration-300 hover:border-zinc-600\"\n [class.border-zinc-400]=\"isDragging\"\n id=\"xs-upload-image-dropzone-{{ id }}\"\n >\n <input\n #fileInput\n id=\"xs-upload-image-input-{{ id }}\"\n type=\"file\"\n accept=\"image/*\"\n (change)=\"onFileChange($event)\"\n (dragover)=\"onDragOver($event)\"\n (dragleave)=\"isDragging = false\"\n (drop)=\"onDrop($event)\"\n [disabled]=\"isFieldDisabled\"\n [attr.aria-describedby]=\"\n errorMessage\n ? 'xs-upload-image-error-message-' + id\n : null\n \"\n class=\"absolute inset-0 z-10 h-full w-full cursor-pointer opacity-0\"\n />\n\n <div\n class=\"absolute inset-0 z-20 pointer-events-none flex h-full w-full items-center justify-center\"\n id=\"xs-upload-image-preview-container-{{ id }}\"\n >\n @if (previewUrl) {\n <div\n class=\"relative h-full w-full pointer-events-auto\"\n id=\"xs-upload-image-preview-wrapper-{{ id }}\"\n >\n <xs-image\n [src]=\"previewUrl\"\n [customClass]=\"'h-full w-full object-cover transition-all duration-500 group-hover:scale-105'\"\n id=\"xs-upload-image-preview-image-{{ id }}\"\n ></xs-image>\n\n <div\n class=\"absolute inset-0 flex items-center justify-center gap-3 bg-black/60 opacity-0 backdrop-blur-[2px] transition-opacity duration-300 hover:opacity-100 focus-within:opacity-100\"\n >\n <button\n type=\"button\"\n (click)=\"openFilePicker()\"\n [disabled]=\"isFieldDisabled\"\n class=\"z-30 flex h-10 items-center px-4 rounded-full bg-white text-black text-xs font-bold shadow-2xl transition-all hover:scale-105 active:scale-95 pointer-events-auto\"\n id=\"xs-upload-image-change-button-{{ id }}\"\n >\n {{ changeButtonLabel }}\n </button>\n <button\n type=\"button\"\n (click)=\"clearFile($event)\"\n [disabled]=\"isFieldDisabled\"\n [attr.aria-label]=\"removeButtonLabel\"\n class=\"z-30 flex h-10 w-10 items-center justify-center rounded-full bg-red-600 text-white shadow-2xl transition-all hover:bg-red-500 hover:scale-110 active:scale-95 pointer-events-auto\"\n id=\"xs-upload-image-clear-button-{{ id }}\"\n >\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"18\"\n height=\"18\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"3\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <path d=\"M18 6 6 18\" />\n <path d=\"m6 6 12 12\" />\n </svg>\n </button>\n </div>\n </div>\n } @else {\n <div\n class=\"flex flex-col items-center gap-4\"\n id=\"xs-upload-image-empty-state-{{ id }}\"\n >\n <div\n class=\"flex h-14 w-14 items-center justify-center rounded-2xl bg-zinc-900 text-zinc-600 shadow-[inset_0_1px_1px_rgba(255,255,255,0.05)] transition-colors group-hover:text-zinc-400\"\n >\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"1.5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <rect\n width=\"18\"\n height=\"18\"\n x=\"3\"\n y=\"3\"\n rx=\"2\"\n ry=\"2\"\n />\n <circle cx=\"9\" cy=\"9\" r=\"2\" />\n <path\n d=\"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21\"\n />\n </svg>\n </div>\n <div class=\"text-center\">\n <p\n class=\"text-[11px] font-bold text-zinc-300 uppercase tracking-tight\"\n id=\"xs-upload-image-select-title-{{ id }}\"\n >\n {{ selectTitle }}\n </p>\n <p\n class=\"text-[9px] text-zinc-600 uppercase tracking-widest mt-1\"\n id=\"xs-upload-image-hint-text-{{ id }}\"\n >\n {{ hintText }}\n </p>\n </div>\n </div>\n }\n </div>\n </div>\n } @else {\n <div\n class=\"mt-2 flex gap-2\"\n id=\"xs-upload-image-url-row-{{ id }}\"\n >\n <input\n id=\"xs-upload-image-url-input-{{ id }}\"\n type=\"url\"\n [value]=\"urlInput\"\n (input)=\"onUrlInput($event)\"\n (keydown.enter)=\"applyUrl()\"\n [placeholder]=\"urlPlaceholder\"\n [disabled]=\"isFieldDisabled\"\n [attr.aria-describedby]=\"\n urlError ? 'xs-upload-image-url-error-' + id : null\n \"\n class=\"w-full rounded-xl border border-zinc-800 bg-zinc-900/50 px-3 py-2 text-sm text-zinc-200 outline-none placeholder:text-zinc-600 focus:border-zinc-600 disabled:cursor-not-allowed disabled:opacity-50\"\n />\n <button\n type=\"button\"\n (click)=\"applyUrl()\"\n [disabled]=\"isFieldDisabled\"\n class=\"shrink-0 rounded-full bg-white px-4 py-2 text-[11px] font-bold uppercase tracking-tight text-black transition-all hover:scale-105 active:scale-95 disabled:cursor-not-allowed disabled:opacity-50\"\n id=\"xs-upload-image-url-apply-{{ id }}\"\n >\n {{ urlApplyLabel }}\n </button>\n </div>\n\n @if (urlError) {\n <p\n class=\"mt-1 px-1 text-[9px] font-black uppercase text-red-500 tracking-tighter\"\n id=\"xs-upload-image-url-error-{{ id }}\"\n >\n {{ urlError }}\n </p>\n }\n\n @if (previewUrl) {\n <div\n class=\"mt-2 relative h-52 w-full overflow-hidden rounded-xl bg-zinc-900/50\"\n id=\"xs-upload-image-url-preview-{{ id }}\"\n >\n <xs-image\n [src]=\"previewUrl\"\n [customClass]=\"'h-full w-full object-cover'\"\n id=\"xs-upload-image-url-preview-image-{{ id }}\"\n ></xs-image>\n\n <div\n class=\"absolute inset-0 flex items-center justify-center gap-3 bg-black/60 opacity-0 backdrop-blur-[2px] transition-opacity duration-300 hover:opacity-100 focus-within:opacity-100\"\n >\n <button\n type=\"button\"\n (click)=\"clearFile($event)\"\n [disabled]=\"isFieldDisabled\"\n [attr.aria-label]=\"removeButtonLabel\"\n class=\"z-30 flex h-10 items-center px-4 rounded-full bg-red-600 text-white text-xs font-bold shadow-2xl transition-all hover:bg-red-500 hover:scale-110 active:scale-95 pointer-events-auto\"\n id=\"xs-upload-image-url-clear-button-{{ id }}\"\n >\n {{ removeButtonLabel }}\n </button>\n </div>\n </div>\n }\n }\n\n @if (errorMessage) {\n <div\n class=\"flex items-center gap-2 px-1 animate-in\"\n id=\"xs-upload-image-error-wrapper-{{ id }}\"\n >\n <span\n class=\"h-1 w-1 rounded-full bg-red-500 shadow-[0_0_8px_#ef4444]\"\n ></span>\n <p\n class=\"text-[9px] font-black uppercase text-red-500 tracking-tighter\"\n id=\"xs-upload-image-error-message-{{ id }}\"\n >\n {{ errorMessage }}\n </p>\n </div>\n }\n</div>\n", styles: [":host{display:block}.animate-in{animation:fadeIn .25s ease-out}@keyframes fadeIn{0%{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "component", type: XSImageComponent, selector: "xs-image", inputs: ["config", "viewTransitionName", "src", "alt", "width", "height", "size", "rounded", "objectFit", "clickable", "item", "typeItem", "imageType", "fallbackSrc", "loading", "priority", "customClass", "generateAvatar"], outputs: ["onClick", "onLoad", "onError"] }, { kind: "component", type: XSFormlyLabelComponent, selector: "xs-formly-label", inputs: ["for", "label", "required", "infoText", "asHeading", "elementId"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
7247
7323
|
}
|
|
7248
7324
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: XSFormlyUploadImageComponent, decorators: [{
|
|
7249
7325
|
type: Component,
|
|
@@ -7252,7 +7328,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImpo
|
|
|
7252
7328
|
ReactiveFormsModule,
|
|
7253
7329
|
XSImageComponent,
|
|
7254
7330
|
XSFormlyLabelComponent,
|
|
7255
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"xs-uploader-container flex flex-col mb-4\"\n id=\"xs-upload-image-root-{{ id }}\"\n>\n <xs-formly-label\n [for]=\"'xs-upload-image-input-' + id\"\n [label]=\"translateLabel(props.label)\"\n [required]=\"props.required\"\n [infoText]=\"infoText\"\n [elementId]=\"'xs-upload-image-label-' + id\"\n />\n\n <div\n class=\"mt-2 relative h-52 w-full overflow-hidden rounded-xl bg-zinc-900/50 transition-all duration-300 hover:border-zinc-600\"\n
|
|
7331
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"xs-uploader-container flex flex-col mb-4\"\n id=\"xs-upload-image-root-{{ id }}\"\n>\n <xs-formly-label\n [for]=\"'xs-upload-image-input-' + id\"\n [label]=\"translateLabel(props.label)\"\n [required]=\"props.required\"\n [infoText]=\"infoText\"\n [elementId]=\"'xs-upload-image-label-' + id\"\n />\n\n <div\n class=\"mt-2 flex gap-2\"\n id=\"xs-upload-image-mode-toggle-{{ id }}\"\n >\n <button\n type=\"button\"\n (click)=\"setMode('file')\"\n [disabled]=\"isFieldDisabled\"\n [class.bg-white]=\"mode === 'file'\"\n [class.text-black]=\"mode === 'file'\"\n [class.bg-zinc-900]=\"mode !== 'file'\"\n [class.text-zinc-400]=\"mode !== 'file'\"\n class=\"rounded-full px-4 py-1 text-[11px] font-bold uppercase tracking-tight transition-all hover:scale-105 active:scale-95 disabled:cursor-not-allowed disabled:opacity-50\"\n id=\"xs-upload-image-mode-file-{{ id }}\"\n >\n {{ modeFileLabel }}\n </button>\n <button\n type=\"button\"\n (click)=\"setMode('url')\"\n [disabled]=\"isFieldDisabled\"\n [class.bg-white]=\"mode === 'url'\"\n [class.text-black]=\"mode === 'url'\"\n [class.bg-zinc-900]=\"mode !== 'url'\"\n [class.text-zinc-400]=\"mode !== 'url'\"\n class=\"rounded-full px-4 py-1 text-[11px] font-bold uppercase tracking-tight transition-all hover:scale-105 active:scale-95 disabled:cursor-not-allowed disabled:opacity-50\"\n id=\"xs-upload-image-mode-url-{{ id }}\"\n >\n {{ modeUrlLabel }}\n </button>\n </div>\n\n @if (mode === 'file') {\n <div\n class=\"mt-2 relative h-52 w-full overflow-hidden rounded-xl bg-zinc-900/50 transition-all duration-300 hover:border-zinc-600\"\n [class.border-zinc-400]=\"isDragging\"\n id=\"xs-upload-image-dropzone-{{ id }}\"\n >\n <input\n #fileInput\n id=\"xs-upload-image-input-{{ id }}\"\n type=\"file\"\n accept=\"image/*\"\n (change)=\"onFileChange($event)\"\n (dragover)=\"onDragOver($event)\"\n (dragleave)=\"isDragging = false\"\n (drop)=\"onDrop($event)\"\n [disabled]=\"isFieldDisabled\"\n [attr.aria-describedby]=\"\n errorMessage\n ? 'xs-upload-image-error-message-' + id\n : null\n \"\n class=\"absolute inset-0 z-10 h-full w-full cursor-pointer opacity-0\"\n />\n\n <div\n class=\"absolute inset-0 z-20 pointer-events-none flex h-full w-full items-center justify-center\"\n id=\"xs-upload-image-preview-container-{{ id }}\"\n >\n @if (previewUrl) {\n <div\n class=\"relative h-full w-full pointer-events-auto\"\n id=\"xs-upload-image-preview-wrapper-{{ id }}\"\n >\n <xs-image\n [src]=\"previewUrl\"\n [customClass]=\"'h-full w-full object-cover transition-all duration-500 group-hover:scale-105'\"\n id=\"xs-upload-image-preview-image-{{ id }}\"\n ></xs-image>\n\n <div\n class=\"absolute inset-0 flex items-center justify-center gap-3 bg-black/60 opacity-0 backdrop-blur-[2px] transition-opacity duration-300 hover:opacity-100 focus-within:opacity-100\"\n >\n <button\n type=\"button\"\n (click)=\"openFilePicker()\"\n [disabled]=\"isFieldDisabled\"\n class=\"z-30 flex h-10 items-center px-4 rounded-full bg-white text-black text-xs font-bold shadow-2xl transition-all hover:scale-105 active:scale-95 pointer-events-auto\"\n id=\"xs-upload-image-change-button-{{ id }}\"\n >\n {{ changeButtonLabel }}\n </button>\n <button\n type=\"button\"\n (click)=\"clearFile($event)\"\n [disabled]=\"isFieldDisabled\"\n [attr.aria-label]=\"removeButtonLabel\"\n class=\"z-30 flex h-10 w-10 items-center justify-center rounded-full bg-red-600 text-white shadow-2xl transition-all hover:bg-red-500 hover:scale-110 active:scale-95 pointer-events-auto\"\n id=\"xs-upload-image-clear-button-{{ id }}\"\n >\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"18\"\n height=\"18\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"3\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <path d=\"M18 6 6 18\" />\n <path d=\"m6 6 12 12\" />\n </svg>\n </button>\n </div>\n </div>\n } @else {\n <div\n class=\"flex flex-col items-center gap-4\"\n id=\"xs-upload-image-empty-state-{{ id }}\"\n >\n <div\n class=\"flex h-14 w-14 items-center justify-center rounded-2xl bg-zinc-900 text-zinc-600 shadow-[inset_0_1px_1px_rgba(255,255,255,0.05)] transition-colors group-hover:text-zinc-400\"\n >\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"1.5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <rect\n width=\"18\"\n height=\"18\"\n x=\"3\"\n y=\"3\"\n rx=\"2\"\n ry=\"2\"\n />\n <circle cx=\"9\" cy=\"9\" r=\"2\" />\n <path\n d=\"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21\"\n />\n </svg>\n </div>\n <div class=\"text-center\">\n <p\n class=\"text-[11px] font-bold text-zinc-300 uppercase tracking-tight\"\n id=\"xs-upload-image-select-title-{{ id }}\"\n >\n {{ selectTitle }}\n </p>\n <p\n class=\"text-[9px] text-zinc-600 uppercase tracking-widest mt-1\"\n id=\"xs-upload-image-hint-text-{{ id }}\"\n >\n {{ hintText }}\n </p>\n </div>\n </div>\n }\n </div>\n </div>\n } @else {\n <div\n class=\"mt-2 flex gap-2\"\n id=\"xs-upload-image-url-row-{{ id }}\"\n >\n <input\n id=\"xs-upload-image-url-input-{{ id }}\"\n type=\"url\"\n [value]=\"urlInput\"\n (input)=\"onUrlInput($event)\"\n (keydown.enter)=\"applyUrl()\"\n [placeholder]=\"urlPlaceholder\"\n [disabled]=\"isFieldDisabled\"\n [attr.aria-describedby]=\"\n urlError ? 'xs-upload-image-url-error-' + id : null\n \"\n class=\"w-full rounded-xl border border-zinc-800 bg-zinc-900/50 px-3 py-2 text-sm text-zinc-200 outline-none placeholder:text-zinc-600 focus:border-zinc-600 disabled:cursor-not-allowed disabled:opacity-50\"\n />\n <button\n type=\"button\"\n (click)=\"applyUrl()\"\n [disabled]=\"isFieldDisabled\"\n class=\"shrink-0 rounded-full bg-white px-4 py-2 text-[11px] font-bold uppercase tracking-tight text-black transition-all hover:scale-105 active:scale-95 disabled:cursor-not-allowed disabled:opacity-50\"\n id=\"xs-upload-image-url-apply-{{ id }}\"\n >\n {{ urlApplyLabel }}\n </button>\n </div>\n\n @if (urlError) {\n <p\n class=\"mt-1 px-1 text-[9px] font-black uppercase text-red-500 tracking-tighter\"\n id=\"xs-upload-image-url-error-{{ id }}\"\n >\n {{ urlError }}\n </p>\n }\n\n @if (previewUrl) {\n <div\n class=\"mt-2 relative h-52 w-full overflow-hidden rounded-xl bg-zinc-900/50\"\n id=\"xs-upload-image-url-preview-{{ id }}\"\n >\n <xs-image\n [src]=\"previewUrl\"\n [customClass]=\"'h-full w-full object-cover'\"\n id=\"xs-upload-image-url-preview-image-{{ id }}\"\n ></xs-image>\n\n <div\n class=\"absolute inset-0 flex items-center justify-center gap-3 bg-black/60 opacity-0 backdrop-blur-[2px] transition-opacity duration-300 hover:opacity-100 focus-within:opacity-100\"\n >\n <button\n type=\"button\"\n (click)=\"clearFile($event)\"\n [disabled]=\"isFieldDisabled\"\n [attr.aria-label]=\"removeButtonLabel\"\n class=\"z-30 flex h-10 items-center px-4 rounded-full bg-red-600 text-white text-xs font-bold shadow-2xl transition-all hover:bg-red-500 hover:scale-110 active:scale-95 pointer-events-auto\"\n id=\"xs-upload-image-url-clear-button-{{ id }}\"\n >\n {{ removeButtonLabel }}\n </button>\n </div>\n </div>\n }\n }\n\n @if (errorMessage) {\n <div\n class=\"flex items-center gap-2 px-1 animate-in\"\n id=\"xs-upload-image-error-wrapper-{{ id }}\"\n >\n <span\n class=\"h-1 w-1 rounded-full bg-red-500 shadow-[0_0_8px_#ef4444]\"\n ></span>\n <p\n class=\"text-[9px] font-black uppercase text-red-500 tracking-tighter\"\n id=\"xs-upload-image-error-message-{{ id }}\"\n >\n {{ errorMessage }}\n </p>\n </div>\n }\n</div>\n", styles: [":host{display:block}.animate-in{animation:fadeIn .25s ease-out}@keyframes fadeIn{0%{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}\n"] }]
|
|
7256
7332
|
}], ctorParameters: () => [], propDecorators: { fileInput: [{ type: i0.ViewChild, args: ['fileInput', { isSignal: true }] }] } });
|
|
7257
7333
|
|
|
7258
7334
|
class XSFormlyJsonComponent extends XSFormlyBaseComponent {
|
|
@@ -15251,20 +15327,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImpo
|
|
|
15251
15327
|
], host: { 'xs-chat-floating-panel-host': '' }, changeDetection: ChangeDetectionStrategy.OnPush, template: "\n @if (isOpen()) {\n <div\n class=\"fixed inset-0 z-[300] hidden lg:block\"\n (click)=\"closePanel.emit()\"\n ></div>\n\n <div\n class=\"fixed bottom-20 right-4 z-[301] hidden lg:flex flex-col bg-zinc-900/95 backdrop-blur-2xl border border-white/10 rounded-2xl shadow-2xl w-[380px] h-[560px]\"\n (click)=\"$event.stopPropagation()\"\n >\n <div\n class=\"flex items-center justify-between px-4 py-3 border-b border-white/10 shrink-0\"\n >\n <div class=\"flex items-center gap-2 min-w-0\">\n @if (selectedChatId()) {\n <button\n (click)=\"goToList.emit()\"\n class=\"text-zinc-400 hover:text-white shrink-0 transition-colors\"\n >\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n fill=\"currentColor\"\n class=\"w-4 h-4\"\n >\n <path\n d=\"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z\"\n />\n </svg>\n </button>\n }\n <span\n class=\"text-sm font-semibold text-white truncate\"\n >{{ title() }}</span\n >\n </div>\n <button\n (click)=\"closePanel.emit()\"\n class=\"flex items-center justify-center w-7 h-7 text-zinc-400 hover:text-white hover:bg-zinc-800 rounded-full transition-colors shrink-0\"\n >\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n fill=\"currentColor\"\n class=\"w-4 h-4\"\n >\n <path\n d=\"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z\"\n />\n </svg>\n </button>\n </div>\n\n <div class=\"flex-1 min-h-0 flex flex-col\">\n @if (!selectedChatId()) {\n <xs-chat-list\n [chats]=\"chats()\"\n [loading]=\"loading()\"\n [dropdownItems]=\"dropdownItems()\"\n [userId]=\"userId()\"\n [searchPlaceholder]=\"searchPlaceholderText\"\n [noResultsLabel]=\"noResultsText\"\n [noChatsLabel]=\"noChatsText\"\n [swipeBlockLabel]=\"swipeBlockText\"\n [swipePinLabel]=\"swipePinText\"\n [swipeDeleteLabel]=\"swipeDeleteText\"\n [swipeCancelLabel]=\"swipeCancelText\"\n (selectChat)=\"onSelectChat($event)\"\n (clickDropdownItem)=\"onDropdownItemClick($event)\"\n />\n } @else {\n <div class=\"flex-1 min-h-0 flex flex-col\">\n <xs-chat-conversation\n [messages]=\"messages()\"\n [currentChatInfo]=\"currentChatInfo()\"\n [userId]=\"userId()\"\n [typingUserId]=\"typingUserId()\"\n [typingLabel]=\"typingText\"\n [onlineLabel]=\"onlineText\"\n [offlineLabel]=\"offlineText\"\n [roleLabel]=\"roleLabel()\"\n [emptyMessagesLabel]=\"emptyMessagesText\"\n [textareaPlaceholder]=\"textareaPlaceholderText\"\n [todayLabel]=\"todayText\"\n [yesterdayLabel]=\"yesterdayText\"\n [infoButtons]=\"infoButtons()\"\n [alertType]=\"alertType()\"\n [alertMessage]=\"alertMessage()\"\n [attachEnabled]=\"attachEnabled()\"\n [uploading]=\"uploading()\"\n [uploadProgress]=\"uploadProgress()\"\n (sendMessage)=\"onSendMessage($event)\"\n (sendError)=\"sendError.emit($event)\"\n (typing)=\"onTyping()\"\n (retryMessage)=\"onRetryMessage($event)\"\n (replyToMessage)=\"onReplyToMessage($event)\"\n (goToList)=\"onGoToList()\"\n (clickInfoButton)=\"onClickInfoButton($event)\"\n />\n </div>\n }\n </div>\n\n @if (selectedChatId() && showFooter()) {\n <div\n class=\"flex items-center justify-between px-3 py-1 border-t border-white/10 shrink-0\"\n >\n <ng-content select=\"[footerLeft]\" />\n <ng-content select=\"[footerRight]\" />\n </div>\n }\n </div>\n }\n " }]
|
|
15252
15328
|
}], ctorParameters: () => [], propDecorators: { isOpen: [{ type: i0.Input, args: [{ isSignal: true, alias: "isOpen", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], chats: [{ type: i0.Input, args: [{ isSignal: true, alias: "chats", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], messages: [{ type: i0.Input, args: [{ isSignal: true, alias: "messages", required: false }] }], currentChatInfo: [{ type: i0.Input, args: [{ isSignal: true, alias: "currentChatInfo", required: false }] }], userId: [{ type: i0.Input, args: [{ isSignal: true, alias: "userId", required: false }] }], selectedChatId: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectedChatId", required: false }] }], typingUserId: [{ type: i0.Input, args: [{ isSignal: true, alias: "typingUserId", required: false }] }], dropdownItems: [{ type: i0.Input, args: [{ isSignal: true, alias: "dropdownItems", required: false }] }], typingLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "typingLabel", required: false }] }], onlineLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "onlineLabel", required: false }] }], offlineLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "offlineLabel", required: false }] }], roleLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "roleLabel", required: false }] }], emptyMessagesLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptyMessagesLabel", required: false }] }], textareaPlaceholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "textareaPlaceholder", required: false }] }], todayLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "todayLabel", required: false }] }], yesterdayLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "yesterdayLabel", required: false }] }], searchPlaceholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "searchPlaceholder", required: false }] }], noResultsLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "noResultsLabel", required: false }] }], noChatsLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "noChatsLabel", required: false }] }], swipeBlockLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "swipeBlockLabel", required: false }] }], swipePinLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "swipePinLabel", required: false }] }], swipeDeleteLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "swipeDeleteLabel", required: false }] }], swipeCancelLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "swipeCancelLabel", required: false }] }], infoButtons: [{ type: i0.Input, args: [{ isSignal: true, alias: "infoButtons", required: false }] }], alertType: [{ type: i0.Input, args: [{ isSignal: true, alias: "alertType", required: false }] }], alertMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "alertMessage", required: false }] }], showFooter: [{ type: i0.Input, args: [{ isSignal: true, alias: "showFooter", required: false }] }], attachEnabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "attachEnabled", required: false }] }], uploading: [{ type: i0.Input, args: [{ isSignal: true, alias: "uploading", required: false }] }], uploadProgress: [{ type: i0.Input, args: [{ isSignal: true, alias: "uploadProgress", required: false }] }], selectChat: [{ type: i0.Output, args: ["selectChat"] }], sendMessage: [{ type: i0.Output, args: ["sendMessage"] }], sendError: [{ type: i0.Output, args: ["sendError"] }], typing: [{ type: i0.Output, args: ["typing"] }], retryMessage: [{ type: i0.Output, args: ["retryMessage"] }], replyToMessage: [{ type: i0.Output, args: ["replyToMessage"] }], closePanel: [{ type: i0.Output, args: ["closePanel"] }], goToList: [{ type: i0.Output, args: ["goToList"] }], clickDropdownItem: [{ type: i0.Output, args: ["clickDropdownItem"] }], clickInfoButton: [{ type: i0.Output, args: ["clickInfoButton"] }] } });
|
|
15253
15329
|
|
|
15254
|
-
class XSOtaProgressBarComponent {
|
|
15255
|
-
visible = input(false, ...(ngDevMode ? [{ debugName: "visible" }] : []));
|
|
15256
|
-
progress = input(0, ...(ngDevMode ? [{ debugName: "progress" }] : []));
|
|
15257
|
-
webUpdateAvailable = input(false, ...(ngDevMode ? [{ debugName: "webUpdateAvailable" }] : []));
|
|
15258
|
-
readyLabel = input('Updated', ...(ngDevMode ? [{ debugName: "readyLabel" }] : []));
|
|
15259
|
-
reload = output();
|
|
15260
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: XSOtaProgressBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
15261
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.33", type: XSOtaProgressBarComponent, isStandalone: true, selector: "xs-ota-progress-bar", inputs: { visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null }, progress: { classPropertyName: "progress", publicName: "progress", isSignal: true, isRequired: false, transformFunction: null }, webUpdateAvailable: { classPropertyName: "webUpdateAvailable", publicName: "webUpdateAvailable", isSignal: true, isRequired: false, transformFunction: null }, readyLabel: { classPropertyName: "readyLabel", publicName: "readyLabel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { reload: "reload" }, ngImport: i0, template: "@if (visible() || webUpdateAvailable()) {\n <div\n class=\"fixed bottom-0 left-0 right-0 z-[200] bg-zinc-900/50 backdrop-blur-xl border-t border-white/5 px-4 pt-3 pb-[env(safe-area-inset-bottom,12px)] md:pb-4 flex items-center gap-3 pointer-events-auto animate-slide-up\"\n >\n @if (webUpdateAvailable()) {\n <svg class=\"w-4 h-4 flex-shrink-0 text-white/70\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\">\n <path d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\" />\n <polyline points=\"7 10 12 15 17 10\" />\n <line x1=\"12\" y1=\"15\" x2=\"12\" y2=\"3\" />\n </svg>\n <span class=\"flex-1 text-[13px] font-medium text-zinc-300\">{{ readyLabel() }}</span>\n <button\n (click)=\"reload.emit()\"\n class=\"px-4 py-1.5 rounded-lg bg-white/10 hover:bg-white/20 active:bg-white/30 text-white text-[12px] font-semibold transition-colors\"\n >\n Recargar\n </button>\n } @else {\n <svg class=\"w-4 h-4 flex-shrink-0 text-white/70\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\">\n <path d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\" />\n <polyline points=\"7 10 12 15 17 10\" />\n <line x1=\"12\" y1=\"15\" x2=\"12\" y2=\"3\" />\n </svg>\n <div class=\"flex-1 h-1.5 bg-zinc-800 rounded-full overflow-hidden\">\n <div\n class=\"h-full bg-white/80 rounded-full transition-all duration-500 ease-out\"\n [style.width.%]=\"progress()\"\n [class.animate-pulse]=\"progress() < 100\"\n ></div>\n </div>\n <span class=\"text-[11px] font-semibold text-zinc-400 tabular-nums whitespace-nowrap\">\n @if (progress() < 100) {\n {{ progress() }}%\n } @else {\n <span class=\"text-green-400 flex items-center gap-1\">\n <svg class=\"w-3.5 h-3.5\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\">\n <polyline points=\"20 6 9 17 4 12\" />\n </svg>\n {{ readyLabel() }}\n </span>\n }\n </span>\n }\n </div>\n}\n", styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
15262
|
-
}
|
|
15263
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: XSOtaProgressBarComponent, decorators: [{
|
|
15264
|
-
type: Component,
|
|
15265
|
-
args: [{ selector: 'xs-ota-progress-bar', standalone: true, imports: [CommonModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (visible() || webUpdateAvailable()) {\n <div\n class=\"fixed bottom-0 left-0 right-0 z-[200] bg-zinc-900/50 backdrop-blur-xl border-t border-white/5 px-4 pt-3 pb-[env(safe-area-inset-bottom,12px)] md:pb-4 flex items-center gap-3 pointer-events-auto animate-slide-up\"\n >\n @if (webUpdateAvailable()) {\n <svg class=\"w-4 h-4 flex-shrink-0 text-white/70\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\">\n <path d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\" />\n <polyline points=\"7 10 12 15 17 10\" />\n <line x1=\"12\" y1=\"15\" x2=\"12\" y2=\"3\" />\n </svg>\n <span class=\"flex-1 text-[13px] font-medium text-zinc-300\">{{ readyLabel() }}</span>\n <button\n (click)=\"reload.emit()\"\n class=\"px-4 py-1.5 rounded-lg bg-white/10 hover:bg-white/20 active:bg-white/30 text-white text-[12px] font-semibold transition-colors\"\n >\n Recargar\n </button>\n } @else {\n <svg class=\"w-4 h-4 flex-shrink-0 text-white/70\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\">\n <path d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\" />\n <polyline points=\"7 10 12 15 17 10\" />\n <line x1=\"12\" y1=\"15\" x2=\"12\" y2=\"3\" />\n </svg>\n <div class=\"flex-1 h-1.5 bg-zinc-800 rounded-full overflow-hidden\">\n <div\n class=\"h-full bg-white/80 rounded-full transition-all duration-500 ease-out\"\n [style.width.%]=\"progress()\"\n [class.animate-pulse]=\"progress() < 100\"\n ></div>\n </div>\n <span class=\"text-[11px] font-semibold text-zinc-400 tabular-nums whitespace-nowrap\">\n @if (progress() < 100) {\n {{ progress() }}%\n } @else {\n <span class=\"text-green-400 flex items-center gap-1\">\n <svg class=\"w-3.5 h-3.5\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\">\n <polyline points=\"20 6 9 17 4 12\" />\n </svg>\n {{ readyLabel() }}\n </span>\n }\n </span>\n }\n </div>\n}\n", styles: [":host{display:contents}\n"] }]
|
|
15266
|
-
}], propDecorators: { visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }], progress: [{ type: i0.Input, args: [{ isSignal: true, alias: "progress", required: false }] }], webUpdateAvailable: [{ type: i0.Input, args: [{ isSignal: true, alias: "webUpdateAvailable", required: false }] }], readyLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "readyLabel", required: false }] }], reload: [{ type: i0.Output, args: ["reload"] }] } });
|
|
15267
|
-
|
|
15268
15330
|
class XSCustomizeProfileComponent {
|
|
15269
15331
|
$components = input.required(...(ngDevMode ? [{ debugName: "$components", alias: 'components' }] : [{
|
|
15270
15332
|
alias: 'components',
|
|
@@ -21619,7 +21681,7 @@ class XSProfileTopsComponent {
|
|
|
21619
21681
|
}
|
|
21620
21682
|
}
|
|
21621
21683
|
if (type === 'monthly' || type === 'countryMonthly') {
|
|
21622
|
-
queryParams.type = '
|
|
21684
|
+
queryParams.type = 'monthly';
|
|
21623
21685
|
queryParams.month = this.formatCurrentMonth;
|
|
21624
21686
|
queryParams.year = this.currentYear;
|
|
21625
21687
|
if (type === 'countryMonthly') {
|
|
@@ -21664,11 +21726,11 @@ class XSProfileTopsComponent {
|
|
|
21664
21726
|
return { path, queryParams };
|
|
21665
21727
|
}
|
|
21666
21728
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: XSProfileTopsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
21667
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.33", type: XSProfileTopsComponent, isStandalone: true, selector: "xs-profile-tops", inputs: { itemType: { classPropertyName: "itemType", publicName: "itemType", isSignal: true, isRequired: true, transformFunction: null }, itemSubtype: { classPropertyName: "itemSubtype", publicName: "itemSubtype", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, texts: { classPropertyName: "texts", publicName: "texts", isSignal: true, isRequired: true, transformFunction: null }, positions: { classPropertyName: "positions", publicName: "positions", isSignal: true, isRequired: true, transformFunction: null }, admin: { classPropertyName: "admin", publicName: "admin", isSignal: true, isRequired: false, transformFunction: null }, links: { classPropertyName: "links", publicName: "links", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { rankingTab: "rankingTab", rankingClick: "rankingClick" }, host: { attributes: { "xs-profile-tops-host": "" } }, ngImport: i0, template: "@if (loading()) {\n <section class=\"rounded-xl bg-zinc-900/50 px-6 py-6 sm:px-8\" aria-hidden=\"true\">\n <div class=\"flex items-center gap-6\">\n <div class=\"h-20 w-28 rounded-lg bg-zinc-800 animate-pulse\"></div>\n <div class=\"hidden w-px self-stretch bg-white/5 sm:block\"></div>\n <div class=\"min-w-0 flex-1\">\n <div class=\"h-4 w-40 rounded bg-zinc-800 animate-pulse\"></div>\n <div class=\"mt-2 h-3 w-56 rounded bg-zinc-800 animate-pulse\"></div>\n <div class=\"mt-4 h-7 w-72 rounded-lg bg-zinc-800 animate-pulse\"></div>\n </div>\n </div>\n </section>\n} @else if (!hasAnyPosition()) {\n <section class=\"rounded-xl bg-zinc-900/50 px-6 py-6 sm:py-7\" aria-label=\"Ranking\">\n <div class=\"flex items-center justify-between gap-4\">\n <p class=\"text-[11px] font-black uppercase tracking-[0.28em] text-zinc-600\">\n {{ title() }}\n </p>\n <a\n [routerLink]=\"rankingLink().path\"\n [queryParams]=\"rankingLink().queryParams\"\n class=\"shrink-0 text-[11px] uppercase tracking-[0.14em] text-zinc-600 hover:text-zinc-300 transition-colors cursor-pointer\"\n (click)=\"onRankingClick()\"\n >\n {{ texts().viewRanking ?? 'Ver
|
|
21729
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.33", type: XSProfileTopsComponent, isStandalone: true, selector: "xs-profile-tops", inputs: { itemType: { classPropertyName: "itemType", publicName: "itemType", isSignal: true, isRequired: true, transformFunction: null }, itemSubtype: { classPropertyName: "itemSubtype", publicName: "itemSubtype", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, texts: { classPropertyName: "texts", publicName: "texts", isSignal: true, isRequired: true, transformFunction: null }, positions: { classPropertyName: "positions", publicName: "positions", isSignal: true, isRequired: true, transformFunction: null }, admin: { classPropertyName: "admin", publicName: "admin", isSignal: true, isRequired: false, transformFunction: null }, links: { classPropertyName: "links", publicName: "links", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { rankingTab: "rankingTab", rankingClick: "rankingClick" }, host: { attributes: { "xs-profile-tops-host": "" } }, ngImport: i0, template: "@if (loading()) {\n <section class=\"rounded-xl bg-zinc-900/50 px-6 py-6 sm:px-8\" aria-hidden=\"true\">\n <div class=\"flex items-center gap-6\">\n <div class=\"h-20 w-28 rounded-lg bg-zinc-800 animate-pulse\"></div>\n <div class=\"hidden w-px self-stretch bg-white/5 sm:block\"></div>\n <div class=\"min-w-0 flex-1\">\n <div class=\"h-4 w-40 rounded bg-zinc-800 animate-pulse\"></div>\n <div class=\"mt-2 h-3 w-56 rounded bg-zinc-800 animate-pulse\"></div>\n <div class=\"mt-4 h-7 w-72 rounded-lg bg-zinc-800 animate-pulse\"></div>\n </div>\n </div>\n </section>\n} @else if (!hasAnyPosition()) {\n <section class=\"rounded-xl bg-zinc-900/50 px-6 py-6 sm:py-7\" aria-label=\"Ranking\">\n <div class=\"flex items-center justify-between gap-4\">\n <p class=\"text-[11px] font-black uppercase tracking-[0.28em] text-zinc-600\">\n {{ title() }}\n </p>\n <a\n [routerLink]=\"rankingLink().path\"\n [queryParams]=\"rankingLink().queryParams\"\n class=\"shrink-0 text-[11px] uppercase tracking-[0.14em] text-zinc-600 hover:text-zinc-300 transition-colors cursor-pointer\"\n (click)=\"onRankingClick()\"\n >\n {{ texts().viewRanking ?? 'Ver top' }} \u2192\n </a>\n </div>\n <p class=\"mt-3 text-sm text-zinc-500\">{{ texts().noPositionYet ?? 'Sin posici\u00F3n todav\u00EDa' }}</p>\n </section>\n} @else {\n <section\n class=\"relative overflow-hidden rounded-xl bg-zinc-900/50 px-6 py-5 sm:px-8 sm:py-6\"\n aria-label=\"Ranking\"\n >\n <span\n class=\"absolute inset-y-0 left-0 w-[3px] bg-gradient-to-b {{ accentClass() }}\"\n aria-hidden=\"true\"\n ></span>\n\n <div class=\"flex items-center justify-between gap-4\">\n <p class=\"text-[11px] font-black uppercase tracking-[0.28em] text-zinc-500\">\n {{ title() }}\n </p>\n <a\n [routerLink]=\"rankingLink().path\"\n [queryParams]=\"rankingLink().queryParams\"\n class=\"shrink-0 text-[11px] uppercase tracking-[0.14em] text-zinc-500 hover:text-white transition-colors cursor-pointer\"\n (click)=\"onRankingClick()\"\n >\n {{ texts().viewRanking ?? 'Ver top' }} \u2192\n </a>\n </div>\n\n <div\n class=\"mt-4 flex flex-col items-start gap-y-3 sm:mt-4 sm:flex-row sm:flex-nowrap sm:items-start sm:gap-x-8\"\n >\n @if (currentPosition() !== null) {\n <p\n class=\"shrink-0 text-7xl sm:text-8xl font-black leading-none tracking-tighter text-white\"\n >\n <span class=\"text-zinc-600\">#</span>{{ formattedPosition() }}\n </p>\n <span class=\"hidden w-px self-stretch bg-white/10 sm:block\" aria-hidden=\"true\"></span>\n }\n <div class=\"w-full min-w-0 sm:w-auto sm:flex-1\">\n <p class=\"text-sm font-black uppercase tracking-[0.24em] text-zinc-100\">\n @if (scope() === 'global') {\n {{ topWorldLabel() }}\n } @else {\n Top {{ texts().country }}\n }\n </p>\n <p class=\"mt-1 text-[11px] uppercase tracking-[0.2em] text-zinc-500\">\n @if (period() === 'total') {\n Ranking {{ texts().total }}\n } @else if (period() === 'annual') {\n Ranking {{ texts().annual ?? 'Anual' }} \u00B7 {{ currentYear }}\n } @else {\n Ranking {{ texts().monthly ?? 'Mensual' }} \u00B7 {{ texts().currentMonth }}\n {{ currentYear }}\n }\n </p>\n\n @if (currentPosition() === null) {\n <p class=\"mt-1.5 text-xs text-zinc-400\">\n {{ texts().noPositionHere ?? 'Sin posici\u00F3n en este tramo' }}\n </p>\n }\n\n <div\n class=\"flex flex-wrap items-center\"\n [class]=\"currentPosition() === null ? 'mt-3 gap-1.5' : 'mt-4 gap-2'\"\n >\n <div class=\"inline-flex items-center gap-0.5 rounded-lg bg-black/50 p-1\" role=\"tablist\">\n <button\n type=\"button\"\n role=\"tab\"\n class=\"rounded-md px-2.5 py-1 text-[10px] font-bold uppercase tracking-[0.14em] transition-colors\"\n [class]=\"\n scope() === 'global'\n ? 'bg-white/10 text-white'\n : 'text-zinc-500 hover:text-zinc-200'\n \"\n (click)=\"setScope('global')\"\n >\n {{ topWorldLabel() }}\n </button>\n @if (hasCountry()) {\n <button\n type=\"button\"\n role=\"tab\"\n class=\"rounded-md px-2.5 py-1 text-[10px] font-bold uppercase tracking-[0.14em] transition-colors\"\n [class]=\"\n scope() === 'country'\n ? 'bg-white/10 text-white'\n : 'text-zinc-500 hover:text-zinc-200'\n \"\n (click)=\"setScope('country')\"\n >\n {{ texts().country }}\n </button>\n }\n </div>\n\n <div class=\"inline-flex items-center gap-0.5 rounded-lg bg-black/50 p-1\" role=\"tablist\">\n <button\n type=\"button\"\n role=\"tab\"\n class=\"rounded-md px-2.5 py-1 text-[10px] font-bold uppercase tracking-[0.14em] transition-colors\"\n [class]=\"\n period() === 'total'\n ? 'bg-white/10 text-white'\n : 'text-zinc-500 hover:text-zinc-200'\n \"\n (click)=\"setPeriod('total')\"\n >\n {{ texts().total }}\n </button>\n <button\n type=\"button\"\n role=\"tab\"\n class=\"rounded-md px-2.5 py-1 text-[10px] font-bold uppercase tracking-[0.14em] transition-colors\"\n [class]=\"\n period() === 'annual'\n ? 'bg-white/10 text-white'\n : 'text-zinc-500 hover:text-zinc-200'\n \"\n (click)=\"setPeriod('annual')\"\n >\n {{ texts().annual ?? 'Anual' }}\n </button>\n <button\n type=\"button\"\n role=\"tab\"\n class=\"rounded-md px-2.5 py-1 text-[10px] font-bold uppercase tracking-[0.14em] transition-colors\"\n [class]=\"\n period() === 'monthly'\n ? 'bg-white/10 text-white'\n : 'text-zinc-500 hover:text-zinc-200'\n \"\n (click)=\"setPeriod('monthly')\"\n >\n {{ texts().monthly ?? 'Mensual' }}\n </button>\n </div>\n </div>\n </div>\n </div>\n </section>\n}\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1$4.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
21668
21730
|
}
|
|
21669
21731
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: XSProfileTopsComponent, decorators: [{
|
|
21670
21732
|
type: Component,
|
|
21671
|
-
args: [{ selector: 'xs-profile-tops', host: { 'xs-profile-tops-host': '' }, imports: [CommonModule, RouterModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (loading()) {\n <section class=\"rounded-xl bg-zinc-900/50 px-6 py-6 sm:px-8\" aria-hidden=\"true\">\n <div class=\"flex items-center gap-6\">\n <div class=\"h-20 w-28 rounded-lg bg-zinc-800 animate-pulse\"></div>\n <div class=\"hidden w-px self-stretch bg-white/5 sm:block\"></div>\n <div class=\"min-w-0 flex-1\">\n <div class=\"h-4 w-40 rounded bg-zinc-800 animate-pulse\"></div>\n <div class=\"mt-2 h-3 w-56 rounded bg-zinc-800 animate-pulse\"></div>\n <div class=\"mt-4 h-7 w-72 rounded-lg bg-zinc-800 animate-pulse\"></div>\n </div>\n </div>\n </section>\n} @else if (!hasAnyPosition()) {\n <section class=\"rounded-xl bg-zinc-900/50 px-6 py-6 sm:py-7\" aria-label=\"Ranking\">\n <div class=\"flex items-center justify-between gap-4\">\n <p class=\"text-[11px] font-black uppercase tracking-[0.28em] text-zinc-600\">\n {{ title() }}\n </p>\n <a\n [routerLink]=\"rankingLink().path\"\n [queryParams]=\"rankingLink().queryParams\"\n class=\"shrink-0 text-[11px] uppercase tracking-[0.14em] text-zinc-600 hover:text-zinc-300 transition-colors cursor-pointer\"\n (click)=\"onRankingClick()\"\n >\n {{ texts().viewRanking ?? 'Ver
|
|
21733
|
+
args: [{ selector: 'xs-profile-tops', host: { 'xs-profile-tops-host': '' }, imports: [CommonModule, RouterModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (loading()) {\n <section class=\"rounded-xl bg-zinc-900/50 px-6 py-6 sm:px-8\" aria-hidden=\"true\">\n <div class=\"flex items-center gap-6\">\n <div class=\"h-20 w-28 rounded-lg bg-zinc-800 animate-pulse\"></div>\n <div class=\"hidden w-px self-stretch bg-white/5 sm:block\"></div>\n <div class=\"min-w-0 flex-1\">\n <div class=\"h-4 w-40 rounded bg-zinc-800 animate-pulse\"></div>\n <div class=\"mt-2 h-3 w-56 rounded bg-zinc-800 animate-pulse\"></div>\n <div class=\"mt-4 h-7 w-72 rounded-lg bg-zinc-800 animate-pulse\"></div>\n </div>\n </div>\n </section>\n} @else if (!hasAnyPosition()) {\n <section class=\"rounded-xl bg-zinc-900/50 px-6 py-6 sm:py-7\" aria-label=\"Ranking\">\n <div class=\"flex items-center justify-between gap-4\">\n <p class=\"text-[11px] font-black uppercase tracking-[0.28em] text-zinc-600\">\n {{ title() }}\n </p>\n <a\n [routerLink]=\"rankingLink().path\"\n [queryParams]=\"rankingLink().queryParams\"\n class=\"shrink-0 text-[11px] uppercase tracking-[0.14em] text-zinc-600 hover:text-zinc-300 transition-colors cursor-pointer\"\n (click)=\"onRankingClick()\"\n >\n {{ texts().viewRanking ?? 'Ver top' }} \u2192\n </a>\n </div>\n <p class=\"mt-3 text-sm text-zinc-500\">{{ texts().noPositionYet ?? 'Sin posici\u00F3n todav\u00EDa' }}</p>\n </section>\n} @else {\n <section\n class=\"relative overflow-hidden rounded-xl bg-zinc-900/50 px-6 py-5 sm:px-8 sm:py-6\"\n aria-label=\"Ranking\"\n >\n <span\n class=\"absolute inset-y-0 left-0 w-[3px] bg-gradient-to-b {{ accentClass() }}\"\n aria-hidden=\"true\"\n ></span>\n\n <div class=\"flex items-center justify-between gap-4\">\n <p class=\"text-[11px] font-black uppercase tracking-[0.28em] text-zinc-500\">\n {{ title() }}\n </p>\n <a\n [routerLink]=\"rankingLink().path\"\n [queryParams]=\"rankingLink().queryParams\"\n class=\"shrink-0 text-[11px] uppercase tracking-[0.14em] text-zinc-500 hover:text-white transition-colors cursor-pointer\"\n (click)=\"onRankingClick()\"\n >\n {{ texts().viewRanking ?? 'Ver top' }} \u2192\n </a>\n </div>\n\n <div\n class=\"mt-4 flex flex-col items-start gap-y-3 sm:mt-4 sm:flex-row sm:flex-nowrap sm:items-start sm:gap-x-8\"\n >\n @if (currentPosition() !== null) {\n <p\n class=\"shrink-0 text-7xl sm:text-8xl font-black leading-none tracking-tighter text-white\"\n >\n <span class=\"text-zinc-600\">#</span>{{ formattedPosition() }}\n </p>\n <span class=\"hidden w-px self-stretch bg-white/10 sm:block\" aria-hidden=\"true\"></span>\n }\n <div class=\"w-full min-w-0 sm:w-auto sm:flex-1\">\n <p class=\"text-sm font-black uppercase tracking-[0.24em] text-zinc-100\">\n @if (scope() === 'global') {\n {{ topWorldLabel() }}\n } @else {\n Top {{ texts().country }}\n }\n </p>\n <p class=\"mt-1 text-[11px] uppercase tracking-[0.2em] text-zinc-500\">\n @if (period() === 'total') {\n Ranking {{ texts().total }}\n } @else if (period() === 'annual') {\n Ranking {{ texts().annual ?? 'Anual' }} \u00B7 {{ currentYear }}\n } @else {\n Ranking {{ texts().monthly ?? 'Mensual' }} \u00B7 {{ texts().currentMonth }}\n {{ currentYear }}\n }\n </p>\n\n @if (currentPosition() === null) {\n <p class=\"mt-1.5 text-xs text-zinc-400\">\n {{ texts().noPositionHere ?? 'Sin posici\u00F3n en este tramo' }}\n </p>\n }\n\n <div\n class=\"flex flex-wrap items-center\"\n [class]=\"currentPosition() === null ? 'mt-3 gap-1.5' : 'mt-4 gap-2'\"\n >\n <div class=\"inline-flex items-center gap-0.5 rounded-lg bg-black/50 p-1\" role=\"tablist\">\n <button\n type=\"button\"\n role=\"tab\"\n class=\"rounded-md px-2.5 py-1 text-[10px] font-bold uppercase tracking-[0.14em] transition-colors\"\n [class]=\"\n scope() === 'global'\n ? 'bg-white/10 text-white'\n : 'text-zinc-500 hover:text-zinc-200'\n \"\n (click)=\"setScope('global')\"\n >\n {{ topWorldLabel() }}\n </button>\n @if (hasCountry()) {\n <button\n type=\"button\"\n role=\"tab\"\n class=\"rounded-md px-2.5 py-1 text-[10px] font-bold uppercase tracking-[0.14em] transition-colors\"\n [class]=\"\n scope() === 'country'\n ? 'bg-white/10 text-white'\n : 'text-zinc-500 hover:text-zinc-200'\n \"\n (click)=\"setScope('country')\"\n >\n {{ texts().country }}\n </button>\n }\n </div>\n\n <div class=\"inline-flex items-center gap-0.5 rounded-lg bg-black/50 p-1\" role=\"tablist\">\n <button\n type=\"button\"\n role=\"tab\"\n class=\"rounded-md px-2.5 py-1 text-[10px] font-bold uppercase tracking-[0.14em] transition-colors\"\n [class]=\"\n period() === 'total'\n ? 'bg-white/10 text-white'\n : 'text-zinc-500 hover:text-zinc-200'\n \"\n (click)=\"setPeriod('total')\"\n >\n {{ texts().total }}\n </button>\n <button\n type=\"button\"\n role=\"tab\"\n class=\"rounded-md px-2.5 py-1 text-[10px] font-bold uppercase tracking-[0.14em] transition-colors\"\n [class]=\"\n period() === 'annual'\n ? 'bg-white/10 text-white'\n : 'text-zinc-500 hover:text-zinc-200'\n \"\n (click)=\"setPeriod('annual')\"\n >\n {{ texts().annual ?? 'Anual' }}\n </button>\n <button\n type=\"button\"\n role=\"tab\"\n class=\"rounded-md px-2.5 py-1 text-[10px] font-bold uppercase tracking-[0.14em] transition-colors\"\n [class]=\"\n period() === 'monthly'\n ? 'bg-white/10 text-white'\n : 'text-zinc-500 hover:text-zinc-200'\n \"\n (click)=\"setPeriod('monthly')\"\n >\n {{ texts().monthly ?? 'Mensual' }}\n </button>\n </div>\n </div>\n </div>\n </div>\n </section>\n}\n" }]
|
|
21672
21734
|
}], propDecorators: { itemType: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemType", required: true }] }], itemSubtype: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemSubtype", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], texts: [{ type: i0.Input, args: [{ isSignal: true, alias: "texts", required: true }] }], positions: [{ type: i0.Input, args: [{ isSignal: true, alias: "positions", required: true }] }], admin: [{ type: i0.Input, args: [{ isSignal: true, alias: "admin", required: false }] }], links: [{ type: i0.Input, args: [{ isSignal: true, alias: "links", required: false }] }], rankingTab: [{ type: i0.Output, args: ["rankingTab"] }], rankingClick: [{ type: i0.Output, args: ["rankingClick"] }] } });
|
|
21673
21735
|
|
|
21674
21736
|
class XSStepperComponent {
|
|
@@ -21771,7 +21833,7 @@ const LIB_STORIES = [
|
|
|
21771
21833
|
() => import('./xsmusices-ui-xs-alert-group.xsstory-HMGGLHfv.mjs').then((m) => m.story),
|
|
21772
21834
|
() => import('./xsmusices-ui-xs-auth.xsstory-DxO8iDpd.mjs').then((m) => m.story),
|
|
21773
21835
|
() => import('./xsmusices-ui-xs-badge.xsstory-B1QXLQ4H.mjs').then((m) => m.story),
|
|
21774
|
-
() => import('./xsmusices-ui-xs-breadcrumbs.xsstory-
|
|
21836
|
+
() => import('./xsmusices-ui-xs-breadcrumbs.xsstory-D2NxXjKe.mjs').then((m) => m.story),
|
|
21775
21837
|
() => import('./xsmusices-ui-xs-date-mini.xsstory-DXog7Yhg.mjs').then((m) => m.story),
|
|
21776
21838
|
() => import('./xsmusices-ui-xs-filter-panel.xsstory-JOek8nAG.mjs').then((m) => m.story),
|
|
21777
21839
|
() => import('./xsmusices-ui-xs-full-image.xsstory-xwN2jkW1.mjs').then((m) => m.story),
|
|
@@ -21785,36 +21847,36 @@ const LIB_STORIES = [
|
|
|
21785
21847
|
() => import('./xsmusices-ui-xs-profile-comments.xsstory-CHpCDxLe.mjs').then((m) => m.story),
|
|
21786
21848
|
() => import('./xsmusices-ui-xs-profile-info.xsstory-DAfsbXrF.mjs').then((m) => m.story),
|
|
21787
21849
|
() => import('./xsmusices-ui-xs-section-title.xsstory-CHlZ69FK.mjs').then((m) => m.story),
|
|
21788
|
-
() => import('./xsmusices-ui-xs-profile-tops.xsstory-
|
|
21850
|
+
() => import('./xsmusices-ui-xs-profile-tops.xsstory-DSwdyEYc.mjs').then((m) => m.story),
|
|
21789
21851
|
() => import('./xsmusices-ui-xs-table-items.xsstory-qKGBMrjP.mjs').then((m) => m.story),
|
|
21790
21852
|
() => import('./xsmusices-ui-xs-table.xsstory-BNaB0GGa.mjs').then((m) => m.story),
|
|
21791
21853
|
() => import('./xsmusices-ui-xs-title-collapse.xsstory-Bs_SOeq_.mjs').then((m) => m.story),
|
|
21792
21854
|
() => Promise.resolve().then(function () { return xsSpinner_xsstory; }).then((m) => m.story),
|
|
21793
|
-
() => import('./xsmusices-ui-country-flag.xsstory-
|
|
21794
|
-
() => import('./xsmusices-ui-country-name.xsstory-
|
|
21795
|
-
() => import('./xsmusices-ui-date-chat.xsstory-
|
|
21796
|
-
() => import('./xsmusices-ui-date-format.xsstory-
|
|
21797
|
-
() => import('./xsmusices-ui-date-long.xsstory-
|
|
21855
|
+
() => import('./xsmusices-ui-country-flag.xsstory-Z3oNFSU_.mjs').then((m) => m.story),
|
|
21856
|
+
() => import('./xsmusices-ui-country-name.xsstory-DjltbuxD.mjs').then((m) => m.story),
|
|
21857
|
+
() => import('./xsmusices-ui-date-chat.xsstory-CQtKdsMm.mjs').then((m) => m.story),
|
|
21858
|
+
() => import('./xsmusices-ui-date-format.xsstory-CrdrFYcc.mjs').then((m) => m.story),
|
|
21859
|
+
() => import('./xsmusices-ui-date-long.xsstory-BjOIOC1H.mjs').then((m) => m.story),
|
|
21798
21860
|
() => import('./xsmusices-ui-xs-date.xsstory-CsoMcKwe.mjs').then((m) => m.story),
|
|
21799
|
-
() => import('./xsmusices-ui-first-letter-case.xsstory-
|
|
21800
|
-
() => import('./xsmusices-ui-max-count.xsstory-
|
|
21801
|
-
() => import('./xsmusices-ui-number-to-month.xsstory-
|
|
21861
|
+
() => import('./xsmusices-ui-first-letter-case.xsstory-C2fNXgOe.mjs').then((m) => m.story),
|
|
21862
|
+
() => import('./xsmusices-ui-max-count.xsstory-CsVhR149.mjs').then((m) => m.story),
|
|
21863
|
+
() => import('./xsmusices-ui-number-to-month.xsstory-CVZxU6NA.mjs').then((m) => m.story),
|
|
21802
21864
|
() => import('./xsmusices-ui-priorities.xsstory-3n93Ph84.mjs').then((m) => m.story),
|
|
21803
21865
|
() => import('./xsmusices-ui-role.xsstory-Cz3SBwNU.mjs').then((m) => m.story),
|
|
21804
|
-
() => import('./xsmusices-ui-slice-array.xsstory-
|
|
21866
|
+
() => import('./xsmusices-ui-slice-array.xsstory-KvdMXkXI.mjs').then((m) => m.story),
|
|
21805
21867
|
() => import('./xsmusices-ui-social.xsstory-gjFcbal_.mjs').then((m) => m.story),
|
|
21806
21868
|
() => import('./xsmusices-ui-state-name.xsstory-kkdBe2V8.mjs').then((m) => m.story),
|
|
21807
|
-
() => import('./xsmusices-ui-xs-tabs.xsstory-
|
|
21869
|
+
() => import('./xsmusices-ui-xs-tabs.xsstory-DxQ7WEeb.mjs').then((m) => m.story),
|
|
21808
21870
|
() => import('./xsmusices-ui-import-media-card.xsstory-vhn8r2YJ.mjs').then((m) => m.story),
|
|
21809
21871
|
() => import('./xsmusices-ui-import-media-header.xsstory-Ci82oaxD.mjs').then((m) => m.story),
|
|
21810
21872
|
() => import('./xsmusices-ui-import-media-bottom-bar.xsstory-7FhVkiVz.mjs').then((m) => m.story),
|
|
21811
21873
|
() => import('./xsmusices-ui-import-media-flow.xsstory-CMVovyMA.mjs').then((m) => m.story),
|
|
21812
|
-
() => import('./xsmusices-ui-thousands-separator.xsstory-
|
|
21813
|
-
() => import('./xsmusices-ui-title-media.xsstory-
|
|
21814
|
-
() => import('./xsmusices-ui-truncate-text.xsstory-
|
|
21874
|
+
() => import('./xsmusices-ui-thousands-separator.xsstory-Gnfhsxyh.mjs').then((m) => m.story),
|
|
21875
|
+
() => import('./xsmusices-ui-title-media.xsstory-BoxLfHKN.mjs').then((m) => m.story),
|
|
21876
|
+
() => import('./xsmusices-ui-truncate-text.xsstory-BDVuKaja.mjs').then((m) => m.story),
|
|
21815
21877
|
() => import('./xsmusices-ui-type-es.xsstory-BsE_4D9p.mjs').then((m) => m.story),
|
|
21816
21878
|
() => import('./xsmusices-ui-type-user.xsstory-Bn6Fnnmi.mjs').then((m) => m.story),
|
|
21817
|
-
() => import('./xsmusices-ui-xs-customize-profile.xsstory-
|
|
21879
|
+
() => import('./xsmusices-ui-xs-customize-profile.xsstory-BolHLdwK.mjs').then((m) => m.story),
|
|
21818
21880
|
() => import('./xsmusices-ui-xs-chat-list.xsstory-BSY46FgK.mjs').then((m) => m.story),
|
|
21819
21881
|
() => import('./xsmusices-ui-xs-chat-conversation.xsstory-sK9b5_Wo.mjs').then((m) => m.story),
|
|
21820
21882
|
() => import('./xsmusices-ui-xs-chat-floating-panel.xsstory-_XfEzM1j.mjs').then((m) => m.story),
|
|
@@ -21940,7 +22002,6 @@ const uiComponents = [
|
|
|
21940
22002
|
XSChatAlertComponent,
|
|
21941
22003
|
XSChatTextareaComponent,
|
|
21942
22004
|
XSChatConversationInfoComponent,
|
|
21943
|
-
XSOtaProgressBarComponent,
|
|
21944
22005
|
];
|
|
21945
22006
|
const uiComponentsExport = [
|
|
21946
22007
|
...profileComponents,
|
|
@@ -21983,5 +22044,5 @@ const uiComponentsExportWithDateMini = [
|
|
|
21983
22044
|
* Generated bundle index. Do not edit.
|
|
21984
22045
|
*/
|
|
21985
22046
|
|
|
21986
|
-
export { ApiService, BREADCRUMBS_PROVIDER, Comment, CountryFlagPipe, CountryNamePipe, DEFAULT_FLOW_LABELS, DateChatPipe, DateDisplayMode, DateFunctions, DateLocaleFormatPipe, DateLongPipe, DateToDayOrMonthPipe, Event, FilterArrayPipe, FixRegionPipe, ImageApiPipe, ImportantItems, IncludeEventPipe, LIB_STORIES, LeadStatusPipe, MediaType, NumberDaysPipe, NumberToMonthPipe, OnImageErrorDirective, OrganizationType, PipesModule, PrioritiesPipe, RandomImagePipe, RolePipe, STANDALONE_PIPES, STYLE_INTENSITIES, SiteType, SliceArrayPipe, SocialPipe, SoundcloudNamePipe, StateIconPipe, StateNamePipe, SuggestionTypePipe, TableLinkPipe, TimeAgoPipe, TitleMediaPipe, TruncateTextPipe, TypeESPipe, User, UserRole, UserType, VisitsMonthTotalPipe, XSActionSheetComponent, XSActionSheetService, XSAlertComponent, XSAlertGroupComponent, XSAlertTextsService, XSAuthComponent, XSAvatarService, XSBadgeComponent, XSBlockComponent, XSBrandMediaPipe, XSBreadcrumbsComponent, XSButtonComponent, XSButtonGroupService, XSButtonsGroupComponent, XSChartComponent, XSChatAlertComponent, XSChatConversationComponent, XSChatConversationInfoComponent, XSChatFloatingPanelComponent, XSChatListComponent, XSChatTextareaComponent, XSCustomizeProfileComponent, XSDateFormatPipe, XSDateMiniComponent, XSDatePipe, XSDocumentService, XSEmptyStateComponent, XSFeedbackComponent, XSFilterPanelComponent, XSFindLabelByValuePipe, XSFirstLetterPipe, XSFormlyAddressSearchComponent, XSFormlyArrayComponent, XSFormlyButtonComponent, XSFormlyCheckboxComponent, XSFormlyComponent, XSFormlyDateComponent, XSFormlyDateRangeComponent, XSFormlyDatetimeComponent, XSFormlyEntityPickerComponent, XSFormlyHiddenComponent, XSFormlyHtmlEditorComponent, XSFormlyInputComponent, XSFormlyInputWithActionsComponent, XSFormlyJsonComponent, XSFormlyJsonEditorComponent, XSFormlyLabelComponent, XSFormlyModule, XSFormlySelectButtonComponent, XSFormlySelectComponent, XSFormlySelectionListComponent, XSFormlySocialComponent, XSFormlyTextareaComponent, XSFormlyTextareaSimpleComponent, XSFormlyType, XSFormlyUploadImageComponent, XSFullImageComponent, XSFullImageService, XSIconComponent, XSImageComponent, XSImportMediaBottomBarComponent, XSImportMediaCardComponent, XSImportMediaFlowComponent, XSImportMediaHeaderComponent, XSInfoBlocksComponent, XSItemActionComponent, XSItemTypeArtistComponent, XSItemTypeBaseComponent, XSItemTypeComponent, XSItemTypeEquipmentComponent, XSItemTypeEventComponent, XSItemTypeLastLoginComponent, XSItemTypeLastVisitComponent, XSItemTypeMediaComponent, XSItemTypeOrganizationComponent, XSItemTypePlaylistComponent, XSItemTypeSiteComponent, XSItemTypeTipComponent, XSItemTypeTrackingComponent, XSItemTypeUserComponent, XSItemTypeUserStatsComponent, XSListComponent, XSMapComponent, XSMapInfoBlockComponent, XSMapLibreComponent, XSMapLibreMapperService, XSMapLibrePopupService, XSMapLibreService, XSMapService, XSMaxCountPipe, XSModalAuthComponent, XSModalClaimComponent, XSModalComponent, XSModalConfirmComponent, XSModalDateComponent, XSModalFormComponent, XSModalImageSearchComponent, XSModalInfoComponent, XSModalInputComponent, XSModalSavedFiltersComponent, XSModalService, XSNavbarComponent, XSNavbarSidebarComponent,
|
|
22047
|
+
export { ApiService, BREADCRUMBS_PROVIDER, Comment, CountryFlagPipe, CountryNamePipe, DEFAULT_FLOW_LABELS, DateChatPipe, DateDisplayMode, DateFunctions, DateLocaleFormatPipe, DateLongPipe, DateToDayOrMonthPipe, Event, FilterArrayPipe, FixRegionPipe, ImageApiPipe, ImportantItems, IncludeEventPipe, LIB_STORIES, LeadStatusPipe, MediaType, NumberDaysPipe, NumberToMonthPipe, OnImageErrorDirective, OrganizationType, PipesModule, PrioritiesPipe, RandomImagePipe, RolePipe, STANDALONE_PIPES, STYLE_INTENSITIES, SiteType, SliceArrayPipe, SocialPipe, SoundcloudNamePipe, StateIconPipe, StateNamePipe, SuggestionTypePipe, TableLinkPipe, TimeAgoPipe, TitleMediaPipe, TruncateTextPipe, TypeESPipe, User, UserRole, UserType, VisitsMonthTotalPipe, XSActionSheetComponent, XSActionSheetService, XSAlertComponent, XSAlertGroupComponent, XSAlertTextsService, XSAuthComponent, XSAvatarService, XSBadgeComponent, XSBlockComponent, XSBrandMediaPipe, XSBreadcrumbsComponent, XSButtonComponent, XSButtonGroupService, XSButtonsGroupComponent, XSChartComponent, XSChatAlertComponent, XSChatConversationComponent, XSChatConversationInfoComponent, XSChatFloatingPanelComponent, XSChatListComponent, XSChatTextareaComponent, XSCustomizeProfileComponent, XSDateFormatPipe, XSDateMiniComponent, XSDatePipe, XSDocumentService, XSEmptyStateComponent, XSFeedbackComponent, XSFilterPanelComponent, XSFindLabelByValuePipe, XSFirstLetterPipe, XSFormlyAddressSearchComponent, XSFormlyArrayComponent, XSFormlyButtonComponent, XSFormlyCheckboxComponent, XSFormlyComponent, XSFormlyDateComponent, XSFormlyDateRangeComponent, XSFormlyDatetimeComponent, XSFormlyEntityPickerComponent, XSFormlyHiddenComponent, XSFormlyHtmlEditorComponent, XSFormlyInputComponent, XSFormlyInputWithActionsComponent, XSFormlyJsonComponent, XSFormlyJsonEditorComponent, XSFormlyLabelComponent, XSFormlyModule, XSFormlySelectButtonComponent, XSFormlySelectComponent, XSFormlySelectionListComponent, XSFormlySocialComponent, XSFormlyTextareaComponent, XSFormlyTextareaSimpleComponent, XSFormlyType, XSFormlyUploadImageComponent, XSFullImageComponent, XSFullImageService, XSIconComponent, XSImageComponent, XSImportMediaBottomBarComponent, XSImportMediaCardComponent, XSImportMediaFlowComponent, XSImportMediaHeaderComponent, XSInfoBlocksComponent, XSItemActionComponent, XSItemTypeArtistComponent, XSItemTypeBaseComponent, XSItemTypeComponent, XSItemTypeEquipmentComponent, XSItemTypeEventComponent, XSItemTypeLastLoginComponent, XSItemTypeLastVisitComponent, XSItemTypeMediaComponent, XSItemTypeOrganizationComponent, XSItemTypePlaylistComponent, XSItemTypeSiteComponent, XSItemTypeTipComponent, XSItemTypeTrackingComponent, XSItemTypeUserComponent, XSItemTypeUserStatsComponent, XSListComponent, XSMapComponent, XSMapInfoBlockComponent, XSMapLibreComponent, XSMapLibreMapperService, XSMapLibrePopupService, XSMapLibreService, XSMapService, XSMaxCountPipe, XSModalAuthComponent, XSModalClaimComponent, XSModalComponent, XSModalConfirmComponent, XSModalDateComponent, XSModalFormComponent, XSModalImageSearchComponent, XSModalInfoComponent, XSModalInputComponent, XSModalSavedFiltersComponent, XSModalService, XSNavbarComponent, XSNavbarSidebarComponent, XSPopoverInfoComponent, XSProfileCommentsComponent, XSProfileInfoComponent, XSProfileTopsComponent, XSSafeUrlPipe, XSScrollAreaComponent, XSSectionTitleComponent, XSSelectComponent, XSSetupNamePipe, XSSpinnerComponent, XSStatsCardComponent, XSStepperComponent, XSTableCheckboxComponent, XSTableComponent, XSTableItemsChatComponent, XSTableItemsComponent, XSTableItemsContactComponent, XSTableItemsCountryComponent, XSTableItemsDateComponent, XSTableItemsEntityComponent, XSTableItemsPromotionComponent, XSTableItemsRoleComponent, XSTableItemsStateComponent, XSTableItemsVisitsComponent, XSTabsComponent, XSThousandsSeparatorPipe, XSTitleCollapseComponent, XSToastChatComponent, XSToastComponent, XSToastGenericComponent, XSToastService, XSTranslateService, XSTypeUserPipe, XSWindowService, XS_ADMIN_URL, XS_API_URL, XS_CHART_DEFAULT_COLORS, XS_DEFAULT_ADMIN_USER_ID, XS_DEFAULT_IMAGE_PATH, XS_DEFAULT_LOGO_URL, XS_ENV_NAME, XsLongPressDirective, countries, countries_africa, countries_americas, countries_asia, countries_europe, countries_oceania, datetimeLocalToIso, deslugify, firstLetterCase, flags, getColorByType, getColors, getCountryItem, getCountryNameByCode, getNumberWithZero, getTitleMedia, getTypeForApi, getTypePlural, getTypeSingular, getUserTypes, iconNameForSocial, iconNameForType, isBrowser, isMobile, isMobileUI, registerXSUiIcons, stringifyId, titleCase, toDatetimeLocalInput, truncateText, typeToValidType, uiComponents, uiComponentsExport };
|
|
21987
22048
|
//# sourceMappingURL=xsmusices-ui.mjs.map
|