@coolon/angular-ui-powerups 16.1.0-aplpha.149 → 16.1.0-aplpha.15
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/assets/activities/input-activities.scss +6 -14
- package/assets/form.scss +27 -74
- package/assets/icons.scss +0 -1
- package/assets/styles.scss +0 -2
- package/assets/table.scss +27 -47
- package/assets/tabs.scss +5 -15
- package/esm2022/lib/animations/slide-animations.mjs +10 -15
- package/esm2022/lib/components/cards/card-container/card-container.component.mjs +4 -4
- package/esm2022/lib/components/commands/command/command.component.mjs +29 -34
- package/esm2022/lib/components/commands/command-face/command-face.component.mjs +3 -11
- package/esm2022/lib/components/commands/command-face.mjs +11 -12
- package/esm2022/lib/components/commands/group/popup-aware.component.mjs +8 -31
- package/esm2022/lib/components/commands/group/popup-menu/abstract-popup-menu.component.mjs +23 -25
- package/esm2022/lib/components/commands/group/popup-menu/more-menu.component.mjs +20 -11
- package/esm2022/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.mjs +7 -12
- package/esm2022/lib/components/commands/group/popup-menu/popup-menu.component.mjs +20 -11
- package/esm2022/lib/components/commands/group/tool-bar/tool-bar.component.mjs +6 -8
- package/esm2022/lib/components/commands/separator.component.mjs +12 -6
- package/esm2022/lib/components/components.module.mjs +19 -44
- package/esm2022/lib/components/disposable-component.mjs +7 -32
- package/esm2022/lib/components/exports.mjs +2 -10
- package/esm2022/lib/components/forms/abstract-input.component.mjs +12 -55
- package/esm2022/lib/components/forms/autocomplete-input/autocomplete-input.component.mjs +2 -2
- package/esm2022/lib/components/forms/checkbox-input/checkbox-input.component.mjs +6 -8
- package/esm2022/lib/components/forms/multiple-select-input/multiple-select-input.component.mjs +2 -2
- package/esm2022/lib/components/forms/number-input/number-input.component.mjs +9 -84
- package/esm2022/lib/components/forms/password-input/password-input.component.mjs +3 -40
- package/esm2022/lib/components/forms/select-input/select-input.component.mjs +10 -11
- package/esm2022/lib/components/forms/string-input/string-input.component.mjs +10 -26
- package/esm2022/lib/components/forms/text-input/text-input.component.mjs +2 -6
- package/esm2022/lib/components/icon/icon.component.mjs +4 -7
- package/esm2022/lib/components/loadable-component.mjs +2 -4
- package/esm2022/lib/components/resize-aware.component.mjs +24 -61
- package/esm2022/lib/components/switch-case/switch-case.component.mjs +7 -5
- package/esm2022/lib/components/tables/abstract-table-model.mjs +47 -77
- package/esm2022/lib/components/tables/abstract-table.component.mjs +5 -19
- package/esm2022/lib/components/tables/column/column-list-model.mjs +44 -0
- package/esm2022/lib/components/tables/column/column-model.mjs +6 -16
- package/esm2022/lib/components/tables/column/custom-template-column-model.mjs +3 -3
- package/esm2022/lib/components/tables/column/custom-value-column-model.mjs +3 -3
- package/esm2022/lib/components/tables/column/editor-controls-column-model.mjs +3 -3
- package/esm2022/lib/components/tables/column/list-propery-column-model.mjs +3 -3
- package/esm2022/lib/components/tables/column/property-column-model.mjs +3 -3
- package/esm2022/lib/components/tables/column/selection-column-model.mjs +13 -35
- package/esm2022/lib/components/tables/editor/edit-row-controls/edit-row-controls.component.mjs +2 -2
- package/esm2022/lib/components/tables/editor/edit-session.mjs +1 -3
- package/esm2022/lib/components/tables/filter/table-filter-model.mjs +2 -4
- package/esm2022/lib/components/tables/filter/text-search-predicate.mjs +2 -16
- package/esm2022/lib/components/tables/paginator/paginator.component.mjs +1 -1
- package/esm2022/lib/components/tables/renderer/cell-portal-ref.mjs +5 -23
- package/esm2022/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.mjs +3 -3
- package/esm2022/lib/components/tables/renderer/select-header-cell/selection-header-cell.component.mjs +2 -3
- package/esm2022/lib/components/tables/renderer/table-body/table-body.component.mjs +40 -150
- package/esm2022/lib/components/tables/renderer/table-cell/table-cell.component.mjs +6 -6
- package/esm2022/lib/components/tables/renderer/table-more-menu/table-more-menu-popup/table-more-menu-popup.component.mjs +5 -12
- package/esm2022/lib/components/tables/renderer/table-more-menu/table-more-menu.component.mjs +2 -7
- package/esm2022/lib/components/tables/table/table-model.mjs +3 -12
- package/esm2022/lib/components/tables/table/table.component.mjs +61 -39
- package/esm2022/lib/components/tables/tree-table/decorated-tree-node.mjs +4 -5
- package/esm2022/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.mjs +1 -1
- package/esm2022/lib/components/tables/tree-table/tree-label-column-model.mjs +3 -3
- package/esm2022/lib/components/tables/tree-table/tree-table-component.mjs +5 -12
- package/esm2022/lib/components/tables/tree-table/tree-table-model.mjs +7 -4
- package/esm2022/lib/components/text/markdown/markdown.component.mjs +2 -2
- package/esm2022/lib/directives/command.directive.mjs +7 -18
- package/esm2022/lib/directives/directives.module.mjs +1 -1
- package/esm2022/lib/directives/exports.mjs +1 -2
- package/esm2022/lib/directives/highlight.pipe.mjs +7 -9
- package/esm2022/lib/interaction/activity.mjs +21 -20
- package/esm2022/lib/interaction/alert.mjs +2 -2
- package/esm2022/lib/interaction/components/abstract-confirm-dialog.component.mjs +8 -11
- package/esm2022/lib/interaction/components/abstract-dialog.component.mjs +41 -1
- package/esm2022/lib/interaction/components/activity-actions/activity-actions.component.mjs +16 -28
- package/esm2022/lib/interaction/components/activity-container/activity-container.component.mjs +11 -36
- package/esm2022/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.mjs +15 -53
- package/esm2022/lib/interaction/components/activity-title/activity-title.component.mjs +4 -4
- package/esm2022/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.mjs +1 -1
- package/esm2022/lib/interaction/components/add-card-activity/add-card-activity.component.mjs +1 -1
- package/esm2022/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.mjs +1 -1
- package/esm2022/lib/interaction/components/alert-dialog/alert-dialog.component.mjs +10 -10
- package/esm2022/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.mjs +8 -4
- package/esm2022/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.mjs +8 -4
- package/esm2022/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.mjs +9 -7
- package/esm2022/lib/interaction/components/editors/edit-context.mjs +1 -1
- package/esm2022/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.mjs +3 -3
- package/esm2022/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.mjs +5 -21
- package/esm2022/lib/interaction/components/input-activities/input-activity.mjs +2 -2
- package/esm2022/lib/interaction/components/input-activities/select-input-activity.mjs +2 -4
- package/esm2022/lib/interaction/components/input-activities/string-input-activity.mjs +4 -8
- package/esm2022/lib/interaction/confirm.mjs +2 -26
- package/esm2022/lib/interaction/directives/interaction-context-trigger-for.directive.mjs +2 -2
- package/esm2022/lib/interaction/exports.mjs +1 -6
- package/esm2022/lib/interaction/interaction-context.mjs +2 -3
- package/esm2022/lib/interaction/interaction.module.mjs +14 -22
- package/esm2022/lib/interaction/services/interaction-service-routing-adapter.mjs +4 -4
- package/esm2022/lib/interaction/services/interaction.service.mjs +6 -18
- package/esm2022/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.mjs +2 -7
- package/esm2022/lib/place/components/list-place-nav/list-place-nav.component.mjs +4 -3
- package/esm2022/lib/place/components/place-outlet/place-outlet.component.mjs +9 -7
- package/esm2022/lib/place/components/side-place-navigation/side-place-navigation.component.mjs +2 -2
- package/esm2022/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.mjs +1 -1
- package/esm2022/lib/place/guards/consolidated-param-map.mjs +4 -4
- package/esm2022/lib/place/guards/place.guard.mjs +5 -6
- package/esm2022/lib/place/navigation/place-component-deactivation-handler.mjs +2 -2
- package/esm2022/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.mjs +6 -3
- package/esm2022/lib/place/navigation/session/navigation-session.mjs +2 -2
- package/esm2022/lib/place/place-auth-service.mjs +5 -5
- package/esm2022/lib/place/place-component.mjs +19 -29
- package/esm2022/lib/place/place-definition.mjs +4 -15
- package/esm2022/lib/place/place-history.mjs +2 -2
- package/esm2022/lib/place/place-router.mjs +20 -22
- package/esm2022/lib/place/place.decorator.mjs +2 -2
- package/esm2022/lib/place/place.module.mjs +5 -1
- package/esm2022/lib/place/route/formatter.mjs +2 -2
- package/esm2022/lib/place/route/parameter-decorators.mjs +50 -54
- package/esm2022/lib/place/route/parameter-definition.mjs +2 -2
- package/esm2022/lib/place/url-snapshot.mjs +3 -3
- package/esm2022/lib/place/visit-segment.mjs +2 -2
- package/esm2022/lib/place/visit.mjs +2 -2
- package/fesm2022/coolon-angular-ui-powerups.mjs +999 -2220
- package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/animations/slide-animations.d.ts +0 -1
- package/lib/components/cards/card-container/card-container.component.d.ts +1 -1
- package/lib/components/commands/command/command.component.d.ts +8 -8
- package/lib/components/commands/command-face/command-face.component.d.ts +0 -2
- package/lib/components/commands/command-face.d.ts +9 -8
- package/lib/components/commands/group/popup-aware.component.d.ts +4 -9
- package/lib/components/commands/group/popup-menu/abstract-popup-menu.component.d.ts +4 -4
- package/lib/components/commands/group/popup-menu/more-menu.component.d.ts +4 -2
- package/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.d.ts +0 -2
- package/lib/components/commands/group/popup-menu/popup-menu.component.d.ts +4 -2
- package/lib/components/commands/group/tool-bar/tool-bar.component.d.ts +1 -1
- package/lib/components/commands/separator.component.d.ts +4 -2
- package/lib/components/components.module.d.ts +53 -58
- package/lib/components/disposable-component.d.ts +3 -16
- package/lib/components/exports.d.ts +1 -9
- package/lib/components/forms/abstract-input.component.d.ts +5 -13
- package/lib/components/forms/checkbox-input/checkbox-input.component.d.ts +0 -2
- package/lib/components/forms/number-input/number-input.component.d.ts +4 -16
- package/lib/components/forms/password-input/password-input.component.d.ts +1 -7
- package/lib/components/forms/select-input/select-input.component.d.ts +3 -4
- package/lib/components/forms/string-input/string-input.component.d.ts +1 -6
- package/lib/components/forms/text-input/text-input.component.d.ts +0 -3
- package/lib/components/loadable-component.d.ts +2 -5
- package/lib/components/resize-aware.component.d.ts +5 -24
- package/lib/components/switch-case/switch-case.component.d.ts +3 -2
- package/lib/components/tables/abstract-table-model.d.ts +11 -29
- package/lib/components/tables/abstract-table.component.d.ts +3 -4
- package/lib/components/tables/column/column-list-model.d.ts +13 -0
- package/lib/components/tables/column/column-model.d.ts +3 -7
- package/lib/components/tables/column/custom-template-column-model.d.ts +2 -3
- package/lib/components/tables/column/custom-value-column-model.d.ts +2 -3
- package/lib/components/tables/column/editor-controls-column-model.d.ts +2 -3
- package/lib/components/tables/column/list-propery-column-model.d.ts +2 -3
- package/lib/components/tables/column/property-column-model.d.ts +2 -3
- package/lib/components/tables/column/selection-column-model.d.ts +4 -10
- package/lib/components/tables/editor/edit-row-controls/edit-row-controls.component.d.ts +1 -1
- package/lib/components/tables/editor/edit-session.d.ts +1 -1
- package/lib/components/tables/filter/text-search-predicate.d.ts +0 -9
- package/lib/components/tables/renderer/cell-portal-ref.d.ts +12 -20
- package/lib/components/tables/renderer/table-body/table-body.component.d.ts +16 -40
- package/lib/components/tables/renderer/table-cell/table-cell.component.d.ts +3 -2
- package/lib/components/tables/renderer/table-more-menu/table-more-menu-popup/table-more-menu-popup.component.d.ts +2 -5
- package/lib/components/tables/renderer/table-more-menu/table-more-menu.component.d.ts +1 -2
- package/lib/components/tables/table/table-model.d.ts +4 -4
- package/lib/components/tables/table/table.component.d.ts +10 -14
- package/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.d.ts +1 -1
- package/lib/components/tables/tree-table/tree-label-column-model.d.ts +2 -3
- package/lib/components/tables/tree-table/tree-table-component.d.ts +0 -3
- package/lib/components/tables/tree-table/tree-table-model.d.ts +5 -4
- package/lib/directives/command.directive.d.ts +4 -6
- package/lib/directives/exports.d.ts +0 -1
- package/lib/interaction/activity.d.ts +7 -7
- package/lib/interaction/components/abstract-confirm-dialog.component.d.ts +1 -2
- package/lib/interaction/components/abstract-dialog.component.d.ts +14 -5
- package/lib/interaction/components/activity-actions/activity-actions.component.d.ts +9 -12
- package/lib/interaction/components/activity-container/activity-container.component.d.ts +3 -8
- package/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.d.ts +3 -3
- package/lib/interaction/components/activity-title/activity-title.component.d.ts +1 -1
- package/lib/interaction/components/alert-dialog/alert-dialog.component.d.ts +1 -6
- package/lib/interaction/components/editors/edit-context.d.ts +1 -1
- package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +3 -5
- package/lib/interaction/confirm.d.ts +0 -4
- package/lib/interaction/exports.d.ts +0 -5
- package/lib/interaction/interaction-context.d.ts +0 -5
- package/lib/interaction/interaction.module.d.ts +33 -35
- package/lib/interaction/services/interaction-service-routing-adapter.d.ts +2 -2
- package/lib/interaction/services/interaction.service.d.ts +1 -2
- package/lib/place/components/place-outlet/place-outlet.component.d.ts +4 -3
- package/lib/place/place-auth-service.d.ts +4 -4
- package/lib/place/place-component.d.ts +5 -7
- package/lib/place/place-definition.d.ts +0 -2
- package/lib/place/place-router.d.ts +2 -6
- package/lib/place/place.module.d.ts +5 -4
- package/package.json +4 -6
- package/assets/draw.scss +0 -20
- package/assets/layout.scss +0 -3
- package/esm2022/lib/components/commands/button-renderer/button-renderer.component.mjs +0 -115
- package/esm2022/lib/components/file/file-download/file-download.component.mjs +0 -78
- package/esm2022/lib/components/forms/form-field.mjs +0 -2
- package/esm2022/lib/components/forms/search-input/search-input.component.mjs +0 -33
- package/esm2022/lib/components/tables/column/column-manager.mjs +0 -81
- package/esm2022/lib/components/tables/column/column-order-manager.mjs +0 -19
- package/esm2022/lib/components/tables/footer/footer-row-model.mjs +0 -38
- package/esm2022/lib/components/tables/renderer/abstract-cell-renderer.mjs +0 -7
- package/esm2022/lib/components/tables/renderer/table-footer-row/table-footer-row.component.mjs +0 -30
- package/esm2022/lib/directives/resize-observer.directive.mjs +0 -40
- package/esm2022/lib/interaction/activity-context.mjs +0 -4
- package/esm2022/lib/interaction/components/alert-renderer/alert-renderer.component.mjs +0 -55
- package/esm2022/lib/interaction/components/confirm-renderer/confirm-renderer.component.mjs +0 -54
- package/esm2022/lib/interaction/components/slide-down-interaction-context/slide-down-interaction-context.component.mjs +0 -134
- package/esm2022/lib/interaction/interaction-context-provider.mjs +0 -17
- package/lib/components/commands/button-renderer/button-renderer.component.d.ts +0 -30
- package/lib/components/file/file-download/file-download.component.d.ts +0 -43
- package/lib/components/forms/form-field.d.ts +0 -5
- package/lib/components/forms/search-input/search-input.component.d.ts +0 -10
- package/lib/components/tables/column/column-manager.d.ts +0 -19
- package/lib/components/tables/column/column-order-manager.d.ts +0 -20
- package/lib/components/tables/footer/footer-row-model.d.ts +0 -22
- package/lib/components/tables/renderer/abstract-cell-renderer.d.ts +0 -6
- package/lib/components/tables/renderer/table-footer-row/table-footer-row.component.d.ts +0 -11
- package/lib/directives/resize-observer.directive.d.ts +0 -16
- package/lib/interaction/activity-context.d.ts +0 -9
- package/lib/interaction/components/alert-renderer/alert-renderer.component.d.ts +0 -17
- package/lib/interaction/components/confirm-renderer/confirm-renderer.component.d.ts +0 -15
- package/lib/interaction/components/slide-down-interaction-context/slide-down-interaction-context.component.d.ts +0 -53
- package/lib/interaction/interaction-context-provider.d.ts +0 -11
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export class InteractionContextProvider {
|
|
2
|
-
static forActivity(activity) {
|
|
3
|
-
return new class extends InteractionContextProvider {
|
|
4
|
-
getInteractionContext() {
|
|
5
|
-
return activity.interactionContext;
|
|
6
|
-
}
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
static forInteractionContext(interactionContext) {
|
|
10
|
-
return new class extends InteractionContextProvider {
|
|
11
|
-
getInteractionContext() {
|
|
12
|
-
return interactionContext;
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJhY3Rpb24tY29udGV4dC1wcm92aWRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYW5ndWxhci11aS1wb3dlcnVwcy9zcmMvbGliL2ludGVyYWN0aW9uL2ludGVyYWN0aW9uLWNvbnRleHQtcHJvdmlkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR0EsTUFBTSxPQUFnQiwwQkFBMEI7SUFDOUMsTUFBTSxDQUFDLFdBQVcsQ0FBQyxRQUE0QjtRQUM3QyxPQUFPLElBQUksS0FBTSxTQUFRLDBCQUEwQjtZQUNqRCxxQkFBcUI7Z0JBQ25CLE9BQU8sUUFBUSxDQUFDLGtCQUFrQixDQUFDO1lBQ3JDLENBQUM7U0FDRixDQUFBO0lBQ0gsQ0FBQztJQUNELE1BQU0sQ0FBQyxxQkFBcUIsQ0FBQyxrQkFBc0M7UUFDakUsT0FBTyxJQUFJLEtBQU0sU0FBUSwwQkFBMEI7WUFDakQscUJBQXFCO2dCQUNuQixPQUFPLGtCQUFrQixDQUFDO1lBQzVCLENBQUM7U0FDRixDQUFBO0lBQ0gsQ0FBQztDQUVGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtBY3Rpdml0eX0gZnJvbSBcIi4vYWN0aXZpdHlcIjtcbmltcG9ydCB7SW50ZXJhY3Rpb25Db250ZXh0fSBmcm9tIFwiLi9pbnRlcmFjdGlvbi1jb250ZXh0XCI7XG5cbmV4cG9ydCBhYnN0cmFjdCBjbGFzcyBJbnRlcmFjdGlvbkNvbnRleHRQcm92aWRlciB7XG4gIHN0YXRpYyBmb3JBY3Rpdml0eShhY3Rpdml0eTogQWN0aXZpdHk8YW55LCBhbnk+KSB7XG4gICAgcmV0dXJuIG5ldyBjbGFzcyBleHRlbmRzIEludGVyYWN0aW9uQ29udGV4dFByb3ZpZGVyIHtcbiAgICAgIGdldEludGVyYWN0aW9uQ29udGV4dCgpOiBJbnRlcmFjdGlvbkNvbnRleHQge1xuICAgICAgICByZXR1cm4gYWN0aXZpdHkuaW50ZXJhY3Rpb25Db250ZXh0O1xuICAgICAgfVxuICAgIH1cbiAgfVxuICBzdGF0aWMgZm9ySW50ZXJhY3Rpb25Db250ZXh0KGludGVyYWN0aW9uQ29udGV4dDogSW50ZXJhY3Rpb25Db250ZXh0KSB7XG4gICAgcmV0dXJuIG5ldyBjbGFzcyBleHRlbmRzIEludGVyYWN0aW9uQ29udGV4dFByb3ZpZGVyIHtcbiAgICAgIGdldEludGVyYWN0aW9uQ29udGV4dCgpOiBJbnRlcmFjdGlvbkNvbnRleHQge1xuICAgICAgICByZXR1cm4gaW50ZXJhY3Rpb25Db250ZXh0O1xuICAgICAgfVxuICAgIH1cbiAgfVxuICBhYnN0cmFjdCBnZXRJbnRlcmFjdGlvbkNvbnRleHQoKTogSW50ZXJhY3Rpb25Db250ZXh0XG59XG5cblxuIl19
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { MatButton } from "@angular/material/button";
|
|
2
|
-
import { ThemePalette } from "@angular/material/core";
|
|
3
|
-
import { MatMenuItem } from "@angular/material/menu";
|
|
4
|
-
import { BooleanValueModelChain, CommandFace, ListModel, ValueModel, ValueModelChain } from "@coolon/pectin";
|
|
5
|
-
import { HorizontalAlignment } from "../../alignment";
|
|
6
|
-
import { CommandFace as CommandFaceUtils } from '../command-face';
|
|
7
|
-
import { PopupAwareComponent } from "../group/popup-aware.component";
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class ButtonRendererComponent extends PopupAwareComponent {
|
|
10
|
-
accessor faces$: ListModel<CommandFace>;
|
|
11
|
-
accessor faces: CommandFace[];
|
|
12
|
-
accessor enabled$: ValueModel<boolean>;
|
|
13
|
-
accessor enabled: boolean;
|
|
14
|
-
accessor busy$: ValueModel<boolean>;
|
|
15
|
-
accessor busy: boolean;
|
|
16
|
-
alignFace: HorizontalAlignment;
|
|
17
|
-
forceRenderAsButton: boolean;
|
|
18
|
-
matControl: MatMenuItem | MatButton;
|
|
19
|
-
readonly buttonStyle$: ValueModelChain<string>;
|
|
20
|
-
readonly color$: ValueModelChain<ThemePalette>;
|
|
21
|
-
private activeFace$;
|
|
22
|
-
readonly iconOnly$: BooleanValueModelChain;
|
|
23
|
-
readonly tooltip$: ValueModelChain<string>;
|
|
24
|
-
CommandFaceUtils: typeof CommandFaceUtils;
|
|
25
|
-
constructor();
|
|
26
|
-
get renderAsMenuItem(): boolean;
|
|
27
|
-
focus(): void;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonRendererComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonRendererComponent, "aup-button-renderer", never, { "faces$": { "alias": "faces$"; "required": false; }; "faces": { "alias": "faces"; "required": false; }; "enabled$": { "alias": "enabled$"; "required": false; }; "enabled": { "alias": "enabled"; "required": false; }; "busy$": { "alias": "busy$"; "required": false; }; "busy": { "alias": "busy"; "required": false; }; "alignFace": { "alias": "alignFace"; "required": false; }; "forceRenderAsButton": { "alias": "forceRenderAsButton"; "required": false; }; }, {}, never, never, false, never>;
|
|
30
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { ThemePalette } from "@angular/material/core";
|
|
2
|
-
import { CommandFace, ListModel, ValueModel, ValueModelChain } from '@coolon/pectin';
|
|
3
|
-
import { HorizontalAlignment } from "../../alignment";
|
|
4
|
-
import { CommandFace as CommandFaceUtil } from '../../commands/command-face';
|
|
5
|
-
import { PopupAwareComponent } from '../../commands/group/popup-aware.component';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
*
|
|
9
|
-
*/
|
|
10
|
-
export declare class FileDownloadComponent extends PopupAwareComponent {
|
|
11
|
-
protected readonly CommandFaceUtil: typeof CommandFaceUtil;
|
|
12
|
-
accessor download$: ValueModel<FileDownloadComponent.DownloadInfo>;
|
|
13
|
-
accessor download: FileDownloadComponent.DownloadInfo;
|
|
14
|
-
alignFace: HorizontalAlignment;
|
|
15
|
-
readonly faces$: ListModel<FileDownloadComponent.DownloadInfo>;
|
|
16
|
-
protected readonly buttonStyle$: ValueModelChain<string>;
|
|
17
|
-
protected readonly color$: ValueModelChain<ThemePalette>;
|
|
18
|
-
protected readonly tooltip$: ValueModelChain<string>;
|
|
19
|
-
constructor();
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FileDownloadComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileDownloadComponent, "aup-file-download", never, { "download$": { "alias": "download$"; "required": false; }; "download": { "alias": "download"; "required": false; }; "alignFace": { "alias": "alignFace"; "required": false; }; }, {}, never, never, false, never>;
|
|
22
|
-
}
|
|
23
|
-
export declare namespace FileDownloadComponent {
|
|
24
|
-
function createInfo(options: {
|
|
25
|
-
face: CommandFace;
|
|
26
|
-
url: string;
|
|
27
|
-
saveAs: string;
|
|
28
|
-
}): {
|
|
29
|
-
text?(): string;
|
|
30
|
-
icon?(): string;
|
|
31
|
-
iconPosition?(): string;
|
|
32
|
-
tooltip?(): string;
|
|
33
|
-
color?(): string;
|
|
34
|
-
style?(): string;
|
|
35
|
-
face: CommandFace;
|
|
36
|
-
url: string;
|
|
37
|
-
saveAs: string;
|
|
38
|
-
};
|
|
39
|
-
interface DownloadInfo extends CommandFace {
|
|
40
|
-
saveAs: string;
|
|
41
|
-
url: string;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Command } from '@coolon/pectin';
|
|
2
|
-
import { AbstractValueInputComponent } from '../abstract-value-input.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SearchInputComponent extends AbstractValueInputComponent<string> {
|
|
5
|
-
autocomplete: string;
|
|
6
|
-
readonly clearCommand: Command<void>;
|
|
7
|
-
constructor();
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SearchInputComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SearchInputComponent, "aup-search-input", never, { "autocomplete": { "alias": "autocomplete"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { GarbageCollector, ListModel, WatchList } from '@coolon/pectin';
|
|
2
|
-
import { ColumnModel } from './column-model';
|
|
3
|
-
import { ColumnOrderManager } from "./column-order-manager";
|
|
4
|
-
export declare class ColumnManager<Row extends object> extends GarbageCollector implements ColumnOrderManager {
|
|
5
|
-
private readonly _columnRefs$;
|
|
6
|
-
private readonly orderedColumnRefs$;
|
|
7
|
-
private readonly _columnsById$;
|
|
8
|
-
readonly allColumns$: ListModel<ColumnModel<Row>>;
|
|
9
|
-
readonly columnVisibilities$: WatchList<boolean>;
|
|
10
|
-
readonly visibleColumns$: ListModel<ColumnModel<Row>>;
|
|
11
|
-
constructor();
|
|
12
|
-
position(column: ColumnModel<any>, newPosition: ColumnOrderManager.Position): void;
|
|
13
|
-
getColumn(id: string): ColumnModel<Row>;
|
|
14
|
-
hasColumn(id: string): boolean;
|
|
15
|
-
hasMatchingColumn(row: Row, regex: RegExp): boolean;
|
|
16
|
-
addColumn<C extends ColumnModel<Row>>(column: C, position?: ColumnOrderManager.Position): C;
|
|
17
|
-
computePosition(position?: ColumnOrderManager.Position): string;
|
|
18
|
-
doComputeValue(): ColumnModel<Row>[];
|
|
19
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ColumnModel } from "./column-model";
|
|
2
|
-
export interface ColumnOrderManager {
|
|
3
|
-
position(column: ColumnModel<any>, position: ColumnOrderManager.Position): void;
|
|
4
|
-
}
|
|
5
|
-
export declare namespace ColumnOrderManager {
|
|
6
|
-
interface Before {
|
|
7
|
-
before: ColumnModel<any> | null;
|
|
8
|
-
}
|
|
9
|
-
interface After {
|
|
10
|
-
after: ColumnModel<any> | null;
|
|
11
|
-
}
|
|
12
|
-
export type Position = Before | After;
|
|
13
|
-
export function processPosition(position: Position | undefined, callback: {
|
|
14
|
-
before(col: ColumnModel<any> | null): string;
|
|
15
|
-
after(col: ColumnModel<any> | null): string;
|
|
16
|
-
first(): string;
|
|
17
|
-
last(): string;
|
|
18
|
-
}): string;
|
|
19
|
-
export {};
|
|
20
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ComponentType } from "@angular/cdk/overlay";
|
|
2
|
-
import { ComponentPortal } from "@angular/cdk/portal";
|
|
3
|
-
declare class RowClass {
|
|
4
|
-
readonly className: string;
|
|
5
|
-
readonly matches: () => boolean;
|
|
6
|
-
constructor(className: string, matches: () => boolean);
|
|
7
|
-
}
|
|
8
|
-
export declare abstract class FooterRowModel<C> {
|
|
9
|
-
protected readonly _rowClasses: RowClass[];
|
|
10
|
-
noPadding(): void;
|
|
11
|
-
addClass(className: string, condition?: () => boolean): void;
|
|
12
|
-
}
|
|
13
|
-
export declare namespace FooterRowModel {
|
|
14
|
-
class Impl<C> extends FooterRowModel<C> {
|
|
15
|
-
protected readonly component: ComponentType<C>;
|
|
16
|
-
readonly onInit?: (component: C) => void;
|
|
17
|
-
readonly portal: ComponentPortal<C>;
|
|
18
|
-
constructor(component: ComponentType<C>, onInit?: (component: C) => void);
|
|
19
|
-
getActiveRowClasses(): string;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { LoadableComponent } from "../../loadable-component";
|
|
2
|
-
import { CellRenderer } from "./cell-renderer";
|
|
3
|
-
export declare abstract class AbstractCellRenderer<T> extends LoadableComponent implements CellRenderer<T> {
|
|
4
|
-
abstract accessor value: T;
|
|
5
|
-
protected constructor();
|
|
6
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { CdkPortalOutletAttachedRef } from "@angular/cdk/portal";
|
|
2
|
-
import { FooterRowModel } from "../../footer/footer-row-model";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TableFooterRow {
|
|
5
|
-
row: FooterRowModel.Impl<any>;
|
|
6
|
-
defaultClassNames: string;
|
|
7
|
-
get rowClasses(): string;
|
|
8
|
-
initialise($event: CdkPortalOutletAttachedRef): void;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableFooterRow, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableFooterRow, "aup-table-footer-row", never, { "row": { "alias": "row"; "required": false; }; }, {}, never, never, false, never>;
|
|
11
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, EventEmitter, NgZone } from '@angular/core';
|
|
2
|
-
import { ValueModel } from '@coolon/pectin';
|
|
3
|
-
import { DisposableComponent } from '../components/disposable-component';
|
|
4
|
-
import { Bounds } from '../components/types/bounds.class';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ResizeObserverDirective extends DisposableComponent implements AfterViewInit {
|
|
7
|
-
aupOnResize: EventEmitter<Bounds>;
|
|
8
|
-
protected readonly elementRef: ElementRef<any>;
|
|
9
|
-
protected readonly ngZone: NgZone;
|
|
10
|
-
private _bounds$;
|
|
11
|
-
ngAfterViewInit(): void;
|
|
12
|
-
get bounds$(): ValueModel<Bounds>;
|
|
13
|
-
private _updateBounds;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ResizeObserverDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ResizeObserverDirective, "[aupOnResize]", never, {}, { "aupOnResize": "aupOnResize"; }, never, never, true, never>;
|
|
16
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Command } from "@coolon/pectin";
|
|
2
|
-
import { InteractionContext } from "./interaction-context";
|
|
3
|
-
import { InteractionContextProvider } from "./interaction-context-provider";
|
|
4
|
-
export declare abstract class ActivityContext extends InteractionContextProvider {
|
|
5
|
-
abstract readonly interactionContext: InteractionContext;
|
|
6
|
-
abstract readonly confirmCommand: Command;
|
|
7
|
-
abstract readonly cancelCommand: Command;
|
|
8
|
-
abstract onActivityReady(callback: () => void): void;
|
|
9
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Command } from "@coolon/pectin";
|
|
2
|
-
import { CommandFace } from "../../../components/commands/command-face";
|
|
3
|
-
import { DisposableComponent } from "../../../components/disposable-component";
|
|
4
|
-
import { ActivityContext } from "../../activity-context";
|
|
5
|
-
import { Alert } from "../../alert";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class AlertRendererComponent<T extends Alert = Alert> extends DisposableComponent {
|
|
8
|
-
config: T;
|
|
9
|
-
accessor confirmCommand: Command;
|
|
10
|
-
protected confirmFace: CommandFace;
|
|
11
|
-
protected title: string;
|
|
12
|
-
protected content: string[];
|
|
13
|
-
protected color?: 'primary' | 'accent' | 'warn';
|
|
14
|
-
constructor(activityContext: ActivityContext);
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AlertRendererComponent<any>, [{ optional: true; }]>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AlertRendererComponent<any>, "aup-alert-renderer", never, { "config": { "alias": "config"; "required": false; }; "confirmCommand": { "alias": "confirmCommand"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Command } from "@coolon/pectin";
|
|
2
|
-
import { CommandFace } from "../../../components/commands/command-face";
|
|
3
|
-
import { ActivityContext } from "../../activity-context";
|
|
4
|
-
import { Confirm } from "../../confirm";
|
|
5
|
-
import { ActivityActionsComponent } from "../activity-actions/activity-actions.component";
|
|
6
|
-
import { AlertRendererComponent } from "../alert-renderer/alert-renderer.component";
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class ConfirmRendererComponent extends AlertRendererComponent<Confirm> {
|
|
9
|
-
accessor cancelCommand: Command;
|
|
10
|
-
protected activityActions: ActivityActionsComponent;
|
|
11
|
-
protected cancelFace: CommandFace;
|
|
12
|
-
constructor(activityContext: ActivityContext);
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmRendererComponent, [{ optional: true; }]>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmRendererComponent, "aup-confirm-renderer", never, { "cancelCommand": { "alias": "cancelCommand"; "required": false; }; }, {}, never, never, false, never>;
|
|
15
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit } from "@angular/core";
|
|
2
|
-
import { MatTabsConfig } from "@angular/material/tabs";
|
|
3
|
-
import { Constructable } from "@coolon/pectin";
|
|
4
|
-
import { DisposableComponent } from "../../../components/disposable-component";
|
|
5
|
-
import { Activity } from "../../activity";
|
|
6
|
-
import { Alert } from "../../alert";
|
|
7
|
-
import { Confirm } from "../../confirm";
|
|
8
|
-
import { InPlaceInteractionContext } from "../../in-place-interaction-context";
|
|
9
|
-
import { InteractionContext } from "../../interaction-context";
|
|
10
|
-
import { InteractionService } from "../../services/interaction.service";
|
|
11
|
-
import { ActivityContainerComponent } from "../activity-container/activity-container.component";
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
/**
|
|
14
|
-
* This interaction context remains hidden (height: 0) until it is active.
|
|
15
|
-
* @example
|
|
16
|
-
* <aup-slide-down-interaction-context #inPlaceInteractionContext>
|
|
17
|
-
* </aup-slide-down-interaction-context>
|
|
18
|
-
*
|
|
19
|
-
* in your component
|
|
20
|
-
* @ViewChild(SlideDownInteractionContextComponent)
|
|
21
|
-
* interactionContext: InteractionContext;
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
export declare class SlideDownInteractionContextComponent<D, R, E> extends DisposableComponent implements InPlaceInteractionContext, AfterViewInit {
|
|
26
|
-
private readonly tabConfig;
|
|
27
|
-
activityContainerComponent: ActivityContainerComponent<any, any, any>;
|
|
28
|
-
dynamicHeight: boolean;
|
|
29
|
-
get active(): boolean;
|
|
30
|
-
protected clampShut: boolean;
|
|
31
|
-
readonly interactionService: InteractionService;
|
|
32
|
-
constructor(tabConfig: MatTabsConfig);
|
|
33
|
-
ngAfterViewInit(): void;
|
|
34
|
-
getAnimationState(): {
|
|
35
|
-
value: string;
|
|
36
|
-
params: {
|
|
37
|
-
duration: string;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
onInplaceInteractionContextRegistered(id: string, api: InteractionService.Api): void;
|
|
41
|
-
get identifier(): string;
|
|
42
|
-
alert(alert: Alert): Promise<void>;
|
|
43
|
-
cancelActiveActivity(): Promise<boolean>;
|
|
44
|
-
confirm(confirm: Confirm): Promise<boolean>;
|
|
45
|
-
confirmOrReject(confirm: Confirm): Promise<void>;
|
|
46
|
-
confirmThen<D1, R1, E1>(confirm: Confirm, activityType: Constructable<Activity<D1, R1, E1>>, data?: D1): Promise<R1>;
|
|
47
|
-
confirmThenExecute<R1>(confirm: Confirm, operation: (interactionContext: InteractionContext) => (Promise<R1> | R1)): Promise<R1>;
|
|
48
|
-
isActive(): boolean;
|
|
49
|
-
startActivity<D1, R1, E1>(activityType: Constructable<Activity<D1, R1, E1>>, data?: D1, options?: InteractionContext.Options): Promise<R1>;
|
|
50
|
-
onAnimationDone(): void;
|
|
51
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SlideDownInteractionContextComponent<any, any, any>, [{ optional: true; }]>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SlideDownInteractionContextComponent<any, any, any>, "aup-slide-down-interaction-context", never, { "dynamicHeight": { "alias": "dynamicHeight"; "required": false; }; }, {}, never, never, false, never>;
|
|
53
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Activity } from "./activity";
|
|
2
|
-
import { InteractionContext } from "./interaction-context";
|
|
3
|
-
export declare abstract class InteractionContextProvider {
|
|
4
|
-
static forActivity(activity: Activity<any, any>): {
|
|
5
|
-
getInteractionContext(): InteractionContext;
|
|
6
|
-
};
|
|
7
|
-
static forInteractionContext(interactionContext: InteractionContext): {
|
|
8
|
-
getInteractionContext(): InteractionContext;
|
|
9
|
-
};
|
|
10
|
-
abstract getInteractionContext(): InteractionContext;
|
|
11
|
-
}
|