@memberjunction/ng-explorer-settings 5.49.0 → 5.50.0
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/dist/lib/module.d.ts +27 -26
- package/dist/lib/module.d.ts.map +1 -1
- package/dist/lib/module.js +5 -0
- package/dist/lib/module.js.map +1 -1
- package/dist/lib/user-app-config/user-app-config-content.component.d.ts +138 -0
- package/dist/lib/user-app-config/user-app-config-content.component.d.ts.map +1 -0
- package/dist/lib/user-app-config/user-app-config-content.component.js +753 -0
- package/dist/lib/user-app-config/user-app-config-content.component.js.map +1 -0
- package/dist/lib/user-app-config/user-app-config.component.d.ts +18 -97
- package/dist/lib/user-app-config/user-app-config.component.d.ts.map +1 -1
- package/dist/lib/user-app-config/user-app-config.component.js +39 -697
- package/dist/lib/user-app-config/user-app-config.component.js.map +1 -1
- package/dist/public-api.d.ts +1 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +1 -0
- package/dist/public-api.js.map +1 -1
- package/package.json +20 -20
package/dist/lib/module.d.ts
CHANGED
|
@@ -2,34 +2,35 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./settings/settings.component";
|
|
3
3
|
import * as i2 from "./user-profile-settings/user-profile-settings.component";
|
|
4
4
|
import * as i3 from "./user-app-config/user-app-config.component";
|
|
5
|
-
import * as i4 from "./
|
|
6
|
-
import * as i5 from "./
|
|
7
|
-
import * as i6 from "./
|
|
8
|
-
import * as i7 from "./
|
|
9
|
-
import * as i8 from "./
|
|
10
|
-
import * as i9 from "./
|
|
11
|
-
import * as i10 from "./
|
|
12
|
-
import * as i11 from "./
|
|
13
|
-
import * as i12 from "./
|
|
14
|
-
import * as i13 from "./
|
|
15
|
-
import * as i14 from "./
|
|
16
|
-
import * as i15 from "./
|
|
17
|
-
import * as i16 from "./
|
|
18
|
-
import * as i17 from "./
|
|
19
|
-
import * as i18 from "
|
|
20
|
-
import * as i19 from "@angular/
|
|
21
|
-
import * as i20 from "@angular/
|
|
22
|
-
import * as i21 from "@
|
|
23
|
-
import * as i22 from "@memberjunction/ng-entity-
|
|
24
|
-
import * as i23 from "@memberjunction/ng-
|
|
25
|
-
import * as i24 from "@memberjunction/ng-
|
|
26
|
-
import * as i25 from "@memberjunction/ng-
|
|
27
|
-
import * as i26 from "
|
|
28
|
-
import * as i27 from "
|
|
29
|
-
import * as i28 from "@memberjunction/ng-
|
|
5
|
+
import * as i4 from "./user-app-config/user-app-config-content.component";
|
|
6
|
+
import * as i5 from "./notification-preferences/notification-preferences.component";
|
|
7
|
+
import * as i6 from "./general-settings/general-settings.component";
|
|
8
|
+
import * as i7 from "./account-info/account-info.component";
|
|
9
|
+
import * as i8 from "./application-settings/application-settings.component";
|
|
10
|
+
import * as i9 from "./appearance-settings/appearance-settings.component";
|
|
11
|
+
import * as i10 from "./sql-logging/sql-logging.component";
|
|
12
|
+
import * as i11 from "./user-management/user-management.component";
|
|
13
|
+
import * as i12 from "./role-management/role-management.component";
|
|
14
|
+
import * as i13 from "./application-management/application-management.component";
|
|
15
|
+
import * as i14 from "./entity-permissions/entity-permissions.component";
|
|
16
|
+
import * as i15 from "./role-management/role-dialog/role-dialog.component";
|
|
17
|
+
import * as i16 from "./user-management/user-dialog/user-dialog.component";
|
|
18
|
+
import * as i17 from "./entity-permissions/permission-dialog/permission-dialog.component";
|
|
19
|
+
import * as i18 from "./application-management/application-dialog/application-dialog.component";
|
|
20
|
+
import * as i19 from "@angular/common";
|
|
21
|
+
import * as i20 from "@angular/forms";
|
|
22
|
+
import * as i21 from "@angular/cdk/drag-drop";
|
|
23
|
+
import * as i22 from "@memberjunction/ng-entity-permissions";
|
|
24
|
+
import * as i23 from "@memberjunction/ng-entity-form-dialog";
|
|
25
|
+
import * as i24 from "@memberjunction/ng-simple-record-list";
|
|
26
|
+
import * as i25 from "@memberjunction/ng-join-grid";
|
|
27
|
+
import * as i26 from "@memberjunction/ng-code-editor";
|
|
28
|
+
import * as i27 from "./shared/shared-settings.module";
|
|
29
|
+
import * as i28 from "@memberjunction/ng-shared-generic";
|
|
30
|
+
import * as i29 from "@memberjunction/ng-ui-components";
|
|
30
31
|
export declare class ExplorerSettingsModule {
|
|
31
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<ExplorerSettingsModule, never>;
|
|
32
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ExplorerSettingsModule, [typeof i1.SettingsComponent, typeof i2.UserProfileSettingsComponent, typeof i3.UserAppConfigComponent, typeof i4.
|
|
33
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ExplorerSettingsModule, [typeof i1.SettingsComponent, typeof i2.UserProfileSettingsComponent, typeof i3.UserAppConfigComponent, typeof i4.UserAppConfigContentComponent, typeof i5.NotificationPreferencesComponent, typeof i6.GeneralSettingsComponent, typeof i7.AccountInfoComponent, typeof i8.ApplicationSettingsComponent, typeof i9.AppearanceSettingsComponent, typeof i10.SqlLoggingComponent, typeof i11.UserManagementComponent, typeof i12.RoleManagementComponent, typeof i13.ApplicationManagementComponent, typeof i14.EntityPermissionsComponent, typeof i15.RoleDialogComponent, typeof i16.UserDialogComponent, typeof i17.PermissionDialogComponent, typeof i18.ApplicationDialogComponent], [typeof i19.CommonModule, typeof i20.FormsModule, typeof i20.ReactiveFormsModule, typeof i21.DragDropModule, typeof i22.EntityPermissionsModule, typeof i23.EntityFormDialogModule, typeof i24.SimpleRecordListModule, typeof i25.JoinGridModule, typeof i26.CodeEditorModule, typeof i27.SharedSettingsModule, typeof i28.SharedGenericModule, typeof i29.MJButtonDirective, typeof i29.MJPageHeaderInteriorComponent, typeof i29.MJPageBodyInteriorComponent, typeof i29.MJPageSearchComponent, typeof i29.MJFilterPopoverComponent, typeof i29.MJFilterPanelComponent, typeof i29.MJFilterChipComponent, typeof i29.MJRefreshButtonComponent, typeof i29.MJStatBadgeComponent, typeof i29.MJViewToggleComponent, typeof i29.MJEmptyStateComponent, typeof i29.MJAlertComponent, typeof i29.MJAccordionModule], [typeof i1.SettingsComponent, typeof i2.UserProfileSettingsComponent, typeof i3.UserAppConfigComponent, typeof i4.UserAppConfigContentComponent, typeof i5.NotificationPreferencesComponent, typeof i6.GeneralSettingsComponent, typeof i7.AccountInfoComponent, typeof i8.ApplicationSettingsComponent, typeof i9.AppearanceSettingsComponent, typeof i10.SqlLoggingComponent, typeof i11.UserManagementComponent, typeof i12.RoleManagementComponent, typeof i13.ApplicationManagementComponent, typeof i14.EntityPermissionsComponent, typeof i15.RoleDialogComponent, typeof i16.UserDialogComponent, typeof i17.PermissionDialogComponent, typeof i18.ApplicationDialogComponent]>;
|
|
33
34
|
static ɵinj: i0.ɵɵInjectorDeclaration<ExplorerSettingsModule>;
|
|
34
35
|
}
|
|
35
36
|
//# sourceMappingURL=module.d.ts.map
|
package/dist/lib/module.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/lib/module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/lib/module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2DA,qBA8Ea,sBAAsB;yCAAtB,sBAAsB;0CAAtB,sBAAsB;0CAAtB,sBAAsB;CAAI"}
|
package/dist/lib/module.js
CHANGED
|
@@ -16,6 +16,7 @@ import { SettingsComponent } from './settings/settings.component';
|
|
|
16
16
|
// User-facing components
|
|
17
17
|
import { UserProfileSettingsComponent } from './user-profile-settings/user-profile-settings.component';
|
|
18
18
|
import { UserAppConfigComponent } from './user-app-config/user-app-config.component';
|
|
19
|
+
import { UserAppConfigContentComponent } from './user-app-config/user-app-config-content.component';
|
|
19
20
|
import { NotificationPreferencesComponent } from './notification-preferences/notification-preferences.component';
|
|
20
21
|
// New user settings components
|
|
21
22
|
import { GeneralSettingsComponent } from './general-settings/general-settings.component';
|
|
@@ -70,6 +71,7 @@ export class ExplorerSettingsModule {
|
|
|
70
71
|
// User-facing components
|
|
71
72
|
UserProfileSettingsComponent,
|
|
72
73
|
UserAppConfigComponent,
|
|
74
|
+
UserAppConfigContentComponent,
|
|
73
75
|
NotificationPreferencesComponent,
|
|
74
76
|
// New user settings components
|
|
75
77
|
GeneralSettingsComponent,
|
|
@@ -120,6 +122,7 @@ export class ExplorerSettingsModule {
|
|
|
120
122
|
// User-facing components
|
|
121
123
|
UserProfileSettingsComponent,
|
|
122
124
|
UserAppConfigComponent,
|
|
125
|
+
UserAppConfigContentComponent,
|
|
123
126
|
NotificationPreferencesComponent,
|
|
124
127
|
// New user settings components
|
|
125
128
|
GeneralSettingsComponent,
|
|
@@ -146,6 +149,7 @@ export class ExplorerSettingsModule {
|
|
|
146
149
|
// User-facing components
|
|
147
150
|
UserProfileSettingsComponent,
|
|
148
151
|
UserAppConfigComponent,
|
|
152
|
+
UserAppConfigContentComponent,
|
|
149
153
|
NotificationPreferencesComponent,
|
|
150
154
|
// New user settings components
|
|
151
155
|
GeneralSettingsComponent,
|
|
@@ -191,6 +195,7 @@ export class ExplorerSettingsModule {
|
|
|
191
195
|
// User-facing components
|
|
192
196
|
UserProfileSettingsComponent,
|
|
193
197
|
UserAppConfigComponent,
|
|
198
|
+
UserAppConfigContentComponent,
|
|
194
199
|
NotificationPreferencesComponent,
|
|
195
200
|
// New user settings components
|
|
196
201
|
GeneralSettingsComponent,
|
package/dist/lib/module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.js","sourceRoot":"","sources":["../../src/lib/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD,OAAO,EACL,iBAAiB,EACjB,6BAA6B,EAC7B,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ourcesContent":["import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { DragDropModule } from '@angular/cdk/drag-drop';\n\nimport {\n MJButtonDirective,\n MJPageHeaderInteriorComponent,\n MJPageBodyInteriorComponent,\n MJPageSearchComponent,\n MJFilterPopoverComponent,\n MJFilterPanelComponent,\n MJFilterChipComponent,\n MJRefreshButtonComponent,\n MJStatBadgeComponent,\n MJViewToggleComponent,\n MJEmptyStateComponent,\n MJAlertComponent,\n MJAccordionModule\n} from '@memberjunction/ng-ui-components';\n\nimport { EntityPermissionsModule } from '@memberjunction/ng-entity-permissions';\nimport { EntityFormDialogModule } from '@memberjunction/ng-entity-form-dialog';\nimport { SimpleRecordListModule } from '@memberjunction/ng-simple-record-list';\nimport { JoinGridModule } from '@memberjunction/ng-join-grid';\nimport { CodeEditorModule } from '@memberjunction/ng-code-editor';\nimport { SharedGenericModule } from '@memberjunction/ng-shared-generic';\n\n// Shared module\nimport { SharedSettingsModule } from './shared/shared-settings.module';\n\n// Main settings container\nimport { SettingsComponent } from './settings/settings.component';\n\n// User-facing components\nimport { UserProfileSettingsComponent } from './user-profile-settings/user-profile-settings.component';\nimport { UserAppConfigComponent } from './user-app-config/user-app-config.component';\nimport { UserAppConfigContentComponent } from './user-app-config/user-app-config-content.component';\nimport { NotificationPreferencesComponent } from './notification-preferences/notification-preferences.component';\n\n// New user settings components\nimport { GeneralSettingsComponent } from './general-settings/general-settings.component';\nimport { AccountInfoComponent } from './account-info/account-info.component';\nimport { ApplicationSettingsComponent } from './application-settings/application-settings.component';\nimport { AppearanceSettingsComponent } from './appearance-settings/appearance-settings.component';\n\n// Admin components (used by Admin app dashboards)\nimport { SqlLoggingComponent } from './sql-logging/sql-logging.component';\nimport { UserManagementComponent } from './user-management/user-management.component';\nimport { RoleManagementComponent } from './role-management/role-management.component';\nimport { ApplicationManagementComponent } from './application-management/application-management.component';\nimport { EntityPermissionsComponent } from './entity-permissions/entity-permissions.component';\n\n// Admin dialog components\nimport { RoleDialogComponent } from './role-management/role-dialog/role-dialog.component';\nimport { UserDialogComponent } from './user-management/user-dialog/user-dialog.component';\nimport { PermissionDialogComponent } from './entity-permissions/permission-dialog/permission-dialog.component';\nimport { ApplicationDialogComponent } from './application-management/application-dialog/application-dialog.component';\n\n@NgModule({\n declarations: [\n // Main settings container\n SettingsComponent,\n // User-facing components\n UserProfileSettingsComponent,\n UserAppConfigComponent,\n UserAppConfigContentComponent,\n NotificationPreferencesComponent,\n // New user settings components\n GeneralSettingsComponent,\n AccountInfoComponent,\n ApplicationSettingsComponent,\n AppearanceSettingsComponent,\n // Admin components (used by Admin app dashboards)\n SqlLoggingComponent,\n UserManagementComponent,\n RoleManagementComponent,\n ApplicationManagementComponent,\n EntityPermissionsComponent,\n // Admin dialog components\n RoleDialogComponent,\n UserDialogComponent,\n PermissionDialogComponent,\n ApplicationDialogComponent\n ],\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n DragDropModule,\n EntityPermissionsModule,\n EntityFormDialogModule,\n SimpleRecordListModule,\n JoinGridModule,\n CodeEditorModule,\n SharedSettingsModule,\n SharedGenericModule,\n MJButtonDirective,\n MJPageHeaderInteriorComponent,\n MJPageBodyInteriorComponent,\n MJPageSearchComponent,\n MJFilterPopoverComponent,\n MJFilterPanelComponent,\n MJFilterChipComponent,\n MJRefreshButtonComponent,\n MJStatBadgeComponent,\n MJViewToggleComponent,\n MJEmptyStateComponent,\n MJAlertComponent,\n MJAccordionModule\n ],\n exports: [\n // Main settings container\n SettingsComponent,\n // User-facing components\n UserProfileSettingsComponent,\n UserAppConfigComponent,\n UserAppConfigContentComponent,\n NotificationPreferencesComponent,\n // New user settings components\n GeneralSettingsComponent,\n AccountInfoComponent,\n ApplicationSettingsComponent,\n AppearanceSettingsComponent,\n // Admin components (used by Admin app dashboards)\n SqlLoggingComponent,\n UserManagementComponent,\n RoleManagementComponent,\n ApplicationManagementComponent,\n EntityPermissionsComponent,\n // Admin dialog components\n RoleDialogComponent,\n UserDialogComponent,\n PermissionDialogComponent,\n ApplicationDialogComponent\n ]\n})\nexport class ExplorerSettingsModule { }\n"]}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { BaseApplication } from '@memberjunction/ng-base-application';
|
|
3
|
+
import { BaseAngularComponent } from '@memberjunction/ng-base-types';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Represents an app item in the configuration UI
|
|
7
|
+
*/
|
|
8
|
+
interface AppConfigItem {
|
|
9
|
+
app: BaseApplication;
|
|
10
|
+
userAppId: string | null;
|
|
11
|
+
sequence: number;
|
|
12
|
+
isActive: boolean;
|
|
13
|
+
isDirty: boolean;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Chrome-free app-configuration content: select which applications appear in
|
|
17
|
+
* the app switcher and arrange their order. Owns all list/reorder/persistence
|
|
18
|
+
* logic (including its own Reset / Save / Cancel footer) but NO overlay —
|
|
19
|
+
* hosts embed it wherever it should live:
|
|
20
|
+
* - `UserAppConfigComponent` wraps it in the full-screen modal (Home dashboard)
|
|
21
|
+
* - the shell's app launcher embeds it as an in-panel view swap
|
|
22
|
+
*
|
|
23
|
+
* Loads on init (hosts create it fresh under an `@if`), saves in a batch on
|
|
24
|
+
* the Save button, and signals the host via `Saved` / `Cancelled` — the host
|
|
25
|
+
* decides what "done" means (close the dialog, swap the view back, etc.).
|
|
26
|
+
*/
|
|
27
|
+
export declare class UserAppConfigContentComponent extends BaseAngularComponent implements OnInit {
|
|
28
|
+
private appManager;
|
|
29
|
+
private sharedService;
|
|
30
|
+
private cdr;
|
|
31
|
+
private ngZone;
|
|
32
|
+
private el;
|
|
33
|
+
/** Emitted once after a successful batch save */
|
|
34
|
+
Saved: EventEmitter<void>;
|
|
35
|
+
/** Emitted when the user cancels (or saves with nothing to save) */
|
|
36
|
+
Cancelled: EventEmitter<void>;
|
|
37
|
+
/** Every system app the user is authorized for, joined with their per-user config */
|
|
38
|
+
AllApps: AppConfigItem[];
|
|
39
|
+
/** Apps the user has enabled, in their configured Sequence order */
|
|
40
|
+
ActiveApps: AppConfigItem[];
|
|
41
|
+
/** Apps not yet enabled, alphabetical */
|
|
42
|
+
AvailableApps: AppConfigItem[];
|
|
43
|
+
/** True while the initial configuration load is in flight */
|
|
44
|
+
IsLoading: boolean;
|
|
45
|
+
/** True while the batch save is in flight (disables the footer buttons) */
|
|
46
|
+
IsSaving: boolean;
|
|
47
|
+
/** User-facing load/save failure message; empty when healthy */
|
|
48
|
+
ErrorMessage: string;
|
|
49
|
+
/** Collapse state for the Available-apps panel (mobile accordion) */
|
|
50
|
+
AvailablePanelCollapsed: boolean;
|
|
51
|
+
/** Collapse state for the Selected-apps panel (mobile accordion) */
|
|
52
|
+
SelectedPanelCollapsed: boolean;
|
|
53
|
+
/** Item currently being dragged for reorder, null when idle */
|
|
54
|
+
DraggedItem: AppConfigItem | null;
|
|
55
|
+
/** Source index of the in-flight drag within ActiveApps */
|
|
56
|
+
DraggedIndex: number;
|
|
57
|
+
/** Index the drag is currently hovering (drop indicator position) */
|
|
58
|
+
DropTargetIndex: number;
|
|
59
|
+
ngOnInit(): Promise<void>;
|
|
60
|
+
/**
|
|
61
|
+
* Adds an app to the user's active list
|
|
62
|
+
*/
|
|
63
|
+
AddApp(item: AppConfigItem): void;
|
|
64
|
+
/**
|
|
65
|
+
* Removes an app from the user's active list
|
|
66
|
+
*/
|
|
67
|
+
RemoveApp(item: AppConfigItem): void;
|
|
68
|
+
/**
|
|
69
|
+
* Toggles an app between active and inactive
|
|
70
|
+
*/
|
|
71
|
+
ToggleApp(item: AppConfigItem): void;
|
|
72
|
+
/**
|
|
73
|
+
* Moves an app up in the order. Positional (splice + renumber), NOT a sequence-value
|
|
74
|
+
* swap: rows can carry duplicate Sequence values (issue #3027 — e.g. a re-enabled app
|
|
75
|
+
* kept a stale value), and swapping two equal values is a silent no-op. Reordering by
|
|
76
|
+
* position then renumbering 0..n-1 always works and heals duplicates as a side effect.
|
|
77
|
+
*/
|
|
78
|
+
MoveUp(item: AppConfigItem): void;
|
|
79
|
+
/**
|
|
80
|
+
* Moves an app down in the order. Positional — see {@link MoveUp} for why.
|
|
81
|
+
*/
|
|
82
|
+
MoveDown(item: AppConfigItem): void;
|
|
83
|
+
private moveActiveApp;
|
|
84
|
+
/**
|
|
85
|
+
* Checks if there are any unsaved changes
|
|
86
|
+
*/
|
|
87
|
+
HasChanges(): boolean;
|
|
88
|
+
/** Cancel button — host decides what dismissal means */
|
|
89
|
+
Cancel(): void;
|
|
90
|
+
/**
|
|
91
|
+
* Saves the user's app configuration
|
|
92
|
+
*/
|
|
93
|
+
Save(): Promise<void>;
|
|
94
|
+
/**
|
|
95
|
+
* Resets all changes and reloads the configuration
|
|
96
|
+
*/
|
|
97
|
+
Reset(): Promise<void>;
|
|
98
|
+
/** Begin an HTML5 drag of an active-app row */
|
|
99
|
+
OnDragStart(event: DragEvent, item: AppConfigItem, index: number): void;
|
|
100
|
+
/** Allow dropping while a row drag passes over the list */
|
|
101
|
+
OnDragOver(event: DragEvent): void;
|
|
102
|
+
/** Track the row index the drag is hovering (drop indicator) */
|
|
103
|
+
OnDragEnter(event: DragEvent, index: number): void;
|
|
104
|
+
/** Clear all drag state (fires on drop or drag cancel) */
|
|
105
|
+
OnDragEnd(): void;
|
|
106
|
+
/** Reorder ActiveApps to the hovered position and renumber sequences */
|
|
107
|
+
OnDrop(event: DragEvent): void;
|
|
108
|
+
/** Source index of the in-flight touch drag (-1 when idle) */
|
|
109
|
+
TouchDragIndex: number;
|
|
110
|
+
/** Row index the touch drag would drop at */
|
|
111
|
+
TouchDropIndex: number;
|
|
112
|
+
/** True while a touch drag is in progress */
|
|
113
|
+
TouchDragActive: boolean;
|
|
114
|
+
private touchStartY;
|
|
115
|
+
private touchCurrentY;
|
|
116
|
+
private touchRowHeight;
|
|
117
|
+
private touchDragElement;
|
|
118
|
+
private touchScrollContainer;
|
|
119
|
+
/** Begin a touch drag of a mobile app row (long-press handle) */
|
|
120
|
+
OnTouchDragStart(event: TouchEvent, index: number): void;
|
|
121
|
+
/** Follow the finger: translate the row, track drop target, auto-scroll near edges */
|
|
122
|
+
OnTouchDragMove(event: TouchEvent): void;
|
|
123
|
+
/** Commit the touch reorder (if moved) and reset touch-drag state */
|
|
124
|
+
OnTouchDragEnd(): void;
|
|
125
|
+
private updateTouchDropTarget;
|
|
126
|
+
private autoScrollIfNeeded;
|
|
127
|
+
private resetTouchDragState;
|
|
128
|
+
private loadConfiguration;
|
|
129
|
+
private buildAppConfigItems;
|
|
130
|
+
private refreshAppLists;
|
|
131
|
+
private resequenceActiveApps;
|
|
132
|
+
private updateUserApplication;
|
|
133
|
+
private createUserApplication;
|
|
134
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserAppConfigContentComponent, never>;
|
|
135
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserAppConfigContentComponent, "mj-user-app-config-content", never, {}, { "Saved": "Saved"; "Cancelled": "Cancelled"; }, never, never, false, never>;
|
|
136
|
+
}
|
|
137
|
+
export {};
|
|
138
|
+
//# sourceMappingURL=user-app-config-content.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-app-config-content.component.d.ts","sourceRoot":"","sources":["../../../src/lib/user-app-config/user-app-config-content.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,YAAY,EAAE,MAAM,EAAiD,MAAM,eAAe,CAAC;AAGvH,OAAO,EAAsB,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAI1F,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;;AAGrE;;GAEG;AACH,UAAU,aAAa;IACrB,GAAG,EAAE,eAAe,CAAC;IACrB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;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