@alfresco/adf-core 8.4.0-19066231420 → 8.4.0-19066961250

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.
@@ -0,0 +1,12 @@
1
+ import { WidgetComponent } from '../widget.component';
2
+ import { FormService } from '../../../services/form.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ButtonWidgetComponent extends WidgetComponent {
5
+ formService: FormService;
6
+ readonly tooltipShowDelay: number;
7
+ constructor(formService: FormService);
8
+ get hostClasses(): string;
9
+ onClick(event: Event): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonWidgetComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonWidgetComponent, "button-widget", never, {}, {}, never, never, true, never>;
12
+ }
@@ -0,0 +1,14 @@
1
+ .adf-button-widget {
2
+ display: flex;
3
+ justify-content: center;
4
+ align-items: center;
5
+ height: 100%;
6
+ width: 100%;
7
+ min-height: 96px;
8
+
9
+ &__button {
10
+ margin-bottom: 32px;
11
+ word-break: break-word;
12
+ overflow: hidden;
13
+ }
14
+ }
@@ -49,6 +49,7 @@ export declare class FormFieldTypes {
49
49
  static JSON: string;
50
50
  static DATA_TABLE: string;
51
51
  static DISPLAY_EXTERNAL_PROPERTY: string;
52
+ static BUTTON: string;
52
53
  static READONLY_TYPES: string[];
53
54
  static VALIDATABLE_TYPES: string[];
54
55
  static REACTIVE_TYPES: string[];
@@ -29,6 +29,7 @@ import { DateTimeWidgetComponent } from './date-time/date-time.widget';
29
29
  import { JsonWidgetComponent } from './json/json.widget';
30
30
  import { BaseViewerWidgetComponent } from './base-viewer/base-viewer.widget';
31
31
  import { DecimalWidgetComponent } from './decimal/decimal.component';
32
+ import { ButtonWidgetComponent } from './button/button.widget';
32
33
  export * from './widget.component';
33
34
  export * from './reactive-widget.interface';
34
35
  export * from './core';
@@ -46,8 +47,9 @@ export * from './date-time/date-time.widget';
46
47
  export * from './json/json.widget';
47
48
  export * from './base-viewer/base-viewer.widget';
48
49
  export * from './text/text-mask.component';
50
+ export * from './button/button.widget';
49
51
  export * from './display-text';
50
52
  export * from './header';
51
53
  export * from './repeat/repeat.widget';
52
- export declare const WIDGET_DIRECTIVES: readonly [typeof UnknownWidgetComponent, typeof TextWidgetComponent, typeof NumberWidgetComponent, typeof DecimalWidgetComponent, typeof CheckboxWidgetComponent, typeof MultilineTextWidgetComponentComponent, typeof HyperlinkWidgetComponent, typeof DisplayTextWidgetComponent, typeof DateWidgetComponent, typeof AmountWidgetComponent, typeof ErrorWidgetComponent, typeof DateTimeWidgetComponent, typeof JsonWidgetComponent, typeof BaseViewerWidgetComponent];
54
+ export declare const WIDGET_DIRECTIVES: readonly [typeof UnknownWidgetComponent, typeof TextWidgetComponent, typeof NumberWidgetComponent, typeof DecimalWidgetComponent, typeof CheckboxWidgetComponent, typeof MultilineTextWidgetComponentComponent, typeof HyperlinkWidgetComponent, typeof DisplayTextWidgetComponent, typeof DateWidgetComponent, typeof AmountWidgetComponent, typeof ErrorWidgetComponent, typeof DateTimeWidgetComponent, typeof JsonWidgetComponent, typeof BaseViewerWidgetComponent, typeof ButtonWidgetComponent];
53
55
  export declare const MASK_DIRECTIVE: readonly [typeof InputMaskDirective];
@@ -18,10 +18,11 @@ import * as i16 from "./components/widgets/error/error.component";
18
18
  import * as i17 from "./components/widgets/date-time/date-time.widget";
19
19
  import * as i18 from "./components/widgets/json/json.widget";
20
20
  import * as i19 from "./components/widgets/base-viewer/base-viewer.widget";
21
- import * as i20 from "./components/widgets/text/text-mask.component";
21
+ import * as i20 from "./components/widgets/button/button.widget";
22
+ import * as i21 from "./components/widgets/text/text-mask.component";
22
23
  /** @deprecated This module is deprecated and will be removed in a future release. Use standalone components instead. */
23
24
  export declare class FormBaseModule {
24
25
  static ɵfac: i0.ɵɵFactoryDeclaration<FormBaseModule, never>;
25
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormBaseModule, never, [typeof i1.FormFieldComponent, typeof i2.FormRendererComponent, typeof i3.WidgetComponent, typeof i4.StartFormCustomButtonDirective, typeof i5.InplaceFormInputComponent, typeof i6.UnknownWidgetComponent, typeof i7.TextWidgetComponent, typeof i8.NumberWidgetComponent, typeof i9.DecimalWidgetComponent, typeof i10.CheckboxWidgetComponent, typeof i11.MultilineTextWidgetComponentComponent, typeof i12.HyperlinkWidgetComponent, typeof i13.DisplayTextWidgetComponent, typeof i14.DateWidgetComponent, typeof i15.AmountWidgetComponent, typeof i16.ErrorWidgetComponent, typeof i17.DateTimeWidgetComponent, typeof i18.JsonWidgetComponent, typeof i19.BaseViewerWidgetComponent, typeof i20.InputMaskDirective], [typeof i1.FormFieldComponent, typeof i2.FormRendererComponent, typeof i4.StartFormCustomButtonDirective, typeof i6.UnknownWidgetComponent, typeof i7.TextWidgetComponent, typeof i8.NumberWidgetComponent, typeof i9.DecimalWidgetComponent, typeof i10.CheckboxWidgetComponent, typeof i11.MultilineTextWidgetComponentComponent, typeof i12.HyperlinkWidgetComponent, typeof i13.DisplayTextWidgetComponent, typeof i14.DateWidgetComponent, typeof i15.AmountWidgetComponent, typeof i16.ErrorWidgetComponent, typeof i17.DateTimeWidgetComponent, typeof i18.JsonWidgetComponent, typeof i19.BaseViewerWidgetComponent, typeof i5.InplaceFormInputComponent, typeof i3.WidgetComponent]>;
26
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormBaseModule, never, [typeof i1.FormFieldComponent, typeof i2.FormRendererComponent, typeof i3.WidgetComponent, typeof i4.StartFormCustomButtonDirective, typeof i5.InplaceFormInputComponent, typeof i6.UnknownWidgetComponent, typeof i7.TextWidgetComponent, typeof i8.NumberWidgetComponent, typeof i9.DecimalWidgetComponent, typeof i10.CheckboxWidgetComponent, typeof i11.MultilineTextWidgetComponentComponent, typeof i12.HyperlinkWidgetComponent, typeof i13.DisplayTextWidgetComponent, typeof i14.DateWidgetComponent, typeof i15.AmountWidgetComponent, typeof i16.ErrorWidgetComponent, typeof i17.DateTimeWidgetComponent, typeof i18.JsonWidgetComponent, typeof i19.BaseViewerWidgetComponent, typeof i20.ButtonWidgetComponent, typeof i21.InputMaskDirective], [typeof i1.FormFieldComponent, typeof i2.FormRendererComponent, typeof i4.StartFormCustomButtonDirective, typeof i6.UnknownWidgetComponent, typeof i7.TextWidgetComponent, typeof i8.NumberWidgetComponent, typeof i9.DecimalWidgetComponent, typeof i10.CheckboxWidgetComponent, typeof i11.MultilineTextWidgetComponentComponent, typeof i12.HyperlinkWidgetComponent, typeof i13.DisplayTextWidgetComponent, typeof i14.DateWidgetComponent, typeof i15.AmountWidgetComponent, typeof i16.ErrorWidgetComponent, typeof i17.DateTimeWidgetComponent, typeof i18.JsonWidgetComponent, typeof i19.BaseViewerWidgetComponent, typeof i20.ButtonWidgetComponent, typeof i5.InplaceFormInputComponent, typeof i3.WidgetComponent]>;
26
27
  static ɵinj: i0.ɵɵInjectorDeclaration<FormBaseModule>;
27
28
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@alfresco/adf-core",
3
3
  "description": "Alfresco ADF core",
4
- "version": "8.4.0-19066231420",
4
+ "version": "8.4.0-19066961250",
5
5
  "author": "Hyland Software, Inc. and its affiliates",
6
6
  "repository": {
7
7
  "type": "git",
@@ -63,8 +63,8 @@
63
63
  "@angular/router": ">=16.0.0",
64
64
  "@mat-datetimepicker/core": ">=12.0.1",
65
65
  "@ngx-translate/core": ">=16.0.0",
66
- "@alfresco/js-api": ">=9.4.0-19066231420",
67
- "@alfresco/adf-extensions": ">=8.4.0-19066231420",
66
+ "@alfresco/js-api": ">=9.4.0-19066961250",
67
+ "@alfresco/adf-extensions": ">=8.4.0-19066961250",
68
68
  "minimatch": ">=10.0.0",
69
69
  "pdfjs-dist": ">=3.3.122"
70
70
  },