@smartbit4all/ng-client 3.3.138 → 3.3.140
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/session/api/api/session.service.mjs +1 -1
- package/esm2020/lib/session/api/encoder.mjs +1 -1
- package/esm2020/lib/session/api/model/accountInfo.mjs +1 -1
- package/esm2020/lib/session/api/model/apiError.mjs +1 -1
- package/esm2020/lib/session/api/model/authenticationProviderData.mjs +1 -1
- package/esm2020/lib/session/api/model/getAuthenticationProvidersResponse.mjs +1 -1
- package/esm2020/lib/session/api/model/models.mjs +1 -1
- package/esm2020/lib/session/api/model/refreshSessionRequest.mjs +1 -1
- package/esm2020/lib/session/api/model/session.mjs +1 -1
- package/esm2020/lib/session/api/model/sessionInfoData.mjs +1 -1
- package/esm2020/lib/session/api/model/userActivityLog.mjs +1 -1
- package/esm2020/lib/session/api/param.mjs +1 -1
- package/esm2020/lib/session/api/variables.mjs +1 -1
- package/esm2020/lib/smart-client/smart-component-api-client.mjs +31 -34
- package/esm2020/lib/smart-component-layout/api/api/api.mjs +1 -1
- package/esm2020/lib/smart-component-layout/api/api/default.service.mjs +1 -1
- package/esm2020/lib/smart-component-layout/api/api.module.mjs +1 -1
- package/esm2020/lib/smart-component-layout/api/configuration.mjs +1 -1
- package/esm2020/lib/smart-component-layout/api/encoder.mjs +1 -1
- package/esm2020/lib/smart-component-layout/api/index.mjs +1 -1
- package/esm2020/lib/smart-component-layout/api/model/componentType.mjs +1 -1
- package/esm2020/lib/smart-component-layout/api/model/componentWidgetType.mjs +1 -1
- package/esm2020/lib/smart-component-layout/api/model/layoutDirection.mjs +1 -1
- package/esm2020/lib/smart-component-layout/api/model/models.mjs +1 -1
- package/esm2020/lib/smart-component-layout/api/model/smartComponentLayoutDefinition.mjs +1 -1
- package/esm2020/lib/smart-component-layout/api/model/smartComponentWidgetDefinition.mjs +1 -1
- package/esm2020/lib/smart-component-layout/api/param.mjs +1 -1
- package/esm2020/lib/smart-component-layout/api/variables.mjs +1 -1
- package/esm2020/lib/smart-component-layout/smart-component-layout-utility.mjs +9 -48
- package/esm2020/lib/smart-component-layout/smart-component-layout.component.mjs +28 -67
- package/esm2020/lib/smart-component-layout/smart-component-layout.module.mjs +5 -1
- package/esm2020/lib/smart-dialog/smartdialog.model.mjs +1 -1
- package/esm2020/lib/smart-dialog/smartdialog.module.mjs +5 -5
- package/esm2020/lib/smart-expandable-section/expandable-section.component.mjs +6 -12
- package/esm2020/lib/smart-expandable-section/expandable-section.model.mjs +1 -1
- package/esm2020/lib/smart-filter/api/filter/model/filterExpressionBoolOperator.mjs +1 -1
- package/esm2020/lib/smart-filter/api/filter/model/filterExpressionBuilderField.mjs +1 -1
- package/esm2020/lib/smart-filter/api/filter/model/filterExpressionBuilderGroup.mjs +1 -1
- package/esm2020/lib/smart-filter/api/filter/model/filterExpressionBuilderModel.mjs +1 -1
- package/esm2020/lib/smart-filter/api/filter/model/filterExpressionData.mjs +1 -1
- package/esm2020/lib/smart-filter/api/filter/model/filterExpressionDataType.mjs +1 -1
- package/esm2020/lib/smart-filter/api/filter/model/filterExpressionField.mjs +1 -1
- package/esm2020/lib/smart-filter/api/filter/model/filterExpressionFieldList.mjs +1 -1
- package/esm2020/lib/smart-filter/api/filter/model/filterExpressionFieldWidgetType.mjs +1 -2
- package/esm2020/lib/smart-filter/api/filter/model/filterExpressionList.mjs +1 -1
- package/esm2020/lib/smart-filter/api/filter/model/filterExpressionOperandData.mjs +1 -1
- package/esm2020/lib/smart-filter/api/filter/model/filterExpressionOperation.mjs +1 -1
- package/esm2020/lib/smart-filter/api/filter/model/filterExpressionOrderBy.mjs +1 -1
- package/esm2020/lib/smart-filter/smart-filter.module.mjs +5 -5
- package/esm2020/lib/smart-filter-editor/api/api/filter.service.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/configuration.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/encoder.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBoolOperator.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderApiConfig.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderField.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderGroup.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderModel.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderUiModel.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionData.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionDataType.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionField.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionFieldEditor.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionFieldList.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionFieldWidgetType.mjs +1 -2
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionList.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionOperandData.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionOperation.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/param.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/variables.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/smart-filter-editor.module.mjs +8 -1
- package/esm2020/lib/smart-form/api/model/smartFormWidgetType.mjs +1 -2
- package/esm2020/lib/smart-form/api/model/smartMatrixModel.mjs +1 -1
- package/esm2020/lib/smart-form/api/model/smartWidgetDefinition.mjs +1 -1
- package/esm2020/lib/smart-form/api/model/valueChangeMode.mjs +1 -1
- package/esm2020/lib/smart-form/projects.mjs +2 -1
- package/esm2020/lib/smart-form/services/smartform.layout-definition.service.mjs +3 -21
- package/esm2020/lib/smart-form/services/smartform.service.mjs +1 -6
- package/esm2020/lib/smart-form/smartform.component.mjs +3 -19
- package/esm2020/lib/smart-form/smartform.form-model.mjs +1 -1
- package/esm2020/lib/smart-form/smartform.module.mjs +157 -0
- package/esm2020/lib/smart-form/widgets/smartformwidget/smartformwidget.component.mjs +32 -118
- package/esm2020/lib/smart-grid/api/grid-api/api/api.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/api/grid.service.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/api.module.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/configuration.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/encoder.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/index.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridColumnContentType.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridColumnMeta.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridDataAccessConfig.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridModel.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridPage.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridRow.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridSelectionChange.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridSelectionMode.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridSelectionType.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridServerModel.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridUpdateData.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridView.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridViewDescriptor.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/models.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/param.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/variables.mjs +1 -1
- package/esm2020/lib/smart-grid/smart-grid.component.mjs +11 -26
- package/esm2020/lib/smart-grid/smart-grid.module.mjs +6 -3
- package/esm2020/lib/smart-navbar/smart-navbar.module.mjs +5 -5
- package/esm2020/lib/smart-ng-client.module.mjs +8 -1
- package/esm2020/lib/smart-table/tables/table.mjs +4 -6
- package/esm2020/lib/smart-tree/smarttree-generic.service.mjs +13 -20
- package/esm2020/lib/smart-tree/smarttree.module.mjs +3 -11
- package/esm2020/lib/smart-tree/tree-api/api/tree.service.mjs +1 -1
- package/esm2020/lib/smart-tree/tree-api/configuration.mjs +1 -1
- package/esm2020/lib/smart-tree/tree-api/encoder.mjs +1 -1
- package/esm2020/lib/smart-tree/tree-api/param.mjs +1 -1
- package/esm2020/lib/smart-tree/tree-api/variables.mjs +1 -1
- package/esm2020/lib/view-context/api/api/api.mjs +1 -1
- package/esm2020/lib/view-context/api/api/view.service.mjs +1 -1
- package/esm2020/lib/view-context/api/api.module.mjs +1 -1
- package/esm2020/lib/view-context/api/configuration.mjs +1 -1
- package/esm2020/lib/view-context/api/encoder.mjs +1 -1
- package/esm2020/lib/view-context/api/index.mjs +1 -1
- package/esm2020/lib/view-context/api/model/closeResult.mjs +1 -1
- package/esm2020/lib/view-context/api/model/componentConstraint.mjs +1 -1
- package/esm2020/lib/view-context/api/model/componentModel.mjs +1 -1
- package/esm2020/lib/view-context/api/model/componentModelChange.mjs +1 -1
- package/esm2020/lib/view-context/api/model/dataChange.mjs +1 -1
- package/esm2020/lib/view-context/api/model/dataChangeEvent.mjs +1 -1
- package/esm2020/lib/view-context/api/model/dataChangeKind.mjs +1 -1
- package/esm2020/lib/view-context/api/model/downloadedFile.mjs +1 -1
- package/esm2020/lib/view-context/api/model/iconPosition.mjs +1 -1
- package/esm2020/lib/view-context/api/model/imageResource.mjs +1 -1
- package/esm2020/lib/view-context/api/model/link.mjs +1 -1
- package/esm2020/lib/view-context/api/model/messageData.mjs +1 -1
- package/esm2020/lib/view-context/api/model/messageOption.mjs +1 -1
- package/esm2020/lib/view-context/api/model/messageOptionType.mjs +1 -1
- package/esm2020/lib/view-context/api/model/messageResult.mjs +1 -1
- package/esm2020/lib/view-context/api/model/messageTextType.mjs +1 -1
- package/esm2020/lib/view-context/api/model/messageType.mjs +1 -1
- package/esm2020/lib/view-context/api/model/openPendingData.mjs +1 -1
- package/esm2020/lib/view-context/api/model/smartLinkData.mjs +1 -1
- package/esm2020/lib/view-context/api/model/style.mjs +1 -1
- package/esm2020/lib/view-context/api/model/uiAction.mjs +1 -1
- package/esm2020/lib/view-context/api/model/uiActionButtonDescriptor.mjs +1 -1
- package/esm2020/lib/view-context/api/model/uiActionButtonType.mjs +1 -1
- package/esm2020/lib/view-context/api/model/uiActionConstraint.mjs +1 -1
- package/esm2020/lib/view-context/api/model/uiActionDescriptor.mjs +1 -1
- package/esm2020/lib/view-context/api/model/uiActionDialogDescriptor.mjs +1 -1
- package/esm2020/lib/view-context/api/model/uiActionFeedbackType.mjs +1 -1
- package/esm2020/lib/view-context/api/model/uiActionInputType.mjs +1 -1
- package/esm2020/lib/view-context/api/model/uiActionRequest.mjs +1 -1
- package/esm2020/lib/view-context/api/model/uiActionTooltip.mjs +1 -1
- package/esm2020/lib/view-context/api/model/uiActionUploadDescriptor.mjs +1 -1
- package/esm2020/lib/view-context/api/model/valueSet.mjs +1 -1
- package/esm2020/lib/view-context/api/model/view.mjs +1 -1
- package/esm2020/lib/view-context/api/model/viewApiError.mjs +1 -1
- package/esm2020/lib/view-context/api/model/viewConstraint.mjs +1 -1
- package/esm2020/lib/view-context/api/model/viewContext.mjs +1 -1
- package/esm2020/lib/view-context/api/model/viewContextChange.mjs +1 -1
- package/esm2020/lib/view-context/api/model/viewContextData.mjs +1 -1
- package/esm2020/lib/view-context/api/model/viewContextUpdate.mjs +1 -1
- package/esm2020/lib/view-context/api/model/viewData.mjs +1 -1
- package/esm2020/lib/view-context/api/model/viewState.mjs +1 -1
- package/esm2020/lib/view-context/api/model/viewStateUpdate.mjs +1 -1
- package/esm2020/lib/view-context/api/model/viewType.mjs +1 -1
- package/esm2020/lib/view-context/api/param.mjs +1 -1
- package/esm2020/lib/view-context/api/variables.mjs +1 -1
- package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.component.mjs +12 -15
- package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.service.mjs +2 -2
- package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.component.mjs +10 -13
- package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.service.mjs +2 -2
- package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.mjs +11 -17
- package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.service.mjs +2 -2
- package/esm2020/lib/view-context/smart-ui-action/ui-action-toolbar.component.mjs +6 -11
- package/esm2020/lib/view-context/smart-ui-action/ui-action.model.mjs +1 -1
- package/esm2020/lib/view-context/smart-ui-action/ui-action.service.mjs +8 -14
- package/esm2020/lib/view-context/smart-view-context.module.mjs +10 -132
- package/esm2020/lib/view-context/smart-view-context.service.mjs +1 -8
- package/fesm2015/smartbit4all-ng-client.mjs +2842 -3077
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +3561 -3788
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-client/smart-component-api-client.d.ts +1 -2
- package/lib/smart-component-layout/api/model/smartComponentLayoutDefinition.d.ts +5 -3
- package/lib/smart-component-layout/api/model/smartComponentWidgetDefinition.d.ts +2 -2
- package/lib/smart-component-layout/smart-component-layout-utility.d.ts +3 -4
- package/lib/smart-component-layout/smart-component-layout.component.d.ts +6 -10
- package/lib/smart-component-layout/smart-component-layout.module.d.ts +6 -5
- package/lib/smart-dialog/smartdialog.model.d.ts +2 -2
- package/lib/smart-dialog/smartdialog.module.d.ts +2 -2
- package/lib/smart-expandable-section/expandable-section.model.d.ts +2 -4
- package/lib/smart-filter/api/filter/model/filterExpressionFieldWidgetType.d.ts +0 -1
- package/lib/smart-filter/smart-filter.module.d.ts +2 -2
- package/lib/smart-filter-editor/api/model/filterExpressionField.d.ts +0 -3
- package/lib/smart-filter-editor/api/model/filterExpressionFieldWidgetType.d.ts +0 -1
- package/lib/smart-filter-editor/smart-filter-editor.module.d.ts +5 -4
- package/lib/smart-form/api/model/smartFormWidgetType.d.ts +1 -2
- package/lib/smart-form/api/model/smartMatrixModel.d.ts +0 -1
- package/lib/smart-form/api/model/smartWidgetDefinition.d.ts +0 -8
- package/lib/smart-form/projects.d.ts +1 -0
- package/lib/smart-form/services/smartform.layout-definition.service.d.ts +0 -1
- package/lib/smart-form/smartform.component.d.ts +2 -6
- package/lib/smart-form/smartform.form-model.d.ts +1 -17
- package/lib/smart-form/smartform.module.d.ts +35 -0
- package/lib/smart-form/widgets/smartformwidget/smartformwidget.component.d.ts +1 -31
- package/lib/smart-grid/api/grid-api/model/gridColumnMeta.d.ts +0 -4
- package/lib/smart-grid/api/grid-api/model/gridModel.d.ts +0 -2
- package/lib/smart-grid/api/grid-api/model/gridServerModel.d.ts +0 -2
- package/lib/smart-grid/smart-grid.component.d.ts +1 -2
- package/lib/smart-grid/smart-grid.module.d.ts +4 -3
- package/lib/smart-navbar/smart-navbar.module.d.ts +2 -2
- package/lib/smart-ng-client.module.d.ts +13 -12
- package/lib/smart-tree/smarttree-generic.service.d.ts +3 -2
- package/lib/view-context/api/model/uiAction.d.ts +0 -4
- package/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.component.d.ts +5 -5
- package/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.service.d.ts +1 -1
- package/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.component.d.ts +1 -1
- package/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.service.d.ts +1 -1
- package/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.d.ts +2 -2
- package/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.service.d.ts +1 -1
- package/lib/view-context/smart-ui-action/ui-action.model.d.ts +1 -1
- package/lib/view-context/smart-ui-action/ui-action.service.d.ts +3 -3
- package/lib/view-context/smart-view-context.module.d.ts +11 -34
- package/lib/view-context/smart-view-context.service.d.ts +0 -2
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.3.140.tgz +0 -0
- package/src/lib/session/api/README.md +226 -226
- package/src/lib/smart-component-layout/api/README.md +226 -226
- package/src/lib/smart-filter-editor/api/README.md +226 -226
- package/src/lib/smart-grid/api/grid-api/README.md +226 -226
- package/src/lib/smart-tree/tree-api/README.md +226 -226
- package/src/lib/view-context/api/README.md +226 -226
- package/esm2020/lib/smart-filter-editor/api/model/smartFilterType.mjs +0 -17
- package/lib/smart-filter-editor/api/model/smartFilterType.d.ts +0 -15
- package/smartbit4all-ng-client-3.3.138.tgz +0 -0
|
@@ -18,7 +18,6 @@ export declare abstract class SmartComponentApiClient<T> implements UseUiAction2
|
|
|
18
18
|
private detectChange;
|
|
19
19
|
private _uuid?;
|
|
20
20
|
private uuidOfPageHasBeenChangedSubscription?;
|
|
21
|
-
private _ngAfterViewInitPerformed;
|
|
22
21
|
get uuid(): string | undefined;
|
|
23
22
|
set uuid(uuid: string | undefined);
|
|
24
23
|
private _model;
|
|
@@ -47,7 +46,6 @@ export declare abstract class SmartComponentApiClient<T> implements UseUiAction2
|
|
|
47
46
|
_ngOnInit(): void;
|
|
48
47
|
_ngOnDestroy(): void;
|
|
49
48
|
_ngAfterViewInit(): void;
|
|
50
|
-
private setupGridServices;
|
|
51
49
|
protected handleQueryListSimple<T>(ql: QueryList<T>, handler: () => void): void;
|
|
52
50
|
protected handleQueryList<T>(ql: QueryList<T>, handler: (el: T) => void): void;
|
|
53
51
|
protected abstract getSmartFormsQL(): QueryList<SmartformComponent> | undefined;
|
|
@@ -58,6 +56,7 @@ export declare abstract class SmartComponentApiClient<T> implements UseUiAction2
|
|
|
58
56
|
protected abstract getSmartComponentLayoutsQL(): QueryList<SmartComponentLayoutComponent> | undefined;
|
|
59
57
|
protected getWidgets(): Map<string, SmartGridComponent | SmarttreeGenericService | SmartFilterEditorService | undefined>;
|
|
60
58
|
initComponentByModel(): void;
|
|
59
|
+
protected initStyle(): void;
|
|
61
60
|
protected getAllSmartFormComponents(): SmartformComponent[];
|
|
62
61
|
protected getAllSmartGridComponents(): SmartGridComponent[];
|
|
63
62
|
protected getAllSmartTreeComponents(): SmarttreeGenericService[];
|
|
@@ -12,15 +12,17 @@
|
|
|
12
12
|
import { ComponentType } from './componentType';
|
|
13
13
|
import { LayoutDirection } from './layoutDirection';
|
|
14
14
|
import { SmartComponentWidgetDefinition } from './smartComponentWidgetDefinition';
|
|
15
|
-
import {
|
|
16
|
-
import { SmartWidgetDefinition } from '../../../smart-form/api/model/smartWidgetDefinition';
|
|
15
|
+
import { SmartWidgetDefinition } from '../../../smart-form/projects';
|
|
17
16
|
export interface SmartComponentLayoutDefinition {
|
|
18
17
|
type: ComponentType;
|
|
19
18
|
expandable?: boolean;
|
|
20
19
|
expandableSectionLabel?: string;
|
|
21
20
|
direction?: LayoutDirection;
|
|
21
|
+
/**
|
|
22
|
+
* This is a placeholder for SmartComponentApiClient. You might want to describe this further.
|
|
23
|
+
*/
|
|
24
|
+
parentComponent?: object;
|
|
22
25
|
components?: Array<SmartComponentLayoutDefinition>;
|
|
23
26
|
widget?: SmartComponentWidgetDefinition;
|
|
24
27
|
form?: Array<SmartWidgetDefinition>;
|
|
25
|
-
style?: Style;
|
|
26
28
|
}
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { ComponentWidgetType } from './componentWidgetType';
|
|
13
|
-
import { FilterExpressionFieldList } from '../../../smart-filter
|
|
14
|
-
import { SmartFilterType } from '../../../smart-filter
|
|
13
|
+
import { FilterExpressionFieldList } from '../../../smart-filter/projects';
|
|
14
|
+
import { SmartFilterType } from '../../../smart-filter/projects';
|
|
15
15
|
export interface SmartComponentWidgetDefinition {
|
|
16
16
|
type: ComponentWidgetType;
|
|
17
17
|
identifier?: string;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { SmartformComponent } from '../smart-form/projects';
|
|
2
2
|
import { SmartGridComponent } from '../smart-grid/projects';
|
|
3
3
|
import { SmarttreeGenericService } from '../smart-tree/projects';
|
|
4
|
-
import {
|
|
4
|
+
import { UiActionToolbarComponent } from '../view-context/projects';
|
|
5
|
+
import { SmartComponentLayoutDefinition } from './api';
|
|
5
6
|
import { SmartComponentLayoutComponent } from './smart-component-layout.component';
|
|
6
|
-
import { ElementRef, Renderer2 } from '@angular/core';
|
|
7
7
|
export declare class SmartComponentLayoutUtility {
|
|
8
|
+
static setParent(layout: SmartComponentLayoutDefinition, parent: any): void;
|
|
8
9
|
static getForms(comp: SmartComponentLayoutComponent): SmartformComponent[];
|
|
9
10
|
static getGrids(comp: SmartComponentLayoutComponent): SmartGridComponent[];
|
|
10
11
|
static getTrees(comp: SmartComponentLayoutComponent): SmarttreeGenericService[];
|
|
11
12
|
static getToolbars(comp: SmartComponentLayoutComponent): UiActionToolbarComponent[];
|
|
12
|
-
static getExpandableComponent(comp: SmartComponentLayoutComponent): SmartComponentLayoutComponent;
|
|
13
|
-
static applyStyle(style: Style | undefined, elementRef?: ElementRef, renderer?: Renderer2): void;
|
|
14
13
|
}
|
|
@@ -1,22 +1,17 @@
|
|
|
1
|
-
import { AfterViewInit,
|
|
1
|
+
import { AfterViewInit, OnChanges, OnDestroy, QueryList, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { ComponentType, SmartComponentLayoutDefinition } from './api';
|
|
3
3
|
import { SmartForm, SmartFormWidgetDirection, SmartformComponent, SmartformLayoutDefinitionService } from '../smart-form/projects';
|
|
4
4
|
import { SmartGrid, SmartGridComponent } from '../smart-grid/projects';
|
|
5
5
|
import { SmartFilter, SmartFilterComponent } from '../smart-filter/projects';
|
|
6
6
|
import { SmarttreeGenericService } from '../smart-tree/projects';
|
|
7
|
-
import { ExpandableSection
|
|
7
|
+
import { ExpandableSection } from '../smart-expandable-section/projects';
|
|
8
8
|
import { Subject } from 'rxjs';
|
|
9
9
|
import { UiActionToolbarComponent } from '../view-context/projects';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare class SmartComponentLayoutComponent implements AfterViewInit, OnDestroy, OnChanges {
|
|
12
12
|
private layoutService;
|
|
13
|
-
private element?;
|
|
14
|
-
private renderer?;
|
|
15
13
|
protected _destroy$: Subject<void>;
|
|
16
14
|
smartComponentLayout?: SmartComponentLayoutDefinition;
|
|
17
|
-
parentLayoutComponent?: SmartComponentLayoutComponent;
|
|
18
|
-
parentSmartComponent: any;
|
|
19
|
-
currentLayout?: SmartComponentLayoutDefinition;
|
|
20
15
|
uuid?: string;
|
|
21
16
|
smartFormList: QueryList<SmartformComponent>;
|
|
22
17
|
smartFormComponent?: SmartformComponent;
|
|
@@ -30,11 +25,11 @@ export declare class SmartComponentLayoutComponent implements AfterViewInit, OnD
|
|
|
30
25
|
toolbarList: QueryList<UiActionToolbarComponent>;
|
|
31
26
|
toolbar?: UiActionToolbarComponent;
|
|
32
27
|
toolbarId?: string;
|
|
28
|
+
parent?: any;
|
|
33
29
|
treeService?: SmarttreeGenericService;
|
|
34
30
|
expandableSection?: ExpandableSection<SmartComponentLayoutDefinition>;
|
|
35
|
-
expandableComponents: QueryList<ExpandableSectionComponent>;
|
|
36
31
|
components: QueryList<SmartComponentLayoutComponent>;
|
|
37
|
-
constructor(layoutService: SmartformLayoutDefinitionService
|
|
32
|
+
constructor(layoutService: SmartformLayoutDefinitionService);
|
|
38
33
|
ngAfterViewInit(): void;
|
|
39
34
|
ngOnDestroy(): void;
|
|
40
35
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -50,9 +45,10 @@ export declare class SmartComponentLayoutComponent implements AfterViewInit, OnD
|
|
|
50
45
|
setGridComponent(comp: SmartGridComponent): void;
|
|
51
46
|
bindGrid(): void;
|
|
52
47
|
setToolbarComponent(comp: UiActionToolbarComponent): void;
|
|
48
|
+
constructFilter(): void;
|
|
53
49
|
bindFilter(): void;
|
|
54
50
|
constructTree(): void;
|
|
55
51
|
constructToolbar(): void;
|
|
56
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartComponentLayoutComponent, never>;
|
|
57
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartComponentLayoutComponent, "smart-component-layout", never, { "smartComponentLayout": "smartComponentLayout";
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartComponentLayoutComponent, "smart-component-layout", never, { "smartComponentLayout": "smartComponentLayout"; }, {}, never, never>;
|
|
58
54
|
}
|
|
@@ -2,12 +2,13 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./smart-component-layout.component";
|
|
3
3
|
import * as i2 from "@angular/platform-browser";
|
|
4
4
|
import * as i3 from "@angular/material/core";
|
|
5
|
-
import * as i4 from "../smart-
|
|
6
|
-
import * as i5 from "../smart-
|
|
7
|
-
import * as i6 from "../smart-
|
|
8
|
-
import * as i7 from "../
|
|
5
|
+
import * as i4 from "../smart-form/smartform.module";
|
|
6
|
+
import * as i5 from "../smart-grid/smart-grid.module";
|
|
7
|
+
import * as i6 from "../smart-expandable-section/smart-expandable-section.module";
|
|
8
|
+
import * as i7 from "../smart-tree/smarttree.module";
|
|
9
|
+
import * as i8 from "../view-context/smart-view-context.module";
|
|
9
10
|
export declare class SmartComponentLayoutModule {
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartComponentLayoutModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartComponentLayoutModule, [typeof i1.SmartComponentLayoutComponent], [typeof i2.BrowserModule, typeof i3.MatCommonModule, typeof i4.
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartComponentLayoutModule, [typeof i1.SmartComponentLayoutComponent], [typeof i2.BrowserModule, typeof i3.MatCommonModule, typeof i4.SmartformModule, typeof i5.SmartGridModule, typeof i6.SmartExpandableSectionModule, typeof i7.SmarttreeModule, typeof i8.SmartViewContextModule], [typeof i1.SmartComponentLayoutComponent]>;
|
|
12
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<SmartComponentLayoutModule>;
|
|
13
14
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SmartForm } from '../smart-form/
|
|
2
|
-
import { SmartTable } from '../smart-table/
|
|
1
|
+
import { SmartForm } from '../smart-form/projects';
|
|
2
|
+
import { SmartTable } from '../smart-table/projects';
|
|
3
3
|
/**
|
|
4
4
|
* This interface defines the size of a dialog.
|
|
5
5
|
*
|
|
@@ -4,11 +4,11 @@ import * as i2 from "@angular/platform-browser";
|
|
|
4
4
|
import * as i3 from "@angular/material/dialog";
|
|
5
5
|
import * as i4 from "@angular/material/core";
|
|
6
6
|
import * as i5 from "@angular/material/icon";
|
|
7
|
-
import * as i6 from "../
|
|
7
|
+
import * as i6 from "../smart-form/smartform.module";
|
|
8
8
|
import * as i7 from "../smart-table/smarttable.module";
|
|
9
9
|
import * as i8 from "../smart-icon/smart-icon.module";
|
|
10
10
|
export declare class SmartdialogModule {
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartdialogModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartdialogModule, [typeof i1.SmartDialog], [typeof i2.BrowserModule, typeof i3.MatDialogModule, typeof i4.MatCommonModule, typeof i5.MatIconModule, typeof i6.
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartdialogModule, [typeof i1.SmartDialog], [typeof i2.BrowserModule, typeof i3.MatDialogModule, typeof i4.MatCommonModule, typeof i5.MatIconModule, typeof i6.SmartformModule, typeof i7.SmarttableModule, typeof i8.SmartIconModule], [typeof i1.SmartDialog]>;
|
|
13
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<SmartdialogModule>;
|
|
14
14
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ThemePalette } from
|
|
2
|
-
import { Subject } from
|
|
1
|
+
import { ThemePalette } from "@angular/material/core";
|
|
2
|
+
import { Subject } from "rxjs/internal/Subject";
|
|
3
3
|
export interface ExpandableSection<T> {
|
|
4
4
|
title: string;
|
|
5
5
|
headerComponent?: any;
|
|
@@ -10,11 +10,9 @@ export interface ExpandableSection<T> {
|
|
|
10
10
|
headerInputName?: string;
|
|
11
11
|
inputName?: string;
|
|
12
12
|
isExpanded?: boolean;
|
|
13
|
-
isDisabled?: boolean;
|
|
14
13
|
index?: number;
|
|
15
14
|
stateChanged?: Subject<ExpandableSectionStateChange<T>>;
|
|
16
15
|
cssClass?: string;
|
|
17
|
-
inputs?: Map<string, any>;
|
|
18
16
|
}
|
|
19
17
|
export interface ExpandableSectionStateChange<T> {
|
|
20
18
|
data: T;
|
|
@@ -4,12 +4,12 @@ import * as i2 from "./smart-filter/components/smart-filter-expression-field/sma
|
|
|
4
4
|
import * as i3 from "./smart-filter/components/smart-filter-simple/smart-filter-simple.component";
|
|
5
5
|
import * as i4 from "./smart-filter/components/smart-filter-simple/components/smart-filter-simple-field/smart-filter-simple-field.component";
|
|
6
6
|
import * as i5 from "@angular/platform-browser";
|
|
7
|
-
import * as i6 from "../
|
|
7
|
+
import * as i6 from "../smart-form/smartform.module";
|
|
8
8
|
import * as i7 from "@angular/material/menu";
|
|
9
9
|
import * as i8 from "@angular/material/icon";
|
|
10
10
|
import * as i9 from "@angular/material/button";
|
|
11
11
|
export declare class SmartFilterModule {
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartFilterModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartFilterModule, [typeof i1.SmartFilterComponent, typeof i2.SmartFilterExpressionFieldComponent, typeof i3.SmartFilterSimpleComponent, typeof i4.SmartFilterSimpleFieldComponent], [typeof i5.BrowserModule, typeof i6.
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartFilterModule, [typeof i1.SmartFilterComponent, typeof i2.SmartFilterExpressionFieldComponent, typeof i3.SmartFilterSimpleComponent, typeof i4.SmartFilterSimpleFieldComponent], [typeof i5.BrowserModule, typeof i6.SmartformModule, typeof i7.MatMenuModule, typeof i8.MatIconModule, typeof i9.MatButtonModule], [typeof i1.SmartFilterComponent]>;
|
|
14
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<SmartFilterModule>;
|
|
15
15
|
}
|
|
@@ -27,9 +27,6 @@ export interface FilterExpressionField {
|
|
|
27
27
|
label1: string;
|
|
28
28
|
label2?: string;
|
|
29
29
|
label3?: string;
|
|
30
|
-
placeholder1?: string;
|
|
31
|
-
placeholder2?: string;
|
|
32
|
-
placeholder3?: string;
|
|
33
30
|
icon?: string;
|
|
34
31
|
expressionData?: FilterExpressionData;
|
|
35
32
|
possibleOperations?: Array<FilterExpressionOperation>;
|
|
@@ -8,11 +8,12 @@ import * as i6 from "@angular/common";
|
|
|
8
8
|
import * as i7 from "../smart-icon/smart-icon.module";
|
|
9
9
|
import * as i8 from "../smart-expandable-section/smart-expandable-section.module";
|
|
10
10
|
import * as i9 from "../view-context/smart-view-context.module";
|
|
11
|
-
import * as i10 from "
|
|
12
|
-
import * as i11 from "
|
|
13
|
-
import * as i12 from "../
|
|
11
|
+
import * as i10 from "../smart-form/smartform.module";
|
|
12
|
+
import * as i11 from "@angular/material/button";
|
|
13
|
+
import * as i12 from "../smart-filter/smart-filter.module";
|
|
14
|
+
import * as i13 from "../shared/shared.module";
|
|
14
15
|
export declare class SmartFilterEditorModule {
|
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartFilterEditorModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartFilterEditorModule, [typeof i1.SmartFilterParamsComponent, typeof i2.SmartFilterParamComponent, typeof i3.SmartFilterEditorContentComponent, typeof i4.SmartFilterExpressionItemsComponent, typeof i5.SmartFilterExpressionItemComponent], [typeof i6.CommonModule, typeof i7.SmartIconModule, typeof i8.SmartExpandableSectionModule, typeof i9.SmartViewContextModule, typeof i10.
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartFilterEditorModule, [typeof i1.SmartFilterParamsComponent, typeof i2.SmartFilterParamComponent, typeof i3.SmartFilterEditorContentComponent, typeof i4.SmartFilterExpressionItemsComponent, typeof i5.SmartFilterExpressionItemComponent], [typeof i6.CommonModule, typeof i7.SmartIconModule, typeof i8.SmartExpandableSectionModule, typeof i9.SmartViewContextModule, typeof i10.SmartformModule, typeof i11.MatButtonModule, typeof i12.SmartFilterModule, typeof i10.SmartformModule, typeof i13.SharedModule], [typeof i1.SmartFilterParamsComponent, typeof i2.SmartFilterParamComponent, typeof i3.SmartFilterEditorContentComponent, typeof i4.SmartFilterExpressionItemsComponent, typeof i5.SmartFilterExpressionItemComponent]>;
|
|
17
18
|
static ɵinj: i0.ɵɵInjectorDeclaration<SmartFilterEditorModule>;
|
|
18
19
|
}
|
|
@@ -84,12 +84,4 @@ export interface SmartWidgetDefinition {
|
|
|
84
84
|
maxLength?: number;
|
|
85
85
|
valueChangeMode?: ValueChangeMode;
|
|
86
86
|
showCharacterLimitSuffix?: boolean;
|
|
87
|
-
/**
|
|
88
|
-
* The default error message to show if the widget features an autocompletion filter operation, which returns no elements.
|
|
89
|
-
*/
|
|
90
|
-
filterErrorMessage?: string;
|
|
91
|
-
/**
|
|
92
|
-
* Identifier of the toolbar associated with this widget.
|
|
93
|
-
*/
|
|
94
|
-
toolbarId?: string;
|
|
95
87
|
}
|
|
@@ -2,6 +2,7 @@ export * from './smartform.component';
|
|
|
2
2
|
export * from './widgets/smartformwidget/smartformwidget.component';
|
|
3
3
|
export * from './smartfileuploader/smartfileuploader.component';
|
|
4
4
|
export * from './smartfileuploader/smartfileuploader.model';
|
|
5
|
+
export * from './smartform.module';
|
|
5
6
|
export * from './smartform.model';
|
|
6
7
|
export * from './smartform.form-model';
|
|
7
8
|
export * from './services/smartform.layout-definition.service';
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import { OnChanges, OnDestroy, OnInit,
|
|
1
|
+
import { OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
3
|
import { Subject } from 'rxjs';
|
|
4
4
|
import { SmartFormWidgetDirection } from './api';
|
|
5
5
|
import { SmartFormService } from './services/smartform.service';
|
|
6
6
|
import { SmartForm, SmartFormInvalidFields, SophisticatedValueChange } from './smartform.model';
|
|
7
|
-
import { SmartFormWidget } from './
|
|
8
|
-
import { SmartformwidgetComponent } from './widgets/smartformwidget/smartformwidget.component';
|
|
9
|
-
import { UiActionToolbarComponent } from '../view-context/smart-ui-action/ui-action-toolbar.component';
|
|
7
|
+
import { SmartFormWidget } from './projects';
|
|
10
8
|
import * as i0 from "@angular/core";
|
|
11
9
|
export declare class SmartformComponent implements OnInit, OnDestroy, OnChanges {
|
|
12
10
|
private service;
|
|
@@ -18,7 +16,6 @@ export declare class SmartformComponent implements OnInit, OnDestroy, OnChanges
|
|
|
18
16
|
sophisticatedValueChange: Subject<SophisticatedValueChange>;
|
|
19
17
|
form: FormGroup;
|
|
20
18
|
direction: typeof SmartFormWidgetDirection;
|
|
21
|
-
smartWidgetsQL?: QueryList<SmartformwidgetComponent>;
|
|
22
19
|
constructor(service: SmartFormService);
|
|
23
20
|
ngOnChanges(changes: SimpleChanges): void;
|
|
24
21
|
ngOnInit(): void;
|
|
@@ -30,7 +27,6 @@ export declare class SmartformComponent implements OnInit, OnDestroy, OnChanges
|
|
|
30
27
|
submitForm(validate?: boolean): SmartForm;
|
|
31
28
|
keyDownFunction(event: any): void;
|
|
32
29
|
getModel(): any;
|
|
33
|
-
getToolbars(): UiActionToolbarComponent[];
|
|
34
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartformComponent, never>;
|
|
35
31
|
static ɵcmp: i0.ɵɵComponentDeclaration<SmartformComponent, "smartform", never, { "smartForm": "smartForm"; }, {}, never, never>;
|
|
36
32
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { QuillModules } from 'ngx-quill';
|
|
2
2
|
import { SelectionDefinition, SmartFormWidgetDirection, SmartFormWidgetType, SmartWidgetHint, ValueChangeMode } from './api';
|
|
3
3
|
import { SmartFormTextFieldButton, SmartFormWidgetWidth, SmartIndicator, SmartValidator, ToggleLabelPosition } from './smartform.model';
|
|
4
|
-
export declare type SmartFormWidget<T> = SmartTextField<T> | SmartTextFieldNumber<T> | SmartTextFieldChips<T> | SmartTextBox<T> | SmartSelect<T> | SmartSelectMultiple<T> | SmartCheckBox<T> | SmartCheckBox2<T> | SmartRadioButton<T> | SmartDatePicker<T> | SmartDateTimePicker<T> | SmartContainer<T> | SmartLabel | SmartTime<T> | SmartToggle<T> | SmartIndicatorItem | SmartFileUploader | SmartImage | SmartDivider | SmartButton | SmartFormInlineComponent | SmartRichText | SmartSortable<T> | SmartMatrix | SmartYoutubePlayer | SmartMonthPicker
|
|
4
|
+
export declare type SmartFormWidget<T> = SmartTextField<T> | SmartTextFieldNumber<T> | SmartTextFieldChips<T> | SmartTextBox<T> | SmartSelect<T> | SmartSelectMultiple<T> | SmartCheckBox<T> | SmartCheckBox2<T> | SmartRadioButton<T> | SmartDatePicker<T> | SmartDateTimePicker<T> | SmartContainer<T> | SmartLabel | SmartTime<T> | SmartToggle<T> | SmartIndicatorItem | SmartFileUploader | SmartImage | SmartDivider | SmartButton | SmartFormInlineComponent | SmartRichText | SmartSortable<T> | SmartMatrix | SmartYoutubePlayer | SmartMonthPicker;
|
|
5
5
|
export interface SmartTextField<T> {
|
|
6
6
|
type: SmartFormWidgetType.TEXT_FIELD;
|
|
7
7
|
key: string;
|
|
@@ -34,11 +34,9 @@ export interface SmartTextField<T> {
|
|
|
34
34
|
errorIconColor?: string;
|
|
35
35
|
valueList?: SmartItem<T>[];
|
|
36
36
|
selection?: SelectionDefinition;
|
|
37
|
-
filterErrorMessage?: string;
|
|
38
37
|
hint?: SmartWidgetHint;
|
|
39
38
|
maxLength?: number;
|
|
40
39
|
showCharacterLimitSuffix?: boolean;
|
|
41
|
-
toolbarId?: string;
|
|
42
40
|
}
|
|
43
41
|
export interface SmartTextFieldNumber<T> {
|
|
44
42
|
type: SmartFormWidgetType.TEXT_FIELD_NUMBER;
|
|
@@ -463,8 +461,6 @@ export interface SmartRichText {
|
|
|
463
461
|
errorIcon?: string;
|
|
464
462
|
errorIconColor?: string;
|
|
465
463
|
hint?: SmartWidgetHint;
|
|
466
|
-
maxLength?: number;
|
|
467
|
-
showCharacterLimitSuffix?: boolean;
|
|
468
464
|
}
|
|
469
465
|
export interface SmartSortable<T> {
|
|
470
466
|
type: SmartFormWidgetType.SORTABLE;
|
|
@@ -547,15 +543,3 @@ export interface SmartMonthPicker {
|
|
|
547
543
|
originalLabel?: string;
|
|
548
544
|
hint?: SmartWidgetHint;
|
|
549
545
|
}
|
|
550
|
-
export interface SmartSvg {
|
|
551
|
-
type: SmartFormWidgetType.SVG;
|
|
552
|
-
key: string;
|
|
553
|
-
valueChangeMode?: ValueChangeMode;
|
|
554
|
-
label: string;
|
|
555
|
-
originalLabel?: string;
|
|
556
|
-
showLabel?: boolean;
|
|
557
|
-
isVisible?: boolean;
|
|
558
|
-
cssClass?: string;
|
|
559
|
-
value?: string;
|
|
560
|
-
minWidth?: SmartFormWidgetWidth | number;
|
|
561
|
-
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./smartform.component";
|
|
3
|
+
import * as i2 from "./widgets/smartformwidget/smartformwidget.component";
|
|
4
|
+
import * as i3 from "./smartfileuploader/smartfileuploader.component";
|
|
5
|
+
import * as i4 from "./widgets/smartformwidget/trackCaps.directive";
|
|
6
|
+
import * as i5 from "./smartfileuploader/large-file-snack-bar/large-file-snack-bar.component";
|
|
7
|
+
import * as i6 from "./widgets/smartformwidget/sortable-widget/sortable-widget.component";
|
|
8
|
+
import * as i7 from "./widgets/components/smart-month-picker/smart-month-picker.component";
|
|
9
|
+
import * as i8 from "./highlightMacthingString-pipe";
|
|
10
|
+
import * as i9 from "@angular/platform-browser";
|
|
11
|
+
import * as i10 from "@angular/material/core";
|
|
12
|
+
import * as i11 from "@angular/material/chips";
|
|
13
|
+
import * as i12 from "@angular/forms";
|
|
14
|
+
import * as i13 from "@angular/material/form-field";
|
|
15
|
+
import * as i14 from "@angular/material/checkbox";
|
|
16
|
+
import * as i15 from "@angular/material/select";
|
|
17
|
+
import * as i16 from "@angular/material/button";
|
|
18
|
+
import * as i17 from "@angular/material/input";
|
|
19
|
+
import * as i18 from "@angular/material/icon";
|
|
20
|
+
import * as i19 from "@angular/material/datepicker";
|
|
21
|
+
import * as i20 from "@angular/material-moment-adapter";
|
|
22
|
+
import * as i21 from "@angular/material/radio";
|
|
23
|
+
import * as i22 from "@angular/material/slide-toggle";
|
|
24
|
+
import * as i23 from "../smart-icon/smart-icon.module";
|
|
25
|
+
import * as i24 from "@angular/material/snack-bar";
|
|
26
|
+
import * as i25 from "@angular/material/autocomplete";
|
|
27
|
+
import * as i26 from "ngx-mask";
|
|
28
|
+
import * as i27 from "ngx-quill";
|
|
29
|
+
import * as i28 from "@angular/cdk/drag-drop";
|
|
30
|
+
import * as i29 from "@angular/youtube-player";
|
|
31
|
+
export declare class SmartformModule {
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartformModule, never>;
|
|
33
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartformModule, [typeof i1.SmartformComponent, typeof i2.SmartformwidgetComponent, typeof i3.SmartfileuploaderComponent, typeof i4.TrackCapsDirective, typeof i5.LargeFileSnackBarComponent, typeof i6.SortableWidgetComponent, typeof i7.SmartMonthPickerComponent, typeof i8.HighlightPipe], [typeof i9.BrowserModule, typeof i10.MatCommonModule, typeof i11.MatChipsModule, typeof i12.FormsModule, typeof i12.ReactiveFormsModule, typeof i13.MatFormFieldModule, typeof i14.MatCheckboxModule, typeof i15.MatSelectModule, typeof i16.MatButtonModule, typeof i17.MatInputModule, typeof i18.MatIconModule, typeof i19.MatDatepickerModule, typeof i20.MatMomentDateModule, typeof i21.MatRadioModule, typeof i22.MatSlideToggleModule, typeof i23.SmartIconModule, typeof i24.MatSnackBarModule, typeof i25.MatAutocompleteModule, typeof i26.NgxMaskModule, typeof i27.QuillModule, typeof i28.DragDropModule, typeof i29.YouTubePlayerModule], [typeof i1.SmartformComponent, typeof i2.SmartformwidgetComponent, typeof i3.SmartfileuploaderComponent, typeof i8.HighlightPipe]>;
|
|
34
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SmartformModule>;
|
|
35
|
+
}
|
|
@@ -8,9 +8,6 @@ import { SmartFormWidgetType, SmartWidgetHintPositionEnum } from '../../api/mode
|
|
|
8
8
|
import { SmartFormService } from '../../services/smartform.service';
|
|
9
9
|
import { SmartButton, SmartFormWidget, SmartItem } from '../../smartform.form-model';
|
|
10
10
|
import { SmartFormTextFieldButtonIconPosition, SmartValidator, SophisticatedValueChange, Value } from '../../smartform.model';
|
|
11
|
-
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
12
|
-
import { ContentChange, QuillEditorComponent, QuillModules } from 'ngx-quill';
|
|
13
|
-
import { UiActionToolbarComponent } from '../../../view-context/smart-ui-action/ui-action-toolbar.component';
|
|
14
11
|
import * as i0 from "@angular/core";
|
|
15
12
|
export declare class SmartWidgetSettings {
|
|
16
13
|
static useUtc: boolean;
|
|
@@ -18,7 +15,6 @@ export declare class SmartWidgetSettings {
|
|
|
18
15
|
export declare class SmartformwidgetComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
19
16
|
private service;
|
|
20
17
|
private cfService;
|
|
21
|
-
private sanitizer;
|
|
22
18
|
private _destroy$;
|
|
23
19
|
hidePassword: boolean;
|
|
24
20
|
form: FormGroup;
|
|
@@ -38,13 +34,10 @@ export declare class SmartformwidgetComponent implements OnInit, OnDestroy, Afte
|
|
|
38
34
|
customComponentRef?: ComponentRef<any>;
|
|
39
35
|
filteredOptions?: Observable<SmartItem<any>[]>;
|
|
40
36
|
toHighlight: string;
|
|
41
|
-
quill?: QuillEditorComponent;
|
|
42
37
|
isEnterPressed: boolean;
|
|
43
38
|
isDatePickerRequired: boolean;
|
|
44
39
|
SmartWidgetHintPosition: typeof SmartWidgetHintPositionEnum;
|
|
45
|
-
|
|
46
|
-
emptyQuillToolbar: QuillModules;
|
|
47
|
-
constructor(service: SmartFormService, cfService: ComponentFactoryService, sanitizer: DomSanitizer);
|
|
40
|
+
constructor(service: SmartFormService, cfService: ComponentFactoryService);
|
|
48
41
|
ngOnInit(): void;
|
|
49
42
|
parseYoutubeUrl(url: string): string | false;
|
|
50
43
|
_hasJustChanged: boolean;
|
|
@@ -63,27 +56,6 @@ export declare class SmartformwidgetComponent implements OnInit, OnDestroy, Afte
|
|
|
63
56
|
ngOnDestroy(): void;
|
|
64
57
|
onKeydown(): void;
|
|
65
58
|
togglePasswordVisibility(event: any): void;
|
|
66
|
-
/**
|
|
67
|
-
* Change handler for the potentially present Quill editor, enforcing max length limits if
|
|
68
|
-
* necessary.
|
|
69
|
-
*
|
|
70
|
-
* @param change the {@link ContentChange} the Quill editor emits
|
|
71
|
-
* @returns {@code void}
|
|
72
|
-
*/
|
|
73
|
-
onRichTextEditorContentChanged(change: ContentChange): void;
|
|
74
|
-
/**
|
|
75
|
-
* Calculates the number of remaining user-space characters allowed to be entered into the Quill
|
|
76
|
-
* editor.
|
|
77
|
-
*
|
|
78
|
-
* <p>
|
|
79
|
-
* The real length of the editor's content may be much longer - as it is persisted as an HTML
|
|
80
|
-
* document fragment behind the scenes. This method is concerned by the number of characters the
|
|
81
|
-
* user perceives.
|
|
82
|
-
*
|
|
83
|
-
* @returns the {@link number} of remaining permitted characters the user may input, or {@code -1}
|
|
84
|
-
* if the leeway is not interpreted in the component's current state
|
|
85
|
-
*/
|
|
86
|
-
getRichTextEditorLengthLeeway(): number;
|
|
87
59
|
addOnBlur: boolean;
|
|
88
60
|
readonly separatorKeysCodes: readonly [13, 188];
|
|
89
61
|
add(event: MatChipInputEvent): void;
|
|
@@ -93,7 +65,6 @@ export declare class SmartformwidgetComponent implements OnInit, OnDestroy, Afte
|
|
|
93
65
|
smartFormTextFieldButtonIconPosition(): typeof SmartFormTextFieldButtonIconPosition;
|
|
94
66
|
getType(): typeof SmartFormWidgetType;
|
|
95
67
|
getWidgetLabel(widget: SmartFormWidget<any>): string;
|
|
96
|
-
getWidgetSvg(value?: string): SafeHtml | null;
|
|
97
68
|
private fieldIsRequired;
|
|
98
69
|
hasCustomError(widget: SmartFormWidget<any>, validator: SmartValidator): boolean;
|
|
99
70
|
getErrorMessage(widgetInstance: SmartFormWidget<any>): boolean;
|
|
@@ -111,7 +82,6 @@ export declare class SmartformwidgetComponent implements OnInit, OnDestroy, Afte
|
|
|
111
82
|
compareItems(o1: any, o2: any): boolean;
|
|
112
83
|
truncateUri(uri: any): any;
|
|
113
84
|
removeMatrixRow(question: any): void;
|
|
114
|
-
isToolbarPresent(): boolean;
|
|
115
85
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartformwidgetComponent, never>;
|
|
116
86
|
static ɵcmp: i0.ɵɵComponentDeclaration<SmartformwidgetComponent, "smartformwidget", never, { "form": "form"; "widgetInstance": "widgetInstance"; "onBlur": "onBlur"; "onValueChange": "onValueChange"; "labelColor": "labelColor"; "sophisticatedValueChange": "sophisticatedValueChange"; }, {}, never, never>;
|
|
117
87
|
}
|
|
@@ -14,10 +14,6 @@ export interface GridColumnMeta {
|
|
|
14
14
|
label: string;
|
|
15
15
|
propertyName: string;
|
|
16
16
|
typeClass?: string;
|
|
17
|
-
/**
|
|
18
|
-
* The format instruction for the column. This format string must be JavaScript format stringh for Angular.
|
|
19
|
-
*/
|
|
20
|
-
typeFormat?: string;
|
|
21
17
|
alwaysHidden?: boolean;
|
|
22
18
|
alwaysShow?: boolean;
|
|
23
19
|
contentType?: GridColumnContentType;
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { GridUpdateData } from './gridUpdateData';
|
|
13
12
|
import { GridRow } from './gridRow';
|
|
14
13
|
/**
|
|
15
14
|
* This object represents the server model of a grid component.
|
|
@@ -18,5 +17,4 @@ export interface GridServerModel {
|
|
|
18
17
|
selectedRows: {
|
|
19
18
|
[key: string]: GridRow;
|
|
20
19
|
};
|
|
21
|
-
defaultGridData?: GridUpdateData;
|
|
22
20
|
}
|
|
@@ -19,7 +19,6 @@ export declare class SmartGridComponent implements AfterViewInit, OnDestroy, OnC
|
|
|
19
19
|
private cfService;
|
|
20
20
|
private dialog;
|
|
21
21
|
private uiActionDescriptorService;
|
|
22
|
-
private gridMenuIcon?;
|
|
23
22
|
private readonly defaultPageSizeOptions;
|
|
24
23
|
private _destroy$;
|
|
25
24
|
smartGrid?: SmartGrid;
|
|
@@ -46,7 +45,7 @@ export declare class SmartGridComponent implements AfterViewInit, OnDestroy, OnC
|
|
|
46
45
|
treeFlattener?: MatTreeFlattener<GridRow, GridRow>;
|
|
47
46
|
treeDataSource?: MatTreeFlatDataSource<GridRow, GridRow>;
|
|
48
47
|
treeChecklistSelection?: SelectionModel<GridRow>;
|
|
49
|
-
constructor(service: SmartGridService, cfService: ComponentFactoryService, dialog: MatDialog, uiActionDescriptorService: UiActionDescriptorService
|
|
48
|
+
constructor(service: SmartGridService, cfService: ComponentFactoryService, dialog: MatDialog, uiActionDescriptorService: UiActionDescriptorService);
|
|
50
49
|
ngOnChanges(changes: SimpleChanges): void;
|
|
51
50
|
ngOnDestroy(): void;
|
|
52
51
|
ngAfterViewInit(): void;
|
|
@@ -13,10 +13,11 @@ import * as i11 from "@angular/material/tree";
|
|
|
13
13
|
import * as i12 from "@angular/material/checkbox";
|
|
14
14
|
import * as i13 from "../smart-expandable-section/smart-expandable-section.module";
|
|
15
15
|
import * as i14 from "@angular/cdk/drag-drop";
|
|
16
|
-
import * as i15 from "
|
|
17
|
-
import * as i16 from "
|
|
16
|
+
import * as i15 from "../smart-form/smartform.module";
|
|
17
|
+
import * as i16 from "@angular/material/select";
|
|
18
|
+
import * as i17 from "../view-context/smart-view-context.module";
|
|
18
19
|
export declare class SmartGridModule {
|
|
19
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartGridModule, never>;
|
|
20
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartGridModule, [typeof i1.SmartGridComponent, typeof i2.SmartGridCardComponent, typeof i3.ExpandableGridComponent, typeof i4.TableLayoutDefinerComponent], [typeof i5.BrowserModule, typeof i6.SmartIconModule, typeof i7.SmarttableModule, typeof i8.MatIconModule, typeof i9.MatButtonModule, typeof i10.MatPaginatorModule, typeof i11.MatTreeModule, typeof i12.MatCheckboxModule, typeof i13.SmartExpandableSectionModule, typeof i14.DragDropModule, typeof i15.
|
|
21
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartGridModule, [typeof i1.SmartGridComponent, typeof i2.SmartGridCardComponent, typeof i3.ExpandableGridComponent, typeof i4.TableLayoutDefinerComponent], [typeof i5.BrowserModule, typeof i6.SmartIconModule, typeof i7.SmarttableModule, typeof i8.MatIconModule, typeof i9.MatButtonModule, typeof i10.MatPaginatorModule, typeof i11.MatTreeModule, typeof i12.MatCheckboxModule, typeof i13.SmartExpandableSectionModule, typeof i14.DragDropModule, typeof i15.SmartformModule, typeof i16.MatSelectModule, typeof i17.SmartViewContextModule], [typeof i1.SmartGridComponent]>;
|
|
21
22
|
static ɵinj: i0.ɵɵInjectorDeclaration<SmartGridModule>;
|
|
22
23
|
}
|
|
@@ -10,9 +10,9 @@ import * as i8 from "@angular/material/menu";
|
|
|
10
10
|
import * as i9 from "@angular/forms";
|
|
11
11
|
import * as i10 from "@angular/material/form-field";
|
|
12
12
|
import * as i11 from "@angular/material/badge";
|
|
13
|
-
import * as i12 from "../
|
|
13
|
+
import * as i12 from "../smart-form/smartform.module";
|
|
14
14
|
export declare class SmartNavbarModule {
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartNavbarModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartNavbarModule, [typeof i1.SmartNavbarComponent], [typeof i2.BrowserModule, typeof i3.MatCommonModule, typeof i4.MatButtonModule, typeof i5.MatToolbarModule, typeof i6.MatInputModule, typeof i7.MatIconModule, typeof i8.MatMenuModule, typeof i9.FormsModule, typeof i9.ReactiveFormsModule, typeof i10.MatFormFieldModule, typeof i11.MatBadgeModule, typeof i12.
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartNavbarModule, [typeof i1.SmartNavbarComponent], [typeof i2.BrowserModule, typeof i3.MatCommonModule, typeof i4.MatButtonModule, typeof i5.MatToolbarModule, typeof i6.MatInputModule, typeof i7.MatIconModule, typeof i8.MatMenuModule, typeof i9.FormsModule, typeof i9.ReactiveFormsModule, typeof i10.MatFormFieldModule, typeof i11.MatBadgeModule, typeof i12.SmartformModule], [typeof i1.SmartNavbarComponent]>;
|
|
17
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<SmartNavbarModule>;
|
|
18
18
|
}
|