@acorex/components 18.4.3 → 18.5.0
Sign up to get free protection for your applications and to get access to all the features.
- package/action-sheet/lib/action-sheet.class.d.ts +0 -9
- package/action-sheet/lib/action-sheet.component.d.ts +3 -3
- package/alert/lib/alert.component.d.ts +15 -36
- package/comment/README.md +3 -0
- package/comment/index.d.ts +9 -0
- package/comment/lib/comment-container/comment-container.component.d.ts +5 -0
- package/comment/lib/comment-input/comment-input.component.d.ts +10 -0
- package/comment/lib/comment-item/comment-item.component.d.ts +9 -0
- package/comment/lib/comment-like/comment-like.component.d.ts +6 -0
- package/comment/lib/comment-reply/comment-reply.component.d.ts +5 -0
- package/comment/lib/comment-view/comment-view.component.d.ts +5 -0
- package/comment/lib/comment.module.d.ts +17 -0
- package/comment/lib/comment.types.d.ts +3 -0
- package/comment/lib/services/comment.service.d.ts +6 -0
- package/esm2022/action-sheet/lib/action-sheet.class.mjs +1 -1
- package/esm2022/action-sheet/lib/action-sheet.component.mjs +1 -1
- package/esm2022/alert/lib/alert.component.mjs +37 -133
- package/esm2022/avatar/lib/avatar.component.mjs +2 -2
- package/esm2022/badge/lib/badge.component.mjs +2 -2
- package/esm2022/bottom-navigation/lib/bottom-navigation-item/bottom-navigation-item.component.mjs +2 -2
- package/esm2022/bottom-navigation/lib/bottom-navigation.component.mjs +1 -1
- package/esm2022/bottom-navigation/lib/bottom-navigation.module.mjs +3 -8
- package/esm2022/breadcrumbs/lib/breadcrumbs-item.component.mjs +2 -5
- package/esm2022/breadcrumbs/lib/breadcrumbs.component.mjs +2 -2
- package/esm2022/button/lib/button-item.class.mjs +1 -1
- package/esm2022/button/lib/button.module.mjs +5 -26
- package/esm2022/check-box/lib/check-box.component.mjs +3 -11
- package/esm2022/circular-progress/lib/circular-progress.component.mjs +1 -1
- package/esm2022/color-box/lib/color-box.module.mjs +3 -11
- package/esm2022/color-palette/lib/color-palette-input.component.mjs +9 -15
- package/esm2022/color-palette/lib/color-palette-preview.component.mjs +6 -14
- package/esm2022/color-palette/lib/color-palette-swatches.component.mjs +16 -17
- package/esm2022/color-palette/lib/color-palette.class.mjs +1 -1
- package/esm2022/color-palette/lib/color-palette.component.mjs +5 -21
- package/esm2022/comment/acorex-components-comment.mjs +5 -0
- package/esm2022/comment/index.mjs +10 -0
- package/esm2022/comment/lib/comment-container/comment-container.component.mjs +12 -0
- package/esm2022/comment/lib/comment-input/comment-input.component.mjs +33 -0
- package/esm2022/comment/lib/comment-item/comment-item.component.mjs +21 -0
- package/esm2022/comment/lib/comment-like/comment-like.component.mjs +15 -0
- package/esm2022/comment/lib/comment-reply/comment-reply.component.mjs +12 -0
- package/esm2022/comment/lib/comment-view/comment-view.component.mjs +11 -0
- package/esm2022/comment/lib/comment.module.mjs +48 -0
- package/esm2022/comment/lib/comment.types.mjs +2 -0
- package/esm2022/comment/lib/services/comment.service.mjs +19 -0
- package/esm2022/common/lib/classes/events.class.mjs +1 -1
- package/esm2022/common/lib/classes/styles.class.mjs +2 -10
- package/esm2022/common/lib/common.module.mjs +4 -20
- package/esm2022/common/lib/components/colorlook-component.class.mjs +1 -1
- package/esm2022/common/lib/components/input-base-value-component.class.mjs +1 -1
- package/esm2022/common/lib/directives/auto-focus.directive.mjs +4 -12
- package/esm2022/common/lib/directives/hotkey.directive.mjs +3 -4
- package/esm2022/common/lib/directives/infinite-scroll.directive.mjs +2 -3
- package/esm2022/common/lib/directives/responsive.directive.mjs +3 -8
- package/esm2022/common/lib/directives/ripple.directive.mjs +4 -6
- package/esm2022/common/lib/types/placement.mjs +6 -26
- package/esm2022/conversation/lib/conversation-input/conversation-input.component.mjs +3 -3
- package/esm2022/data-pager/lib/data-pager-info.component.mjs +4 -10
- package/esm2022/data-pager/lib/data-pager-input-selector.component.mjs +2 -2
- package/esm2022/data-pager/lib/data-pager-next-buttons.components.mjs +3 -3
- package/esm2022/data-pager/lib/data-pager-pagesize-dropdown.component.mjs +8 -36
- package/esm2022/data-pager/lib/data-pager-prev-buttons.component.mjs +3 -3
- package/esm2022/data-table/lib/base-data-table.class.mjs +3 -2
- package/esm2022/data-table/lib/data-table/data-table.component.mjs +16 -12
- package/esm2022/datetime-box/lib/datetime-box.module.mjs +3 -15
- package/esm2022/datetime-picker/lib/datetime-picker.component.mjs +7 -8
- package/esm2022/datetime-picker/lib/datetime-picker.config.mjs +1 -1
- package/esm2022/decorators/lib/components/clear-button.component.mjs +6 -21
- package/esm2022/decorators/lib/components/close-button.component.mjs +5 -15
- package/esm2022/decorators/lib/decorators.module.mjs +3 -14
- package/esm2022/dialog/lib/dialog.class.mjs +1 -1
- package/esm2022/dialog/lib/dialog.component.mjs +4 -6
- package/esm2022/dialog/lib/dialog.module.mjs +2 -2
- package/esm2022/drawer/lib/drawer-container.component.mjs +2 -2
- package/esm2022/dropdown/lib/dropdown.module.mjs +4 -21
- package/esm2022/dropdown-button/lib/dropdown-button.component.mjs +4 -12
- package/esm2022/dropdown-button/lib/dropdown-button.module.mjs +4 -23
- package/esm2022/form/lib/form.config.mjs +1 -1
- package/esm2022/form/lib/validation-rule.directive.mjs +2 -2
- package/esm2022/form/lib/validation-summary.component.mjs +30 -46
- package/esm2022/image/lib/image.component.mjs +2 -2
- package/esm2022/label/lib/label.component.mjs +2 -2
- package/esm2022/loading/lib/loading-spinner.component.mjs +3 -3
- package/esm2022/loading/lib/loading.component.mjs +5 -17
- package/esm2022/loading/lib/loading.config.mjs +1 -1
- package/esm2022/loading/lib/loading.directive.mjs +1 -1
- package/esm2022/loading/lib/loading.module.mjs +3 -11
- package/esm2022/loading/lib/loading.service.mjs +5 -11
- package/esm2022/loading-dialog/lib/loading-dialog.class.mjs +1 -1
- package/esm2022/loading-dialog/lib/loading-dialog.component.mjs +4 -6
- package/esm2022/loading-dialog/lib/loading-dialog.module.mjs +4 -23
- package/esm2022/loading-dialog/lib/loading-dialog.service.mjs +1 -1
- package/esm2022/menu/lib/class/root-menu.class.mjs +1 -1
- package/esm2022/nav/lib/nav-item/nav-item.component.mjs +3 -3
- package/esm2022/nav/lib/nav.component.mjs +2 -2
- package/esm2022/navbar/lib/navbar.component.mjs +2 -2
- package/esm2022/notification/lib/notification.class.mjs +1 -1
- package/esm2022/notification/lib/notification.component.mjs +6 -10
- package/esm2022/notification/lib/notification.config.mjs +1 -1
- package/esm2022/notification/lib/notification.module.mjs +4 -18
- package/esm2022/notification/lib/notification.service.mjs +6 -13
- package/esm2022/number-box/lib/number-box.module.mjs +3 -13
- package/esm2022/page/lib/base-page.class.mjs +3 -3
- package/esm2022/password-box/lib/password-box.component.mjs +3 -13
- package/esm2022/phone-box/lib/phone-box.component.mjs +1 -1
- package/esm2022/picker/lib/picker-column.directive.mjs +2 -2
- package/esm2022/picker/lib/picker.component.mjs +7 -13
- package/esm2022/popup/lib/popup.component.mjs +3 -3
- package/esm2022/popup/lib/popup.module.mjs +2 -2
- package/esm2022/popup/lib/popup.service.mjs +2 -2
- package/esm2022/progress-bar/lib/progress-bar.component.mjs +1 -1
- package/esm2022/radio/lib/radio.component.mjs +2 -10
- package/esm2022/result/lib/result.component.mjs +2 -2
- package/esm2022/routing-progress/lib/routing-progress.component.mjs +3 -3
- package/esm2022/scheduler/lib/scheduler-month-view.component.mjs +2 -2
- package/esm2022/scheduler/lib/scheduler-week-view.component.mjs +2 -2
- package/esm2022/scheduler/lib/scheduler.component.mjs +2 -2
- package/esm2022/scheduler/lib/scheduler.module.mjs +4 -22
- package/esm2022/scss/lib/scss.module.mjs +2 -2
- package/esm2022/selection-list/lib/selection-list.component.mjs +4 -10
- package/esm2022/selection-list/lib/selection-list.module.mjs +4 -21
- package/esm2022/skeleton/lib/skeleton.component.mjs +2 -2
- package/esm2022/step-wizard/lib/step-wizard-item/step-wizard-item.component.mjs +2 -2
- package/esm2022/step-wizard/lib/step-wizard.class.mjs +1 -1
- package/esm2022/step-wizard/lib/step-wizard.component.mjs +1 -1
- package/esm2022/step-wizard/lib/step-wizard.module.mjs +3 -11
- package/esm2022/switch/lib/switch-content.component.mjs +1 -1
- package/esm2022/switch/lib/switch.component.mjs +3 -10
- package/esm2022/tabs/lib/tab-item.component.mjs +32 -36
- package/esm2022/tabs/lib/tabs.class.mjs +1 -1
- package/esm2022/tabs/lib/tabs.component.mjs +1 -1
- package/esm2022/tag/lib/tag.component.mjs +2 -2
- package/esm2022/text-box/lib/mask-options.directive.mjs +1 -1
- package/esm2022/text-box/lib/text-box.component.mjs +3 -4
- package/esm2022/text-box/lib/text-box.module.mjs +4 -18
- package/esm2022/toast/lib/toast.component.mjs +3 -3
- package/esm2022/toast/lib/toast.config.mjs +1 -1
- package/esm2022/toast/lib/toast.module.mjs +4 -16
- package/esm2022/toast/lib/toast.service.mjs +7 -16
- package/esm2022/uploader/lib/uploader-browse-handle.directive.mjs +2 -2
- package/esm2022/uploader/lib/uploader-dialog-container.component.mjs +3 -3
- package/esm2022/uploader/lib/uploader-list.component.mjs +2 -2
- package/esm2022/uploader/lib/uploader-zone.directive.mjs +2 -2
- package/esm2022/uploader/lib/uploader.models.mjs +1 -1
- package/esm2022/uploader/lib/uploader.module.mjs +3 -11
- package/esm2022/wysiwyg/acorex-components-wysiwyg.mjs +5 -0
- package/esm2022/wysiwyg/index.mjs +5 -0
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.mjs +27 -0
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.mjs +113 -0
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.mjs +11 -0
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg.service.mjs +13 -0
- package/esm2022/wysiwyg/lib/wysiwyg.module.mjs +27 -0
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +37 -132
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-badge.mjs.map +1 -1
- package/fesm2022/acorex-components-bottom-navigation.mjs +2 -7
- package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-breadcrumbs.mjs +1 -4
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +4 -25
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-check-box.mjs +1 -9
- package/fesm2022/acorex-components-check-box.mjs.map +1 -1
- package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs +2 -10
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +22 -53
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-comment.mjs +153 -0
- package/fesm2022/acorex-components-comment.mjs.map +1 -0
- package/fesm2022/acorex-components-common.mjs +17 -78
- package/fesm2022/acorex-components-common.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +2 -2
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +12 -46
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +17 -12
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +2 -14
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +1 -2
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +7 -43
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +1 -3
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown-button.mjs +4 -31
- package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +3 -20
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +28 -44
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs.map +1 -1
- package/fesm2022/acorex-components-label.mjs.map +1 -1
- package/fesm2022/acorex-components-loading-dialog.mjs +4 -25
- package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-loading.mjs +11 -37
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-nav.mjs.map +1 -1
- package/fesm2022/acorex-components-navbar.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +8 -33
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box.mjs +2 -12
- package/fesm2022/acorex-components-number-box.mjs.map +1 -1
- package/fesm2022/acorex-components-page.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +1 -11
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/fesm2022/acorex-components-picker.mjs +6 -12
- package/fesm2022/acorex-components-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-radio.mjs +1 -9
- package/fesm2022/acorex-components-radio.mjs.map +1 -1
- package/fesm2022/acorex-components-result.mjs.map +1 -1
- package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +3 -21
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-scss.mjs +1 -1
- package/fesm2022/acorex-components-scss.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +5 -28
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
- package/fesm2022/acorex-components-step-wizard.mjs +3 -11
- package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
- package/fesm2022/acorex-components-switch.mjs +1 -8
- package/fesm2022/acorex-components-switch.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +30 -34
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag.mjs.map +1 -1
- package/fesm2022/acorex-components-text-box.mjs +4 -19
- package/fesm2022/acorex-components-text-box.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +7 -28
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +3 -11
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +183 -0
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -0
- package/form/lib/validation-rule.directive.d.ts +1 -1
- package/package.json +65 -53
- package/uploader/lib/uploader-list.component.d.ts +1 -1
- package/wysiwyg/README.md +3 -0
- package/wysiwyg/index.d.ts +4 -0
- package/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.d.ts +12 -0
- package/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.d.ts +28 -0
- package/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.d.ts +5 -0
- package/wysiwyg/lib/wysiwyg/wysiwyg.service.d.ts +7 -0
- package/wysiwyg/lib/wysiwyg.module.d.ts +13 -0
@@ -1,7 +1,7 @@
|
|
1
|
-
import {
|
2
|
-
import { ChangeDetectionStrategy, Component, ContentChildren, HostBinding, QueryList, ViewEncapsulation, forwardRef
|
1
|
+
import { AXValuableComponent, MXValueComponent } from '@acorex/components/common';
|
2
|
+
import { ChangeDetectionStrategy, Component, ContentChildren, HostBinding, QueryList, ViewEncapsulation, forwardRef } from '@angular/core';
|
3
3
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
4
|
-
import { AXColorPaletteChildComponent, AXColorPaletteParentComponent
|
4
|
+
import { AXColorPaletteChildComponent, AXColorPaletteParentComponent } from './color-palette.class';
|
5
5
|
import * as i0 from "@angular/core";
|
6
6
|
import * as i1 from "@angular/common";
|
7
7
|
import * as i2 from "./color-palette-preview.component";
|
@@ -28,23 +28,7 @@ export class AXColorPalleteComponent extends MXValueComponent {
|
|
28
28
|
}
|
29
29
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXColorPalleteComponent, decorators: [{
|
30
30
|
type: Component,
|
31
|
-
args: [{ selector: 'ax-color-palette', inputs: [
|
32
|
-
'disabled',
|
33
|
-
'tabIndex',
|
34
|
-
'readonly',
|
35
|
-
'value',
|
36
|
-
'state',
|
37
|
-
'name',
|
38
|
-
'checked',
|
39
|
-
], outputs: [
|
40
|
-
'onBlur',
|
41
|
-
'onFocus',
|
42
|
-
'valueChange',
|
43
|
-
'stateChange',
|
44
|
-
'onValueChanged',
|
45
|
-
'readonlyChange',
|
46
|
-
'disabledChange',
|
47
|
-
], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
31
|
+
args: [{ selector: 'ax-color-palette', inputs: ['disabled', 'tabIndex', 'readonly', 'value', 'state', 'name', 'checked'], outputs: ['onBlur', 'onFocus', 'valueChange', 'stateChange', 'onValueChanged', 'readonlyChange', 'disabledChange'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
48
32
|
{ provide: AXValuableComponent, useExisting: AXColorPalleteComponent },
|
49
33
|
{
|
50
34
|
provide: NG_VALUE_ACCESSOR,
|
@@ -63,4 +47,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
63
47
|
type: HostBinding,
|
64
48
|
args: ['class.ax-state-disabled']
|
65
49
|
}] } });
|
66
|
-
//# sourceMappingURL=data:application/json;base64,
|
50
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sb3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ICNjdXN0b20+XG4gICAgPG5nLWNvbnRlbnQgc2VsZWN0PSdheC1jb2xvci1wYWxldHRlLXByZXZpZXcnPjwvbmctY29udGVudD5cbiAgICA8bmctY29udGVudCBzZWxlY3Q9J2F4LWNvbG9yLXBhbGV0dGUtcGlja2VyJz48L25nLWNvbnRlbnQ+XG4gICAgPG5nLWNvbnRlbnQgc2VsZWN0PSdheC1jb2xvci1wYWxldHRlLXN3YXRjaGVzJz48L25nLWNvbnRlbnQ+XG4gICAgPG5nLWNvbnRlbnQgc2VsZWN0PSdheC1jb2xvci1wYWxldHRlLWZhdm9yaXRlJz48L25nLWNvbnRlbnQ+XG4gICAgPG5nLWNvbnRlbnQgc2VsZWN0PSdheC1jb2xvci1wYWxldHRlLWlucHV0Jz48L25nLWNvbnRlbnQ+XG48L25nLXRlbXBsYXRlPlxuPG5nLXRlbXBsYXRlICNkZWZhdWx0PlxuICAgIDxheC1jb2xvci1wYWxldHRlLXByZXZpZXc+PC9heC1jb2xvci1wYWxldHRlLXByZXZpZXc+XG4gICAgPGF4LWNvbG9yLXBhbGV0dGUtcGlja2VyPjwvYXgtY29sb3ItcGFsZXR0ZS1waWNrZXI+XG4gICAgPGF4LWNvbG9yLXBhbGV0dGUtc3dhdGNoZXM+PC9heC1jb2xvci1wYWxldHRlLXN3YXRjaGVzPlxuICAgIDxheC1jb2xvci1wYWxldHRlLWlucHV0PjwvYXgtY29sb3ItcGFsZXR0ZS1pbnB1dD5cbjwvbmctdGVtcGxhdGU+XG48bmctY29udGVudCBzZWxlY3Q9J2F4LWZvb3Rlcic+PC9uZy1jb250ZW50PiJdfQ==
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './index';
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNvcmV4LWNvbXBvbmVudHMtY29tbWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9jb21tZW50L3NyYy9hY29yZXgtY29tcG9uZW50cy1jb21tZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
|
@@ -0,0 +1,10 @@
|
|
1
|
+
export * from './lib/comment-container/comment-container.component';
|
2
|
+
export * from './lib/comment-input/comment-input.component';
|
3
|
+
export * from './lib/comment-item/comment-item.component';
|
4
|
+
export * from './lib/comment-like/comment-like.component';
|
5
|
+
export * from './lib/comment-reply/comment-reply.component';
|
6
|
+
export * from './lib/comment-view/comment-view.component';
|
7
|
+
export * from './lib/comment.module';
|
8
|
+
export * from './lib/comment.types';
|
9
|
+
export * from './lib/services/comment.service';
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29tbWVudC9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxxREFBcUQsQ0FBQztBQUNwRSxjQUFjLDZDQUE2QyxDQUFDO0FBQzVELGNBQWMsMkNBQTJDLENBQUM7QUFDMUQsY0FBYywyQ0FBMkMsQ0FBQztBQUMxRCxjQUFjLDZDQUE2QyxDQUFDO0FBQzVELGNBQWMsMkNBQTJDLENBQUM7QUFDMUQsY0FBYyxzQkFBc0IsQ0FBQztBQUNyQyxjQUFjLHFCQUFxQixDQUFDO0FBQ3BDLGNBQWMsZ0NBQWdDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xpYi9jb21tZW50LWNvbnRhaW5lci9jb21tZW50LWNvbnRhaW5lci5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvY29tbWVudC1pbnB1dC9jb21tZW50LWlucHV0LmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb21tZW50LWl0ZW0vY29tbWVudC1pdGVtLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb21tZW50LWxpa2UvY29tbWVudC1saWtlLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb21tZW50LXJlcGx5L2NvbW1lbnQtcmVwbHkuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbW1lbnQtdmlldy9jb21tZW50LXZpZXcuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbW1lbnQubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbW1lbnQudHlwZXMnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvc2VydmljZXMvY29tbWVudC5zZXJ2aWNlJztcbiJdfQ==
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { Component, ViewEncapsulation } from '@angular/core';
|
2
|
+
import { AXCommentService } from '../services/comment.service';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export class AXCommentContainerComponent {
|
5
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
6
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXCommentContainerComponent, selector: "ax-comment-container", providers: [AXCommentService], ngImport: i0, template: "<ng-content select=\"ax-comment-view\"> </ng-content>\n<ng-content select=\"ax-comment-input\"> </ng-content>\n<ng-content> </ng-content>\n", styles: ["ax-comment-container{width:100%}\n"], encapsulation: i0.ViewEncapsulation.None }); }
|
7
|
+
}
|
8
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentContainerComponent, decorators: [{
|
9
|
+
type: Component,
|
10
|
+
args: [{ selector: 'ax-comment-container', providers: [AXCommentService], encapsulation: ViewEncapsulation.None, template: "<ng-content select=\"ax-comment-view\"> </ng-content>\n<ng-content select=\"ax-comment-input\"> </ng-content>\n<ng-content> </ng-content>\n", styles: ["ax-comment-container{width:100%}\n"] }]
|
11
|
+
}] });
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVudC1jb250YWluZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2NvbW1lbnQvc3JjL2xpYi9jb21tZW50LWNvbnRhaW5lci9jb21tZW50LWNvbnRhaW5lci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29tbWVudC9zcmMvbGliL2NvbW1lbnQtY29udGFpbmVyL2NvbW1lbnQtY29udGFpbmVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDN0QsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sNkJBQTZCLENBQUM7O0FBYS9ELE1BQU0sT0FBTywyQkFBMkI7OEdBQTNCLDJCQUEyQjtrR0FBM0IsMkJBQTJCLCtDQVIzQixDQUFDLGdCQUFnQixDQUFDLDBCQ04vQiw2SUFHQTs7MkZEV2EsMkJBQTJCO2tCQVh2QyxTQUFTOytCQUNFLHNCQUFzQixhQUVyQixDQUFDLGdCQUFnQixDQUFDLGlCQU1kLGlCQUFpQixDQUFDLElBQUkiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQsIFZpZXdFbmNhcHN1bGF0aW9uIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBBWENvbW1lbnRTZXJ2aWNlIH0gZnJvbSAnLi4vc2VydmljZXMvY29tbWVudC5zZXJ2aWNlJztcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnYXgtY29tbWVudC1jb250YWluZXInLFxuICB0ZW1wbGF0ZVVybDogJy4vY29tbWVudC1jb250YWluZXIuY29tcG9uZW50Lmh0bWwnLFxuICBwcm92aWRlcnM6IFtBWENvbW1lbnRTZXJ2aWNlXSxcbiAgc3R5bGVzOiBgXG4gICAgYXgtY29tbWVudC1jb250YWluZXIge1xuICAgICAgd2lkdGg6IDEwMCU7XG4gICAgfVxuICBgLFxuICBlbmNhcHN1bGF0aW9uOiBWaWV3RW5jYXBzdWxhdGlvbi5Ob25lLFxufSlcbmV4cG9ydCBjbGFzcyBBWENvbW1lbnRDb250YWluZXJDb21wb25lbnQge31cbiIsIjxuZy1jb250ZW50IHNlbGVjdD1cImF4LWNvbW1lbnQtdmlld1wiPiA8L25nLWNvbnRlbnQ+XG48bmctY29udGVudCBzZWxlY3Q9XCJheC1jb21tZW50LWlucHV0XCI+IDwvbmctY29udGVudD5cbjxuZy1jb250ZW50PiA8L25nLWNvbnRlbnQ+XG4iXX0=
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import { Component, input, output, ViewEncapsulation } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
import * as i1 from "@acorex/components/decorators";
|
4
|
+
import * as i2 from "@acorex/components/wysiwyg";
|
5
|
+
import * as i3 from "@acorex/components/button";
|
6
|
+
import * as i4 from "@acorex/components/text-area";
|
7
|
+
export class AXCommentInputComponent {
|
8
|
+
constructor() {
|
9
|
+
this.commentType = input('advance');
|
10
|
+
this.commentValue = output();
|
11
|
+
}
|
12
|
+
getHTML(e) {
|
13
|
+
this.commentValue.emit({
|
14
|
+
component: this,
|
15
|
+
data: { value: e.data.value },
|
16
|
+
isUserInteraction: true,
|
17
|
+
});
|
18
|
+
}
|
19
|
+
basicOut(e) {
|
20
|
+
this.commentValue.emit({
|
21
|
+
component: this,
|
22
|
+
data: { value: e.value },
|
23
|
+
isUserInteraction: true,
|
24
|
+
});
|
25
|
+
}
|
26
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
27
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXCommentInputComponent, selector: "ax-comment-input", inputs: { commentType: { classPropertyName: "commentType", publicName: "commentType", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { commentValue: "commentValue" }, ngImport: i0, template: "@if (commentType() === 'advance') {\n <ax-wysiwyg-container>\n <ax-wysiwyg-view></ax-wysiwyg-view>\n <ax-wysiwyg-toolbar (outputHTML)=\"getHTML($event)\" #t>\n <ax-suffix> <ax-button color=\"primary\" text=\"Send Message\" (onClick)=\"t.out()\"></ax-button></ax-suffix>\n </ax-wysiwyg-toolbar>\n </ax-wysiwyg-container>\n} @else if (commentType() === 'basic') {\n <div class=\"comment-basic-input-container ax-sm\">\n <ax-text-area #a [rows]=\"4\" placeholder=\"Write Your Message ...\" [allowResize]=\"false\"> </ax-text-area>\n <ax-button (onClick)=\"basicOut(a)\" color=\"primary\" text=\"Send Message\"></ax-button>\n </div>\n}\n", styles: [".comment-basic-input-container ax-button{margin-top:1rem}\n"], dependencies: [{ kind: "component", type: i1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "component", type: i2.AXWysiwygContainerComponent, selector: "ax-wysiwyg-container" }, { kind: "component", type: i2.AXWysiwygViewComponent, selector: "ax-wysiwyg-view" }, { kind: "component", type: i2.AXWysiwygToolbarComponent, selector: "ax-wysiwyg-toolbar", outputs: ["outputHTML"] }, { kind: "component", type: i3.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "component", type: i4.AXTextAreaComponent, selector: "ax-text-area", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "placeholder", "maxLength", "look", "rows", "allowResize", "showCounter"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
28
|
+
}
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentInputComponent, decorators: [{
|
30
|
+
type: Component,
|
31
|
+
args: [{ selector: 'ax-comment-input', encapsulation: ViewEncapsulation.None, template: "@if (commentType() === 'advance') {\n <ax-wysiwyg-container>\n <ax-wysiwyg-view></ax-wysiwyg-view>\n <ax-wysiwyg-toolbar (outputHTML)=\"getHTML($event)\" #t>\n <ax-suffix> <ax-button color=\"primary\" text=\"Send Message\" (onClick)=\"t.out()\"></ax-button></ax-suffix>\n </ax-wysiwyg-toolbar>\n </ax-wysiwyg-container>\n} @else if (commentType() === 'basic') {\n <div class=\"comment-basic-input-container ax-sm\">\n <ax-text-area #a [rows]=\"4\" placeholder=\"Write Your Message ...\" [allowResize]=\"false\"> </ax-text-area>\n <ax-button (onClick)=\"basicOut(a)\" color=\"primary\" text=\"Send Message\"></ax-button>\n </div>\n}\n", styles: [".comment-basic-input-container ax-button{margin-top:1rem}\n"] }]
|
32
|
+
}] });
|
33
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVudC1pbnB1dC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29tbWVudC9zcmMvbGliL2NvbW1lbnQtaW5wdXQvY29tbWVudC1pbnB1dC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29tbWVudC9zcmMvbGliL2NvbW1lbnQtaW5wdXQvY29tbWVudC1pbnB1dC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7Ozs7OztBQVE1RSxNQUFNLE9BQU8sdUJBQXVCO0lBTnBDO1FBT0UsZ0JBQVcsR0FBRyxLQUFLLENBQXNCLFNBQVMsQ0FBQyxDQUFDO1FBQ3BELGlCQUFZLEdBQUcsTUFBTSxFQUFnQixDQUFDO0tBaUJ2QztJQWZDLE9BQU8sQ0FBQyxDQUFNO1FBQ1osSUFBSSxDQUFDLFlBQVksQ0FBQyxJQUFJLENBQUM7WUFDckIsU0FBUyxFQUFFLElBQUk7WUFDZixJQUFJLEVBQUUsRUFBRSxLQUFLLEVBQUUsQ0FBQyxDQUFDLElBQUksQ0FBQyxLQUFLLEVBQUU7WUFDN0IsaUJBQWlCLEVBQUUsSUFBSTtTQUN4QixDQUFDLENBQUM7SUFDTCxDQUFDO0lBRUQsUUFBUSxDQUFDLENBQU07UUFDYixJQUFJLENBQUMsWUFBWSxDQUFDLElBQUksQ0FBQztZQUNyQixTQUFTLEVBQUUsSUFBSTtZQUNmL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JTZW5kIE1lc3NhZ2VcIj48L2F4LWJ1dHRvbj5cbiAgPC9kaXY+XG59XG4iXX0=
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { AXAvatarComponent } from '@acorex/components/avatar';
|
2
|
+
import { afterNextRender, Component, contentChild, contentChildren, ViewEncapsulation } from '@angular/core';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
import * as i1 from "@acorex/components/decorators";
|
5
|
+
import * as i2 from "@acorex/components/collapse";
|
6
|
+
export class AxCommentItemComponent {
|
7
|
+
constructor() {
|
8
|
+
this.avatar = contentChild(AXAvatarComponent);
|
9
|
+
this.commentItems = contentChildren(AxCommentItemComponent);
|
10
|
+
afterNextRender(() => {
|
11
|
+
this.avatar().size = 40;
|
12
|
+
});
|
13
|
+
}
|
14
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AxCommentItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
15
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AxCommentItemComponent, selector: "ax-comment-item", queries: [{ propertyName: "avatar", first: true, predicate: AXAvatarComponent, descendants: true, isSignal: true }, { propertyName: "commentItems", predicate: AxCommentItemComponent, isSignal: true }], ngImport: i0, template: "<div class=\"ax-comment-items\">\n <div class=\"ax-title-avatar-container\">\n <ng-content select=\"ax-avatar\"></ng-content>\n <ng-content select=\"ax-title\"></ng-content>\n </div>\n <div class=\"ax-content-container\">\n <ng-content select=\"ax-content\"></ng-content>\n <div class=\"ax-reaction-container\">\n <ng-content select=\"ax-comment-like\"></ng-content>\n <ng-content select=\"ax-comment-reply\"></ng-content>\n <ax-text>Reply</ax-text>\n </div>\n </div>\n @if (commentItems().length > 0) {\n <div class=\"ax-comment-replies\">\n <ax-collapse-group look=\"none\" [accordion]=\"true\" [activeIndex]=\"1\">\n <ax-collapse caption=\"View all Replies\" [isCollapsed]=\"true\">\n <ng-content select=\"ax-comment-item\"></ng-content>\n </ax-collapse>\n </ax-collapse-group>\n </div>\n }\n</div>\n", styles: [".ax-comment-items .ax-title-avatar-container{display:flex;align-items:center}.ax-comment-items .ax-title-avatar-container ax-title{font-weight:700;padding:.5rem}.ax-comment-items .ax-content-container{margin-inline-start:3rem;display:flex;flex-direction:column}.ax-comment-items .ax-content-container .ax-reaction-container{margin-top:.8rem;display:flex}.ax-comment-items .ax-content-container .ax-reaction-container ax-comment-reply{margin-inline:1.5rem}.ax-comment-items .ax-content-container .ax-reaction-container ax-text{color:rgba(var(--ax-color-neutral-500))}.ax-comment-items .ax-content-container .ax-reaction-container ax-comment-like,.ax-comment-items .ax-content-container .ax-reaction-container ax-comment-reply,.ax-comment-items .ax-content-container .ax-reaction-container ax-text{cursor:pointer}.ax-comment-items .ax-comment-replies{margin-inline-start:2rem}\n"], dependencies: [{ kind: "component", type: i1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "component", type: i2.AXCollapseComponent, selector: "ax-collapse", inputs: ["disabled", "look", "isCollapsed", "showHeader", "caption", "icon", "isLoading", "headerTemplate"], outputs: ["onClick", "isCollapsedChange"] }, { kind: "component", type: i2.AXCollapseGroupComponent, selector: "ax-collapse-group", inputs: ["look", "accordion", "activeIndex"], outputs: ["accordionChange", "activeIndexChange"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
16
|
+
}
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AxCommentItemComponent, decorators: [{
|
18
|
+
type: Component,
|
19
|
+
args: [{ selector: 'ax-comment-item', encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-comment-items\">\n <div class=\"ax-title-avatar-container\">\n <ng-content select=\"ax-avatar\"></ng-content>\n <ng-content select=\"ax-title\"></ng-content>\n </div>\n <div class=\"ax-content-container\">\n <ng-content select=\"ax-content\"></ng-content>\n <div class=\"ax-reaction-container\">\n <ng-content select=\"ax-comment-like\"></ng-content>\n <ng-content select=\"ax-comment-reply\"></ng-content>\n <ax-text>Reply</ax-text>\n </div>\n </div>\n @if (commentItems().length > 0) {\n <div class=\"ax-comment-replies\">\n <ax-collapse-group look=\"none\" [accordion]=\"true\" [activeIndex]=\"1\">\n <ax-collapse caption=\"View all Replies\" [isCollapsed]=\"true\">\n <ng-content select=\"ax-comment-item\"></ng-content>\n </ax-collapse>\n </ax-collapse-group>\n </div>\n }\n</div>\n", styles: [".ax-comment-items .ax-title-avatar-container{display:flex;align-items:center}.ax-comment-items .ax-title-avatar-container ax-title{font-weight:700;padding:.5rem}.ax-comment-items .ax-content-container{margin-inline-start:3rem;display:flex;flex-direction:column}.ax-comment-items .ax-content-container .ax-reaction-container{margin-top:.8rem;display:flex}.ax-comment-items .ax-content-container .ax-reaction-container ax-comment-reply{margin-inline:1.5rem}.ax-comment-items .ax-content-container .ax-reaction-container ax-text{color:rgba(var(--ax-color-neutral-500))}.ax-comment-items .ax-content-container .ax-reaction-container ax-comment-like,.ax-comment-items .ax-content-container .ax-reaction-container ax-comment-reply,.ax-comment-items .ax-content-container .ax-reaction-container ax-text{cursor:pointer}.ax-comment-items .ax-comment-replies{margin-inline-start:2rem}\n"] }]
|
20
|
+
}], ctorParameters: () => [] });
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVudC1pdGVtLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9jb21tZW50L3NyYy9saWIvY29tbWVudC1pdGVtL2NvbW1lbnQtaXRlbS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29tbWVudC9zcmMvbGliL2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nQ+XG4gICAgICA8YXgtdGV4dD5SZXBseTwvYXgtdGV4dD5cbiAgICA8L2Rpdj5cbiAgPC9kaXY+XG4gIEBpZiAoY29tbWVudEl0ZW1zKCkubGVuZ3RoID4gMCkge1xuICAgIDxkaXYgY2xhc3M9XCJheC1jb21tZW50LXJlcGxpZXNcIj5cbiAgICAgIDxheC1jb2xsYXBzZS1ncm91cCBsb29rPVwibm9uZVwiIFthY2NvcmRpb25dPVwidHJ1ZVwiIFthY3RpdmVJbmRleF09XCIxXCI+XG4gICAgICAgIDxheC1jb2xsYXBzZSBjYXB0aW9uPVwiVmlldyBhbGwgUmVwbGllc1wiIFtpc0NvbGxhcHNlZF09XCJ0cnVlXCI+XG4gICAgICAgICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiYXgtY29tbWVudC1pdGVtXCI+PC9uZy1jb250ZW50PlxuICAgICAgICA8L2F4LWNvbGxhcHNlPlxuICAgICAgPC9heC1jb2xsYXBzZS1ncm91cD5cbiAgICA8L2Rpdj5cbiAgfVxuPC9kaXY+XG4iXX0=
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { Component, input } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
import * as i1 from "@acorex/components/decorators";
|
4
|
+
export class AXCommentLikeComponent {
|
5
|
+
constructor() {
|
6
|
+
this.liked = input.required();
|
7
|
+
}
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentLikeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
9
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.0.2", type: AXCommentLikeComponent, selector: "ax-comment-like", inputs: { liked: { classPropertyName: "liked", publicName: "liked", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<div class=\"ax-comment-like-container\">\n <ax-icon class=\"ax-icon ax-icon-heart\" [class.ax-state-liked]=\"liked()\"></ax-icon>\n <ax-text><ng-content></ng-content></ax-text>\n</div>\n", styles: [".ax-comment-like-container{display:flex;align-items:center}.ax-comment-like-container ax-icon{margin-inline-end:.2rem;color:rgba(var(--ax-color-danger-500))}.ax-comment-like-container ax-icon.ax-state-liked{font-weight:700}.ax-comment-like-container ax-text{color:rgba(var(--ax-color-danger-500))}\n"], dependencies: [{ kind: "component", type: i1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }] }); }
|
10
|
+
}
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentLikeComponent, decorators: [{
|
12
|
+
type: Component,
|
13
|
+
args: [{ selector: 'ax-comment-like', template: "<div class=\"ax-comment-like-container\">\n <ax-icon class=\"ax-icon ax-icon-heart\" [class.ax-state-liked]=\"liked()\"></ax-icon>\n <ax-text><ng-content></ng-content></ax-text>\n</div>\n", styles: [".ax-comment-like-container{display:flex;align-items:center}.ax-comment-like-container ax-icon{margin-inline-end:.2rem;color:rgba(var(--ax-color-danger-500))}.ax-comment-like-container ax-icon.ax-state-liked{font-weight:700}.ax-comment-like-container ax-text{color:rgba(var(--ax-color-danger-500))}\n"] }]
|
14
|
+
}] });
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVudC1saWtlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9jb21tZW50L3NyYy9saWIvY29tbWVudC1saWtlL2NvbW1lbnQtbGlrZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBv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|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
import * as i1 from "@acorex/components/decorators";
|
4
|
+
export class AXCommentReplyComponent {
|
5
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentReplyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
6
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXCommentReplyComponent, selector: "ax-comment-reply", ngImport: i0, template: "<div class=\"ax-comment-reply-container\">\n <ax-icon class=\"ax-icon ax-icon-comment\"></ax-icon>\n <ax-text><ng-content></ng-content></ax-text>\n</div>\n", styles: [".ax-comment-reply-container{display:flex;align-items:center}.ax-comment-reply-container ax-icon{margin-inline-end:.2rem;color:rgba(var(--ax-color-text-default))}.ax-comment-reply-container ax-text{color:rgba(var(--ax-color-text-default))}\n"], dependencies: [{ kind: "component", type: i1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }] }); }
|
7
|
+
}
|
8
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentReplyComponent, decorators: [{
|
9
|
+
type: Component,
|
10
|
+
args: [{ selector: 'ax-comment-reply', template: "<div class=\"ax-comment-reply-container\">\n <ax-icon class=\"ax-icon ax-icon-comment\"></ax-icon>\n <ax-text><ng-content></ng-content></ax-text>\n</div>\n", styles: [".ax-comment-reply-container{display:flex;align-items:center}.ax-comment-reply-container ax-icon{margin-inline-end:.2rem;color:rgba(var(--ax-color-text-default))}.ax-comment-reply-container ax-text{color:rgba(var(--ax-color-text-default))}\n"] }]
|
11
|
+
}] });
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2Z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nRlbnQ+PC9heC10ZXh0PlxuPC9kaXY+XG4iXX0=
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { Component, ViewEncapsulation } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export class AXCommentViewComponent {
|
4
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
5
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXCommentViewComponent, selector: "ax-comment-view", ngImport: i0, template: "<ng-content select=\"ax-comment-item\"></ng-content>\n", styles: ["ax-comment-view{border:1px solid rgb(var(--ax-color-border-default));border-radius:var(--ax-rounded-border-default);display:block;padding:1.5rem;margin-bottom:1rem}\n"], encapsulation: i0.ViewEncapsulation.None }); }
|
6
|
+
}
|
7
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentViewComponent, decorators: [{
|
8
|
+
type: Component,
|
9
|
+
args: [{ selector: 'ax-comment-view', encapsulation: ViewEncapsulation.None, template: "<ng-content select=\"ax-comment-item\"></ng-content>\n", styles: ["ax-comment-view{border:1px solid rgb(var(--ax-color-border-default));border-radius:var(--ax-rounded-border-default);display:block;padding:1.5rem;margin-bottom:1rem}\n"] }]
|
10
|
+
}] });
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVudC12aWV3LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9jb21tZW50L3NyYy9saWIvY29tbWVudC12aWV3L2NvbW1lbnQtdmlldy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29tbWVudC9zcmMvbGliL2NvbW1lbnQtdmlldy9jb21tZW50LXZpZXcuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFRN0QsTUFBTSxPQUFPLHNCQUFzQjs4R0FBdEIsc0JBQXNCO2tHQUF0QixzQkFBc0IsdURDUm5DLHdEQUNBOzsyRkRPYSxzQkFBc0I7a0JBTmxDLFNBQVM7K0JBQ0UsaUJBQWlCLGlCQUdaLGlCQUFpQixDQUFDLElBQUkiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQsIFZpZXdFbmNhcHN1bGF0aW9uIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ2F4LWNvbW1lbnQtdmlldycsXG4gIHRlbXBsYXRlVXJsOiAnLi9jb21tZW50LXZpZXcuY29tcG9uZW50Lmh0bWwnLFxuICBzdHlsZVVybHM6IFsnLi9jb21tZW50LXZpZXcuY29tcG9uZW50LnNjc3MnXSxcbiAgZW5jYXBzdWxhdGlvbjogVmlld0VuY2Fwc3VsYXRpb24uTm9uZSxcbn0pXG5leHBvcnQgY2xhc3MgQVhDb21tZW50Vmlld0NvbXBvbmVudCB7fVxuIiwiPG5nLWNvbnRlbnQgc2VsZWN0PVwiYXgtY29tbWVudC1pdGVtXCI+PC9uZy1jb250ZW50PlxuIl19
|
@@ -0,0 +1,48 @@
|
|
1
|
+
import { AXButtonModule } from '@acorex/components/button';
|
2
|
+
import { AXCollapseModule } from '@acorex/components/collapse';
|
3
|
+
import { AXDecoratorModule } from '@acorex/components/decorators';
|
4
|
+
import { AXTextAreaModule } from '@acorex/components/text-area';
|
5
|
+
import { AXWysiwygModule } from '@acorex/components/wysiwyg';
|
6
|
+
import { NgModule } from '@angular/core';
|
7
|
+
import { AXCommentContainerComponent } from './comment-container/comment-container.component';
|
8
|
+
import { AXCommentInputComponent } from './comment-input/comment-input.component';
|
9
|
+
import { AxCommentItemComponent } from './comment-item/comment-item.component';
|
10
|
+
import { AXCommentLikeComponent } from './comment-like/comment-like.component';
|
11
|
+
import { AXCommentReplyComponent } from './comment-reply/comment-reply.component';
|
12
|
+
import { AXCommentViewComponent } from './comment-view/comment-view.component';
|
13
|
+
import { AXCommentService } from './services/comment.service';
|
14
|
+
import * as i0 from "@angular/core";
|
15
|
+
const COMPONENT = [
|
16
|
+
AXCommentViewComponent,
|
17
|
+
AXCommentInputComponent,
|
18
|
+
AXCommentContainerComponent,
|
19
|
+
AxCommentItemComponent,
|
20
|
+
AXCommentLikeComponent,
|
21
|
+
AXCommentReplyComponent,
|
22
|
+
];
|
23
|
+
const MODULES = [AXDecoratorModule, AXWysiwygModule, AXCollapseModule, AXButtonModule, AXTextAreaModule];
|
24
|
+
export class AXCommentModule {
|
25
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
26
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.2", ngImport: i0, type: AXCommentModule, declarations: [AXCommentViewComponent,
|
27
|
+
AXCommentInputComponent,
|
28
|
+
AXCommentContainerComponent,
|
29
|
+
AxCommentItemComponent,
|
30
|
+
AXCommentLikeComponent,
|
31
|
+
AXCommentReplyComponent], imports: [AXDecoratorModule, AXWysiwygModule, AXCollapseModule, AXButtonModule, AXTextAreaModule], exports: [AXCommentViewComponent,
|
32
|
+
AXCommentInputComponent,
|
33
|
+
AXCommentContainerComponent,
|
34
|
+
AxCommentItemComponent,
|
35
|
+
AXCommentLikeComponent,
|
36
|
+
AXCommentReplyComponent] }); }
|
37
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentModule, providers: [AXCommentService], imports: [MODULES] }); }
|
38
|
+
}
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentModule, decorators: [{
|
40
|
+
type: NgModule,
|
41
|
+
args: [{
|
42
|
+
declarations: [...COMPONENT],
|
43
|
+
imports: [...MODULES],
|
44
|
+
exports: [...COMPONENT],
|
45
|
+
providers: [AXCommentService],
|
46
|
+
}]
|
47
|
+
}] });
|
48
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVudC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29tbWVudC9zcmMvbGliL2NvbW1lbnQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUMzRCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUMvRCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUNsRSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUNoRSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sNEJBQTRCLENBQUM7QUFDN0QsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsMkJBQTJCLEVBQUUsTUFBTSxpREFBaUQsQ0FBQztBQUM5RixPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSx5Q0FBeUMsQ0FBQztBQUNsRixPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSx1Q0FBdUM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mltcG9ydCB7IEFYQ29tbWVudFJlcGx5Q29tcG9uZW50IH0gZnJvbSAnLi9jb21tZW50LXJlcGx5L2NvbW1lbnQtcmVwbHkuY29tcG9uZW50JztcbmltcG9ydCB7IEFYQ29tbWVudFZpZXdDb21wb25lbnQgfSBmcm9tICcuL2NvbW1lbnQtdmlldy9jb21tZW50LXZpZXcuY29tcG9uZW50JztcbmltcG9ydCB7IEFYQ29tbWVudFNlcnZpY2UgfSBmcm9tICcuL3NlcnZpY2VzL2NvbW1lbnQuc2VydmljZSc7XG5cbmNvbnN0IENPTVBPTkVOVCA9IFtcbiAgQVhDb21tZW50Vmlld0NvbXBvbmVudCxcbiAgQVhDb21tZW50SW5wdXRDb21wb25lbnQsXG4gIEFYQ29tbWVudENvbnRhaW5lckNvbXBvbmVudCxcbiAgQXhDb21tZW50SXRlbUNvbXBvbmVudCxcbiAgQVhDb21tZW50TGlrZUNvbXBvbmVudCxcbiAgQVhDb21tZW50UmVwbHlDb21wb25lbnQsXG5dO1xuY29uc3QgTU9EVUxFUyA9IFtBWERlY29yYXRvck1vZHVsZSwgQVhXeXNpd3lnTW9kdWxlLCBBWENvbGxhcHNlTW9kdWxlLCBBWEJ1dHRvbk1vZHVsZSwgQVhUZXh0QXJlYU1vZHVsZV07XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogWy4uLkNPTVBPTkVOVF0sXG4gIGltcG9ydHM6IFsuLi5NT0RVTEVTXSxcbiAgZXhwb3J0czogWy4uLkNPTVBPTkVOVF0sXG4gIHByb3ZpZGVyczogW0FYQ29tbWVudFNlcnZpY2VdLFxufSlcbmV4cG9ydCBjbGFzcyBBWENvbW1lbnRNb2R1bGUge31cbiJdfQ==
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVudC50eXBlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9jb21tZW50L3NyYy9saWIvY29tbWVudC50eXBlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSB0ZXN0IHtcbiAgdGVzdDogJyc7XG59XG4iXX0=
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { Injectable, signal } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export class AXCommentService {
|
4
|
+
constructor() {
|
5
|
+
this.testData = signal({
|
6
|
+
id: 1,
|
7
|
+
user: { name: 'Meysa Aghili', avatar: '' },
|
8
|
+
likes: 1,
|
9
|
+
content: 'Lorem ipsum is derived from the Latin “dolorem ipsum” roughly translated as “pain itself.',
|
10
|
+
reply: {},
|
11
|
+
});
|
12
|
+
}
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
14
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentService }); }
|
15
|
+
}
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentService, decorators: [{
|
17
|
+
type: Injectable
|
18
|
+
}] });
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVudC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2NvbW1lbnQvc3JjL2xpYi9zZXJ2aWNlcy9jb21tZW50LnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBR25ELE1BQU0sT0FBTyxnQkFBZ0I7SUFEN0I7UUFFRSxhQUFRLEdBQUcsTUFBTSxDQUFNO1lBQ3JCLEVBQUUsRUFBRSxDQUFDO1lBQ0wsSUFBSSxFQUFFLEVBQUUsSUFBSSxFQUFFLGNBQWMsRUFBRSxNQUFNLEVBQUUsRUFBRSxFQUFFO1lBQzFDLEtBQUssRUFBRSxDQUFDO1lBQ1IsT0FBTyxFQUFFLDJGQUEyRjtZQUNwRyxLQUFLLEVBQUUsRUFBRTtTQUNWLENBQUMsQ0FBQztLQUNKOzhHQVJZLGdCQUFnQjtrSEFBaEIsZ0JBQWdCOzsyRkFBaEIsZ0JBQWdCO2tCQUQ1QixVQUFVIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0YWJsZSwgc2lnbmFsIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBJbmplY3RhYmxlKClcbmV4cG9ydCBjbGFzcyBBWENvbW1lbnRTZXJ2aWNlIHtcbiAgdGVzdERhdGEgPSBzaWduYWw8YW55Pih7XG4gICAgaWQ6IDEsXG4gICAgdXNlcjogeyBuYW1lOiAnTWV5c2EgQWdoaWxpJywgYXZhdGFyOiAnJyB9LFxuICAgIGxpa2VzOiAxLFxuICAgIGNvbnRlbnQ6ICdMb3JlbSBpcHN1bSBpcyBkZXJpdmVkIGZyb20gdGhlIExhdGluIOKAnGRvbG9yZW0gaXBzdW3igJ0gcm91Z2hseSB0cmFuc2xhdGVkIGFzIOKAnHBhaW4gaXRzZWxmLicsXG4gICAgcmVwbHk6IHt9LFxuICB9KTtcbn1cbiJdfQ==
|
@@ -76,4 +76,4 @@ export class AXSelectionValueChangedEvent extends AXValueChangedEvent {
|
|
76
76
|
*/
|
77
77
|
export class AXRangeChangedEvent extends AXEvent {
|
78
78
|
}
|
79
|
-
//# sourceMappingURL=data:application/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 'secondary', 'success', 'warning', 'danger', 'info', 'ghost'];
|
10
2
|
export const AX_LOCATIONS = [
|
11
3
|
'bottom-start',
|
12
4
|
'bottom-center',
|
@@ -17,4 +9,4 @@ export const AX_LOCATIONS = [
|
|
17
9
|
'center-end',
|
18
10
|
'center-start',
|
19
11
|
];
|
20
|
-
//# sourceMappingURL=data:application/json;base64,
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3R5bGVzLmNsYXNzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2NvbW1vbi9zcmMvbGliL2NsYXNzZXMvc3R5bGVzLmNsYXNzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBQyxNQUFNLG9CQUFvQixHQUFHLENBQUMsU0FBUyxFQUFFLFdBQVcsRUFBRSxTQUFTLEVBQUUsU0FBUyxFQUFFLFFBQVEsRUFBRSxNQUFNLEVBQUUsT0FBTyxDQUFDLENBQUM7QUFTOUcsTUFBTSxDQUFDLE1BQU0sWUFBWSxHQUFHO0lBQzFCLGNBQWM7SUFDZCxlQUFlO0lBQ2YsWUFBWTtJQUNaLFdBQVc7SUFDWCxZQUFZO0lBQ1osU0FBUztJQUNULFlBQVk7SUFDWixjQUFjO0NBQ2YsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjb25zdCBBWF9TVFlMRV9DT0xPUl9UWVBFUyA9IFsncHJpbWFyeScsICdzZWNvbmRhcnknLCAnc3VjY2VzcycsICd3YXJuaW5nJywgJ2RhbmdlcicsICdpbmZvJywgJ2dob3N0J107XG5cbi8qKlxuICogQSB0b2tlbiB0aGF0IHNwZWNpZmllcyB0aGUgIGNvbG9yIHN0eWxlIG9mIGNvbXBvbmVudC5cbiAqL1xuZXhwb3J0IHR5cGUgQVhTdHlsZUNvbG9yVHlwZSA9ICdwcmltYXJ5JyB8ICdzZWNvbmRhcnknIHwgJ3N1Y2Nlc3MnIHwgJ3dhcm5pbmcnIHwgJ2RhbmdlcicgfCAnaW5mbycgfCAnZ2hvc3QnO1xuXG5leHBvcnQgdHlwZSBBWFN0eWxlTG9va1R5cGUgPSAnc29saWQnIHwgJ2JsYW5rJyB8ICdvdXRsaW5lJyB8ICd0d290b25lJyB8ICdmbGF0JyB8ICdmaWxsJyB8ICdub25lJztcblxuZXhwb3J0IGNvbnN0IEFYX0xPQ0FUSU9OUyA9IFtcbiAgJ2JvdHRvbS1zdGFydCcsXG4gICdib3R0b20tY2VudGVyJyxcbiAgJ2JvdHRvbS1lbmQnLFxuICAndG9wLXN0YXJ0JyxcbiAgJ3RvcC1jZW50ZXInLFxuICAndG9wLWVuZCcsXG4gICdjZW50ZXItZW5kJyxcbiAgJ2NlbnRlci1zdGFydCcsXG5dO1xuXG5leHBvcnQgdHlwZSBBWExvY2F0aW9uID1cbiAgfCAnYm90dG9tLXN0YXJ0J1xuICB8ICdib3R0b20tY2VudGVyJ1xuICB8ICdib3R0b20tZW5kJ1xuICB8ICd0b3Atc3RhcnQnXG4gIHwgJ3RvcC1jZW50ZXInXG4gIHwgJ3RvcC1lbmQnXG4gIHwgJ2NlbnRlci1lbmQnXG4gIHwgJ2NlbnRlci1zdGFydCc7XG4iXX0=
|
@@ -7,32 +7,16 @@ import { AXHotkeysService } from './services/hotkey.service';
|
|
7
7
|
import * as i0 from "@angular/core";
|
8
8
|
export class AXCommonModule {
|
9
9
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
10
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.2", ngImport: i0, type: AXCommonModule, declarations: [AXResponsiveDirective,
|
11
|
-
AXInfiniteScrollerDirective,
|
12
|
-
AXAutoFocusDirective,
|
13
|
-
AXHotkeyDirective], exports: [AXResponsiveDirective,
|
14
|
-
AXInfiniteScrollerDirective,
|
15
|
-
AXAutoFocusDirective,
|
16
|
-
AXHotkeyDirective] }); }
|
10
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.2", ngImport: i0, type: AXCommonModule, declarations: [AXResponsiveDirective, AXInfiniteScrollerDirective, AXAutoFocusDirective, AXHotkeyDirective], exports: [AXResponsiveDirective, AXInfiniteScrollerDirective, AXAutoFocusDirective, AXHotkeyDirective] }); }
|
17
11
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommonModule, providers: [AXHotkeysService] }); }
|
18
12
|
}
|
19
13
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommonModule, decorators: [{
|
20
14
|
type: NgModule,
|
21
15
|
args: [{
|
22
|
-
declarations: [
|
23
|
-
AXResponsiveDirective,
|
24
|
-
AXInfiniteScrollerDirective,
|
25
|
-
AXAutoFocusDirective,
|
26
|
-
AXHotkeyDirective,
|
27
|
-
],
|
16
|
+
declarations: [AXResponsiveDirective, AXInfiniteScrollerDirective, AXAutoFocusDirective, AXHotkeyDirective],
|
28
17
|
imports: [],
|
29
|
-
exports: [
|
30
|
-
AXResponsiveDirective,
|
31
|
-
AXInfiniteScrollerDirective,
|
32
|
-
AXAutoFocusDirective,
|
33
|
-
AXHotkeyDirective,
|
34
|
-
],
|
18
|
+
exports: [AXResponsiveDirective, AXInfiniteScrollerDirective, AXAutoFocusDirective, AXHotkeyDirective],
|
35
19
|
providers: [AXHotkeysService],
|
36
20
|
}]
|
37
21
|
}] });
|
38
|
-
//# sourceMappingURL=data:application/json;base64,
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbW9uLm1vZHVsZS5qcyIsInNvdXJjZVJ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MXLookComponent } from './look-component.class';
|
4
4
|
export class MXColorLookComponent extends classes(MXColorComponent, MXLookComponent) {
|
5
5
|
}
|
6
|
-
//# sourceMappingURL=data:application/json;base64,
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sb3Jsb29rLWNvbXBvbmVudC5jbGFzcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9jb21tb24vc3JjL2xpYi9jb21wb25lbnRzL2NvbG9ybG9vay1jb21wb25lbnQuY2xhc3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLFVBQVUsQ0FBQztBQUNuQyxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUMzRCxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sd0JBQXdCLENBQUM7QUFFekQsTUFBTSxPQUFPLG9CQUFxQixTQUFRLE9BQU8sQ0FBQyxnQkFBZ0IsRUFBRSxlQUFlLENBQUM7Q0FBRyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNsYXNzZXMgfSBmcm9tICdwb2x5dHlwZSc7XG5pbXBvcnQgeyBNWENvbG9yQ29tcG9uZW50IH0gZnJvbSAnLi9jb2xvci1jb21wb25lbnQuY2xhc3MnO1xuaW1wb3J0IHsgTVhMb29rQ29tcG9uZW50IH0gZnJvbSAnLi9sb29rLWNvbXBvbmVudC5jbGFzcyc7XG5cbmV4cG9ydCBjbGFzcyBNWENvbG9yTG9va0NvbXBvbmVudCBleHRlbmRzIGNsYXNzZXMoTVhDb2xvckNvbXBvbmVudCwgTVhMb29rQ29tcG9uZW50KSB7fVxuIl19
|
@@ -51,4 +51,4 @@ export class MXInputBaseValueComponent extends MXValueComponent {
|
|
51
51
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: MXInputBaseValueComponent, decorators: [{
|
52
52
|
type: Injectable
|
53
53
|
}] });
|
54
|
-
//# sourceMappingURL=data:application/json;base64,
|
54
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtYmFzZS12YWx1ZS1jb21wb25lbnQuY2xhc3MuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29tbW9uL3NyYy9saWIvY29tcG9uZW50cy9pbnB1dC1iYXNlLXZhbHVlLWNvbXBvbmVudC5jbGFzcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUV6RCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQzs7QUFHM0QsTUFBTSxPQUFPLHlCQUFzQyxTQUFRLGdCQUFtQjtJQUQ5RTs7UUFJRTs7O1dBR0c7UUFDSCxjQUFTLEdBQTZDLElBQUksWUFBWSxFQUE4QixDQUFDO1FBRXJHOzs7V0FHRztRQUNILFlBQU8sR0FBNkMsSUFBSSxZQUFZLEVBQThCLENBQUM7UUFFbkc7OztXQUdHO1FBQ0gsZUFBVSxHQUE2QyxJQUFJLFlBQVksRUFBOEIsQ0FBQztLQTRCdkc7SUExQlcsa0JBQWtCLENBQUMsQ0FBZ0I7UUFDM0MsSUFBSSxDQUFDLFNBQVMsQ0FBQyxJQUFJLENBQUM7WUFDbEIsU0FBUyxFQUFFLElBQUk7WUFDZixXQUFXLEVBQUUsQ0FBQztTQUNmLENBQUMsQ0FBQztJQUNMLENBQUM7SUFFUyxnQkFBZ0IsQ0FBQyxDQUFnQjtRQUN6QyxJQUFJLENBQUMsT0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2FyZEV2ZW50KSB7XG4gICAgdGhpcy5vbktleVByZXNzLmVtaXQoe1xuICAgICAgY29tcG9uZW50OiB0aGlzLFxuICAgICAgbmF0aXZlRXZlbnQ6IGUsXG4gICAgfSk7XG4gIH1cblxuICBvdmVycmlkZSBmb2N1cygpOiB2b2lkIHtcbiAgICBjb25zdCBpbnB1dCA9IHRoaXMuZ2V0SG9zdEVsZW1lbnQoKS5xdWVyeVNlbGVjdG9yKCdpbnB1dCcpO1xuICAgIGlmIChpbnB1dCkgaW5wdXQuZm9jdXMoKTtcbiAgICBlbHNlIHN1cGVyLmZvY3VzKCk7XG4gIH1cbn1cbiJdfQ==
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Directive, ElementRef, Host, Input, Optional, Renderer2, Self
|
1
|
+
import { Directive, ElementRef, Host, Input, Optional, Renderer2, Self } from '@angular/core';
|
2
2
|
import { AXFocusableComponent } from '../classes/components.class';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
import * as i1 from "../classes/components.class";
|
@@ -21,16 +21,8 @@ export class AXAutoFocusDirective {
|
|
21
21
|
}, this.time);
|
22
22
|
return;
|
23
23
|
}
|
24
|
-
const list = [
|
25
|
-
|
26
|
-
'input',
|
27
|
-
'[href]',
|
28
|
-
'select',
|
29
|
-
'textarea',
|
30
|
-
'[tabindex]',
|
31
|
-
].map((c) => c + ':not([tabindex="-1"])');
|
32
|
-
const focusable = this.el.nativeElement.querySelector(list.join(', ')) ??
|
33
|
-
this.el.nativeElement;
|
24
|
+
const list = ['button', 'input', '[href]', 'select', 'textarea', '[tabindex]'].map((c) => c + ':not([tabindex="-1"])');
|
25
|
+
const focusable = this.el.nativeElement.querySelector(list.join(', ')) ?? this.el.nativeElement;
|
34
26
|
const attr = document.createAttribute('autofocus');
|
35
27
|
focusable.setAttributeNode(attr);
|
36
28
|
const hasTabindex = focusable.hasAttribute('tabindex');
|
@@ -63,4 +55,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
63
55
|
type: Input,
|
64
56
|
args: ['axAutoFocusTime']
|
65
57
|
}] } });
|
66
|
-
//# sourceMappingURL=data:application/json;base64,
|
58
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0by1mb2N1cy5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29tbW9uL3NyYy9saWIvZGlyZWN0aXZlcy9hdXRvLWZvY3VzLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQWlCLFNBQVMsRUFBRSxVQUFVLEVBQUUsSUFBSSxFQUFFLEtBQUssRUFBRSxRQUFRLEVBQUUsU0FBUyxFQUFFLElBQUksRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUM3RyxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQzs7O0FBS25FLE1BQU0sT0FBTyxvQkFBb0I7SUFPL0IsWUFDVSxRQUFtQixFQUNuQixFQUEyQixFQUk1QixLQUEyQjtRQUwxQixhQUFRLEdBQVIsUUFBUSxDQUFXO1FBQ25CLE9BQUUsR0FBRixFQUFFLENBQXlCO1FBSTVCLFVBQUssR0FBTCxLQUFLLENBQXNCO1FBWDdCLGNBQVMsR0FBYSxJQUFJLENBQUM7UUFHbEMsU0FBSSxHQUFHLEVBQUUsQ0FBQztJQVNQLENBQUM7SUFFSixlQUFlO1FBQ2IsSUFBSSxDQUFDLE9BQU8sRUFBRSxDQUFDO0lBQ2pCLENBQUM7SUFFUyxPQUFPO1FBQ2YsSUFBSSxJQUFJLENBQUMsU0FBUyxFQUFFLENBQUM7WUFDbkIsSUFBSSxJQUFJLENBQUMsS0FBSyxFQUFFLENBQUM7Z0JBQ2YsVUFBVSxDQUFDLEdBQUcsRUF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1,4 @@
|
|
1
|
-
import { Directive, ElementRef, Host, Input, Optional, Self
|
1
|
+
import { Directive, ElementRef, Host, Input, Optional, Self } from '@angular/core';
|
2
2
|
import { AXComponent } from '../classes/components.class';
|
3
3
|
import { AXHotkeysService } from '../services/hotkey.service';
|
4
4
|
import * as i0 from "@angular/core";
|
@@ -18,8 +18,7 @@ export class AXHotkeyDirective {
|
|
18
18
|
if (typeof this.axHotkey == 'string') {
|
19
19
|
this._addDefaultAction(this.axHotkey);
|
20
20
|
}
|
21
|
-
else if (typeof this.axHotkey == 'object' &&
|
22
|
-
!Array.isArray(this.axHotkey)) {
|
21
|
+
else if (typeof this.axHotkey == 'object' && !Array.isArray(this.axHotkey)) {
|
23
22
|
this._addHotKeyAction([this.axHotkey]);
|
24
23
|
}
|
25
24
|
else if (Array.isArray(this.axHotkey)) {
|
@@ -78,4 +77,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
78
77
|
}] }, { type: i2.AXHotkeysService }], propDecorators: { axHotkey: [{
|
79
78
|
type: Input
|
80
79
|
}] } });
|
81
|
-
//# sourceMappingURL=data:application/json;base64,
|
80
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaG90a2V5LmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9jb21tb24vc3JjL2xpYi9kaXJlY3RpdmVzL2hvdGtleS5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFpQixTQUFTLEVBQUUsVUFBVSxFQUFFLElBQUksRUFBRSxLQUFLLEVBQUUsUUFBUSxFQUFFLElBQUksRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUVsRyxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sNkJBQTZC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XkuaXNBcnJheSh0aGlzLmF4SG90a2V5KSkge1xuICAgICAgdGhpcy5fYWRkSG90S2V5QWN0aW9uKFt0aGlzLmF4SG90a2V5IGFzIEFYSG90S2V5QWN0aW9uXSk7XG4gICAgfSBlbHNlIGlmIChBcnJheS5pc0FycmF5KHRoaXMuYXhIb3RrZXkpKSB7XG4gICAgICB0aGlzLl9hZGRIb3RLZXlBY3Rpb24odGhpcy5heEhvdGtleSk7XG4gICAgfVxuICB9XG5cbiAgcHJpdmF0ZSBfYWRkRGVmYXVsdEFjdGlvbihob3RrZXk6IHN0cmluZykge1xuICAgIHRoaXMuX3N1YnMucHVzaChcbiAgICAgIHRoaXMuaHMuYWRkU2hvcnRjdXQoeyBrZXlzOiBob3RrZXkgfSkuc3Vic2NyaWJlKCgpID0+IHtcbiAgICAgICAgWydjbGljaycsICd0b2dnbGUnLCAnb3BlbicsICdmb2N1cyddLmZvckVhY2goKGEpID0+IHtcbiAgICAgICAgICBpZiAodGhpcy5faG9zdFthXSkge1xuICAgICAgICAgICAgdGhpcy5faG9zdFthXSgpO1xuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICAgIH1cbiAgICAgICAgfSk7XG4gICAgICB9KSxcbiAgICApO1xuICB9XG5cbiAgcHJpdmF0ZSBfYWRkSG90S2V5QWN0aW9uKGhvdGtleXM6IEFYSG90S2V5QWN0aW9uW10pIHtcbiAgICBob3RrZXlzLmZvckVhY2goKGspID0+IHtcbiAgICAgIGNvbnN0IGhvdGtleSA9ICg8dW5rbm93bj5PYmplY3QuZW50cmllcyhrKVswXVswXSkgYXMgc3RyaW5nO1xuICAgICAgY29uc3QgYWN0aW9uID0gPHVua25vd24+T2JqZWN0LmVudHJpZXMoaylbMF1bMV07XG4gICAgICBpZiAoIWFjdGlvbikgdGhpcy5fYWRkRGVmYXVsdEFjdGlvbihob3RrZXkpO1xuICAgICAgZWxzZSB7XG4gICAgICAgIHRoaXMuX3N1YnMucHVzaChcbiAgICAgICAgICB0aGlzLmhzLmFkZFNob3J0Y3V0KHsga2V5czogaG90a2V5IH0pLnN1YnNjcmliZSgoKSA9PiB7XG4gICAgICAgICAgICBpZiAodHlwZW9mIGFjdGlvbiA9PSAnc3RyaW5nJyAmJiB0aGlzLl9ob3N0W2FjdGlvbl0pIHtcbiAgICAgICAgICAgICAgdGhpcy5faG9zdFthY3Rpb25dKCk7XG4gICAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGlmICh0eXBlb2YgYWN0aW9uID09ICdmdW5jdGlvbicpIHtcbiAgICAgICAgICAgICAgYWN0aW9uKCk7XG4gICAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9KSxcbiAgICAgICAgKTtcbiAgICAgIH1cbiAgICB9KTtcbiAgfVxuXG4gIG5nT25EZXN0cm95KCkge1xuICAgIHRoaXMuX3N1YnMuZm9yRWFjaCgocykgPT4ge1xuICAgICAgcy51bnN1YnNjcmliZSgpO1xuICAgIH0pO1xuICB9XG59XG4iXX0=
|