xmlui 0.4.2-beta.1 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Pdf-DY3dYAig.mjs → Pdf-DTuZ_aBK.mjs} +1 -1
- package/dist/{Pdf-DYj6pOR4.mjs → Pdf-GNhynVZK.mjs} +1 -1
- package/dist/{apiInterceptorWorker-CSMfMHnG.mjs → apiInterceptorWorker-BsYA33M3.mjs} +1 -1
- package/dist/{apiInterceptorWorker-B_8SyVm7.mjs → apiInterceptorWorker-jZ0ZDQqP.mjs} +1 -1
- package/dist/{grammar.tmLanguage-Bgs-wS_O.mjs → grammar.tmLanguage-7HXwRarI.mjs} +39 -55
- package/dist/{index-DFmApFOY.mjs → index-CsOjUQnK.mjs} +8384 -7979
- package/dist/{index-standalone-UVkKZMvh.mjs → index-standalone-Cn89JdlG.mjs} +26315 -25887
- package/dist/index-standalone.css +1 -1
- package/dist/index.css +1 -1
- package/dist/{nivo-bar.es-tnCyX0Yr.mjs → nivo-bar.es-Bxk3Dn8A.mjs} +2 -2
- package/dist/{nivo-geo.es-BQ3VnkfD.mjs → nivo-geo.es-CpGxXa45.mjs} +2 -2
- package/dist/{nivo-legends.es-D-P_F-6G.mjs → nivo-legends.es-Dx4X21-T.mjs} +1 -1
- package/dist/{nivo-pie.es-Z4Ty7kQd.mjs → nivo-pie.es-BQqtQwEz.mjs} +2 -2
- package/dist/{react-apexcharts.min-DgtmaDk9.mjs → react-apexcharts.min-CDn4NFvp.mjs} +1 -1
- package/dist/scripts/docs/syntax/grammar.tmLanguage.json +29 -76
- package/dist/scripts/docs/syntax/textMate/xmlui.json +8 -0
- package/dist/scripts/xmlui/src/components/Accordion/Accordion.js +57 -0
- package/dist/scripts/xmlui/src/components/Alert/Alert.js +31 -0
- package/dist/scripts/xmlui/src/components/App/App.js +24 -19
- package/dist/scripts/xmlui/src/components/AppHeader/AppHeader.js +1 -3
- package/dist/scripts/xmlui/src/components/Badge/Badge.js +1 -1
- package/dist/scripts/xmlui/src/components/Bookmark/Bookmark.js +22 -2
- package/dist/scripts/xmlui/src/components/Button/Button.js +1 -1
- package/dist/scripts/xmlui/src/components/Card/Card.js +1 -1
- package/dist/scripts/xmlui/src/components/ComponentProvider.js +11 -2
- package/dist/scripts/xmlui/src/components/DatePicker/DatePicker.js +1 -1
- package/dist/scripts/xmlui/src/components/Footer/Footer.js +2 -2
- package/dist/scripts/xmlui/src/components/FormItem/FormItem.js +1 -1
- package/dist/scripts/xmlui/src/components/FormSection/FormSection.js +1 -1
- package/dist/scripts/xmlui/src/components/Heading/Heading.js +27 -2
- package/dist/scripts/xmlui/src/components/IconInfoCard/IconInfoCard.js +1 -1
- package/dist/scripts/xmlui/src/components/ModalDialog/ModalDialog.js +8 -5
- package/dist/scripts/xmlui/src/components/MultiSelect/MultiSelect.js +3 -3
- package/dist/scripts/xmlui/src/components/NavPanel/NavPanel.js +4 -0
- package/dist/scripts/xmlui/src/components/OffCanvas/OffCanvas.js +34 -0
- package/dist/scripts/xmlui/src/components/PageHeader/PageHeader.js +1 -1
- package/dist/scripts/xmlui/src/components/Pages/Pages.js +2 -1
- package/dist/scripts/xmlui/src/components/RadioGroup/RadioGroup.js +2 -1
- package/dist/scripts/xmlui/src/components/Select/Select.js +6 -3
- package/dist/scripts/xmlui/src/components/Spinner/Spinner.js +5 -1
- package/dist/scripts/xmlui/src/components/StickyBox/StickyBox.js +1 -1
- package/dist/scripts/xmlui/src/components/Table/Table.js +29 -10
- package/dist/scripts/xmlui/src/components/TableOfContents/TableOfContents.js +93 -0
- package/dist/scripts/xmlui/src/components/Toolbar/Toolbar.js +1 -1
- package/dist/scripts/xmlui/src/components/ToolbarButton/ToolbarButton.js +2 -2
- package/dist/scripts/xmlui/src/components-core/Component.js +13 -9
- package/dist/scripts/xmlui/src/components-core/CompoundComponent.js +19 -21
- package/dist/scripts/xmlui/src/components-core/RootComponent.js +74 -11
- package/dist/scripts/xmlui/src/components-core/{ChildrenSlot.js → Slot.js} +3 -3
- package/dist/scripts/xmlui/src/components-core/TableOfContentsContext.js +77 -0
- package/dist/scripts/xmlui/src/components-core/container/Container.js +16 -16
- package/dist/scripts/xmlui/src/components-core/theming/themes/root.js +5 -2
- package/dist/scripts/xmlui/src/components-core/theming/themes/theme-colors.js +336 -336
- package/dist/scripts/xmlui/src/components-core/theming/themes/xmlui.js +20 -2
- package/dist/scripts/xmlui/src/components-core/utils/misc.js +7 -28
- package/dist/scripts/xmlui/src/parsers/style-parser/style-compiler.js +169 -142
- package/dist/scripts/xmlui/src/parsers/xmlui-parser/ParserError.js +1 -0
- package/dist/scripts/xmlui/src/parsers/xmlui-parser/diagnostics.js +1 -1
- package/dist/scripts/xmlui/src/parsers/xmlui-parser/parser.js +24 -27
- package/dist/scripts/xmlui/src/parsers/xmlui-parser/transform.js +56 -41
- package/dist/{xmlui-C8fXVsN3.mjs → xmlui-BYWyXi2x.mjs} +8 -0
- package/dist/xmlui-standalone.es.js +1 -1
- package/dist/xmlui-standalone.umd.js +105 -106
- package/dist/xmlui.es.d.ts +25 -10
- package/dist/xmlui.es.js +1 -1
- package/dist/xmlui.umd.js +99 -100
- package/package.json +7 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./Pdf.css";
|
|
2
|
-
import { h as getAugmentedNamespace, j as commonjsGlobal, _ as _objectWithoutPropertiesLoose, k as reactExports, l as m, R as React, n as _createClass, p as _classCallCheck, q as _unsupportedIterableToArray, s as _arrayLikeToArray, t as _typeof, u as _defineProperty, v as _inherits, w as _getPrototypeOf, x as _possibleConstructorReturn, y as _assertThisInitialized, z as _extends, A as jsxRuntimeExports } from "./index-standalone-
|
|
2
|
+
import { h as getAugmentedNamespace, j as commonjsGlobal, _ as _objectWithoutPropertiesLoose, k as reactExports, l as m, R as React, n as _createClass, p as _classCallCheck, q as _unsupportedIterableToArray, s as _arrayLikeToArray, t as _typeof, u as _defineProperty, v as _inherits, w as _getPrototypeOf, x as _possibleConstructorReturn, y as _assertThisInitialized, z as _extends, A as jsxRuntimeExports } from "./index-standalone-Cn89JdlG.mjs";
|
|
3
3
|
const wrapper = "_wrapper_1ppjw_13", page = "_page_1ppjw_22", styles = {
|
|
4
4
|
wrapper,
|
|
5
5
|
page
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./Pdf.css";
|
|
2
|
-
import { j as I } from "./index-
|
|
2
|
+
import { j as I } from "./index-CsOjUQnK.mjs";
|
|
3
3
|
import { useState as d } from "react";
|
|
4
4
|
import { pdfjs as i, Document as c, Page as m } from "react-pdf";
|
|
5
5
|
const W = "_wrapper_1ppjw_13", w = "_page_1ppjw_22", A = {
|
|
@@ -10,7 +10,7 @@ var rt = (e, t, r) => (hr(e, t, "read from private field"), r ? r.call(e) : t.ge
|
|
|
10
10
|
t instanceof WeakSet ? t.add(e) : t.set(e, r);
|
|
11
11
|
}, kn = (e, t, r, n) => (hr(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r);
|
|
12
12
|
var At = (e, t, r) => (hr(e, t, "access private method"), r);
|
|
13
|
-
import { b as ao, a as co, c as lo, r as uo, i as Ts, d as ks, e as ho, m as fo, f as po, g as mo, o as fr, T as yo } from "./index-standalone-
|
|
13
|
+
import { b as ao, a as co, c as lo, r as uo, i as Ts, d as ks, e as ho, m as fo, f as po, g as mo, o as fr, T as yo } from "./index-standalone-Cn89JdlG.mjs";
|
|
14
14
|
function go(e, t) {
|
|
15
15
|
var r = {};
|
|
16
16
|
return t = ao(t), co(e, function(n, s, i) {
|
|
@@ -12,7 +12,7 @@ var z = (e, t, r) => (ye(e, t, "read from private field"), r ? r.call(e) : t.get
|
|
|
12
12
|
var re = (e, t, r) => (ye(e, t, "access private method"), r);
|
|
13
13
|
import { isArray as Ot, isObject as At, mapValues as Nr } from "lodash-es";
|
|
14
14
|
import { delay as kr, HttpResponse as Y, http as Pr } from "msw";
|
|
15
|
-
import { r as Lr, d as Sr, m as Dr, a as Cr, g as qr, o as ve, T as Mr } from "./index-
|
|
15
|
+
import { r as Lr, d as Sr, m as Dr, a as Cr, g as qr, o as ve, T as Mr } from "./index-CsOjUQnK.mjs";
|
|
16
16
|
import Fe from "dexie";
|
|
17
17
|
var $r = /(%?)(%([sdijo]))/g;
|
|
18
18
|
function Ur(e, t) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = "xmlui", n = "source.
|
|
1
|
+
const e = "xmlui", n = "source.xmlui", t = [
|
|
2
2
|
{
|
|
3
3
|
include: "#root"
|
|
4
4
|
}
|
|
@@ -11,6 +11,9 @@ const e = "xmlui", n = "source.ueml", t = [
|
|
|
11
11
|
{
|
|
12
12
|
include: "#helperTag"
|
|
13
13
|
},
|
|
14
|
+
{
|
|
15
|
+
include: "#slotTag"
|
|
16
|
+
},
|
|
14
17
|
{
|
|
15
18
|
include: "#componentTag"
|
|
16
19
|
},
|
|
@@ -293,6 +296,23 @@ const e = "xmlui", n = "source.ueml", t = [
|
|
|
293
296
|
],
|
|
294
297
|
end: ">"
|
|
295
298
|
},
|
|
299
|
+
slotTag: {
|
|
300
|
+
match: "(</?)((?:[a-zA-Z_][\\w\\.\\-]*?:)?)([a-z][-\\w\\.$]*)(\\s*/?>)",
|
|
301
|
+
captures: {
|
|
302
|
+
1: {
|
|
303
|
+
name: "punctuation.definition.tag.xmlui"
|
|
304
|
+
},
|
|
305
|
+
2: {
|
|
306
|
+
name: "keyword.operator.namespace.xmlui"
|
|
307
|
+
},
|
|
308
|
+
3: {
|
|
309
|
+
name: "support.variable.xmlui"
|
|
310
|
+
},
|
|
311
|
+
4: {
|
|
312
|
+
name: "punctuation.definition.tag.xmlui"
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
},
|
|
296
316
|
bindingExpr: {
|
|
297
317
|
contentName: "meta.embedded.block.javascript",
|
|
298
318
|
begin: "\\{",
|
|
@@ -518,6 +538,8 @@ const e = "xmlui", n = "source.ueml", t = [
|
|
|
518
538
|
attribute: {
|
|
519
539
|
patterns: [
|
|
520
540
|
{
|
|
541
|
+
begin: "(?:^|\\s+)([a-zA-Z$_][-\\w.$]*(?::[a-zA-Z$_][-\\w.$]*)?)(\\s*=)(\\s*['\"`])",
|
|
542
|
+
end: "\\3",
|
|
521
543
|
beginCaptures: {
|
|
522
544
|
1: {
|
|
523
545
|
name: "entity.other.attribute-name.localname.xmlui"
|
|
@@ -534,8 +556,6 @@ const e = "xmlui", n = "source.ueml", t = [
|
|
|
534
556
|
name: "string.xmlui"
|
|
535
557
|
}
|
|
536
558
|
},
|
|
537
|
-
begin: "(?:^|\\s+)([a-zA-Z$_][-\\w.:$]*)(\\s*=)(\\s*['\"`])",
|
|
538
|
-
end: "\\3",
|
|
539
559
|
contentName: "string.xmlui",
|
|
540
560
|
patterns: [
|
|
541
561
|
{
|
|
@@ -544,65 +564,29 @@ const e = "xmlui", n = "source.ueml", t = [
|
|
|
544
564
|
]
|
|
545
565
|
},
|
|
546
566
|
{
|
|
547
|
-
match: "([a-zA-Z$_][-\\w
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
567
|
+
match: "(?:^|\\s+)([a-zA-Z$_][-\\w.$]*(?::[a-zA-Z$_][-\\w.$]*)?)(\\s*=\\s*)([a-zA-Z$_][-\\w.$]*)",
|
|
568
|
+
captures: {
|
|
569
|
+
1: {
|
|
570
|
+
name: "entity.other.attribute-name.localname.xmlui"
|
|
571
|
+
},
|
|
572
|
+
2: {
|
|
573
|
+
name: "keyword.operator.xmlui"
|
|
574
|
+
},
|
|
575
|
+
3: {
|
|
576
|
+
name: "string.xmlui"
|
|
552
577
|
}
|
|
553
|
-
|
|
578
|
+
}
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
match: "([a-zA-Z$_][-\\w.$]*(?::[a-zA-Z$_][-\\w.$]*)?)",
|
|
582
|
+
name: "entity.other.attribute-name.localname.xmlui"
|
|
554
583
|
}
|
|
555
584
|
]
|
|
556
585
|
},
|
|
557
586
|
escapeCharacter: {
|
|
558
587
|
patterns: [
|
|
559
588
|
{
|
|
560
|
-
match: "
|
|
561
|
-
name: "constant.character.escape.xmlui"
|
|
562
|
-
},
|
|
563
|
-
{
|
|
564
|
-
match: "\\\\0",
|
|
565
|
-
name: "constant.character.escape.xmlui"
|
|
566
|
-
},
|
|
567
|
-
{
|
|
568
|
-
match: "\\\\'",
|
|
569
|
-
name: "constant.character.escape.xmlui"
|
|
570
|
-
},
|
|
571
|
-
{
|
|
572
|
-
match: '\\\\"',
|
|
573
|
-
name: "constant.character.escape.xmlui"
|
|
574
|
-
},
|
|
575
|
-
{
|
|
576
|
-
match: "\\\\\\\\",
|
|
577
|
-
name: "constant.character.escape.xmlui"
|
|
578
|
-
},
|
|
579
|
-
{
|
|
580
|
-
match: "\\\\n",
|
|
581
|
-
name: "constant.character.escape.xmlui"
|
|
582
|
-
},
|
|
583
|
-
{
|
|
584
|
-
match: "\\\\r",
|
|
585
|
-
name: "constant.character.escape.xmlui"
|
|
586
|
-
},
|
|
587
|
-
{
|
|
588
|
-
match: "\\\\v",
|
|
589
|
-
name: "constant.character.escape.xmlui"
|
|
590
|
-
},
|
|
591
|
-
{
|
|
592
|
-
match: "\\\\t",
|
|
593
|
-
name: "constant.character.escape.xmlui"
|
|
594
|
-
},
|
|
595
|
-
{
|
|
596
|
-
match: "\\\\b",
|
|
597
|
-
name: "constant.character.escape.xmlui"
|
|
598
|
-
},
|
|
599
|
-
{
|
|
600
|
-
match: `\\\\
|
|
601
|
-
`,
|
|
602
|
-
name: "constant.character.escape.xmlui"
|
|
603
|
-
},
|
|
604
|
-
{
|
|
605
|
-
match: "\\\\f",
|
|
589
|
+
match: "&(amp|gt|lt|apos|quot|nbsp);",
|
|
606
590
|
name: "constant.character.escape.xmlui"
|
|
607
591
|
}
|
|
608
592
|
]
|