@powerlines/plugin-alloy 0.25.24 → 0.25.26
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/README.md +14 -16
- package/dist/_virtual/{rolldown_runtime.cjs → _rolldown/runtime.cjs} +1 -1
- package/dist/_virtual/_rolldown/runtime.mjs +3 -0
- package/dist/core/components/index.cjs +1 -0
- package/dist/core/components/output.cjs +9 -8
- package/dist/core/components/output.d.cts +2 -3
- package/dist/core/components/output.d.cts.map +1 -1
- package/dist/core/components/output.d.mts +2 -3
- package/dist/core/components/output.d.mts.map +1 -1
- package/dist/core/components/single-line-comment.cjs +6 -5
- package/dist/core/components/single-line-comment.d.cts +2 -2
- package/dist/core/components/single-line-comment.d.cts.map +1 -1
- package/dist/core/components/single-line-comment.d.mts +2 -2
- package/dist/core/components/single-line-comment.d.mts.map +1 -1
- package/dist/core/components/source-file.cjs +14 -13
- package/dist/core/components/source-file.d.cts.map +1 -1
- package/dist/core/components/source-file.d.mts +2 -2
- package/dist/core/components/source-file.d.mts.map +1 -1
- package/dist/core/components/spacing.cjs +6 -5
- package/dist/core/components/spacing.d.cts.map +1 -1
- package/dist/core/components/spacing.d.mts +2 -2
- package/dist/core/components/spacing.d.mts.map +1 -1
- package/dist/core/contexts/context.cjs +5 -4
- package/dist/core/contexts/context.d.cts +0 -1
- package/dist/core/contexts/context.d.cts.map +1 -1
- package/dist/core/contexts/context.d.mts +0 -1
- package/dist/core/contexts/context.d.mts.map +1 -1
- package/dist/core/contexts/index.cjs +1 -0
- package/dist/core/contexts/meta.cjs +5 -4
- package/dist/core/contexts/meta.d.cts.map +1 -1
- package/dist/core/contexts/meta.d.mts.map +1 -1
- package/dist/core/contexts/reflection.cjs +11 -10
- package/dist/core/contexts/reflection.d.cts.map +1 -1
- package/dist/core/contexts/reflection.d.mts.map +1 -1
- package/dist/core/helpers/code.cjs +4 -3
- package/dist/core/helpers/code.d.cts +0 -1
- package/dist/core/helpers/code.d.cts.map +1 -1
- package/dist/core/helpers/code.d.mts +0 -1
- package/dist/core/helpers/code.d.mts.map +1 -1
- package/dist/core/helpers/index.cjs +1 -0
- package/dist/core/index.cjs +1 -0
- package/dist/core/index.d.cts +0 -3
- package/dist/core/index.d.mts +0 -3
- package/dist/helpers/capnp.cjs +65 -64
- package/dist/helpers/capnp.d.cts +0 -1
- package/dist/helpers/capnp.d.cts.map +1 -1
- package/dist/helpers/capnp.d.mts +0 -1
- package/dist/helpers/capnp.d.mts.map +1 -1
- package/dist/helpers/capnp.mjs +3 -3
- package/dist/helpers/create-builtin.cjs +4 -3
- package/dist/helpers/create-builtin.d.cts.map +1 -1
- package/dist/helpers/create-builtin.d.mts.map +1 -1
- package/dist/helpers/index.cjs +1 -0
- package/dist/helpers/refkey.cjs +4 -3
- package/dist/helpers/refkey.d.cts +0 -1
- package/dist/helpers/refkey.d.cts.map +1 -1
- package/dist/helpers/refkey.d.mts +0 -1
- package/dist/helpers/refkey.d.mts.map +1 -1
- package/dist/helpers/typescript.cjs +14 -13
- package/dist/helpers/typescript.d.cts.map +1 -1
- package/dist/helpers/typescript.d.mts.map +1 -1
- package/dist/index.cjs +8 -9
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -2
- package/dist/markdown/components/front-matter.cjs +8 -7
- package/dist/markdown/components/front-matter.d.cts +2 -2
- package/dist/markdown/components/front-matter.d.cts.map +1 -1
- package/dist/markdown/components/front-matter.d.mts +2 -2
- package/dist/markdown/components/front-matter.d.mts.map +1 -1
- package/dist/markdown/components/index.cjs +1 -0
- package/dist/markdown/components/markdown-file.cjs +34 -33
- package/dist/markdown/components/markdown-file.d.cts +3 -3
- package/dist/markdown/components/markdown-file.d.cts.map +1 -1
- package/dist/markdown/components/markdown-file.d.mts +3 -3
- package/dist/markdown/components/markdown-file.d.mts.map +1 -1
- package/dist/markdown/components/markdown-table.cjs +26 -25
- package/dist/markdown/components/markdown-table.d.cts +4 -4
- package/dist/markdown/components/markdown-table.d.cts.map +1 -1
- package/dist/markdown/components/markdown-table.d.mts.map +1 -1
- package/dist/markdown/contexts/index.cjs +1 -0
- package/dist/markdown/contexts/markdown-table.cjs +7 -6
- package/dist/markdown/contexts/markdown-table.d.cts.map +1 -1
- package/dist/markdown/contexts/markdown-table.d.mts.map +1 -1
- package/dist/markdown/index.cjs +1 -0
- package/dist/markdown/index.d.cts +0 -2
- package/dist/markdown/index.d.mts +0 -2
- package/dist/render.cjs +10 -9
- package/dist/render.d.cts +0 -1
- package/dist/render.d.cts.map +1 -1
- package/dist/render.d.mts +0 -1
- package/dist/render.d.mts.map +1 -1
- package/dist/types/components.d.cts.map +1 -1
- package/dist/types/components.d.mts.map +1 -1
- package/dist/types/plugin.d.cts.map +1 -1
- package/dist/types/plugin.d.mts.map +1 -1
- package/dist/typescript/components/builtin-file.cjs +14 -13
- package/dist/typescript/components/builtin-file.d.cts +2 -2
- package/dist/typescript/components/builtin-file.d.cts.map +1 -1
- package/dist/typescript/components/builtin-file.d.mts +2 -2
- package/dist/typescript/components/builtin-file.d.mts.map +1 -1
- package/dist/typescript/components/class-declaration.cjs +57 -56
- package/dist/typescript/components/class-declaration.d.cts.map +1 -1
- package/dist/typescript/components/class-declaration.d.mts.map +1 -1
- package/dist/typescript/components/dynamic-import-statement.cjs +6 -5
- package/dist/typescript/components/dynamic-import-statement.d.cts +2 -2
- package/dist/typescript/components/dynamic-import-statement.d.cts.map +1 -1
- package/dist/typescript/components/dynamic-import-statement.d.mts +2 -2
- package/dist/typescript/components/dynamic-import-statement.d.mts.map +1 -1
- package/dist/typescript/components/entry-file.cjs +12 -11
- package/dist/typescript/components/entry-file.d.cts +2 -2
- package/dist/typescript/components/entry-file.d.cts.map +1 -1
- package/dist/typescript/components/entry-file.d.mts +2 -2
- package/dist/typescript/components/entry-file.d.mts.map +1 -1
- package/dist/typescript/components/index.cjs +1 -0
- package/dist/typescript/components/infrastructure-file.cjs +11 -10
- package/dist/typescript/components/infrastructure-file.d.cts +2 -2
- package/dist/typescript/components/infrastructure-file.d.cts.map +1 -1
- package/dist/typescript/components/infrastructure-file.d.mts +2 -2
- package/dist/typescript/components/infrastructure-file.d.mts.map +1 -1
- package/dist/typescript/components/interface-declaration.cjs +59 -58
- package/dist/typescript/components/interface-declaration.d.cts +2 -2
- package/dist/typescript/components/interface-declaration.d.cts.map +1 -1
- package/dist/typescript/components/interface-declaration.d.mts +2 -2
- package/dist/typescript/components/interface-declaration.d.mts.map +1 -1
- package/dist/typescript/components/interface-declaration.mjs +2 -2
- package/dist/typescript/components/object-declaration.cjs +40 -39
- package/dist/typescript/components/object-declaration.d.cts +3 -3
- package/dist/typescript/components/object-declaration.d.cts.map +1 -1
- package/dist/typescript/components/object-declaration.d.mts +3 -3
- package/dist/typescript/components/object-declaration.d.mts.map +1 -1
- package/dist/typescript/components/property-name.cjs +8 -7
- package/dist/typescript/components/property-name.d.cts +2 -2
- package/dist/typescript/components/property-name.d.cts.map +1 -1
- package/dist/typescript/components/property-name.d.mts +2 -2
- package/dist/typescript/components/property-name.d.mts.map +1 -1
- package/dist/typescript/components/record-expression.cjs +4 -3
- package/dist/typescript/components/record-expression.d.cts.map +1 -1
- package/dist/typescript/components/record-expression.d.mts.map +1 -1
- package/dist/typescript/components/tsdoc-reflection.cjs +74 -73
- package/dist/typescript/components/tsdoc-reflection.d.cts +7 -7
- package/dist/typescript/components/tsdoc-reflection.d.cts.map +1 -1
- package/dist/typescript/components/tsdoc-reflection.d.mts +7 -7
- package/dist/typescript/components/tsdoc-reflection.d.mts.map +1 -1
- package/dist/typescript/components/tsdoc.cjs +107 -106
- package/dist/typescript/components/tsdoc.d.cts.map +1 -1
- package/dist/typescript/components/tsdoc.d.mts.map +1 -1
- package/dist/typescript/components/tsdoc.mjs +2 -2
- package/dist/typescript/components/tsdoc.mjs.map +1 -1
- package/dist/typescript/components/type-declaration.cjs +11 -10
- package/dist/typescript/components/type-declaration.d.cts +2 -2
- package/dist/typescript/components/type-declaration.d.cts.map +1 -1
- package/dist/typescript/components/type-declaration.d.mts +2 -2
- package/dist/typescript/components/type-declaration.d.mts.map +1 -1
- package/dist/typescript/components/type-declaration.mjs +1 -1
- package/dist/typescript/components/type-parameters.cjs +17 -16
- package/dist/typescript/components/type-parameters.d.cts.map +1 -1
- package/dist/typescript/components/type-parameters.d.mts.map +1 -1
- package/dist/typescript/components/typescript-file.cjs +63 -62
- package/dist/typescript/components/typescript-file.d.cts.map +1 -1
- package/dist/typescript/components/typescript-file.d.mts.map +1 -1
- package/dist/typescript/contexts/index.cjs +1 -0
- package/dist/typescript/contexts/lexical-scope.cjs +8 -7
- package/dist/typescript/contexts/lexical-scope.d.cts +2 -2
- package/dist/typescript/contexts/lexical-scope.d.cts.map +1 -1
- package/dist/typescript/contexts/lexical-scope.d.mts +2 -2
- package/dist/typescript/contexts/lexical-scope.d.mts.map +1 -1
- package/dist/typescript/contexts/member-scope.cjs +8 -7
- package/dist/typescript/contexts/member-scope.d.cts.map +1 -1
- package/dist/typescript/contexts/member-scope.d.mts.map +1 -1
- package/dist/typescript/helpers/get-call-signature-props.cjs +5 -4
- package/dist/typescript/helpers/get-call-signature-props.d.cts +0 -1
- package/dist/typescript/helpers/get-call-signature-props.d.cts.map +1 -1
- package/dist/typescript/helpers/get-call-signature-props.d.mts +0 -1
- package/dist/typescript/helpers/get-call-signature-props.d.mts.map +1 -1
- package/dist/typescript/helpers/index.cjs +1 -0
- package/dist/typescript/helpers/utilities.cjs +1 -0
- package/dist/typescript/helpers/utilities.d.cts.map +1 -1
- package/dist/typescript/helpers/utilities.d.mts.map +1 -1
- package/dist/typescript/index.cjs +1 -0
- package/dist/typescript/index.d.cts +0 -3
- package/dist/typescript/index.d.mts +0 -3
- package/dist/yaml/components/index.cjs +1 -0
- package/dist/yaml/components/yaml-file.cjs +34 -33
- package/dist/yaml/components/yaml-file.d.cts.map +1 -1
- package/dist/yaml/components/yaml-file.d.mts.map +1 -1
- package/dist/yaml/index.cjs +1 -0
- package/dist/yaml/index.d.cts +0 -1
- package/dist/yaml/index.d.mts +0 -1
- package/package.json +8 -8
|
@@ -1,86 +1,87 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
+
const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
|
|
2
3
|
const require_core_contexts_context = require('../../core/contexts/context.cjs');
|
|
3
4
|
const require_core_components_spacing = require('../../core/components/spacing.cjs');
|
|
4
|
-
let
|
|
5
|
-
let
|
|
6
|
-
let
|
|
7
|
-
let
|
|
8
|
-
let
|
|
5
|
+
let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
6
|
+
let _alloy_js_core = require("@alloy-js/core");
|
|
7
|
+
let _powerlines_deepkit_utilities = require("@powerlines/deepkit/utilities");
|
|
8
|
+
let _stryke_type_checks_is_undefined = require("@stryke/type-checks/is-undefined");
|
|
9
|
+
let _stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
|
|
9
10
|
|
|
10
11
|
//#region src/typescript/components/tsdoc.tsx
|
|
11
12
|
/**
|
|
12
13
|
* Generates a TypeScript interface for the given reflection class.
|
|
13
14
|
*/
|
|
14
15
|
function TSDoc(props) {
|
|
15
|
-
const [{ children, heading }] = (0,
|
|
16
|
+
const [{ children, heading }] = (0, _alloy_js_core.splitProps)(props, ["children", "heading"]);
|
|
16
17
|
return [
|
|
17
18
|
"/**",
|
|
18
|
-
(0,
|
|
19
|
+
(0, _alloy_js_core_jsx_runtime.createIntrinsic)("align", {
|
|
19
20
|
string: " * ",
|
|
20
21
|
get children() {
|
|
21
22
|
return [
|
|
22
|
-
(0,
|
|
23
|
-
(0,
|
|
23
|
+
(0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
|
|
24
|
+
(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
|
|
24
25
|
get when() {
|
|
25
|
-
return !(0,
|
|
26
|
+
return !(0, _stryke_type_checks_is_undefined.isUndefined)(heading);
|
|
26
27
|
},
|
|
27
28
|
children: heading
|
|
28
29
|
}),
|
|
29
|
-
(0,
|
|
30
|
+
(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
|
|
30
31
|
get when() {
|
|
31
|
-
return (0,
|
|
32
|
+
return (0, _alloy_js_core_jsx_runtime.memo)(() => !!!(0, _stryke_type_checks_is_undefined.isUndefined)(children))() && (0, _alloy_js_core.childrenArray)(() => children).filter(Boolean).length > 0;
|
|
32
33
|
},
|
|
33
34
|
get children() {
|
|
34
|
-
return [(0,
|
|
35
|
+
return [(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
|
|
35
36
|
get when() {
|
|
36
|
-
return !(0,
|
|
37
|
+
return !(0, _stryke_type_checks_is_undefined.isUndefined)(heading);
|
|
37
38
|
},
|
|
38
39
|
get children() {
|
|
39
|
-
return (0,
|
|
40
|
+
return (0, _alloy_js_core_jsx_runtime.createComponent)(require_core_components_spacing.Spacing, {});
|
|
40
41
|
}
|
|
41
|
-
}), (0,
|
|
42
|
-
return (0,
|
|
42
|
+
}), (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.List, { get children() {
|
|
43
|
+
return (0, _alloy_js_core.childrenArray)(() => children);
|
|
43
44
|
} })];
|
|
44
45
|
}
|
|
45
46
|
})
|
|
46
47
|
];
|
|
47
48
|
}
|
|
48
49
|
}),
|
|
49
|
-
(0,
|
|
50
|
+
(0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
|
|
50
51
|
`*/`,
|
|
51
|
-
(0,
|
|
52
|
+
(0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})
|
|
52
53
|
];
|
|
53
54
|
}
|
|
54
55
|
/**
|
|
55
56
|
* Create a TSDoc `@<props.tag>` tag.
|
|
56
57
|
*/
|
|
57
58
|
function TSDocTag(props) {
|
|
58
|
-
const [{ children, tag }] = (0,
|
|
59
|
+
const [{ children, tag }] = (0, _alloy_js_core.splitProps)(props, ["children", "tag"]);
|
|
59
60
|
return [
|
|
60
61
|
`@${tag} `,
|
|
61
|
-
(0,
|
|
62
|
+
(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
|
|
62
63
|
get when() {
|
|
63
64
|
return Boolean(children);
|
|
64
65
|
},
|
|
65
66
|
get children() {
|
|
66
|
-
return (0,
|
|
67
|
+
return (0, _alloy_js_core_jsx_runtime.createIntrinsic)("align", {
|
|
67
68
|
width: 2,
|
|
68
69
|
get children() {
|
|
69
|
-
return (0,
|
|
70
|
+
return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Prose, { children });
|
|
70
71
|
}
|
|
71
72
|
});
|
|
72
73
|
}
|
|
73
74
|
}),
|
|
74
|
-
(0,
|
|
75
|
+
(0, _alloy_js_core_jsx_runtime.createIntrinsic)("sbr", {})
|
|
75
76
|
];
|
|
76
77
|
}
|
|
77
78
|
/**
|
|
78
79
|
* A component that creates a TSDoc block with `@param` tags for each parameter.
|
|
79
80
|
*/
|
|
80
81
|
function TSDocParams(props) {
|
|
81
|
-
return (0,
|
|
82
|
+
return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.For, {
|
|
82
83
|
each: normalizeParametersForDoc(props.parameters),
|
|
83
|
-
children: (param) => (0,
|
|
84
|
+
children: (param) => (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocParam, {
|
|
84
85
|
get name() {
|
|
85
86
|
return param.name;
|
|
86
87
|
},
|
|
@@ -101,8 +102,8 @@ function normalizeParametersForDoc(parameters) {
|
|
|
101
102
|
* Create a TSDoc `@title` tag.
|
|
102
103
|
*/
|
|
103
104
|
function TSDocTitle(props) {
|
|
104
|
-
const [{ children }, rest] = (0,
|
|
105
|
-
return (0,
|
|
105
|
+
const [{ children }, rest] = (0, _alloy_js_core.splitProps)(props, ["children"]);
|
|
106
|
+
return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, _alloy_js_core_jsx_runtime.mergeProps)(rest, {
|
|
106
107
|
tag: "title",
|
|
107
108
|
children
|
|
108
109
|
}));
|
|
@@ -111,8 +112,8 @@ function TSDocTitle(props) {
|
|
|
111
112
|
* Create a TSDoc `@domain` tag.
|
|
112
113
|
*/
|
|
113
114
|
function TSDocDomain(props) {
|
|
114
|
-
const [{ children }, rest] = (0,
|
|
115
|
-
return (0,
|
|
115
|
+
const [{ children }, rest] = (0, _alloy_js_core.splitProps)(props, ["children"]);
|
|
116
|
+
return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, _alloy_js_core_jsx_runtime.mergeProps)(rest, {
|
|
116
117
|
tag: "domain",
|
|
117
118
|
children
|
|
118
119
|
}));
|
|
@@ -121,8 +122,8 @@ function TSDocDomain(props) {
|
|
|
121
122
|
* Create a TSDoc `@alias` tag.
|
|
122
123
|
*/
|
|
123
124
|
function TSDocAlias(props) {
|
|
124
|
-
const [{ children }, rest] = (0,
|
|
125
|
-
return (0,
|
|
125
|
+
const [{ children }, rest] = (0, _alloy_js_core.splitProps)(props, ["children"]);
|
|
126
|
+
return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, _alloy_js_core_jsx_runtime.mergeProps)(rest, {
|
|
126
127
|
tag: "alias",
|
|
127
128
|
children
|
|
128
129
|
}));
|
|
@@ -131,8 +132,8 @@ function TSDocAlias(props) {
|
|
|
131
132
|
* Create a TSDoc `@permission` tag.
|
|
132
133
|
*/
|
|
133
134
|
function TSDocPermission(props) {
|
|
134
|
-
const [{ children }, rest] = (0,
|
|
135
|
-
return (0,
|
|
135
|
+
const [{ children }, rest] = (0, _alloy_js_core.splitProps)(props, ["children"]);
|
|
136
|
+
return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, _alloy_js_core_jsx_runtime.mergeProps)(rest, {
|
|
136
137
|
tag: "permission",
|
|
137
138
|
children
|
|
138
139
|
}));
|
|
@@ -141,17 +142,17 @@ function TSDocPermission(props) {
|
|
|
141
142
|
* Create a TSDoc `@defaultValue` tag.
|
|
142
143
|
*/
|
|
143
144
|
function TSDocDefaultValue(props) {
|
|
144
|
-
const [{ type, defaultValue }] = (0,
|
|
145
|
-
return ["@defaultValue ", (0,
|
|
145
|
+
const [{ type, defaultValue }] = (0, _alloy_js_core.splitProps)(props, ["type", "defaultValue"]);
|
|
146
|
+
return ["@defaultValue ", (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
|
|
146
147
|
get when() {
|
|
147
|
-
return !(0,
|
|
148
|
+
return !(0, _stryke_type_checks_is_undefined.isUndefined)(defaultValue);
|
|
148
149
|
},
|
|
149
150
|
get children() {
|
|
150
|
-
return (0,
|
|
151
|
+
return (0, _alloy_js_core_jsx_runtime.createIntrinsic)("align", {
|
|
151
152
|
width: 2,
|
|
152
153
|
get children() {
|
|
153
|
-
return (0,
|
|
154
|
-
return (0,
|
|
154
|
+
return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Prose, { get children() {
|
|
155
|
+
return (0, _powerlines_deepkit_utilities.stringifyDefaultValue)(type, defaultValue);
|
|
155
156
|
} });
|
|
156
157
|
}
|
|
157
158
|
});
|
|
@@ -164,11 +165,11 @@ function TSDocDefaultValue(props) {
|
|
|
164
165
|
function TSDocRemarks(props) {
|
|
165
166
|
return [
|
|
166
167
|
"@remarks ",
|
|
167
|
-
(0,
|
|
168
|
-
(0,
|
|
168
|
+
(0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
|
|
169
|
+
(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.List, {
|
|
169
170
|
hardline: true,
|
|
170
171
|
get children() {
|
|
171
|
-
return (0,
|
|
172
|
+
return (0, _alloy_js_core.childrenArray)(() => props.children);
|
|
172
173
|
}
|
|
173
174
|
})
|
|
174
175
|
];
|
|
@@ -177,13 +178,13 @@ function TSDocRemarks(props) {
|
|
|
177
178
|
* Create a TSDoc `@see` tag.
|
|
178
179
|
*/
|
|
179
180
|
function TSDocLink(props) {
|
|
180
|
-
return (0,
|
|
181
|
+
return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, _alloy_js_core_jsx_runtime.mergeProps)(props, { tag: "see" }));
|
|
181
182
|
}
|
|
182
183
|
/**
|
|
183
184
|
* Create a TSDoc `@example` tag.
|
|
184
185
|
*/
|
|
185
186
|
function TSDocExample(props) {
|
|
186
|
-
const [{ tsx, fenced = true, language, children }] = (0,
|
|
187
|
+
const [{ tsx, fenced = true, language, children }] = (0, _alloy_js_core.splitProps)(props, [
|
|
187
188
|
"tsx",
|
|
188
189
|
"fenced",
|
|
189
190
|
"language",
|
|
@@ -191,22 +192,22 @@ function TSDocExample(props) {
|
|
|
191
192
|
]);
|
|
192
193
|
return [
|
|
193
194
|
"@example ",
|
|
194
|
-
(0,
|
|
195
|
-
(0,
|
|
195
|
+
(0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
|
|
196
|
+
(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
|
|
196
197
|
when: fenced,
|
|
197
198
|
get children() {
|
|
198
199
|
return [
|
|
199
200
|
"```",
|
|
200
201
|
language || (tsx ? "tsx" : "ts"),
|
|
201
|
-
(0,
|
|
202
|
+
(0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})
|
|
202
203
|
];
|
|
203
204
|
}
|
|
204
205
|
}),
|
|
205
206
|
children,
|
|
206
|
-
(0,
|
|
207
|
+
(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
|
|
207
208
|
when: fenced,
|
|
208
209
|
get children() {
|
|
209
|
-
return [(0,
|
|
210
|
+
return [(0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}), "```"];
|
|
210
211
|
}
|
|
211
212
|
})
|
|
212
213
|
];
|
|
@@ -215,31 +216,31 @@ function TSDocExample(props) {
|
|
|
215
216
|
* Create a TSDoc `@readonly` tag.
|
|
216
217
|
*/
|
|
217
218
|
function TSDocReadonly() {
|
|
218
|
-
return (0,
|
|
219
|
+
return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTag, { tag: "readonly" });
|
|
219
220
|
}
|
|
220
221
|
/**
|
|
221
222
|
* Create a TSDoc `@internal` tag.
|
|
222
223
|
*/
|
|
223
224
|
function TSDocInternal() {
|
|
224
|
-
return (0,
|
|
225
|
+
return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTag, { tag: "internal" });
|
|
225
226
|
}
|
|
226
227
|
/**
|
|
227
228
|
* Create a TSDoc `@ignore` tag.
|
|
228
229
|
*/
|
|
229
230
|
function TSDocIgnore() {
|
|
230
|
-
return (0,
|
|
231
|
+
return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTag, { tag: "ignore" });
|
|
231
232
|
}
|
|
232
233
|
/**
|
|
233
234
|
* Create a TSDoc `@hidden` tag.
|
|
234
235
|
*/
|
|
235
236
|
function TSDocHidden() {
|
|
236
|
-
return (0,
|
|
237
|
+
return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTag, { tag: "hidden" });
|
|
237
238
|
}
|
|
238
239
|
/**
|
|
239
240
|
* Generates a TypeScript interface property for the given reflection class.
|
|
240
241
|
*/
|
|
241
242
|
function TSDocAttributesTags(props) {
|
|
242
|
-
const [{ type, alias, permission, readonly, internal, ignore, hidden, defaultValue }] = (0,
|
|
243
|
+
const [{ type, alias, permission, readonly, internal, ignore, hidden, defaultValue }] = (0, _alloy_js_core.splitProps)(props, [
|
|
243
244
|
"type",
|
|
244
245
|
"alias",
|
|
245
246
|
"permission",
|
|
@@ -249,85 +250,85 @@ function TSDocAttributesTags(props) {
|
|
|
249
250
|
"hidden",
|
|
250
251
|
"defaultValue"
|
|
251
252
|
]);
|
|
252
|
-
const title = (0,
|
|
253
|
-
const domain = (0,
|
|
253
|
+
const title = (0, _alloy_js_core.computed)(() => props.title?.trim() || "");
|
|
254
|
+
const domain = (0, _alloy_js_core.computed)(() => props.domain?.trim() || "");
|
|
254
255
|
return [
|
|
255
|
-
(0,
|
|
256
|
+
(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
|
|
256
257
|
get when() {
|
|
257
|
-
return (0,
|
|
258
|
+
return (0, _stryke_type_checks_is_set_string.isSetString)(title.value);
|
|
258
259
|
},
|
|
259
260
|
get children() {
|
|
260
|
-
return (0,
|
|
261
|
+
return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTitle, { get children() {
|
|
261
262
|
return title.value;
|
|
262
263
|
} });
|
|
263
264
|
}
|
|
264
265
|
}),
|
|
265
|
-
(0,
|
|
266
|
+
(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
|
|
266
267
|
get when() {
|
|
267
|
-
return (0,
|
|
268
|
+
return (0, _alloy_js_core_jsx_runtime.memo)(() => !!(!(0, _stryke_type_checks_is_undefined.isUndefined)(alias) && alias.length > 0))() && alias.some((a) => (0, _stryke_type_checks_is_set_string.isSetString)(a?.trim()));
|
|
268
269
|
},
|
|
269
270
|
get children() {
|
|
270
|
-
return (0,
|
|
271
|
+
return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.For, {
|
|
271
272
|
get each() {
|
|
272
|
-
return alias?.filter((a) => (0,
|
|
273
|
+
return alias?.filter((a) => (0, _stryke_type_checks_is_set_string.isSetString)(a?.trim())) ?? [];
|
|
273
274
|
},
|
|
274
|
-
children: (alias
|
|
275
|
+
children: (alias) => (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocAlias, { children: alias })
|
|
275
276
|
});
|
|
276
277
|
}
|
|
277
278
|
}),
|
|
278
|
-
(0,
|
|
279
|
+
(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
|
|
279
280
|
get when() {
|
|
280
|
-
return (0,
|
|
281
|
+
return (0, _stryke_type_checks_is_set_string.isSetString)(domain.value);
|
|
281
282
|
},
|
|
282
283
|
get children() {
|
|
283
|
-
return (0,
|
|
284
|
+
return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocDomain, { get children() {
|
|
284
285
|
return domain.value;
|
|
285
286
|
} });
|
|
286
287
|
}
|
|
287
288
|
}),
|
|
288
|
-
(0,
|
|
289
|
+
(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
|
|
289
290
|
get when() {
|
|
290
|
-
return (0,
|
|
291
|
+
return (0, _alloy_js_core_jsx_runtime.memo)(() => !!(!(0, _stryke_type_checks_is_undefined.isUndefined)(permission) && permission.length > 0))() && permission.some((p) => (0, _stryke_type_checks_is_set_string.isSetString)(p?.trim()));
|
|
291
292
|
},
|
|
292
293
|
get children() {
|
|
293
|
-
return (0,
|
|
294
|
+
return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.For, {
|
|
294
295
|
get each() {
|
|
295
|
-
return permission?.filter((p) => (0,
|
|
296
|
+
return permission?.filter((p) => (0, _stryke_type_checks_is_set_string.isSetString)(p?.trim())) ?? [];
|
|
296
297
|
},
|
|
297
|
-
children: (permission
|
|
298
|
+
children: (permission) => (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocPermission, { children: permission })
|
|
298
299
|
});
|
|
299
300
|
}
|
|
300
301
|
}),
|
|
301
|
-
(0,
|
|
302
|
+
(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
|
|
302
303
|
when: readonly === true,
|
|
303
304
|
get children() {
|
|
304
|
-
return (0,
|
|
305
|
+
return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocReadonly, {});
|
|
305
306
|
}
|
|
306
307
|
}),
|
|
307
|
-
(0,
|
|
308
|
+
(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
|
|
308
309
|
when: internal === true,
|
|
309
310
|
get children() {
|
|
310
|
-
return (0,
|
|
311
|
+
return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocInternal, {});
|
|
311
312
|
}
|
|
312
313
|
}),
|
|
313
|
-
(0,
|
|
314
|
+
(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
|
|
314
315
|
when: ignore === true,
|
|
315
316
|
get children() {
|
|
316
|
-
return (0,
|
|
317
|
+
return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocIgnore, {});
|
|
317
318
|
}
|
|
318
319
|
}),
|
|
319
|
-
(0,
|
|
320
|
+
(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
|
|
320
321
|
when: hidden === true,
|
|
321
322
|
get children() {
|
|
322
|
-
return (0,
|
|
323
|
+
return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocHidden, {});
|
|
323
324
|
}
|
|
324
325
|
}),
|
|
325
|
-
(0,
|
|
326
|
+
(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
|
|
326
327
|
get when() {
|
|
327
|
-
return (0,
|
|
328
|
+
return (0, _alloy_js_core_jsx_runtime.memo)(() => !!!(0, _stryke_type_checks_is_undefined.isUndefined)(type))() && !(0, _stryke_type_checks_is_undefined.isUndefined)(defaultValue);
|
|
328
329
|
},
|
|
329
330
|
get children() {
|
|
330
|
-
return (0,
|
|
331
|
+
return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocDefaultValue, {
|
|
331
332
|
type,
|
|
332
333
|
defaultValue
|
|
333
334
|
});
|
|
@@ -341,7 +342,7 @@ function TSDocAttributesTags(props) {
|
|
|
341
342
|
function TSDocParam(props) {
|
|
342
343
|
return [
|
|
343
344
|
"@param ",
|
|
344
|
-
(0,
|
|
345
|
+
(0, _alloy_js_core_jsx_runtime.createComponent)(TSDocParamName, {
|
|
345
346
|
get name() {
|
|
346
347
|
return props.name;
|
|
347
348
|
},
|
|
@@ -352,29 +353,29 @@ function TSDocParam(props) {
|
|
|
352
353
|
return props.defaultValue;
|
|
353
354
|
}
|
|
354
355
|
}),
|
|
355
|
-
(0,
|
|
356
|
+
(0, _alloy_js_core_jsx_runtime.createComponent)(TSDocParamDescription, { get children() {
|
|
356
357
|
return props.children;
|
|
357
358
|
} })
|
|
358
359
|
];
|
|
359
360
|
}
|
|
360
361
|
function TSDocParamName(props) {
|
|
361
362
|
return [
|
|
362
|
-
(0,
|
|
363
|
+
(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
|
|
363
364
|
get when() {
|
|
364
365
|
return props.optional;
|
|
365
366
|
},
|
|
366
367
|
children: "["
|
|
367
368
|
}),
|
|
368
|
-
(0,
|
|
369
|
-
(0,
|
|
369
|
+
(0, _alloy_js_core_jsx_runtime.memo)(() => props.name),
|
|
370
|
+
(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
|
|
370
371
|
get when() {
|
|
371
372
|
return Boolean(props.defaultValue);
|
|
372
373
|
},
|
|
373
374
|
get children() {
|
|
374
|
-
return ["=", (0,
|
|
375
|
+
return ["=", (0, _alloy_js_core_jsx_runtime.memo)(() => props.defaultValue)];
|
|
375
376
|
}
|
|
376
377
|
}),
|
|
377
|
-
(0,
|
|
378
|
+
(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
|
|
378
379
|
get when() {
|
|
379
380
|
return props.optional;
|
|
380
381
|
},
|
|
@@ -383,15 +384,15 @@ function TSDocParamName(props) {
|
|
|
383
384
|
];
|
|
384
385
|
}
|
|
385
386
|
function TSDocParamDescription(props) {
|
|
386
|
-
return (0,
|
|
387
|
+
return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
|
|
387
388
|
get when() {
|
|
388
389
|
return Boolean(props.children);
|
|
389
390
|
},
|
|
390
391
|
get children() {
|
|
391
|
-
return [" - ", (0,
|
|
392
|
+
return [" - ", (0, _alloy_js_core_jsx_runtime.createIntrinsic)("align", {
|
|
392
393
|
width: 2,
|
|
393
394
|
get children() {
|
|
394
|
-
return (0,
|
|
395
|
+
return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Prose, { get children() {
|
|
395
396
|
return props.children;
|
|
396
397
|
} });
|
|
397
398
|
}
|
|
@@ -403,19 +404,19 @@ function TSDocParamDescription(props) {
|
|
|
403
404
|
* Create a TSDoc `@returns` tag.
|
|
404
405
|
*/
|
|
405
406
|
function TSDocReturns(props) {
|
|
406
|
-
return (0,
|
|
407
|
+
return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, _alloy_js_core_jsx_runtime.mergeProps)(props, { tag: "returns" }));
|
|
407
408
|
}
|
|
408
409
|
/**
|
|
409
410
|
* Create a TSDoc `@throws` tag.
|
|
410
411
|
*/
|
|
411
412
|
function TSDocThrows(props) {
|
|
412
|
-
return (0,
|
|
413
|
+
return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, _alloy_js_core_jsx_runtime.mergeProps)(props, { tag: "throws" }));
|
|
413
414
|
}
|
|
414
415
|
/**
|
|
415
416
|
* Generates a TSDoc `@module` tag for the given module name.
|
|
416
417
|
*/
|
|
417
418
|
function TSDocModule(props) {
|
|
418
|
-
const [{ children, name, prefix }] = (0,
|
|
419
|
+
const [{ children, name, prefix }] = (0, _alloy_js_core.splitProps)(props, [
|
|
419
420
|
"children",
|
|
420
421
|
"name",
|
|
421
422
|
"prefix"
|
|
@@ -423,32 +424,32 @@ function TSDocModule(props) {
|
|
|
423
424
|
const context = require_core_contexts_context.usePowerlinesSafe();
|
|
424
425
|
return [
|
|
425
426
|
"/**",
|
|
426
|
-
(0,
|
|
427
|
+
(0, _alloy_js_core_jsx_runtime.createIntrinsic)("align", {
|
|
427
428
|
string: " * ",
|
|
428
429
|
get children() {
|
|
429
430
|
return [
|
|
430
|
-
(0,
|
|
431
|
-
(0,
|
|
431
|
+
(0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
|
|
432
|
+
(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
|
|
432
433
|
get when() {
|
|
433
434
|
return Boolean(children);
|
|
434
435
|
},
|
|
435
436
|
get children() {
|
|
436
|
-
return [(0,
|
|
437
|
+
return [(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.List, {
|
|
437
438
|
hardline: true,
|
|
438
439
|
get children() {
|
|
439
|
-
return (0,
|
|
440
|
+
return (0, _alloy_js_core.childrenArray)(() => children);
|
|
440
441
|
}
|
|
441
|
-
}), (0,
|
|
442
|
+
}), (0, _alloy_js_core_jsx_runtime.createComponent)(require_core_components_spacing.Spacing, {})];
|
|
442
443
|
}
|
|
443
444
|
}),
|
|
444
445
|
"@module ",
|
|
445
|
-
(0,
|
|
446
|
+
(0, _alloy_js_core_jsx_runtime.memo)(() => prefix || context?.config?.framework || "powerlines"),
|
|
446
447
|
":",
|
|
447
448
|
name
|
|
448
449
|
];
|
|
449
450
|
}
|
|
450
451
|
}),
|
|
451
|
-
(0,
|
|
452
|
+
(0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
|
|
452
453
|
` */`
|
|
453
454
|
];
|
|
454
455
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tsdoc.d.cts","names":[],"sources":["../../../src/typescript/components/tsdoc.tsx"],"
|
|
1
|
+
{"version":3,"file":"tsdoc.d.cts","names":[],"sources":["../../../src/typescript/components/tsdoc.tsx"],"mappings":";;;;;;UAyCiB,UAAA,SAAmB,cAAA;EAClC,OAAA,GAAU,QAAA;AAAA;;;;iBAMI,KAAA,CAAM,KAAA,EAAO,UAAA,GAAU,QAAA;AAAA,UA2BtB,aAAA,SAAsB,cAAA;EACrC,GAAA;AAAA;;AA5BF;;iBAkCgB,QAAA,CAAS,KAAA,EAAO,aAAA,GAAa,QAAA;AAAA,UAgB5B,gBAAA;EACf,UAAA,EAAY,mBAAA;AAAA;;;;iBAME,WAAA,CAAY,KAAA,EAAO,gBAAA,GAAgB,QAAA;;;;iBA2BnC,UAAA,CAAW,KAAA,EAAO,cAAA,GAAc,QAAA;AAlDhD;;;AAAA,iBA+DgB,WAAA,CAAY,KAAA,EAAO,cAAA,GAAc,QAAA;;;;iBAajC,UAAA,CAAW,KAAA,EAAO,cAAA,GAAc,QAAA;;AA5DhD;;iBAyEgB,eAAA,CAAgB,KAAA,EAAO,cAAA,GAAc,QAAA;AAAA,UAUpC,sBAAA,SAA+B,cAAA;EAC9C,IAAA,EAAM,cAAA,GAAiB,kBAAA,GAAqB,mBAAA;EAC5C,YAAA;AAAA;;;;iBAMc,iBAAA,CAAkB,KAAA,EAAO,sBAAA,GAAsB,QAAA;;;;iBAkB/C,YAAA,CAAa,KAAA,EAAO,cAAA,GAAc,QAAA;;;;iBAalC,SAAA,CAAU,KAAA,EAAO,cAAA,GAAc,QAAA;AAAA,UAI9B,iBAAA,SAA0B,iBAAA;EA5FK;;;AAahD;;EAqFE,GAAA;AAAA;;;;iBAMc,YAAA,CAAa,KAAA,EAAO,iBAAA,GAAiB,QAAA;;AA9ErD;;iBA0GgB,aAAA,CAAA,GAAa,QAAA;;;;iBAOb,aAAA,CAAA,GAAa,QAAA;;;AApG7B;iBA2GgB,WAAA,CAAA,GAAW,QAAA;;;;iBAOX,WAAA,CAAA,GAAW,QAAA;AAAA,UAIV,wBAAA;EACf,IAAA,GAAO,cAAA,GAAiB,kBAAA,GAAqB,mBAAA;EAC7C,KAAA;EACA,KAAA;EACA,UAAA;EACA,MAAA;EACA,QAAA;EACA,QAAA;EACA,MAAA;EACA,MAAA;EACA,YAAA;AAAA;;;;iBAMc,mBAAA,CAAoB,KAAA,EAAO,wBAAA,GAAwB,QAAA;AAAA,UA8ElD,eAAA;EACf,IAAA,EAAM,QAAA;EACN,QAAA,GAAW,QAAA;EACX,QAAA;EACA,YAAA,GAAe,QAAA;AAAA;;;;iBAMD,UAAA,CAAW,KAAA,EAAO,eAAA,GAAe,QAAA;;;;iBAiDjC,YAAA,CAAa,KAAA,EAAO,cAAA,GAAc,QAAA;;;;iBAOlC,WAAA,CAAY,KAAA,EAAO,cAAA,GAAc,QAAA;AAAA,UAIhC,gBAAA,SAAyB,cAAA;EAtPQ;;;AAalD;;;;;;;;;AAIA;EAmPE,MAAA;;;;AAvOF;;;;;;;;EAoPE,IAAA,EAAM,QAAA;AAAA;;;;iBAMQ,WAAA,CAAY,KAAA,EAAO,gBAAA,GAAgB,QAAA;AAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tsdoc.d.mts","names":[],"sources":["../../../src/typescript/components/tsdoc.tsx"],"
|
|
1
|
+
{"version":3,"file":"tsdoc.d.mts","names":[],"sources":["../../../src/typescript/components/tsdoc.tsx"],"mappings":";;;;;;UAyCiB,UAAA,SAAmB,cAAA;EAClC,OAAA,GAAU,QAAA;AAAA;;;;iBAMI,KAAA,CAAM,KAAA,EAAO,UAAA,GAAU,QAAA;AAAA,UA2BtB,aAAA,SAAsB,cAAA;EACrC,GAAA;AAAA;;AA5BF;;iBAkCgB,QAAA,CAAS,KAAA,EAAO,aAAA,GAAa,QAAA;AAAA,UAgB5B,gBAAA;EACf,UAAA,EAAY,mBAAA;AAAA;;;;iBAME,WAAA,CAAY,KAAA,EAAO,gBAAA,GAAgB,QAAA;;;;iBA2BnC,UAAA,CAAW,KAAA,EAAO,cAAA,GAAc,QAAA;AAlDhD;;;AAAA,iBA+DgB,WAAA,CAAY,KAAA,EAAO,cAAA,GAAc,QAAA;;;;iBAajC,UAAA,CAAW,KAAA,EAAO,cAAA,GAAc,QAAA;;AA5DhD;;iBAyEgB,eAAA,CAAgB,KAAA,EAAO,cAAA,GAAc,QAAA;AAAA,UAUpC,sBAAA,SAA+B,cAAA;EAC9C,IAAA,EAAM,cAAA,GAAiB,kBAAA,GAAqB,mBAAA;EAC5C,YAAA;AAAA;;;;iBAMc,iBAAA,CAAkB,KAAA,EAAO,sBAAA,GAAsB,QAAA;;;;iBAkB/C,YAAA,CAAa,KAAA,EAAO,cAAA,GAAc,QAAA;;;;iBAalC,SAAA,CAAU,KAAA,EAAO,cAAA,GAAc,QAAA;AAAA,UAI9B,iBAAA,SAA0B,iBAAA;EA5FK;;;AAahD;;EAqFE,GAAA;AAAA;;;;iBAMc,YAAA,CAAa,KAAA,EAAO,iBAAA,GAAiB,QAAA;;AA9ErD;;iBA0GgB,aAAA,CAAA,GAAa,QAAA;;;;iBAOb,aAAA,CAAA,GAAa,QAAA;;;AApG7B;iBA2GgB,WAAA,CAAA,GAAW,QAAA;;;;iBAOX,WAAA,CAAA,GAAW,QAAA;AAAA,UAIV,wBAAA;EACf,IAAA,GAAO,cAAA,GAAiB,kBAAA,GAAqB,mBAAA;EAC7C,KAAA;EACA,KAAA;EACA,UAAA;EACA,MAAA;EACA,QAAA;EACA,QAAA;EACA,MAAA;EACA,MAAA;EACA,YAAA;AAAA;;;;iBAMc,mBAAA,CAAoB,KAAA,EAAO,wBAAA,GAAwB,QAAA;AAAA,UA8ElD,eAAA;EACf,IAAA,EAAM,QAAA;EACN,QAAA,GAAW,QAAA;EACX,QAAA;EACA,YAAA,GAAe,QAAA;AAAA;;;;iBAMD,UAAA,CAAW,KAAA,EAAO,eAAA,GAAe,QAAA;;;;iBAiDjC,YAAA,CAAa,KAAA,EAAO,cAAA,GAAc,QAAA;;;;iBAOlC,WAAA,CAAY,KAAA,EAAO,cAAA,GAAc,QAAA;AAAA,UAIhC,gBAAA,SAAyB,cAAA;EAtPQ;;;AAalD;;;;;;;;;AAIA;EAmPE,MAAA;;;;AAvOF;;;;;;;;EAoPE,IAAA,EAAM,QAAA;AAAA;;;;iBAMQ,WAAA,CAAY,KAAA,EAAO,gBAAA,GAAgB,QAAA;AAAA"}
|
|
@@ -270,7 +270,7 @@ function TSDocAttributesTags(props) {
|
|
|
270
270
|
get each() {
|
|
271
271
|
return alias?.filter((a) => isSetString(a?.trim())) ?? [];
|
|
272
272
|
},
|
|
273
|
-
children: (alias
|
|
273
|
+
children: (alias) => createComponent(TSDocAlias, { children: alias })
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
}),
|
|
@@ -293,7 +293,7 @@ function TSDocAttributesTags(props) {
|
|
|
293
293
|
get each() {
|
|
294
294
|
return permission?.filter((p) => isSetString(p?.trim())) ?? [];
|
|
295
295
|
},
|
|
296
|
-
children: (permission
|
|
296
|
+
children: (permission) => createComponent(TSDocPermission, { children: permission })
|
|
297
297
|
});
|
|
298
298
|
}
|
|
299
299
|
}),
|