@gravitee/ui-particles-angular 7.57.0-renovate-angular-e050b78 → 7.58.0-renovate-angular-61eb950
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/esm2020/lib/gio-asciidoctor/gio-asciidoctor.component.mjs +3 -3
- package/esm2020/lib/gio-asciidoctor/gio-asciidoctor.module.mjs +5 -5
- package/esm2020/lib/gio-asciidoctor/gio-asciidoctor.service.mjs +3 -3
- package/esm2020/lib/gio-avatar/gio-avatar.component.mjs +3 -3
- package/esm2020/lib/gio-avatar/gio-avatar.module.mjs +5 -5
- package/esm2020/lib/gio-banner/gio-banner.component.mjs +24 -24
- package/esm2020/lib/gio-banner/gio-banner.module.mjs +5 -5
- package/esm2020/lib/gio-breadcrumb/gio-breadcrumb-item.directive.mjs +3 -3
- package/esm2020/lib/gio-breadcrumb/gio-breadcrumb.component.mjs +5 -5
- package/esm2020/lib/gio-breadcrumb/gio-breadcrumb.module.mjs +5 -5
- package/esm2020/lib/gio-clipboard/gio-clipboard-copy-icon.component.mjs +7 -7
- package/esm2020/lib/gio-clipboard/gio-clipboard-copy-wrapper.component.mjs +7 -7
- package/esm2020/lib/gio-clipboard/gio-clipboard.base.component.mjs +3 -3
- package/esm2020/lib/gio-clipboard/gio-clipboard.module.mjs +5 -5
- package/esm2020/lib/gio-confirm-and-validate-dialog/gio-confirm-and-validate-dialog.component.mjs +7 -7
- package/esm2020/lib/gio-confirm-and-validate-dialog/gio-confirm-and-validate-dialog.module.mjs +5 -5
- package/esm2020/lib/gio-confirm-dialog/gio-confirm-dialog.component.mjs +5 -5
- package/esm2020/lib/gio-confirm-dialog/gio-confirm-dialog.module.mjs +5 -5
- package/esm2020/lib/gio-form-cron/gio-form-cron-hint.component.mjs +3 -3
- package/esm2020/lib/gio-form-cron/gio-form-cron-label.component.mjs +3 -3
- package/esm2020/lib/gio-form-cron/gio-form-cron.component.mjs +23 -23
- package/esm2020/lib/gio-form-cron/gio-form-cron.module.mjs +13 -15
- package/esm2020/lib/gio-form-file-picker/gio-form-file-picker-add-button/gio-form-file-picker-add-button.component.mjs +5 -5
- package/esm2020/lib/gio-form-file-picker/gio-form-file-picker-empty/gio-form-file-picker-empty.component.mjs +3 -3
- package/esm2020/lib/gio-form-file-picker/gio-form-file-picker-label/gio-form-file-picker-label.component.mjs +3 -3
- package/esm2020/lib/gio-form-file-picker/gio-form-file-picker.component.mjs +8 -8
- package/esm2020/lib/gio-form-file-picker/gio-form-file-picker.module.mjs +5 -5
- package/esm2020/lib/gio-form-focus-first-invalid/gio-form-focus-first-invalid-ignore.directive.mjs +3 -3
- package/esm2020/lib/gio-form-focus-first-invalid/gio-form-focus-first-invalid.directive.mjs +9 -9
- package/esm2020/lib/gio-form-focus-first-invalid/gio-form-focus-first-invalid.module.mjs +4 -4
- package/esm2020/lib/gio-form-headers/gio-form-headers-label.component.mjs +3 -3
- package/esm2020/lib/gio-form-headers/gio-form-headers.component.mjs +25 -25
- package/esm2020/lib/gio-form-headers/gio-form-headers.module.mjs +12 -14
- package/esm2020/lib/gio-form-json-schema/gio-form-json-schema.component.mjs +8 -8
- package/esm2020/lib/gio-form-json-schema/gio-form-json-schema.module.mjs +61 -63
- package/esm2020/lib/gio-form-json-schema/gio-formly-json-schema.service.mjs +3 -3
- package/esm2020/lib/gio-form-json-schema/type-component/array-type.component.mjs +8 -8
- package/esm2020/lib/gio-form-json-schema/type-component/code-editor-type.component.mjs +10 -21
- package/esm2020/lib/gio-form-json-schema/type-component/headers-type.component.mjs +9 -9
- package/esm2020/lib/gio-form-json-schema/type-component/multischema-type.component.mjs +6 -6
- package/esm2020/lib/gio-form-json-schema/type-component/null-type.component.mjs +3 -3
- package/esm2020/lib/gio-form-json-schema/type-component/object-type.component.mjs +6 -6
- package/esm2020/lib/gio-form-json-schema/type-component/toggle-type.component.mjs +9 -9
- package/esm2020/lib/gio-form-json-schema/wrappers/gio-banner-wrapper.component.mjs +3 -3
- package/esm2020/lib/gio-form-json-schema/wrappers/gio-password-eye.component.mjs +4 -4
- package/esm2020/lib/gio-form-slide-toggle/gio-form-label.directive.mjs +9 -9
- package/esm2020/lib/gio-form-slide-toggle/gio-form-slide-toggle.component.mjs +3 -3
- package/esm2020/lib/gio-form-slide-toggle/gio-form-slide-toggle.module.mjs +5 -6
- package/esm2020/lib/gio-form-tags-input/gio-form-tags-input.component.mjs +10 -10
- package/esm2020/lib/gio-form-tags-input/gio-form-tags-input.module.mjs +13 -15
- package/esm2020/lib/gio-icons/gio-icons.module.mjs +5 -5
- package/esm2020/lib/gio-license/gio-license-dialog/gio-license-dialog.component.mjs +6 -6
- package/esm2020/lib/gio-license/gio-license-dialog/gio-license-dialog.module.mjs +5 -6
- package/esm2020/lib/gio-license/gio-license.directive.mjs +3 -3
- package/esm2020/lib/gio-license/gio-license.module.mjs +5 -5
- package/esm2020/lib/gio-license/gio-license.service.mjs +3 -3
- package/esm2020/lib/gio-license/gio-license.testing.module.mjs +6 -6
- package/esm2020/lib/gio-license-expiration-notification/gio-license-expiration-notification.component.mjs +5 -5
- package/esm2020/lib/gio-license-expiration-notification/gio-license-expiration-notification.module.mjs +5 -5
- package/esm2020/lib/gio-loader/gio-loader.component.mjs +3 -3
- package/esm2020/lib/gio-loader/gio-loader.module.mjs +5 -5
- package/esm2020/lib/gio-mat-config/gio-mat-config.module.mjs +4 -4
- package/esm2020/lib/gio-monaco-editor/gio-monaco-editor-form-field.directive.mjs +3 -3
- package/esm2020/lib/gio-monaco-editor/gio-monaco-editor.component.mjs +3 -3
- package/esm2020/lib/gio-monaco-editor/gio-monaco-editor.module.mjs +6 -6
- package/esm2020/lib/gio-monaco-editor/gio-monaco-editor.testing.component.mjs +3 -3
- package/esm2020/lib/gio-monaco-editor/services/gio-language-json.service.mjs +3 -3
- package/esm2020/lib/gio-monaco-editor/services/gio-monaco-editor.service.mjs +3 -3
- package/esm2020/lib/gio-pipe/gio.pipe.module.mjs +5 -5
- package/esm2020/lib/gio-pipe/safe.pipe.mjs +3 -3
- package/esm2020/lib/gio-prismjs/gio-prismjs.service.mjs +3 -3
- package/esm2020/lib/gio-radio-button/gio-radio-button-content.component.mjs +12 -12
- package/esm2020/lib/gio-radio-button/gio-radio-button.module.mjs +5 -5
- package/esm2020/lib/gio-save-bar/gio-save-bar.component.mjs +7 -7
- package/esm2020/lib/gio-save-bar/gio-save-bar.module.mjs +5 -5
- package/esm2020/lib/oem-theme/gio-menu/gio-menu-footer/gio-menu-footer.component.mjs +3 -3
- package/esm2020/lib/oem-theme/gio-menu/gio-menu-header/gio-menu-header.component.mjs +3 -3
- package/esm2020/lib/oem-theme/gio-menu/gio-menu-item/gio-menu-item.component.mjs +5 -5
- package/esm2020/lib/oem-theme/gio-menu/gio-menu-license-expiration-notification/gio-menu-license-expiration-notification.component.mjs +3 -3
- package/esm2020/lib/oem-theme/gio-menu/gio-menu-list/gio-menu-list.component.mjs +3 -3
- package/esm2020/lib/oem-theme/gio-menu/gio-menu-selector/gio-menu-selector.component.mjs +7 -7
- package/esm2020/lib/oem-theme/gio-menu/gio-menu.component.mjs +5 -5
- package/esm2020/lib/oem-theme/gio-menu/gio-menu.module.mjs +5 -5
- package/esm2020/lib/oem-theme/gio-menu/gio-menu.service.mjs +3 -3
- package/esm2020/lib/oem-theme/gio-submenu/gio-submenu-group/gio-submenu-group.component.mjs +3 -3
- package/esm2020/lib/oem-theme/gio-submenu/gio-submenu-item/gio-submenu-item.component.mjs +5 -5
- package/esm2020/lib/oem-theme/gio-submenu/gio-submenu.component.mjs +6 -6
- package/esm2020/lib/oem-theme/gio-submenu/gio-submenu.module.mjs +5 -5
- package/esm2020/lib/oem-theme/gio-top-bar/gio-top-bar-content/gio-top-bar-content.component.mjs +3 -3
- package/esm2020/lib/oem-theme/gio-top-bar/gio-top-bar-link/gio-top-bar-link.component.mjs +3 -3
- package/esm2020/lib/oem-theme/gio-top-bar/gio-top-bar-link/gio-top-bar-link.module.mjs +5 -5
- package/esm2020/lib/oem-theme/gio-top-bar/gio-top-bar-menu/gio-top-bar-menu.component.mjs +3 -3
- package/esm2020/lib/oem-theme/gio-top-bar/gio-top-bar-menu/gio-top-bar-menu.module.mjs +5 -5
- package/esm2020/lib/oem-theme/gio-top-bar/gio-top-bar.component.mjs +3 -3
- package/esm2020/lib/oem-theme/gio-top-bar/gio-top-bar.module.mjs +5 -5
- package/fesm2015/gravitee-ui-particles-angular.mjs +511 -532
- package/fesm2015/gravitee-ui-particles-angular.mjs.map +1 -1
- package/fesm2020/gravitee-ui-particles-angular.mjs +511 -532
- package/fesm2020/gravitee-ui-particles-angular.mjs.map +1 -1
- package/lib/gio-asciidoctor/gio-asciidoctor.component.d.ts +1 -1
- package/lib/gio-avatar/gio-avatar.component.d.ts +1 -1
- package/lib/gio-banner/gio-banner.component.d.ts +7 -7
- package/lib/gio-breadcrumb/gio-breadcrumb-item.directive.d.ts +1 -1
- package/lib/gio-breadcrumb/gio-breadcrumb.component.d.ts +1 -1
- package/lib/gio-clipboard/gio-clipboard-copy-icon.component.d.ts +1 -1
- package/lib/gio-clipboard/gio-clipboard-copy-wrapper.component.d.ts +1 -1
- package/lib/gio-clipboard/gio-clipboard.base.component.d.ts +1 -1
- package/lib/gio-confirm-and-validate-dialog/gio-confirm-and-validate-dialog.component.d.ts +1 -1
- package/lib/gio-confirm-dialog/gio-confirm-dialog.component.d.ts +1 -1
- package/lib/gio-form-cron/gio-form-cron-hint.component.d.ts +1 -1
- package/lib/gio-form-cron/gio-form-cron-label.component.d.ts +1 -1
- package/lib/gio-form-cron/gio-form-cron.component.d.ts +3 -3
- package/lib/gio-form-file-picker/gio-form-file-picker-add-button/gio-form-file-picker-add-button.component.d.ts +1 -1
- package/lib/gio-form-file-picker/gio-form-file-picker-empty/gio-form-file-picker-empty.component.d.ts +1 -1
- package/lib/gio-form-file-picker/gio-form-file-picker-label/gio-form-file-picker-label.component.d.ts +1 -1
- package/lib/gio-form-file-picker/gio-form-file-picker.component.d.ts +1 -1
- package/lib/gio-form-focus-first-invalid/gio-form-focus-first-invalid-ignore.directive.d.ts +1 -1
- package/lib/gio-form-focus-first-invalid/gio-form-focus-first-invalid.directive.d.ts +3 -3
- package/lib/gio-form-headers/gio-form-headers-label.component.d.ts +1 -1
- package/lib/gio-form-headers/gio-form-headers.component.d.ts +4 -4
- package/lib/gio-form-json-schema/gio-form-json-schema.component.d.ts +3 -3
- package/lib/gio-form-json-schema/type-component/array-type.component.d.ts +1 -1
- package/lib/gio-form-json-schema/type-component/code-editor-type.component.d.ts +1 -1
- package/lib/gio-form-json-schema/type-component/headers-type.component.d.ts +1 -1
- package/lib/gio-form-json-schema/type-component/multischema-type.component.d.ts +1 -1
- package/lib/gio-form-json-schema/type-component/null-type.component.d.ts +1 -1
- package/lib/gio-form-json-schema/type-component/object-type.component.d.ts +1 -1
- package/lib/gio-form-json-schema/type-component/toggle-type.component.d.ts +1 -1
- package/lib/gio-form-json-schema/wrappers/gio-banner-wrapper.component.d.ts +1 -1
- package/lib/gio-form-json-schema/wrappers/gio-password-eye.component.d.ts +1 -1
- package/lib/gio-form-slide-toggle/gio-form-label.directive.d.ts +3 -3
- package/lib/gio-form-slide-toggle/gio-form-slide-toggle.component.d.ts +1 -1
- package/lib/gio-form-tags-input/gio-form-tags-input.component.d.ts +1 -1
- package/lib/gio-license/gio-license-dialog/gio-license-dialog.component.d.ts +1 -1
- package/lib/gio-license/gio-license.directive.d.ts +1 -1
- package/lib/gio-license-expiration-notification/gio-license-expiration-notification.component.d.ts +1 -1
- package/lib/gio-loader/gio-loader.component.d.ts +1 -1
- package/lib/gio-monaco-editor/gio-monaco-editor-form-field.directive.d.ts +1 -1
- package/lib/gio-monaco-editor/gio-monaco-editor.component.d.ts +1 -1
- package/lib/gio-monaco-editor/gio-monaco-editor.testing.component.d.ts +1 -1
- package/lib/gio-pipe/safe.pipe.d.ts +1 -1
- package/lib/gio-radio-button/gio-radio-button-content.component.d.ts +3 -3
- package/lib/gio-save-bar/gio-save-bar.component.d.ts +3 -3
- package/lib/oem-theme/gio-menu/gio-menu-footer/gio-menu-footer.component.d.ts +1 -1
- package/lib/oem-theme/gio-menu/gio-menu-header/gio-menu-header.component.d.ts +1 -1
- package/lib/oem-theme/gio-menu/gio-menu-item/gio-menu-item.component.d.ts +1 -1
- package/lib/oem-theme/gio-menu/gio-menu-license-expiration-notification/gio-menu-license-expiration-notification.component.d.ts +1 -1
- package/lib/oem-theme/gio-menu/gio-menu-list/gio-menu-list.component.d.ts +1 -1
- package/lib/oem-theme/gio-menu/gio-menu-selector/gio-menu-selector.component.d.ts +1 -1
- package/lib/oem-theme/gio-menu/gio-menu.component.d.ts +1 -1
- package/lib/oem-theme/gio-submenu/gio-submenu-group/gio-submenu-group.component.d.ts +1 -1
- package/lib/oem-theme/gio-submenu/gio-submenu-item/gio-submenu-item.component.d.ts +1 -1
- package/lib/oem-theme/gio-submenu/gio-submenu.component.d.ts +2 -2
- package/lib/oem-theme/gio-top-bar/gio-top-bar-content/gio-top-bar-content.component.d.ts +1 -1
- package/lib/oem-theme/gio-top-bar/gio-top-bar-link/gio-top-bar-link.component.d.ts +1 -1
- package/lib/oem-theme/gio-top-bar/gio-top-bar-menu/gio-top-bar-menu.component.d.ts +1 -1
- package/lib/oem-theme/gio-top-bar/gio-top-bar.component.d.ts +1 -1
- package/package.json +10 -10
- package/src/scss/theme/color/gio-palettes.stories.scss +36 -15
|
@@ -29,8 +29,8 @@ import { GioFormCronHintComponent } from './gio-form-cron-hint.component';
|
|
|
29
29
|
import * as i0 from "@angular/core";
|
|
30
30
|
export class GioFormCronModule {
|
|
31
31
|
}
|
|
32
|
-
GioFormCronModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
33
|
-
GioFormCronModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
32
|
+
GioFormCronModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GioFormCronModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
33
|
+
GioFormCronModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: GioFormCronModule, declarations: [GioFormCronComponent, GioFormCronLabelComponent, GioFormCronHintComponent], imports: [CommonModule,
|
|
34
34
|
ReactiveFormsModule,
|
|
35
35
|
MatButtonToggleModule,
|
|
36
36
|
MatFormFieldModule,
|
|
@@ -39,18 +39,16 @@ GioFormCronModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versi
|
|
|
39
39
|
MatButtonModule,
|
|
40
40
|
MatTooltipModule,
|
|
41
41
|
GioIconsModule], exports: [GioFormCronComponent, GioFormCronLabelComponent, GioFormCronHintComponent] });
|
|
42
|
-
GioFormCronModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
]] });
|
|
53
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GioFormCronModule, decorators: [{
|
|
42
|
+
GioFormCronModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GioFormCronModule, imports: [CommonModule,
|
|
43
|
+
ReactiveFormsModule,
|
|
44
|
+
MatButtonToggleModule,
|
|
45
|
+
MatFormFieldModule,
|
|
46
|
+
MatSelectModule,
|
|
47
|
+
MatInputModule,
|
|
48
|
+
MatButtonModule,
|
|
49
|
+
MatTooltipModule,
|
|
50
|
+
GioIconsModule] });
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GioFormCronModule, decorators: [{
|
|
54
52
|
type: NgModule,
|
|
55
53
|
args: [{
|
|
56
54
|
imports: [
|
|
@@ -68,4 +66,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
68
66
|
exports: [GioFormCronComponent, GioFormCronLabelComponent, GioFormCronHintComponent],
|
|
69
67
|
}]
|
|
70
68
|
}] });
|
|
71
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
69
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2lvLWZvcm0tY3Jvbi5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91aS1wYXJ0aWNsZXMtYW5ndWxhci9zcmMvbGliL2dpby1mb3JtLWNyb24vZ2lvLWZvcm0tY3Jvbi5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7O0dBY0c7QUFDSCxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQztBQUN4RSxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUNsRSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFDM0QsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBQ3pELE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3JELE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUMzRCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUU3RCxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sK0JBQStCLEN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BNYXRGb3JtRmllbGRNb2R1bGUsXG4gICAgTWF0U2VsZWN0TW9kdWxlLFxuICAgIE1hdElucHV0TW9kdWxlLFxuICAgIE1hdEJ1dHRvbk1vZHVsZSxcbiAgICBNYXRUb29sdGlwTW9kdWxlLFxuICAgIEdpb0ljb25zTW9kdWxlLFxuICBdLFxuICBkZWNsYXJhdGlvbnM6IFtHaW9Gb3JtQ3JvbkNvbXBvbmVudCwgR2lvRm9ybUNyb25MYWJlbENvbXBvbmVudCwgR2lvRm9ybUNyb25IaW50Q29tcG9uZW50XSxcbiAgZXhwb3J0czogW0dpb0Zvcm1Dcm9uQ29tcG9uZW50LCBHaW9Gb3JtQ3JvbkxhYmVsQ29tcG9uZW50LCBHaW9Gb3JtQ3JvbkhpbnRDb21wb25lbnRdLFxufSlcbmV4cG9ydCBjbGFzcyBHaW9Gb3JtQ3Jvbk1vZHVsZSB7fVxuIl19
|
|
@@ -15,14 +15,14 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
17
17
|
import * as i0 from "@angular/core";
|
|
18
|
-
import * as i1 from "@angular/
|
|
18
|
+
import * as i1 from "@angular/common";
|
|
19
19
|
import * as i2 from "@angular/material/core";
|
|
20
|
-
import * as i3 from "@angular/
|
|
20
|
+
import * as i3 from "@angular/material/icon";
|
|
21
21
|
export class GioFormFilePickerAddButtonComponent {
|
|
22
22
|
}
|
|
23
|
-
GioFormFilePickerAddButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
24
|
-
GioFormFilePickerAddButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
23
|
+
GioFormFilePickerAddButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GioFormFilePickerAddButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
24
|
+
GioFormFilePickerAddButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: GioFormFilePickerAddButtonComponent, selector: "gio-form-file-picker-add-button", ngImport: i0, template: "<!--\n\n Copyright (C) 2015 The Gravitee team (http://gravitee.io)\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n<div class=\"add-button\" matRipple>\n <div #content><ng-content></ng-content></div>\n <span *ngIf=\"!content.children.length\">\n <mat-icon class=\"add-button__image\" svgIcon=\"gio:upload\"></mat-icon>\n <span class=\"add-button__content\">Drag your file</span>\n </span>\n</div>\n", styles: [".gio-top-bar-menu .gio-badge-accent{background-color:var(--gio-oem-palette--active, #e7e2fb);color:var(--gio-oem-palette--active-contrast, #100c27)}:host{display:flex;flex-direction:column}.file-picker{display:flex;flex:1 1 auto;flex-flow:row wrap;padding:4px}.file-picker__add-button{border:2px dashed #606274;border-radius:6px;margin:4px;cursor:pointer}.file-picker__add-button:hover,.file-picker__add-button.drag-hover{border:2px dashed #876fec;background-color:#0000000a}.file-picker__add-button.drag-hover{pointer-events:none}.file-picker__add-button.complete{padding:6px;border:none}.file-picker__add-button.error{border:2px dashed #ec4899}.file-picker__preview,.file-picker__preview-empty{position:relative;display:flex;min-width:130px;min-height:130px;flex:0 0 130px;flex-flow:column nowrap;justify-content:space-between;padding:6px;border:2px solid #606274;border-radius:6px;margin:4px;inline-size:-moz-fit-content;inline-size:fit-content}.file-picker__preview.drag-hover,.file-picker__preview-empty.drag-hover{pointer-events:none}.file-picker__preview__image,.file-picker__preview-empty__image{width:100%;height:100%;background-position-x:center;background-position-y:center;background-repeat:no-repeat;background-size:contain}.file-picker__preview__file,.file-picker__preview-empty__file{display:flex;flex:1 1 auto;flex-direction:column;align-content:center;align-items:center;justify-content:center;text-align:center;font:400 12px/16px Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.file-picker__preview__file code,.file-picker__preview-empty__file code{font:400 12px/16px Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.file-picker__preview.disabled,.file-picker__preview-empty.disabled{border:2px solid rgba(0,0,0,.12)}.file-picker__preview.error{border:2px solid #ec4899}.file-picker__preview__delete{position:absolute;z-index:200;top:0;right:0;width:24px;height:24px;border-radius:3px;background-color:#f7f8fdb3;color:#100c27;cursor:pointer}.file-picker__preview__delete:hover{color:#fe733f}.file-picker__preview-empty__default{text-align:center}:host{display:block;width:130px;height:130px}.add-button{height:100%;padding:6px;text-align:center}.add-button__image{width:100%;height:54px}.add-button__content{font:400 12px/16px Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GioFormFilePickerAddButtonComponent, decorators: [{
|
|
26
26
|
type: Component,
|
|
27
27
|
args: [{ selector: 'gio-form-file-picker-add-button', changeDetection: ChangeDetectionStrategy.OnPush, template: "<!--\n\n Copyright (C) 2015 The Gravitee team (http://gravitee.io)\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n<div class=\"add-button\" matRipple>\n <div #content><ng-content></ng-content></div>\n <span *ngIf=\"!content.children.length\">\n <mat-icon class=\"add-button__image\" svgIcon=\"gio:upload\"></mat-icon>\n <span class=\"add-button__content\">Drag your file</span>\n </span>\n</div>\n", styles: [".gio-top-bar-menu .gio-badge-accent{background-color:var(--gio-oem-palette--active, #e7e2fb);color:var(--gio-oem-palette--active-contrast, #100c27)}:host{display:flex;flex-direction:column}.file-picker{display:flex;flex:1 1 auto;flex-flow:row wrap;padding:4px}.file-picker__add-button{border:2px dashed #606274;border-radius:6px;margin:4px;cursor:pointer}.file-picker__add-button:hover,.file-picker__add-button.drag-hover{border:2px dashed #876fec;background-color:#0000000a}.file-picker__add-button.drag-hover{pointer-events:none}.file-picker__add-button.complete{padding:6px;border:none}.file-picker__add-button.error{border:2px dashed #ec4899}.file-picker__preview,.file-picker__preview-empty{position:relative;display:flex;min-width:130px;min-height:130px;flex:0 0 130px;flex-flow:column nowrap;justify-content:space-between;padding:6px;border:2px solid #606274;border-radius:6px;margin:4px;inline-size:-moz-fit-content;inline-size:fit-content}.file-picker__preview.drag-hover,.file-picker__preview-empty.drag-hover{pointer-events:none}.file-picker__preview__image,.file-picker__preview-empty__image{width:100%;height:100%;background-position-x:center;background-position-y:center;background-repeat:no-repeat;background-size:contain}.file-picker__preview__file,.file-picker__preview-empty__file{display:flex;flex:1 1 auto;flex-direction:column;align-content:center;align-items:center;justify-content:center;text-align:center;font:400 12px/16px Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.file-picker__preview__file code,.file-picker__preview-empty__file code{font:400 12px/16px Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.file-picker__preview.disabled,.file-picker__preview-empty.disabled{border:2px solid rgba(0,0,0,.12)}.file-picker__preview.error{border:2px solid #ec4899}.file-picker__preview__delete{position:absolute;z-index:200;top:0;right:0;width:24px;height:24px;border-radius:3px;background-color:#f7f8fdb3;color:#100c27;cursor:pointer}.file-picker__preview__delete:hover{color:#fe733f}.file-picker__preview-empty__default{text-align:center}:host{display:block;width:130px;height:130px}.add-button{height:100%;padding:6px;text-align:center}.add-button__image{width:100%;height:54px}.add-button__content{font:400 12px/16px Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}\n"] }]
|
|
28
28
|
}] });
|
|
@@ -18,9 +18,9 @@ import * as i0 from "@angular/core";
|
|
|
18
18
|
import * as i1 from "@angular/common";
|
|
19
19
|
export class GioFormFilePickerEmptyComponent {
|
|
20
20
|
}
|
|
21
|
-
GioFormFilePickerEmptyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
22
|
-
GioFormFilePickerEmptyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
21
|
+
GioFormFilePickerEmptyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GioFormFilePickerEmptyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
22
|
+
GioFormFilePickerEmptyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: GioFormFilePickerEmptyComponent, selector: "gio-form-file-picker-empty", ngImport: i0, template: "<!--\n\n Copyright (C) 2015 The Gravitee team (http://gravitee.io)\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n<div #content><ng-content></ng-content></div>\n<span *ngIf=\"!content.children.length\"> No file defined </span>\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GioFormFilePickerEmptyComponent, decorators: [{
|
|
24
24
|
type: Component,
|
|
25
25
|
args: [{ selector: 'gio-form-file-picker-empty', changeDetection: ChangeDetectionStrategy.OnPush, template: "<!--\n\n Copyright (C) 2015 The Gravitee team (http://gravitee.io)\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n<div #content><ng-content></ng-content></div>\n<span *ngIf=\"!content.children.length\"> No file defined </span>\n" }]
|
|
26
26
|
}] });
|
|
@@ -17,9 +17,9 @@ import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
|
17
17
|
import * as i0 from "@angular/core";
|
|
18
18
|
export class GioFormFilePickerLabelComponent {
|
|
19
19
|
}
|
|
20
|
-
GioFormFilePickerLabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
21
|
-
GioFormFilePickerLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
20
|
+
GioFormFilePickerLabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GioFormFilePickerLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
+
GioFormFilePickerLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: GioFormFilePickerLabelComponent, selector: "gio-form-file-picker-label", ngImport: i0, template: "<!--\n\n Copyright (C) 2015 The Gravitee team (http://gravitee.io)\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n<div class=\"mat-caption\"><ng-content></ng-content></div>\n", styles: [":host{padding-left:8px;margin-bottom:-4px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GioFormFilePickerLabelComponent, decorators: [{
|
|
23
23
|
type: Component,
|
|
24
24
|
args: [{ selector: 'gio-form-file-picker-label', changeDetection: ChangeDetectionStrategy.OnPush, template: "<!--\n\n Copyright (C) 2015 The Gravitee team (http://gravitee.io)\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n<div class=\"mat-caption\"><ng-content></ng-content></div>\n", styles: [":host{padding-left:8px;margin-bottom:-4px}\n"] }]
|
|
25
25
|
}] });
|
|
@@ -20,11 +20,11 @@ import { tap } from 'rxjs/operators';
|
|
|
20
20
|
import { NewFile } from './gio-form-file-picker.model';
|
|
21
21
|
import * as i0 from "@angular/core";
|
|
22
22
|
import * as i1 from "@angular/forms";
|
|
23
|
-
import * as i2 from "
|
|
24
|
-
import * as i3 from "
|
|
25
|
-
import * as i4 from "
|
|
26
|
-
import * as i5 from "
|
|
27
|
-
import * as i6 from "
|
|
23
|
+
import * as i2 from "@angular/common";
|
|
24
|
+
import * as i3 from "ngx-file-helpers";
|
|
25
|
+
import * as i4 from "@angular/material/icon";
|
|
26
|
+
import * as i5 from "./gio-form-file-picker-add-button/gio-form-file-picker-add-button.component";
|
|
27
|
+
import * as i6 from "./gio-form-file-picker-empty/gio-form-file-picker-empty.component";
|
|
28
28
|
export class GioFormFilePickerComponent {
|
|
29
29
|
constructor(changeDetectorRef, ngControl) {
|
|
30
30
|
this.changeDetectorRef = changeDetectorRef;
|
|
@@ -135,9 +135,9 @@ export class GioFormFilePickerComponent {
|
|
|
135
135
|
this.onChangeCallback(this.fileValues.map(fileValue => fileValue.isNew ? new NewFile(fileValue.name, fileValue.dataUrl, fileValue.file) : fileValue.dataUrl));
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
GioFormFilePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
139
|
-
GioFormFilePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
140
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
138
|
+
GioFormFilePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GioFormFilePickerComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
139
|
+
GioFormFilePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: GioFormFilePickerComponent, selector: "gio-form-file-picker", inputs: { multiple: "multiple", accept: "accept", disabled: "disabled" }, ngImport: i0, template: "<!--\n\n Copyright (C) 2015 The Gravitee team (http://gravitee.io)\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n<ng-content select=\"gio-form-file-picker-label\"></ng-content>\n<div\n *ngIf=\"!isDisabled; else disabledTpl\"\n class=\"file-picker\"\n ngxFileDropzone\n [readMode]=\"readMode\"\n (fileDrop)=\"onFileDropped($event)\"\n (dragenter)=\"onDragEnter($event)\"\n (dragleave)=\"onDragOver($event)\"\n (blur)=\"dragHover = false\"\n>\n <div\n *ngIf=\"!isComplete\"\n class=\"file-picker__add-button\"\n [class.complete]=\"isComplete\"\n [class.error]=\"!isValid\"\n [class.drag-hover]=\"dragHover\"\n ngxFilePicker\n [accept]=\"accept\"\n [readMode]=\"readMode\"\n [multiple]=\"multiple\"\n (filePick)=\"onFilePicked($event)\"\n (click)=\"onTouched()\"\n >\n <div #addButton class=\"file-picker__add-button__content\"><ng-content select=\"gio-form-file-picker-add-button\"></ng-content></div>\n <gio-form-file-picker-add-button *ngIf=\"addButton.children.length === 0\"></gio-form-file-picker-add-button>\n </div>\n <div *ngFor=\"let fileValue of fileValues\" class=\"file-picker__preview\" [class.drag-hover]=\"dragHover\" [class.error]=\"!isValid\">\n <a class=\"file-picker__preview__delete\" (click)=\"onRemoveFile(fileValue)\">\n <mat-icon svgIcon=\"gio:cancel\"></mat-icon>\n </a>\n\n <ng-container *ngTemplateOutlet=\"filePreview; context: { fileValue: this.fileValue }\"></ng-container>\n </div>\n</div>\n\n<ng-template #disabledTpl>\n <div class=\"file-picker disabled\">\n <ng-container *ngIf=\"fileValues.length === 0\">\n <span #previewEmpty class=\"file-picker__preview-empty disabled\">\n <ng-content select=\"gio-form-file-picker-empty\"></ng-content>\n <gio-form-file-picker-empty\n *ngIf=\"previewEmpty.children.length === 0\"\n class=\"file-picker__preview-empty__default\"\n ></gio-form-file-picker-empty>\n </span>\n </ng-container>\n\n <div class=\"file-picker__preview disabled\" *ngFor=\"let fileValue of fileValues\">\n <ng-container *ngTemplateOutlet=\"filePreview; context: { fileValue: this.fileValue }\"></ng-container>\n </div>\n </div>\n</ng-template>\n\n<ng-template #filePreview let-fileValue=\"fileValue\">\n <div class=\"file-picker__preview__image\" *ngIf=\"fileValue.isImage\" [style.background-image]=\"'url(' + fileValue.dataUrl + ')'\"></div>\n <div class=\"file-picker__preview__file\" *ngIf=\"!fileValue.isImage\">\n <p>{{ fileValue.name }}</p>\n </div>\n</ng-template>\n", styles: [".gio-top-bar-menu .gio-badge-accent{background-color:var(--gio-oem-palette--active, #e7e2fb);color:var(--gio-oem-palette--active-contrast, #100c27)}:host{display:flex;flex-direction:column}.file-picker{display:flex;flex:1 1 auto;flex-flow:row wrap;padding:4px}.file-picker__add-button{border:2px dashed #606274;border-radius:6px;margin:4px;cursor:pointer}.file-picker__add-button:hover,.file-picker__add-button.drag-hover{border:2px dashed #876fec;background-color:#0000000a}.file-picker__add-button.drag-hover{pointer-events:none}.file-picker__add-button.complete{padding:6px;border:none}.file-picker__add-button.error{border:2px dashed #ec4899}.file-picker__preview,.file-picker__preview-empty{position:relative;display:flex;min-width:130px;min-height:130px;flex:0 0 130px;flex-flow:column nowrap;justify-content:space-between;padding:6px;border:2px solid #606274;border-radius:6px;margin:4px;inline-size:-moz-fit-content;inline-size:fit-content}.file-picker__preview.drag-hover,.file-picker__preview-empty.drag-hover{pointer-events:none}.file-picker__preview__image,.file-picker__preview-empty__image{width:100%;height:100%;background-position-x:center;background-position-y:center;background-repeat:no-repeat;background-size:contain}.file-picker__preview__file,.file-picker__preview-empty__file{display:flex;flex:1 1 auto;flex-direction:column;align-content:center;align-items:center;justify-content:center;text-align:center;font:400 12px/16px Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.file-picker__preview__file code,.file-picker__preview-empty__file code{font:400 12px/16px Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.file-picker__preview.disabled,.file-picker__preview-empty.disabled{border:2px solid rgba(0,0,0,.12)}.file-picker__preview.error{border:2px solid #ec4899}.file-picker__preview__delete{position:absolute;z-index:200;top:0;right:0;width:24px;height:24px;border-radius:3px;background-color:#f7f8fdb3;color:#100c27;cursor:pointer}.file-picker__preview__delete:hover{color:#fe733f}.file-picker__preview-empty__default{text-align:center}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i3.FileDropzoneDirective, selector: "[ngxFileDropzone]", outputs: ["fileDrop"], exportAs: ["ngxFileDropzone"] }, { kind: "directive", type: i3.FilePickerDirective, selector: "[ngxFilePicker]", inputs: ["accept", "multiple"], outputs: ["filePick"], exportAs: ["ngxFilePicker"] }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i5.GioFormFilePickerAddButtonComponent, selector: "gio-form-file-picker-add-button" }, { kind: "component", type: i6.GioFormFilePickerEmptyComponent, selector: "gio-form-file-picker-empty" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
140
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GioFormFilePickerComponent, decorators: [{
|
|
141
141
|
type: Component,
|
|
142
142
|
args: [{ selector: 'gio-form-file-picker', changeDetection: ChangeDetectionStrategy.OnPush, template: "<!--\n\n Copyright (C) 2015 The Gravitee team (http://gravitee.io)\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n<ng-content select=\"gio-form-file-picker-label\"></ng-content>\n<div\n *ngIf=\"!isDisabled; else disabledTpl\"\n class=\"file-picker\"\n ngxFileDropzone\n [readMode]=\"readMode\"\n (fileDrop)=\"onFileDropped($event)\"\n (dragenter)=\"onDragEnter($event)\"\n (dragleave)=\"onDragOver($event)\"\n (blur)=\"dragHover = false\"\n>\n <div\n *ngIf=\"!isComplete\"\n class=\"file-picker__add-button\"\n [class.complete]=\"isComplete\"\n [class.error]=\"!isValid\"\n [class.drag-hover]=\"dragHover\"\n ngxFilePicker\n [accept]=\"accept\"\n [readMode]=\"readMode\"\n [multiple]=\"multiple\"\n (filePick)=\"onFilePicked($event)\"\n (click)=\"onTouched()\"\n >\n <div #addButton class=\"file-picker__add-button__content\"><ng-content select=\"gio-form-file-picker-add-button\"></ng-content></div>\n <gio-form-file-picker-add-button *ngIf=\"addButton.children.length === 0\"></gio-form-file-picker-add-button>\n </div>\n <div *ngFor=\"let fileValue of fileValues\" class=\"file-picker__preview\" [class.drag-hover]=\"dragHover\" [class.error]=\"!isValid\">\n <a class=\"file-picker__preview__delete\" (click)=\"onRemoveFile(fileValue)\">\n <mat-icon svgIcon=\"gio:cancel\"></mat-icon>\n </a>\n\n <ng-container *ngTemplateOutlet=\"filePreview; context: { fileValue: this.fileValue }\"></ng-container>\n </div>\n</div>\n\n<ng-template #disabledTpl>\n <div class=\"file-picker disabled\">\n <ng-container *ngIf=\"fileValues.length === 0\">\n <span #previewEmpty class=\"file-picker__preview-empty disabled\">\n <ng-content select=\"gio-form-file-picker-empty\"></ng-content>\n <gio-form-file-picker-empty\n *ngIf=\"previewEmpty.children.length === 0\"\n class=\"file-picker__preview-empty__default\"\n ></gio-form-file-picker-empty>\n </span>\n </ng-container>\n\n <div class=\"file-picker__preview disabled\" *ngFor=\"let fileValue of fileValues\">\n <ng-container *ngTemplateOutlet=\"filePreview; context: { fileValue: this.fileValue }\"></ng-container>\n </div>\n </div>\n</ng-template>\n\n<ng-template #filePreview let-fileValue=\"fileValue\">\n <div class=\"file-picker__preview__image\" *ngIf=\"fileValue.isImage\" [style.background-image]=\"'url(' + fileValue.dataUrl + ')'\"></div>\n <div class=\"file-picker__preview__file\" *ngIf=\"!fileValue.isImage\">\n <p>{{ fileValue.name }}</p>\n </div>\n</ng-template>\n", styles: [".gio-top-bar-menu .gio-badge-accent{background-color:var(--gio-oem-palette--active, #e7e2fb);color:var(--gio-oem-palette--active-contrast, #100c27)}:host{display:flex;flex-direction:column}.file-picker{display:flex;flex:1 1 auto;flex-flow:row wrap;padding:4px}.file-picker__add-button{border:2px dashed #606274;border-radius:6px;margin:4px;cursor:pointer}.file-picker__add-button:hover,.file-picker__add-button.drag-hover{border:2px dashed #876fec;background-color:#0000000a}.file-picker__add-button.drag-hover{pointer-events:none}.file-picker__add-button.complete{padding:6px;border:none}.file-picker__add-button.error{border:2px dashed #ec4899}.file-picker__preview,.file-picker__preview-empty{position:relative;display:flex;min-width:130px;min-height:130px;flex:0 0 130px;flex-flow:column nowrap;justify-content:space-between;padding:6px;border:2px solid #606274;border-radius:6px;margin:4px;inline-size:-moz-fit-content;inline-size:fit-content}.file-picker__preview.drag-hover,.file-picker__preview-empty.drag-hover{pointer-events:none}.file-picker__preview__image,.file-picker__preview-empty__image{width:100%;height:100%;background-position-x:center;background-position-y:center;background-repeat:no-repeat;background-size:contain}.file-picker__preview__file,.file-picker__preview-empty__file{display:flex;flex:1 1 auto;flex-direction:column;align-content:center;align-items:center;justify-content:center;text-align:center;font:400 12px/16px Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.file-picker__preview__file code,.file-picker__preview-empty__file code{font:400 12px/16px Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.file-picker__preview.disabled,.file-picker__preview-empty.disabled{border:2px solid rgba(0,0,0,.12)}.file-picker__preview.error{border:2px solid #ec4899}.file-picker__preview__delete{position:absolute;z-index:200;top:0;right:0;width:24px;height:24px;border-radius:3px;background-color:#f7f8fdb3;color:#100c27;cursor:pointer}.file-picker__preview__delete:hover{color:#fe733f}.file-picker__preview-empty__default{text-align:center}\n"] }]
|
|
143
143
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.NgControl, decorators: [{
|
|
@@ -27,16 +27,16 @@ import { GioFormFilePickerComponent } from './gio-form-file-picker.component';
|
|
|
27
27
|
import * as i0 from "@angular/core";
|
|
28
28
|
export class GioFormFilePickerModule {
|
|
29
29
|
}
|
|
30
|
-
GioFormFilePickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
31
|
-
GioFormFilePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
30
|
+
GioFormFilePickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GioFormFilePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
31
|
+
GioFormFilePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: GioFormFilePickerModule, declarations: [GioFormFilePickerComponent,
|
|
32
32
|
GioFormFilePickerAddButtonComponent,
|
|
33
33
|
GioFormFilePickerEmptyComponent,
|
|
34
34
|
GioFormFilePickerLabelComponent], imports: [CommonModule, ReactiveFormsModule, NgxFileHelpersModule, MatRippleModule, MatIconModule, GioIconsModule], exports: [GioFormFilePickerComponent,
|
|
35
35
|
GioFormFilePickerAddButtonComponent,
|
|
36
36
|
GioFormFilePickerEmptyComponent,
|
|
37
37
|
GioFormFilePickerLabelComponent] });
|
|
38
|
-
GioFormFilePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
38
|
+
GioFormFilePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GioFormFilePickerModule, imports: [CommonModule, ReactiveFormsModule, NgxFileHelpersModule, MatRippleModule, MatIconModule, GioIconsModule] });
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GioFormFilePickerModule, decorators: [{
|
|
40
40
|
type: NgModule,
|
|
41
41
|
args: [{
|
|
42
42
|
declarations: [
|
|
@@ -54,4 +54,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
54
54
|
imports: [CommonModule, ReactiveFormsModule, NgxFileHelpersModule, MatRippleModule, MatIconModule, GioIconsModule],
|
|
55
55
|
}]
|
|
56
56
|
}] });
|
|
57
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
57
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2lvLWZvcm0tZmlsZS1waWNrZXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdWktcGFydGljbGVzLWFuZ3VsYXIvc3JjL2xpYi9naW8tZm9ybS1maWxlLXBpY2tlci9naW8tZm9ybS1maWxlLXBpY2tlci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7O0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9uZW50JztcbmltcG9ydCB7IEdpb0Zvcm1GaWxlUGlja2VyTGFiZWxDb21wb25lbnQgfSBmcm9tICcuL2dpby1mb3JtLWZpbGUtcGlja2VyLWxhYmVsL2dpby1mb3JtLWZpbGUtcGlja2VyLWxhYmVsLmNvbXBvbmVudCc7XG5pbXBvcnQgeyBHaW9Gb3JtRmlsZVBpY2tlckNvbXBvbmVudCB9IGZyb20gJy4vZ2lvLWZvcm0tZmlsZS1waWNrZXIuY29tcG9uZW50JztcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbXG4gICAgR2lvRm9ybUZpbGVQaWNrZXJDb21wb25lbnQsXG4gICAgR2lvRm9ybUZpbGVQaWNrZXJBZGRCdXR0b25Db21wb25lbnQsXG4gICAgR2lvRm9ybUZpbGVQaWNrZXJFbXB0eUNvbXBvbmVudCxcbiAgICBHaW9Gb3JtRmlsZVBpY2tlckxhYmVsQ29tcG9uZW50LFxuICBdLFxuICBleHBvcnRzOiBbXG4gICAgR2lvRm9ybUZpbGVQaWNrZXJDb21wb25lbnQsXG4gICAgR2lvRm9ybUZpbGVQaWNrZXJBZGRCdXR0b25Db21wb25lbnQsXG4gICAgR2lvRm9ybUZpbGVQaWNrZXJFbXB0eUNvbXBvbmVudCxcbiAgICBHaW9Gb3JtRmlsZVBpY2tlckxhYmVsQ29tcG9uZW50LFxuICBdLFxuICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlLCBSZWFjdGl2ZUZvcm1zTW9kdWxlLCBOZ3hGaWxlSGVscGVyc01vZHVsZSwgTWF0UmlwcGxlTW9kdWxlLCBNYXRJY29uTW9kdWxlLCBHaW9JY29uc01vZHVsZV0sXG59KVxuZXhwb3J0IGNsYXNzIEdpb0Zvcm1GaWxlUGlja2VyTW9kdWxlIHt9XG4iXX0=
|
package/esm2020/lib/gio-form-focus-first-invalid/gio-form-focus-first-invalid-ignore.directive.mjs
CHANGED
|
@@ -18,9 +18,9 @@ import * as i0 from "@angular/core";
|
|
|
18
18
|
export const GIO_FORM_FOCUS_INVALID_IGNORE_SELECTOR = 'gioFormFocusInvalidIgnore';
|
|
19
19
|
export class GioFormFocusInvalidIgnoreDirective {
|
|
20
20
|
}
|
|
21
|
-
GioFormFocusInvalidIgnoreDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
22
|
-
GioFormFocusInvalidIgnoreDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
21
|
+
GioFormFocusInvalidIgnoreDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GioFormFocusInvalidIgnoreDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
22
|
+
GioFormFocusInvalidIgnoreDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: GioFormFocusInvalidIgnoreDirective, selector: "[gioFormFocusInvalidIgnore]", ngImport: i0 });
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GioFormFocusInvalidIgnoreDirective, decorators: [{
|
|
24
24
|
type: Directive,
|
|
25
25
|
args: [{
|
|
26
26
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -52,9 +52,9 @@ export class GioBaseFormFocusInvalidDirective {
|
|
|
52
52
|
return invalidControl;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
GioBaseFormFocusInvalidDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
56
|
-
GioBaseFormFocusInvalidDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
57
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
55
|
+
GioBaseFormFocusInvalidDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GioBaseFormFocusInvalidDirective, deps: [{ token: i0.ElementRef }, { token: i1.FormGroupDirective, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
56
|
+
GioBaseFormFocusInvalidDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: GioBaseFormFocusInvalidDirective, ngImport: i0 });
|
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GioBaseFormFocusInvalidDirective, decorators: [{
|
|
58
58
|
type: Directive
|
|
59
59
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.FormGroupDirective, decorators: [{
|
|
60
60
|
type: Optional
|
|
@@ -64,9 +64,9 @@ export class GioFormFocusInvalidFormDirective extends GioBaseFormFocusInvalidDir
|
|
|
64
64
|
this.focusOnFirstInvalid();
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
GioFormFocusInvalidFormDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
68
|
-
GioFormFocusInvalidFormDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
69
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
67
|
+
GioFormFocusInvalidFormDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GioFormFocusInvalidFormDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
68
|
+
GioFormFocusInvalidFormDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: GioFormFocusInvalidFormDirective, selector: "form[gioFormFocusInvalid]", host: { listeners: { "submit": "onFormSubmit()" } }, usesInheritance: true, ngImport: i0 });
|
|
69
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GioFormFocusInvalidFormDirective, decorators: [{
|
|
70
70
|
type: Directive,
|
|
71
71
|
args: [{
|
|
72
72
|
selector: 'form[gioFormFocusInvalid]',
|
|
@@ -80,9 +80,9 @@ export class GioButtonFocusInvalidButtonDirective extends GioBaseFormFocusInvali
|
|
|
80
80
|
this.focusOnFirstInvalid();
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
-
GioButtonFocusInvalidButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
84
|
-
GioButtonFocusInvalidButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
85
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
83
|
+
GioButtonFocusInvalidButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GioButtonFocusInvalidButtonDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
84
|
+
GioButtonFocusInvalidButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: GioButtonFocusInvalidButtonDirective, selector: "button[gioFormFocusInvalid]", host: { listeners: { "click": "onClick()" } }, usesInheritance: true, ngImport: i0 });
|
|
85
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GioButtonFocusInvalidButtonDirective, decorators: [{
|
|
86
86
|
type: Directive,
|
|
87
87
|
args: [{
|
|
88
88
|
selector: 'button[gioFormFocusInvalid]',
|
|
@@ -19,10 +19,10 @@ import { GioFormFocusInvalidFormDirective, GioButtonFocusInvalidButtonDirective
|
|
|
19
19
|
import * as i0 from "@angular/core";
|
|
20
20
|
export class GioFormFocusInvalidModule {
|
|
21
21
|
}
|
|
22
|
-
GioFormFocusInvalidModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
23
|
-
GioFormFocusInvalidModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
24
|
-
GioFormFocusInvalidModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
22
|
+
GioFormFocusInvalidModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GioFormFocusInvalidModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
23
|
+
GioFormFocusInvalidModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: GioFormFocusInvalidModule, declarations: [GioFormFocusInvalidFormDirective, GioButtonFocusInvalidButtonDirective, GioFormFocusInvalidIgnoreDirective], exports: [GioFormFocusInvalidFormDirective, GioButtonFocusInvalidButtonDirective, GioFormFocusInvalidIgnoreDirective] });
|
|
24
|
+
GioFormFocusInvalidModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GioFormFocusInvalidModule });
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GioFormFocusInvalidModule, decorators: [{
|
|
26
26
|
type: NgModule,
|
|
27
27
|
args: [{
|
|
28
28
|
declarations: [GioFormFocusInvalidFormDirective, GioButtonFocusInvalidButtonDirective, GioFormFocusInvalidIgnoreDirective],
|
|
@@ -17,9 +17,9 @@ import { Component } from '@angular/core';
|
|
|
17
17
|
import * as i0 from "@angular/core";
|
|
18
18
|
export class GioFormHeadersLabelComponent {
|
|
19
19
|
}
|
|
20
|
-
GioFormHeadersLabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
21
|
-
GioFormHeadersLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
20
|
+
GioFormHeadersLabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GioFormHeadersLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
+
GioFormHeadersLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: GioFormHeadersLabelComponent, selector: "gio-form-headers-label", ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GioFormHeadersLabelComponent, decorators: [{
|
|
23
23
|
type: Component,
|
|
24
24
|
args: [{
|
|
25
25
|
selector: 'gio-form-headers-label',
|