@redis-ui/components 51.27.0 → 51.29.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.
Files changed (142) hide show
  1. package/dist/CodeBlock/CodeBlock.cjs +32 -15
  2. package/dist/CodeBlock/CodeBlock.js +32 -15
  3. package/dist/CodeBlock/CodeBlock.style.d.ts +4 -3
  4. package/dist/CodeBlock/CodeBlock.types.cjs +7 -0
  5. package/dist/CodeBlock/CodeBlock.types.d.ts +9 -1
  6. package/dist/CodeBlock/CodeBlock.types.js +7 -1
  7. package/dist/CodeBlock/components/HighlightedCode/HighlightedCode.cjs +29 -0
  8. package/dist/CodeBlock/components/HighlightedCode/HighlightedCode.constants.cjs +34 -0
  9. package/dist/CodeBlock/components/HighlightedCode/HighlightedCode.constants.d.ts +25 -0
  10. package/dist/CodeBlock/components/HighlightedCode/HighlightedCode.constants.js +32 -0
  11. package/dist/CodeBlock/components/HighlightedCode/HighlightedCode.d.ts +6 -0
  12. package/dist/CodeBlock/components/HighlightedCode/HighlightedCode.js +29 -0
  13. package/dist/CodeBlock/components/HighlightedCode/HighlightedCode.types.d.ts +10 -0
  14. package/dist/CodeBlock/components/HighlightedCode/HighlightedCode.types.js +1 -0
  15. package/dist/index.cjs +1 -0
  16. package/dist/index.js +2 -2
  17. package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.cjs +8 -0
  18. package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +8 -0
  19. package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.cjs +7 -0
  20. package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +7 -0
  21. package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.cjs +12 -0
  22. package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js +12 -0
  23. package/dist/node_modules/@babel/runtime/helpers/esm/extends.cjs +17 -0
  24. package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +12 -0
  25. package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.cjs +6 -0
  26. package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +6 -0
  27. package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.cjs +6 -0
  28. package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +6 -0
  29. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.cjs +13 -0
  30. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +13 -0
  31. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.cjs +12 -0
  32. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +12 -0
  33. package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.cjs +10 -0
  34. package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +10 -0
  35. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.cjs +14 -0
  36. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +14 -0
  37. package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.cjs +9 -0
  38. package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +9 -0
  39. package/dist/node_modules/@babel/runtime/helpers/esm/typeof.cjs +16 -0
  40. package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +11 -0
  41. package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.cjs +11 -0
  42. package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +11 -0
  43. package/dist/node_modules/character-entities-legacy/index.cjs +116 -0
  44. package/dist/node_modules/character-entities-legacy/index.js +116 -0
  45. package/dist/node_modules/character-reference-invalid/index.cjs +38 -0
  46. package/dist/node_modules/character-reference-invalid/index.js +38 -0
  47. package/dist/node_modules/comma-separated-tokens/index.cjs +43 -0
  48. package/dist/node_modules/comma-separated-tokens/index.js +43 -0
  49. package/dist/node_modules/decode-named-character-reference/index.dom.cjs +15 -0
  50. package/dist/node_modules/decode-named-character-reference/index.dom.js +15 -0
  51. package/dist/node_modules/hast-util-parse-selector/lib/index.cjs +76 -0
  52. package/dist/node_modules/hast-util-parse-selector/lib/index.js +76 -0
  53. package/dist/node_modules/hastscript/lib/create-h.cjs +262 -0
  54. package/dist/node_modules/hastscript/lib/create-h.js +262 -0
  55. package/dist/node_modules/hastscript/lib/index.cjs +21 -0
  56. package/dist/node_modules/hastscript/lib/index.js +21 -0
  57. package/dist/node_modules/hastscript/lib/svg-case-sensitive-tag-names.cjs +49 -0
  58. package/dist/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +49 -0
  59. package/dist/node_modules/is-alphabetical/index.cjs +14 -0
  60. package/dist/node_modules/is-alphabetical/index.js +14 -0
  61. package/dist/node_modules/is-alphanumerical/index.cjs +15 -0
  62. package/dist/node_modules/is-alphanumerical/index.js +15 -0
  63. package/dist/node_modules/is-decimal/index.cjs +14 -0
  64. package/dist/node_modules/is-decimal/index.js +14 -0
  65. package/dist/node_modules/is-hexadecimal/index.cjs +14 -0
  66. package/dist/node_modules/is-hexadecimal/index.js +14 -0
  67. package/dist/node_modules/parse-entities/lib/index.cjs +232 -0
  68. package/dist/node_modules/parse-entities/lib/index.js +232 -0
  69. package/dist/node_modules/property-information/index.cjs +27 -0
  70. package/dist/node_modules/property-information/index.js +26 -0
  71. package/dist/node_modules/property-information/lib/aria.cjs +60 -0
  72. package/dist/node_modules/property-information/lib/aria.js +61 -0
  73. package/dist/node_modules/property-information/lib/find.cjs +81 -0
  74. package/dist/node_modules/property-information/lib/find.js +81 -0
  75. package/dist/node_modules/property-information/lib/html.cjs +326 -0
  76. package/dist/node_modules/property-information/lib/html.js +326 -0
  77. package/dist/node_modules/property-information/lib/normalize.cjs +15 -0
  78. package/dist/node_modules/property-information/lib/normalize.js +15 -0
  79. package/dist/node_modules/property-information/lib/svg.cjs +564 -0
  80. package/dist/node_modules/property-information/lib/svg.js +564 -0
  81. package/dist/node_modules/property-information/lib/util/case-insensitive-transform.cjs +15 -0
  82. package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +15 -0
  83. package/dist/node_modules/property-information/lib/util/case-sensitive-transform.cjs +14 -0
  84. package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +14 -0
  85. package/dist/node_modules/property-information/lib/util/create.cjs +53 -0
  86. package/dist/node_modules/property-information/lib/util/create.js +53 -0
  87. package/dist/node_modules/property-information/lib/util/defined-info.cjs +49 -0
  88. package/dist/node_modules/property-information/lib/util/defined-info.js +49 -0
  89. package/dist/node_modules/property-information/lib/util/info.cjs +33 -0
  90. package/dist/node_modules/property-information/lib/util/info.js +33 -0
  91. package/dist/node_modules/property-information/lib/util/merge.cjs +26 -0
  92. package/dist/node_modules/property-information/lib/util/merge.js +26 -0
  93. package/dist/node_modules/property-information/lib/util/schema.cjs +27 -0
  94. package/dist/node_modules/property-information/lib/util/schema.js +27 -0
  95. package/dist/node_modules/property-information/lib/util/types.cjs +35 -0
  96. package/dist/node_modules/property-information/lib/util/types.js +24 -0
  97. package/dist/node_modules/property-information/lib/xlink.cjs +18 -0
  98. package/dist/node_modules/property-information/lib/xlink.js +19 -0
  99. package/dist/node_modules/property-information/lib/xml.cjs +14 -0
  100. package/dist/node_modules/property-information/lib/xml.js +15 -0
  101. package/dist/node_modules/property-information/lib/xmlns.cjs +14 -0
  102. package/dist/node_modules/property-information/lib/xmlns.js +14 -0
  103. package/dist/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.cjs +6 -0
  104. package/dist/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.js +6 -0
  105. package/dist/node_modules/react-syntax-highlighter/dist/esm/create-element.cjs +183 -0
  106. package/dist/node_modules/react-syntax-highlighter/dist/esm/create-element.js +181 -0
  107. package/dist/node_modules/react-syntax-highlighter/dist/esm/highlight.cjs +308 -0
  108. package/dist/node_modules/react-syntax-highlighter/dist/esm/highlight.js +306 -0
  109. package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/bash.cjs +4 -0
  110. package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/bash.js +5 -0
  111. package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/json.cjs +4 -0
  112. package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/json.js +5 -0
  113. package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/python.cjs +4 -0
  114. package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/python.js +5 -0
  115. package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/typescript.cjs +4 -0
  116. package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/typescript.js +5 -0
  117. package/dist/node_modules/react-syntax-highlighter/dist/esm/prism-light.cjs +12 -0
  118. package/dist/node_modules/react-syntax-highlighter/dist/esm/prism-light.js +12 -0
  119. package/dist/node_modules/react-syntax-highlighter/dist/esm/styles/prism/vs.cjs +121 -0
  120. package/dist/node_modules/react-syntax-highlighter/dist/esm/styles/prism/vs.js +121 -0
  121. package/dist/node_modules/react-syntax-highlighter/dist/esm/styles/prism/vsc-dark-plus.cjs +147 -0
  122. package/dist/node_modules/react-syntax-highlighter/dist/esm/styles/prism/vsc-dark-plus.js +147 -0
  123. package/dist/node_modules/refractor/lang/bash.cjs +190 -0
  124. package/dist/node_modules/refractor/lang/bash.js +190 -0
  125. package/dist/node_modules/refractor/lang/clike.cjs +37 -0
  126. package/dist/node_modules/refractor/lang/clike.js +37 -0
  127. package/dist/node_modules/refractor/lang/javascript.cjs +122 -0
  128. package/dist/node_modules/refractor/lang/javascript.js +122 -0
  129. package/dist/node_modules/refractor/lang/json.cjs +36 -0
  130. package/dist/node_modules/refractor/lang/json.js +36 -0
  131. package/dist/node_modules/refractor/lang/python.cjs +71 -0
  132. package/dist/node_modules/refractor/lang/python.js +71 -0
  133. package/dist/node_modules/refractor/lang/typescript.cjs +55 -0
  134. package/dist/node_modules/refractor/lang/typescript.js +55 -0
  135. package/dist/node_modules/refractor/lib/core.cjs +214 -0
  136. package/dist/node_modules/refractor/lib/core.js +214 -0
  137. package/dist/node_modules/refractor/lib/prism-core.cjs +595 -0
  138. package/dist/node_modules/refractor/lib/prism-core.js +595 -0
  139. package/dist/node_modules/space-separated-tokens/index.cjs +15 -0
  140. package/dist/node_modules/space-separated-tokens/index.js +15 -0
  141. package/package.json +3 -1
  142. package/skills/redis-ui-components/references/CodeBlock.md +27 -6
@@ -0,0 +1,53 @@
1
+ import { Schema } from "./schema.js";
2
+ import { normalize } from "../normalize.js";
3
+ import { DefinedInfo } from "./defined-info.js";
4
+ //#region ../../node_modules/property-information/lib/util/create.js
5
+ /**
6
+ * @import {Info, Space} from 'property-information'
7
+ */
8
+ /**
9
+ * @typedef Definition
10
+ * Definition of a schema.
11
+ * @property {Record<string, string> | undefined} [attributes]
12
+ * Normalzed names to special attribute case.
13
+ * @property {ReadonlyArray<string> | undefined} [mustUseProperty]
14
+ * Normalized names that must be set as properties.
15
+ * @property {Record<string, number | null>} properties
16
+ * Property names to their types.
17
+ * @property {Space | undefined} [space]
18
+ * Space.
19
+ * @property {Transform} transform
20
+ * Transform a property name.
21
+ */
22
+ /**
23
+ * @callback Transform
24
+ * Transform.
25
+ * @param {Record<string, string>} attributes
26
+ * Attributes.
27
+ * @param {string} property
28
+ * Property.
29
+ * @returns {string}
30
+ * Attribute.
31
+ */
32
+ /**
33
+ * @param {Definition} definition
34
+ * Definition.
35
+ * @returns {Schema}
36
+ * Schema.
37
+ */
38
+ function create(definition) {
39
+ /** @type {Record<string, Info>} */
40
+ const properties = {};
41
+ /** @type {Record<string, string>} */
42
+ const normals = {};
43
+ for (const [property, value] of Object.entries(definition.properties)) {
44
+ const info = new DefinedInfo(property, definition.transform(definition.attributes || {}, property), value, definition.space);
45
+ if (definition.mustUseProperty && definition.mustUseProperty.includes(property)) info.mustUseProperty = true;
46
+ properties[property] = info;
47
+ normals[normalize(property)] = property;
48
+ normals[normalize(info.attribute)] = property;
49
+ }
50
+ return new Schema(properties, normals, definition.space);
51
+ }
52
+ //#endregion
53
+ export { create };
@@ -0,0 +1,49 @@
1
+ const require_info = require("./info.cjs");
2
+ const require_types = require("./types.cjs");
3
+ //#region ../../node_modules/property-information/lib/util/defined-info.js
4
+ /**
5
+ * @import {Space} from 'property-information'
6
+ */
7
+ var checks = Object.keys(require_types.types_exports);
8
+ var DefinedInfo = class extends require_info.Info {
9
+ /**
10
+ * @constructor
11
+ * @param {string} property
12
+ * Property.
13
+ * @param {string} attribute
14
+ * Attribute.
15
+ * @param {number | null | undefined} [mask]
16
+ * Mask.
17
+ * @param {Space | undefined} [space]
18
+ * Space.
19
+ * @returns
20
+ * Info.
21
+ */
22
+ constructor(property, attribute, mask, space) {
23
+ let index = -1;
24
+ super(property, attribute);
25
+ mark(this, "space", space);
26
+ if (typeof mask === "number") while (++index < checks.length) {
27
+ const check = checks[index];
28
+ mark(this, checks[index], (mask & require_types.types_exports[check]) === require_types.types_exports[check]);
29
+ }
30
+ }
31
+ };
32
+ DefinedInfo.prototype.defined = true;
33
+ /**
34
+ * @template {keyof DefinedInfo} Key
35
+ * Key type.
36
+ * @param {DefinedInfo} values
37
+ * Info.
38
+ * @param {Key} key
39
+ * Key.
40
+ * @param {DefinedInfo[Key]} value
41
+ * Value.
42
+ * @returns {undefined}
43
+ * Nothing.
44
+ */
45
+ function mark(values, key, value) {
46
+ if (value) values[key] = value;
47
+ }
48
+ //#endregion
49
+ exports.DefinedInfo = DefinedInfo;
@@ -0,0 +1,49 @@
1
+ import { Info } from "./info.js";
2
+ import { types_exports } from "./types.js";
3
+ //#region ../../node_modules/property-information/lib/util/defined-info.js
4
+ /**
5
+ * @import {Space} from 'property-information'
6
+ */
7
+ var checks = Object.keys(types_exports);
8
+ var DefinedInfo = class extends Info {
9
+ /**
10
+ * @constructor
11
+ * @param {string} property
12
+ * Property.
13
+ * @param {string} attribute
14
+ * Attribute.
15
+ * @param {number | null | undefined} [mask]
16
+ * Mask.
17
+ * @param {Space | undefined} [space]
18
+ * Space.
19
+ * @returns
20
+ * Info.
21
+ */
22
+ constructor(property, attribute, mask, space) {
23
+ let index = -1;
24
+ super(property, attribute);
25
+ mark(this, "space", space);
26
+ if (typeof mask === "number") while (++index < checks.length) {
27
+ const check = checks[index];
28
+ mark(this, checks[index], (mask & types_exports[check]) === types_exports[check]);
29
+ }
30
+ }
31
+ };
32
+ DefinedInfo.prototype.defined = true;
33
+ /**
34
+ * @template {keyof DefinedInfo} Key
35
+ * Key type.
36
+ * @param {DefinedInfo} values
37
+ * Info.
38
+ * @param {Key} key
39
+ * Key.
40
+ * @param {DefinedInfo[Key]} value
41
+ * Value.
42
+ * @returns {undefined}
43
+ * Nothing.
44
+ */
45
+ function mark(values, key, value) {
46
+ if (value) values[key] = value;
47
+ }
48
+ //#endregion
49
+ export { DefinedInfo };
@@ -0,0 +1,33 @@
1
+ //#region ../../node_modules/property-information/lib/util/info.js
2
+ /**
3
+ * @import {Info as InfoType} from 'property-information'
4
+ */
5
+ /** @type {InfoType} */
6
+ var Info = class {
7
+ /**
8
+ * @param {string} property
9
+ * Property.
10
+ * @param {string} attribute
11
+ * Attribute.
12
+ * @returns
13
+ * Info.
14
+ */
15
+ constructor(property, attribute) {
16
+ this.attribute = attribute;
17
+ this.property = property;
18
+ }
19
+ };
20
+ Info.prototype.attribute = "";
21
+ Info.prototype.booleanish = false;
22
+ Info.prototype.boolean = false;
23
+ Info.prototype.commaOrSpaceSeparated = false;
24
+ Info.prototype.commaSeparated = false;
25
+ Info.prototype.defined = false;
26
+ Info.prototype.mustUseProperty = false;
27
+ Info.prototype.number = false;
28
+ Info.prototype.overloadedBoolean = false;
29
+ Info.prototype.property = "";
30
+ Info.prototype.spaceSeparated = false;
31
+ Info.prototype.space = void 0;
32
+ //#endregion
33
+ exports.Info = Info;
@@ -0,0 +1,33 @@
1
+ //#region ../../node_modules/property-information/lib/util/info.js
2
+ /**
3
+ * @import {Info as InfoType} from 'property-information'
4
+ */
5
+ /** @type {InfoType} */
6
+ var Info = class {
7
+ /**
8
+ * @param {string} property
9
+ * Property.
10
+ * @param {string} attribute
11
+ * Attribute.
12
+ * @returns
13
+ * Info.
14
+ */
15
+ constructor(property, attribute) {
16
+ this.attribute = attribute;
17
+ this.property = property;
18
+ }
19
+ };
20
+ Info.prototype.attribute = "";
21
+ Info.prototype.booleanish = false;
22
+ Info.prototype.boolean = false;
23
+ Info.prototype.commaOrSpaceSeparated = false;
24
+ Info.prototype.commaSeparated = false;
25
+ Info.prototype.defined = false;
26
+ Info.prototype.mustUseProperty = false;
27
+ Info.prototype.number = false;
28
+ Info.prototype.overloadedBoolean = false;
29
+ Info.prototype.property = "";
30
+ Info.prototype.spaceSeparated = false;
31
+ Info.prototype.space = void 0;
32
+ //#endregion
33
+ export { Info };
@@ -0,0 +1,26 @@
1
+ const require_schema = require("./schema.cjs");
2
+ //#region ../../node_modules/property-information/lib/util/merge.js
3
+ /**
4
+ * @import {Info, Space} from 'property-information'
5
+ */
6
+ /**
7
+ * @param {ReadonlyArray<Schema>} definitions
8
+ * Definitions.
9
+ * @param {Space | undefined} [space]
10
+ * Space.
11
+ * @returns {Schema}
12
+ * Schema.
13
+ */
14
+ function merge(definitions, space) {
15
+ /** @type {Record<string, Info>} */
16
+ const property = {};
17
+ /** @type {Record<string, string>} */
18
+ const normal = {};
19
+ for (const definition of definitions) {
20
+ Object.assign(property, definition.property);
21
+ Object.assign(normal, definition.normal);
22
+ }
23
+ return new require_schema.Schema(property, normal, space);
24
+ }
25
+ //#endregion
26
+ exports.merge = merge;
@@ -0,0 +1,26 @@
1
+ import { Schema } from "./schema.js";
2
+ //#region ../../node_modules/property-information/lib/util/merge.js
3
+ /**
4
+ * @import {Info, Space} from 'property-information'
5
+ */
6
+ /**
7
+ * @param {ReadonlyArray<Schema>} definitions
8
+ * Definitions.
9
+ * @param {Space | undefined} [space]
10
+ * Space.
11
+ * @returns {Schema}
12
+ * Schema.
13
+ */
14
+ function merge(definitions, space) {
15
+ /** @type {Record<string, Info>} */
16
+ const property = {};
17
+ /** @type {Record<string, string>} */
18
+ const normal = {};
19
+ for (const definition of definitions) {
20
+ Object.assign(property, definition.property);
21
+ Object.assign(normal, definition.normal);
22
+ }
23
+ return new Schema(property, normal, space);
24
+ }
25
+ //#endregion
26
+ export { merge };
@@ -0,0 +1,27 @@
1
+ //#region ../../node_modules/property-information/lib/util/schema.js
2
+ /**
3
+ * @import {Schema as SchemaType, Space} from 'property-information'
4
+ */
5
+ /** @type {SchemaType} */
6
+ var Schema = class {
7
+ /**
8
+ * @param {SchemaType['property']} property
9
+ * Property.
10
+ * @param {SchemaType['normal']} normal
11
+ * Normal.
12
+ * @param {Space | undefined} [space]
13
+ * Space.
14
+ * @returns
15
+ * Schema.
16
+ */
17
+ constructor(property, normal, space) {
18
+ this.normal = normal;
19
+ this.property = property;
20
+ if (space) this.space = space;
21
+ }
22
+ };
23
+ Schema.prototype.normal = {};
24
+ Schema.prototype.property = {};
25
+ Schema.prototype.space = void 0;
26
+ //#endregion
27
+ exports.Schema = Schema;
@@ -0,0 +1,27 @@
1
+ //#region ../../node_modules/property-information/lib/util/schema.js
2
+ /**
3
+ * @import {Schema as SchemaType, Space} from 'property-information'
4
+ */
5
+ /** @type {SchemaType} */
6
+ var Schema = class {
7
+ /**
8
+ * @param {SchemaType['property']} property
9
+ * Property.
10
+ * @param {SchemaType['normal']} normal
11
+ * Normal.
12
+ * @param {Space | undefined} [space]
13
+ * Space.
14
+ * @returns
15
+ * Schema.
16
+ */
17
+ constructor(property, normal, space) {
18
+ this.normal = normal;
19
+ this.property = property;
20
+ if (space) this.space = space;
21
+ }
22
+ };
23
+ Schema.prototype.normal = {};
24
+ Schema.prototype.property = {};
25
+ Schema.prototype.space = void 0;
26
+ //#endregion
27
+ export { Schema };
@@ -0,0 +1,35 @@
1
+ //#region ../../node_modules/property-information/lib/util/types.js
2
+ var types_exports = /* @__PURE__ */ require("../../../../_virtual/_rolldown/runtime.cjs").__exportAll({
3
+ boolean: () => boolean,
4
+ booleanish: () => booleanish,
5
+ commaOrSpaceSeparated: () => commaOrSpaceSeparated,
6
+ commaSeparated: () => commaSeparated,
7
+ number: () => number,
8
+ overloadedBoolean: () => overloadedBoolean,
9
+ spaceSeparated: () => spaceSeparated
10
+ });
11
+ var powers = 0;
12
+ var boolean = increment();
13
+ var booleanish = increment();
14
+ var overloadedBoolean = increment();
15
+ var number = increment();
16
+ var spaceSeparated = increment();
17
+ var commaSeparated = increment();
18
+ var commaOrSpaceSeparated = increment();
19
+ function increment() {
20
+ return 2 ** ++powers;
21
+ }
22
+ //#endregion
23
+ exports.boolean = boolean;
24
+ exports.booleanish = booleanish;
25
+ exports.commaOrSpaceSeparated = commaOrSpaceSeparated;
26
+ exports.commaSeparated = commaSeparated;
27
+ exports.number = number;
28
+ exports.overloadedBoolean = overloadedBoolean;
29
+ exports.spaceSeparated = spaceSeparated;
30
+ Object.defineProperty(exports, "types_exports", {
31
+ enumerable: true,
32
+ get: function() {
33
+ return types_exports;
34
+ }
35
+ });
@@ -0,0 +1,24 @@
1
+ import { __exportAll } from "../../../../_virtual/_rolldown/runtime.js";
2
+ //#region ../../node_modules/property-information/lib/util/types.js
3
+ var types_exports = /* @__PURE__ */ __exportAll({
4
+ boolean: () => boolean,
5
+ booleanish: () => booleanish,
6
+ commaOrSpaceSeparated: () => commaOrSpaceSeparated,
7
+ commaSeparated: () => commaSeparated,
8
+ number: () => number,
9
+ overloadedBoolean: () => overloadedBoolean,
10
+ spaceSeparated: () => spaceSeparated
11
+ });
12
+ var powers = 0;
13
+ var boolean = increment();
14
+ var booleanish = increment();
15
+ var overloadedBoolean = increment();
16
+ var number = increment();
17
+ var spaceSeparated = increment();
18
+ var commaSeparated = increment();
19
+ var commaOrSpaceSeparated = increment();
20
+ function increment() {
21
+ return 2 ** ++powers;
22
+ }
23
+ //#endregion
24
+ export { boolean, booleanish, commaOrSpaceSeparated, commaSeparated, number, overloadedBoolean, spaceSeparated, types_exports };
@@ -0,0 +1,18 @@
1
+ //#region ../../node_modules/property-information/lib/xlink.js
2
+ var xlink = require("./util/create.cjs").create({
3
+ properties: {
4
+ xLinkActuate: null,
5
+ xLinkArcRole: null,
6
+ xLinkHref: null,
7
+ xLinkRole: null,
8
+ xLinkShow: null,
9
+ xLinkTitle: null,
10
+ xLinkType: null
11
+ },
12
+ space: "xlink",
13
+ transform(_, property) {
14
+ return "xlink:" + property.slice(5).toLowerCase();
15
+ }
16
+ });
17
+ //#endregion
18
+ exports.xlink = xlink;
@@ -0,0 +1,19 @@
1
+ import { create } from "./util/create.js";
2
+ //#region ../../node_modules/property-information/lib/xlink.js
3
+ var xlink = create({
4
+ properties: {
5
+ xLinkActuate: null,
6
+ xLinkArcRole: null,
7
+ xLinkHref: null,
8
+ xLinkRole: null,
9
+ xLinkShow: null,
10
+ xLinkTitle: null,
11
+ xLinkType: null
12
+ },
13
+ space: "xlink",
14
+ transform(_, property) {
15
+ return "xlink:" + property.slice(5).toLowerCase();
16
+ }
17
+ });
18
+ //#endregion
19
+ export { xlink };
@@ -0,0 +1,14 @@
1
+ //#region ../../node_modules/property-information/lib/xml.js
2
+ var xml = require("./util/create.cjs").create({
3
+ properties: {
4
+ xmlBase: null,
5
+ xmlLang: null,
6
+ xmlSpace: null
7
+ },
8
+ space: "xml",
9
+ transform(_, property) {
10
+ return "xml:" + property.slice(3).toLowerCase();
11
+ }
12
+ });
13
+ //#endregion
14
+ exports.xml = xml;
@@ -0,0 +1,15 @@
1
+ import { create } from "./util/create.js";
2
+ //#region ../../node_modules/property-information/lib/xml.js
3
+ var xml = create({
4
+ properties: {
5
+ xmlBase: null,
6
+ xmlLang: null,
7
+ xmlSpace: null
8
+ },
9
+ space: "xml",
10
+ transform(_, property) {
11
+ return "xml:" + property.slice(3).toLowerCase();
12
+ }
13
+ });
14
+ //#endregion
15
+ export { xml };
@@ -0,0 +1,14 @@
1
+ const require_create = require("./util/create.cjs");
2
+ const require_case_insensitive_transform = require("./util/case-insensitive-transform.cjs");
3
+ //#region ../../node_modules/property-information/lib/xmlns.js
4
+ var xmlns = require_create.create({
5
+ attributes: { xmlnsxlink: "xmlns:xlink" },
6
+ properties: {
7
+ xmlnsXLink: null,
8
+ xmlns: null
9
+ },
10
+ space: "xmlns",
11
+ transform: require_case_insensitive_transform.caseInsensitiveTransform
12
+ });
13
+ //#endregion
14
+ exports.xmlns = xmlns;
@@ -0,0 +1,14 @@
1
+ import { create } from "./util/create.js";
2
+ import { caseInsensitiveTransform } from "./util/case-insensitive-transform.js";
3
+ //#region ../../node_modules/property-information/lib/xmlns.js
4
+ var xmlns = create({
5
+ attributes: { xmlnsxlink: "xmlns:xlink" },
6
+ properties: {
7
+ xmlnsXLink: null,
8
+ xmlns: null
9
+ },
10
+ space: "xmlns",
11
+ transform: caseInsensitiveTransform
12
+ });
13
+ //#endregion
14
+ export { xmlns };
@@ -0,0 +1,6 @@
1
+ //#region ../../node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.js
2
+ var checkForListedLanguage_default = (function(astGenerator, language) {
3
+ return astGenerator.listLanguages().indexOf(language) !== -1;
4
+ });
5
+ //#endregion
6
+ exports.default = checkForListedLanguage_default;
@@ -0,0 +1,6 @@
1
+ //#region ../../node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.js
2
+ var checkForListedLanguage_default = (function(astGenerator, language) {
3
+ return astGenerator.listLanguages().indexOf(language) !== -1;
4
+ });
5
+ //#endregion
6
+ export { checkForListedLanguage_default as default };