@base-framework/base 3.7.33 → 3.7.34

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.
@@ -16,11 +16,19 @@ export class Route extends BasicData {
16
16
  */
17
17
  constructor(settings: object, titleCallBack: Function);
18
18
  uri: any;
19
+ matchUri: string;
19
20
  paramKeys: string[];
20
21
  titleCallBack: Function;
21
22
  routeId: any;
23
+ rawUri: any;
22
24
  uriQuery: RegExp;
23
25
  controller: ComponentHelper;
26
+ requiredHash: string;
27
+ requiredQuery: any[] | {
28
+ key: string;
29
+ value: string;
30
+ }[];
31
+ hasConditions: boolean;
24
32
  path: string;
25
33
  referralPath: string;
26
34
  params: any;
@@ -98,6 +106,13 @@ export class Route extends BasicData {
98
106
  * @returns {object|boolean}
99
107
  */
100
108
  match(path: string): object | boolean;
109
+ /**
110
+ * Checks query/hash route conditions.
111
+ *
112
+ * @param {string} path
113
+ * @returns {boolean}
114
+ */
115
+ matchConditions(path: string): boolean;
101
116
  /**
102
117
  * This will reset the params.
103
118
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base-framework/base",
3
- "version": "3.7.33",
3
+ "version": "3.7.34",
4
4
  "description": "This is a javascript framework.",
5
5
  "main": "./dist/base.js",
6
6
  "type": "module",