@rxap/components 19.0.4 → 19.1.0-dev.1
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/CHANGELOG.md +10 -0
- package/compodoc/changelog.html +7 -0
- package/compodoc/components/CopyToClipboardButtonComponent.html +46 -89
- package/compodoc/components/CopyToClipboardComponent.html +255 -33
- package/compodoc/components/JsonViewerComponent.html +24 -21
- package/compodoc/dependencies.html +2 -2
- package/compodoc/interfaces/Segment.html +5 -2
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +451 -291
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/ConfirmComponent.html +2 -2
- package/docs/html/classes/ConfirmDirective.html +3 -3
- package/docs/html/classes/ConfirmModule.html +2 -2
- package/docs/html/classes/CopyToClipboardButtonComponent.html +2 -2
- package/docs/html/classes/CopyToClipboardComponent.html +6 -2
- package/docs/html/classes/EmptyRouterOutletComponent.html +2 -2
- package/docs/html/classes/JsonViewerComponent.html +4 -4
- package/docs/html/classes/NavigateBackButtonComponent.html +2 -2
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/Segment.html +2 -2
- package/docs/html/modules.html +1 -1
- package/docs/html/variables/JSON_VIEW_IGNORED_PROPERTIES.html +1 -1
- package/docs/html/variables/JSON_VIEW_IGNORED_TYPES.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/ConfirmComponent.md +4 -4
- package/docs/markdown/classes/ConfirmDirective.md +15 -15
- package/docs/markdown/classes/ConfirmModule.md +2 -2
- package/docs/markdown/classes/CopyToClipboardButtonComponent.md +6 -14
- package/docs/markdown/classes/CopyToClipboardComponent.md +40 -8
- package/docs/markdown/classes/EmptyRouterOutletComponent.md +2 -2
- package/docs/markdown/classes/JsonViewerComponent.md +18 -18
- package/docs/markdown/classes/NavigateBackButtonComponent.md +3 -3
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/Segment.md +7 -7
- package/docs/markdown/variables/JSON_VIEW_IGNORED_PROPERTIES.md +2 -2
- package/docs/markdown/variables/JSON_VIEW_IGNORED_TYPES.md +2 -2
- package/docs/wiki/Class.ConfirmComponent.md +3 -3
- package/docs/wiki/Class.ConfirmDirective.md +14 -14
- package/docs/wiki/Class.ConfirmModule.md +1 -1
- package/docs/wiki/Class.CopyToClipboardButtonComponent.md +5 -13
- package/docs/wiki/Class.CopyToClipboardComponent.md +39 -7
- package/docs/wiki/Class.EmptyRouterOutletComponent.md +1 -1
- package/docs/wiki/Class.JsonViewerComponent.md +17 -17
- package/docs/wiki/Class.NavigateBackButtonComponent.md +2 -2
- package/docs/wiki/Interface.Segment.md +6 -6
- package/docs/wiki/Variable.JSON_VIEW_IGNORED_PROPERTIES.md +1 -1
- package/docs/wiki/Variable.JSON_VIEW_IGNORED_TYPES.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-components.mjs +21 -29
- package/fesm2022/rxap-components.mjs.map +1 -1
- package/lib/copy-to-clipboard/copy-to-clipboard.component.d.ts +8 -4
- package/lib/copy-to-clipboard-button/copy-to-clipboard-button.component.d.ts +2 -4
- package/package.json +6 -6
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: CopyToClipboardComponent
|
|
4
4
|
|
|
5
|
-
Defined in: [copy-to-clipboard/copy-to-clipboard.component.ts:
|
|
5
|
+
Defined in: [copy-to-clipboard/copy-to-clipboard.component.ts:20](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/copy-to-clipboard/copy-to-clipboard.component.ts#L20)
|
|
6
6
|
|
|
7
7
|
## Constructors
|
|
8
8
|
|
|
@@ -18,22 +18,54 @@ Defined in: [copy-to-clipboard/copy-to-clipboard.component.ts:16](https://gitlab
|
|
|
18
18
|
|
|
19
19
|
### active
|
|
20
20
|
|
|
21
|
-
> **active**: `boolean
|
|
21
|
+
> `readonly` **active**: `InputSignal`\<`boolean`\>
|
|
22
22
|
|
|
23
|
-
Defined in: [copy-to-clipboard/copy-to-clipboard.component.ts:
|
|
23
|
+
Defined in: [copy-to-clipboard/copy-to-clipboard.component.ts:22](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/copy-to-clipboard/copy-to-clipboard.component.ts#L22)
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### containerClass
|
|
28
|
+
|
|
29
|
+
> `readonly` **containerClass**: `InputSignal`\<`string`\>
|
|
30
|
+
|
|
31
|
+
Defined in: [copy-to-clipboard/copy-to-clipboard.component.ts:26](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/copy-to-clipboard/copy-to-clipboard.component.ts#L26)
|
|
24
32
|
|
|
25
33
|
***
|
|
26
34
|
|
|
27
35
|
### disabled
|
|
28
36
|
|
|
29
|
-
> **disabled**: `boolean
|
|
37
|
+
> `readonly` **disabled**: `InputSignal`\<`boolean`\>
|
|
38
|
+
|
|
39
|
+
Defined in: [copy-to-clipboard/copy-to-clipboard.component.ts:23](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/copy-to-clipboard/copy-to-clipboard.component.ts#L23)
|
|
40
|
+
|
|
41
|
+
***
|
|
42
|
+
|
|
43
|
+
### isPositionAfter
|
|
44
|
+
|
|
45
|
+
> `readonly` **isPositionAfter**: `Signal`\<`boolean`\>
|
|
46
|
+
|
|
47
|
+
Defined in: [copy-to-clipboard/copy-to-clipboard.component.ts:31](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/copy-to-clipboard/copy-to-clipboard.component.ts#L31)
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### isPositionBefore
|
|
52
|
+
|
|
53
|
+
> `readonly` **isPositionBefore**: `Signal`\<`boolean`\>
|
|
54
|
+
|
|
55
|
+
Defined in: [copy-to-clipboard/copy-to-clipboard.component.ts:30](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/copy-to-clipboard/copy-to-clipboard.component.ts#L30)
|
|
56
|
+
|
|
57
|
+
***
|
|
58
|
+
|
|
59
|
+
### position
|
|
60
|
+
|
|
61
|
+
> `readonly` **position**: `InputSignal`\<`"before"` \| `"after"`\>
|
|
30
62
|
|
|
31
|
-
Defined in: [copy-to-clipboard/copy-to-clipboard.component.ts:
|
|
63
|
+
Defined in: [copy-to-clipboard/copy-to-clipboard.component.ts:28](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/copy-to-clipboard/copy-to-clipboard.component.ts#L28)
|
|
32
64
|
|
|
33
65
|
***
|
|
34
66
|
|
|
35
67
|
### value
|
|
36
68
|
|
|
37
|
-
> **value**: `string
|
|
69
|
+
> `readonly` **value**: `InputSignal`\<`string`\>
|
|
38
70
|
|
|
39
|
-
Defined in: [copy-to-clipboard/copy-to-clipboard.component.ts:
|
|
71
|
+
Defined in: [copy-to-clipboard/copy-to-clipboard.component.ts:24](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/copy-to-clipboard/copy-to-clipboard.component.ts#L24)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: EmptyRouterOutletComponent
|
|
4
4
|
|
|
5
|
-
Defined in: [empty-router-outlet/empty-router-outlet.component.ts:14](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [empty-router-outlet/empty-router-outlet.component.ts:14](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/empty-router-outlet/empty-router-outlet.component.ts#L14)
|
|
6
6
|
|
|
7
7
|
## Constructors
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: JsonViewerComponent
|
|
4
4
|
|
|
5
|
-
Defined in: [json-viewer/json-viewer.component.ts:
|
|
5
|
+
Defined in: [json-viewer/json-viewer.component.ts:45](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/json-viewer/json-viewer.component.ts#L45)
|
|
6
6
|
|
|
7
7
|
## Implements
|
|
8
8
|
|
|
@@ -15,7 +15,7 @@ Defined in: [json-viewer/json-viewer.component.ts:42](https://gitlab.com/rxap/pa
|
|
|
15
15
|
|
|
16
16
|
> **new JsonViewerComponent**(`ignoredProperties`, `ignoredTypes`, `cdr`): [`JsonViewerComponent`](../wiki/Class.JsonViewerComponent)
|
|
17
17
|
|
|
18
|
-
Defined in: [json-viewer/json-viewer.component.ts:
|
|
18
|
+
Defined in: [json-viewer/json-viewer.component.ts:60](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/json-viewer/json-viewer.component.ts#L60)
|
|
19
19
|
|
|
20
20
|
#### Parameters
|
|
21
21
|
|
|
@@ -41,7 +41,7 @@ Defined in: [json-viewer/json-viewer.component.ts:57](https://gitlab.com/rxap/pa
|
|
|
41
41
|
|
|
42
42
|
> **cdr**: `ChangeDetectorRef`
|
|
43
43
|
|
|
44
|
-
Defined in: [json-viewer/json-viewer.component.ts:
|
|
44
|
+
Defined in: [json-viewer/json-viewer.component.ts:63](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/json-viewer/json-viewer.component.ts#L63)
|
|
45
45
|
|
|
46
46
|
***
|
|
47
47
|
|
|
@@ -49,7 +49,7 @@ Defined in: [json-viewer/json-viewer.component.ts:60](https://gitlab.com/rxap/pa
|
|
|
49
49
|
|
|
50
50
|
> **expanded**: `boolean` = `false`
|
|
51
51
|
|
|
52
|
-
Defined in: [json-viewer/json-viewer.component.ts:
|
|
52
|
+
Defined in: [json-viewer/json-viewer.component.ts:49](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/json-viewer/json-viewer.component.ts#L49)
|
|
53
53
|
|
|
54
54
|
***
|
|
55
55
|
|
|
@@ -57,7 +57,7 @@ Defined in: [json-viewer/json-viewer.component.ts:46](https://gitlab.com/rxap/pa
|
|
|
57
57
|
|
|
58
58
|
> **ignoredProperties**: (`string` \| `RegExp`)[] = `[]`
|
|
59
59
|
|
|
60
|
-
Defined in: [json-viewer/json-viewer.component.ts:
|
|
60
|
+
Defined in: [json-viewer/json-viewer.component.ts:53](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/json-viewer/json-viewer.component.ts#L53)
|
|
61
61
|
|
|
62
62
|
***
|
|
63
63
|
|
|
@@ -65,7 +65,7 @@ Defined in: [json-viewer/json-viewer.component.ts:50](https://gitlab.com/rxap/pa
|
|
|
65
65
|
|
|
66
66
|
> **ignoredTypes**: `any`[] = `[]`
|
|
67
67
|
|
|
68
|
-
Defined in: [json-viewer/json-viewer.component.ts:
|
|
68
|
+
Defined in: [json-viewer/json-viewer.component.ts:54](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/json-viewer/json-viewer.component.ts#L54)
|
|
69
69
|
|
|
70
70
|
***
|
|
71
71
|
|
|
@@ -73,7 +73,7 @@ Defined in: [json-viewer/json-viewer.component.ts:51](https://gitlab.com/rxap/pa
|
|
|
73
73
|
|
|
74
74
|
> **inspectValue**: `any`
|
|
75
75
|
|
|
76
|
-
Defined in: [json-viewer/json-viewer.component.ts:
|
|
76
|
+
Defined in: [json-viewer/json-viewer.component.ts:51](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/json-viewer/json-viewer.component.ts#L51)
|
|
77
77
|
|
|
78
78
|
***
|
|
79
79
|
|
|
@@ -81,7 +81,7 @@ Defined in: [json-viewer/json-viewer.component.ts:48](https://gitlab.com/rxap/pa
|
|
|
81
81
|
|
|
82
82
|
> **json**: `object` \| `Record`\<`string` \| `number` \| `symbol`, `unknown`\> = `{}`
|
|
83
83
|
|
|
84
|
-
Defined in: [json-viewer/json-viewer.component.ts:
|
|
84
|
+
Defined in: [json-viewer/json-viewer.component.ts:48](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/json-viewer/json-viewer.component.ts#L48)
|
|
85
85
|
|
|
86
86
|
***
|
|
87
87
|
|
|
@@ -89,7 +89,7 @@ Defined in: [json-viewer/json-viewer.component.ts:45](https://gitlab.com/rxap/pa
|
|
|
89
89
|
|
|
90
90
|
> **segments**: [`Segment`](../wiki/Interface.Segment)[] = `[]`
|
|
91
91
|
|
|
92
|
-
Defined in: [json-viewer/json-viewer.component.ts:
|
|
92
|
+
Defined in: [json-viewer/json-viewer.component.ts:58](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/json-viewer/json-viewer.component.ts#L58)
|
|
93
93
|
|
|
94
94
|
***
|
|
95
95
|
|
|
@@ -97,7 +97,7 @@ Defined in: [json-viewer/json-viewer.component.ts:55](https://gitlab.com/rxap/pa
|
|
|
97
97
|
|
|
98
98
|
> **subscriptions**: `Subscription`
|
|
99
99
|
|
|
100
|
-
Defined in: [json-viewer/json-viewer.component.ts:
|
|
100
|
+
Defined in: [json-viewer/json-viewer.component.ts:56](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/json-viewer/json-viewer.component.ts#L56)
|
|
101
101
|
|
|
102
102
|
## Methods
|
|
103
103
|
|
|
@@ -105,7 +105,7 @@ Defined in: [json-viewer/json-viewer.component.ts:53](https://gitlab.com/rxap/pa
|
|
|
105
105
|
|
|
106
106
|
> **buildSegments**(`inspectValue`): `void`
|
|
107
107
|
|
|
108
|
-
Defined in: [json-viewer/json-viewer.component.ts:
|
|
108
|
+
Defined in: [json-viewer/json-viewer.component.ts:141](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/json-viewer/json-viewer.component.ts#L141)
|
|
109
109
|
|
|
110
110
|
#### Parameters
|
|
111
111
|
|
|
@@ -123,7 +123,7 @@ Defined in: [json-viewer/json-viewer.component.ts:138](https://gitlab.com/rxap/p
|
|
|
123
123
|
|
|
124
124
|
> **cleanObject**(`obj`, `stack`): `any`
|
|
125
125
|
|
|
126
|
-
Defined in: [json-viewer/json-viewer.component.ts:
|
|
126
|
+
Defined in: [json-viewer/json-viewer.component.ts:93](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/json-viewer/json-viewer.component.ts#L93)
|
|
127
127
|
|
|
128
128
|
#### Parameters
|
|
129
129
|
|
|
@@ -145,7 +145,7 @@ Defined in: [json-viewer/json-viewer.component.ts:90](https://gitlab.com/rxap/pa
|
|
|
145
145
|
|
|
146
146
|
> **isExpandable**(`segment`): `boolean`
|
|
147
147
|
|
|
148
|
-
Defined in: [json-viewer/json-viewer.component.ts:
|
|
148
|
+
Defined in: [json-viewer/json-viewer.component.ts:153](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/json-viewer/json-viewer.component.ts#L153)
|
|
149
149
|
|
|
150
150
|
#### Parameters
|
|
151
151
|
|
|
@@ -163,7 +163,7 @@ Defined in: [json-viewer/json-viewer.component.ts:150](https://gitlab.com/rxap/p
|
|
|
163
163
|
|
|
164
164
|
> **ngOnChanges**(`changes`): `void`
|
|
165
165
|
|
|
166
|
-
Defined in: [json-viewer/json-viewer.component.ts:
|
|
166
|
+
Defined in: [json-viewer/json-viewer.component.ts:83](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/json-viewer/json-viewer.component.ts#L83)
|
|
167
167
|
|
|
168
168
|
A callback method that is invoked immediately after the
|
|
169
169
|
default change detector has checked data-bound properties
|
|
@@ -192,7 +192,7 @@ The changed properties.
|
|
|
192
192
|
|
|
193
193
|
> **ngOnInit**(): `void`
|
|
194
194
|
|
|
195
|
-
Defined in: [json-viewer/json-viewer.component.ts:
|
|
195
|
+
Defined in: [json-viewer/json-viewer.component.ts:79](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/json-viewer/json-viewer.component.ts#L79)
|
|
196
196
|
|
|
197
197
|
A callback method that is invoked immediately after the
|
|
198
198
|
default change detector has checked the directive's
|
|
@@ -214,7 +214,7 @@ It is invoked only once when the directive is instantiated.
|
|
|
214
214
|
|
|
215
215
|
> **setInspectValue**(`json`): `void`
|
|
216
216
|
|
|
217
|
-
Defined in: [json-viewer/json-viewer.component.ts:
|
|
217
|
+
Defined in: [json-viewer/json-viewer.component.ts:128](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/json-viewer/json-viewer.component.ts#L128)
|
|
218
218
|
|
|
219
219
|
#### Parameters
|
|
220
220
|
|
|
@@ -232,7 +232,7 @@ Defined in: [json-viewer/json-viewer.component.ts:125](https://gitlab.com/rxap/p
|
|
|
232
232
|
|
|
233
233
|
> **toggle**(`segment`): `void`
|
|
234
234
|
|
|
235
|
-
Defined in: [json-viewer/json-viewer.component.ts:
|
|
235
|
+
Defined in: [json-viewer/json-viewer.component.ts:157](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/json-viewer/json-viewer.component.ts#L157)
|
|
236
236
|
|
|
237
237
|
#### Parameters
|
|
238
238
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: NavigateBackButtonComponent
|
|
4
4
|
|
|
5
|
-
Defined in: [navigate-back-button/navigate-back-button.component.ts:17](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [navigate-back-button/navigate-back-button.component.ts:17](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/navigate-back-button/navigate-back-button.component.ts#L17)
|
|
6
6
|
|
|
7
7
|
## Constructors
|
|
8
8
|
|
|
@@ -20,7 +20,7 @@ Defined in: [navigate-back-button/navigate-back-button.component.ts:17](https://
|
|
|
20
20
|
|
|
21
21
|
> **navigateBack**(): `void`
|
|
22
22
|
|
|
23
|
-
Defined in: [navigate-back-button/navigate-back-button.component.ts:19](https://gitlab.com/rxap/packages/-/blob/
|
|
23
|
+
Defined in: [navigate-back-button/navigate-back-button.component.ts:19](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/navigate-back-button/navigate-back-button.component.ts#L19)
|
|
24
24
|
|
|
25
25
|
#### Returns
|
|
26
26
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Interface: Segment
|
|
4
4
|
|
|
5
|
-
Defined in: [json-viewer/json-viewer.component.ts:
|
|
5
|
+
Defined in: [json-viewer/json-viewer.component.ts:29](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/json-viewer/json-viewer.component.ts#L29)
|
|
6
6
|
|
|
7
7
|
## Properties
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ Defined in: [json-viewer/json-viewer.component.ts:26](https://gitlab.com/rxap/pa
|
|
|
10
10
|
|
|
11
11
|
> **description**: `string`
|
|
12
12
|
|
|
13
|
-
Defined in: [json-viewer/json-viewer.component.ts:
|
|
13
|
+
Defined in: [json-viewer/json-viewer.component.ts:33](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/json-viewer/json-viewer.component.ts#L33)
|
|
14
14
|
|
|
15
15
|
***
|
|
16
16
|
|
|
@@ -18,7 +18,7 @@ Defined in: [json-viewer/json-viewer.component.ts:30](https://gitlab.com/rxap/pa
|
|
|
18
18
|
|
|
19
19
|
> **expanded**: `boolean`
|
|
20
20
|
|
|
21
|
-
Defined in: [json-viewer/json-viewer.component.ts:
|
|
21
|
+
Defined in: [json-viewer/json-viewer.component.ts:34](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/json-viewer/json-viewer.component.ts#L34)
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
@@ -26,7 +26,7 @@ Defined in: [json-viewer/json-viewer.component.ts:31](https://gitlab.com/rxap/pa
|
|
|
26
26
|
|
|
27
27
|
> **key**: `string`
|
|
28
28
|
|
|
29
|
-
Defined in: [json-viewer/json-viewer.component.ts:
|
|
29
|
+
Defined in: [json-viewer/json-viewer.component.ts:30](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/json-viewer/json-viewer.component.ts#L30)
|
|
30
30
|
|
|
31
31
|
***
|
|
32
32
|
|
|
@@ -34,7 +34,7 @@ Defined in: [json-viewer/json-viewer.component.ts:27](https://gitlab.com/rxap/pa
|
|
|
34
34
|
|
|
35
35
|
> **type**: `undefined` \| `string`
|
|
36
36
|
|
|
37
|
-
Defined in: [json-viewer/json-viewer.component.ts:
|
|
37
|
+
Defined in: [json-viewer/json-viewer.component.ts:32](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/json-viewer/json-viewer.component.ts#L32)
|
|
38
38
|
|
|
39
39
|
***
|
|
40
40
|
|
|
@@ -42,4 +42,4 @@ Defined in: [json-viewer/json-viewer.component.ts:29](https://gitlab.com/rxap/pa
|
|
|
42
42
|
|
|
43
43
|
> **value**: `any`
|
|
44
44
|
|
|
45
|
-
Defined in: [json-viewer/json-viewer.component.ts:
|
|
45
|
+
Defined in: [json-viewer/json-viewer.component.ts:31](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/json-viewer/json-viewer.component.ts#L31)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **JSON\_VIEW\_IGNORED\_PROPERTIES**: `InjectionToken`\<(`string` \| `RegExp`)[]\>
|
|
6
6
|
|
|
7
|
-
Defined in: [json-viewer/json-viewer.tokens.ts:9](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [json-viewer/json-viewer.tokens.ts:9](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/json-viewer/json-viewer.tokens.ts#L9)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **JSON\_VIEW\_IGNORED\_TYPES**: `InjectionToken`\<(*typeof* `Subscription` \| *typeof* `Observable` \| `PromiseConstructor` \| *typeof* `SubscriptionHandler` \| *typeof* `ErrorStateMatcher`)[]\>
|
|
6
6
|
|
|
7
|
-
Defined in: [json-viewer/json-viewer.tokens.ts:19](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [json-viewer/json-viewer.tokens.ts:19](https://gitlab.com/rxap/packages/-/blob/e3bb0ca983f56d75192a8e5eff1d3ecab00a3c63/packages/angular/components/src/lib/json-viewer/json-viewer.tokens.ts#L19)
|
package/docs/wiki/globals.md
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, ChangeDetectionStrategy, InjectionToken, isDevMode, ChangeDetectorRef, forwardRef, Inject, Input, EventEmitter, Output, ElementRef, Directive, HostListener, NgModule } from '@angular/core';
|
|
2
|
+
import { Component, ChangeDetectionStrategy, InjectionToken, isDevMode, ChangeDetectorRef, forwardRef, Inject, Input, input, inject, computed, EventEmitter, Output, ElementRef, Directive, HostListener, NgModule } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/material/button';
|
|
4
4
|
import { MatButtonModule } from '@angular/material/button';
|
|
5
5
|
import * as i2 from '@angular/material/icon';
|
|
6
6
|
import { MatIconModule } from '@angular/material/icon';
|
|
7
7
|
import { NgFor, NgClass, NgIf } from '@angular/common';
|
|
8
8
|
import { SubscriptionHandler, isTeardownLogic } from '@rxap/rxjs';
|
|
9
|
-
import { isPromiseLike } from '@rxap/utilities';
|
|
9
|
+
import { isPromiseLike, clone } from '@rxap/utilities';
|
|
10
10
|
import { Observable, Subscription } from 'rxjs';
|
|
11
11
|
import { ErrorStateMatcher } from '@angular/material/core';
|
|
12
12
|
import { RouterOutlet } from '@angular/router';
|
|
13
|
-
import * as i4 from '@angular/material/snack-bar';
|
|
14
13
|
import { MatSnackBar, MatSnackBarModule } from '@angular/material/snack-bar';
|
|
15
14
|
import * as i2$1 from '@angular/cdk/clipboard';
|
|
16
15
|
import { ClipboardModule } from '@angular/cdk/clipboard';
|
|
@@ -127,7 +126,7 @@ class JsonViewerComponent {
|
|
|
127
126
|
if (typeof json['toJSON'] === 'function') {
|
|
128
127
|
json = json.toJSON();
|
|
129
128
|
}
|
|
130
|
-
this.inspectValue = this.cleanObject(
|
|
129
|
+
this.inspectValue = this.cleanObject(clone(json));
|
|
131
130
|
this.buildSegments(this.inspectValue);
|
|
132
131
|
this.cdr.markForCheck();
|
|
133
132
|
}
|
|
@@ -235,17 +234,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
|
|
|
235
234
|
}] });
|
|
236
235
|
|
|
237
236
|
class CopyToClipboardButtonComponent {
|
|
238
|
-
constructor(
|
|
239
|
-
this.
|
|
240
|
-
this.
|
|
237
|
+
constructor() {
|
|
238
|
+
this.value = input('');
|
|
239
|
+
this.snackbar = inject(MatSnackBar);
|
|
241
240
|
}
|
|
242
241
|
copied() {
|
|
243
|
-
this.snackbar.open(
|
|
242
|
+
this.snackbar.open($localize `Successfully copied to the clipboard.`, 'OK', {
|
|
244
243
|
duration: 2500,
|
|
245
244
|
});
|
|
246
245
|
}
|
|
247
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: CopyToClipboardButtonComponent, deps: [
|
|
248
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
246
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: CopyToClipboardButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
247
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.1", type: CopyToClipboardButtonComponent, isStandalone: true, selector: "rxap-copy-to-clipboard-button", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<button\n (cdkCopyToClipboardCopied)=\"copied()\"\n (click)=\"$event.stopPropagation()\"\n [cdkCopyToClipboard]=\"value()\"\n mat-icon-button\n type=\"button\"\n>\n <mat-icon>content_copy</mat-icon>\n</button>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: ClipboardModule }, { kind: "directive", type: i2$1.CdkCopyToClipboard, selector: "[cdkCopyToClipboard]", inputs: ["cdkCopyToClipboard", "cdkCopyToClipboardAttempts"], outputs: ["cdkCopyToClipboardCopied"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatSnackBarModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
249
248
|
}
|
|
250
249
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: CopyToClipboardButtonComponent, decorators: [{
|
|
251
250
|
type: Component,
|
|
@@ -254,33 +253,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
|
|
|
254
253
|
ClipboardModule,
|
|
255
254
|
MatIconModule,
|
|
256
255
|
MatSnackBarModule,
|
|
257
|
-
], template: "<button\n (cdkCopyToClipboardCopied)=\"copied()\"\n (click)=\"$event.stopPropagation()\"\n [cdkCopyToClipboard]=\"value\"\n mat-icon-button\n type=\"button\"\n>\n <mat-icon>content_copy</mat-icon>\n</button>\n" }]
|
|
258
|
-
}]
|
|
259
|
-
type: Inject,
|
|
260
|
-
args: [MatSnackBar]
|
|
261
|
-
}] }], propDecorators: { value: [{
|
|
262
|
-
type: Input
|
|
263
|
-
}] } });
|
|
256
|
+
], template: "<button\n (cdkCopyToClipboardCopied)=\"copied()\"\n (click)=\"$event.stopPropagation()\"\n [cdkCopyToClipboard]=\"value()\"\n mat-icon-button\n type=\"button\"\n>\n <mat-icon>content_copy</mat-icon>\n</button>\n" }]
|
|
257
|
+
}] });
|
|
264
258
|
|
|
265
259
|
class CopyToClipboardComponent {
|
|
266
260
|
constructor() {
|
|
267
|
-
this.active = true;
|
|
268
|
-
this.disabled = false;
|
|
261
|
+
this.active = input(true);
|
|
262
|
+
this.disabled = input(false);
|
|
263
|
+
this.value = input.required();
|
|
264
|
+
this.containerClass = input('flex flex-row gap-2');
|
|
265
|
+
this.position = input('before');
|
|
266
|
+
this.isPositionBefore = computed(() => this.position() === 'before');
|
|
267
|
+
this.isPositionAfter = computed(() => this.position() === 'after');
|
|
269
268
|
}
|
|
270
269
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: CopyToClipboardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
271
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
270
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.1", type: CopyToClipboardComponent, isStandalone: true, selector: "rxap-copy-to-clipboard", inputs: { active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, containerClass: { classPropertyName: "containerClass", publicName: "containerClass", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div class=\"flex flex-row gap-2 items-center\">\n @if (active() && isPositionBefore()) {\n <rxap-copy-to-clipboard-button [value]=\"value()\" class=\"w-[40px]\"></rxap-copy-to-clipboard-button>\n }\n <span #ref class=\"grow {{ containerClass() }}\" [ngClass]=\"{ 'hidden': !ref.innerHTML.trim() }\"><ng-content></ng-content></span>\n @if (!ref.innerHTML.trim()) {\n <span class=\"grow\">{{ value() }}</span>\n }\n @if (active() && isPositionAfter()) {\n <rxap-copy-to-clipboard-button [value]=\"value()\" class=\"w-[40px]\"></rxap-copy-to-clipboard-button>\n }\n</div>\n", styles: [""], dependencies: [{ kind: "component", type: CopyToClipboardButtonComponent, selector: "rxap-copy-to-clipboard-button", inputs: ["value"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
272
271
|
}
|
|
273
272
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: CopyToClipboardComponent, decorators: [{
|
|
274
273
|
type: Component,
|
|
275
|
-
args: [{ selector: 'rxap-copy-to-clipboard', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
276
|
-
}]
|
|
277
|
-
type: Input
|
|
278
|
-
}], disabled: [{
|
|
279
|
-
type: Input
|
|
280
|
-
}], value: [{
|
|
281
|
-
type: Input,
|
|
282
|
-
args: [{ required: true }]
|
|
283
|
-
}] } });
|
|
274
|
+
args: [{ selector: 'rxap-copy-to-clipboard', changeDetection: ChangeDetectionStrategy.OnPush, imports: [CopyToClipboardButtonComponent, NgClass], template: "<div class=\"flex flex-row gap-2 items-center\">\n @if (active() && isPositionBefore()) {\n <rxap-copy-to-clipboard-button [value]=\"value()\" class=\"w-[40px]\"></rxap-copy-to-clipboard-button>\n }\n <span #ref class=\"grow {{ containerClass() }}\" [ngClass]=\"{ 'hidden': !ref.innerHTML.trim() }\"><ng-content></ng-content></span>\n @if (!ref.innerHTML.trim()) {\n <span class=\"grow\">{{ value() }}</span>\n }\n @if (active() && isPositionAfter()) {\n <rxap-copy-to-clipboard-button [value]=\"value()\" class=\"w-[40px]\"></rxap-copy-to-clipboard-button>\n }\n</div>\n" }]
|
|
275
|
+
}] });
|
|
284
276
|
|
|
285
277
|
class ConfirmComponent {
|
|
286
278
|
constructor() {
|