@design.estate/dees-catalog 22.3.1 → 22.4.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_bundle/bundle.js +72 -34
- package/dist_bundle/bundle.js.map +1 -1
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/00group-appui/dees-appui/dees-appui.d.ts +28 -21
- package/dist_ts_web/elements/00group-appui/dees-appui/dees-appui.js +70 -38
- package/dist_ts_web/elements/interfaces/appconfig.d.ts +22 -7
- package/package.json +1 -1
- package/readme.md +6 -3
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/00group-appui/dees-appui/dees-appui.ts +83 -38
- package/ts_web/elements/00group-appui/dees-appui/readme.md +17 -8
- package/ts_web/elements/interfaces/appconfig.ts +22 -7
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@design.estate/dees-catalog',
|
|
6
|
-
version: '22.
|
|
6
|
+
version: '22.4.0',
|
|
7
7
|
description: 'A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.'
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHNfd2ViLzAwX2NvbW1pdGluZm9fZGF0YS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUNILE1BQU0sQ0FBQyxNQUFNLFVBQVUsR0FBRztJQUN4QixJQUFJLEVBQUUsNkJBQTZCO0lBQ25DLE9BQU8sRUFBRSxRQUFRO0lBQ2pCLFdBQVcsRUFBRSxzSkFBc0o7Q0FDcEssQ0FBQSJ9
|
|
@@ -579,10 +579,14 @@ export declare class DeesAppui extends DeesElement {
|
|
|
579
579
|
* `options.history` decides whether that leaves a step behind: `push` (the
|
|
580
580
|
* default) adds a history entry, `replace` rewrites the current one, which is
|
|
581
581
|
* what a screen correcting its own route needs, and `return` goes back to the
|
|
582
|
-
* screen a
|
|
583
|
-
*
|
|
582
|
+
* screen a flow was started from, across the steps it took on its own screen,
|
|
583
|
+
* and replaces the current entry where no entry before shows it. With
|
|
584
|
+
* `options.origin`, a return ends the flow on another screen, such as the one
|
|
585
|
+
* it made: it goes back to the origin and pushes the screen after it.
|
|
584
586
|
*/
|
|
585
587
|
navigateToView(viewId: string, params?: Record<string, string>, query?: Record<string, string>, options?: interfaces.IViewNavigationOptions): Promise<boolean>;
|
|
588
|
+
/** The location of a screen named by a view and its parameters; none for a route that names no screen. */
|
|
589
|
+
private locationOf;
|
|
586
590
|
private navigationQueue;
|
|
587
591
|
private routingGeneration;
|
|
588
592
|
/** Numbers every navigation request; the latest one wins. */
|
|
@@ -591,8 +595,8 @@ export declare class DeesAppui extends DeesElement {
|
|
|
591
595
|
private historyIndex;
|
|
592
596
|
/** Numbers the history entries this shell writes, so an entry it pushes can name the one it was pushed from. */
|
|
593
597
|
private historyEntries;
|
|
594
|
-
/**
|
|
595
|
-
private
|
|
598
|
+
/** Each history entry this shell wrote, by its number: what a return finds before the current one (`stepsBackTo`). */
|
|
599
|
+
private historyEntryRecords;
|
|
596
600
|
/** The traversal back a refused browser change started, to `location`; the next change of any address ends it. */
|
|
597
601
|
private restoringHistory?;
|
|
598
602
|
private queueNavigation;
|
|
@@ -641,9 +645,9 @@ export declare class DeesAppui extends DeesElement {
|
|
|
641
645
|
* The state of a history entry the shell writes, showing a location: where the
|
|
642
646
|
* entry stands (`historyIndex`) and a number of its own. An entry pushed also
|
|
643
647
|
* names the entry it was pushed from, the one right before it; one rewritten
|
|
644
|
-
* keeps its number and the entry before it. The location an entry shows
|
|
645
|
-
*
|
|
646
|
-
* (`
|
|
648
|
+
* keeps its number and the entry before it. The location an entry shows, the
|
|
649
|
+
* view on show there and the entry before it are kept by its number, so a
|
|
650
|
+
* return can tell what the entries before show (`stepsBackTo`).
|
|
647
651
|
*/
|
|
648
652
|
private routeHistoryState;
|
|
649
653
|
/** This shell's marker on the entry the browser stands on; absent on an entry this shell never wrote. */
|
|
@@ -655,20 +659,23 @@ export declare class DeesAppui extends DeesElement {
|
|
|
655
659
|
private browserPosition;
|
|
656
660
|
private hasBrowserMoved;
|
|
657
661
|
/**
|
|
658
|
-
*
|
|
659
|
-
* shell is, on an entry it pushed, and
|
|
660
|
-
* the one right before it —
|
|
661
|
-
*
|
|
662
|
-
*
|
|
663
|
-
*
|
|
664
|
-
* from
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
*
|
|
662
|
+
* How many entries a return to a location goes back: the browser stands where
|
|
663
|
+
* this shell is, on an entry it pushed, and walks back along the entries each
|
|
664
|
+
* one was pushed from — the one right before it — to the nearest that shows
|
|
665
|
+
* the location. The entries it passes are the steps of a flow on the current
|
|
666
|
+
* entry's own screen; an entry of another screen in between was a stop of the
|
|
667
|
+
* reader's own, so the walk ends there and the return replaces, as it does
|
|
668
|
+
* from an entry the shell did not push from one of its own, such as the first
|
|
669
|
+
* one after a reload or a deep link into a flow. So does a return from an
|
|
670
|
+
* entry whose address shows the location already: going back from it would
|
|
671
|
+
* change no address, and no change would say it landed. None is `0`.
|
|
672
|
+
*/
|
|
673
|
+
private stepsBackTo;
|
|
674
|
+
/**
|
|
675
|
+
* Goes back a number of entries, to the location they show, and waits until
|
|
676
|
+
* the browser stands there, so no request writes history from the entry it
|
|
677
|
+
* leaves. The change the browser brings finds that location and is not taken
|
|
678
|
+
* as a move of the reader's (`restoringHistory`).
|
|
672
679
|
*/
|
|
673
680
|
private goBackTo;
|
|
674
681
|
/**
|