xmlui 0.4.2-beta.1 → 0.4.2-beta.2

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 (51) hide show
  1. package/dist/{Pdf-DY3dYAig.mjs → Pdf-Cw4rsLlC.mjs} +1 -1
  2. package/dist/{Pdf-DYj6pOR4.mjs → Pdf-DTxKB72g.mjs} +1 -1
  3. package/dist/{apiInterceptorWorker-CSMfMHnG.mjs → apiInterceptorWorker-Cwqldrsi.mjs} +1 -1
  4. package/dist/{apiInterceptorWorker-B_8SyVm7.mjs → apiInterceptorWorker-DXlNa2pZ.mjs} +1 -1
  5. package/dist/{grammar.tmLanguage-Bgs-wS_O.mjs → grammar.tmLanguage-BELR-62I.mjs} +18 -54
  6. package/dist/{index-DFmApFOY.mjs → index-DNI2rMij.mjs} +5621 -5585
  7. package/dist/{index-standalone-UVkKZMvh.mjs → index-standalone-CjgKrRur.mjs} +12164 -12128
  8. package/dist/index-standalone.css +1 -1
  9. package/dist/index.css +1 -1
  10. package/dist/{nivo-bar.es-tnCyX0Yr.mjs → nivo-bar.es-ksaRLFWg.mjs} +2 -2
  11. package/dist/{nivo-geo.es-BQ3VnkfD.mjs → nivo-geo.es-CKScMd6z.mjs} +2 -2
  12. package/dist/{nivo-legends.es-D-P_F-6G.mjs → nivo-legends.es-COxD-HVb.mjs} +1 -1
  13. package/dist/{nivo-pie.es-Z4Ty7kQd.mjs → nivo-pie.es-O_e-F1XQ.mjs} +2 -2
  14. package/dist/{react-apexcharts.min-DgtmaDk9.mjs → react-apexcharts.min-CUpL1QAf.mjs} +1 -1
  15. package/dist/scripts/docs/syntax/grammar.tmLanguage.json +13 -50
  16. package/dist/scripts/xmlui/src/components/App/App.js +26 -21
  17. package/dist/scripts/xmlui/src/components/AppHeader/AppHeader.js +1 -3
  18. package/dist/scripts/xmlui/src/components/Button/Button.js +1 -1
  19. package/dist/scripts/xmlui/src/components/Card/Card.js +1 -1
  20. package/dist/scripts/xmlui/src/components/ComponentProvider.js +2 -2
  21. package/dist/scripts/xmlui/src/components/DatePicker/DatePicker.js +1 -1
  22. package/dist/scripts/xmlui/src/components/Footer/Footer.js +2 -2
  23. package/dist/scripts/xmlui/src/components/FormItem/FormItem.js +1 -1
  24. package/dist/scripts/xmlui/src/components/FormSection/FormSection.js +1 -1
  25. package/dist/scripts/xmlui/src/components/IconInfoCard/IconInfoCard.js +1 -1
  26. package/dist/scripts/xmlui/src/components/ModalDialog/ModalDialog.js +8 -5
  27. package/dist/scripts/xmlui/src/components/MultiSelect/MultiSelect.js +3 -3
  28. package/dist/scripts/xmlui/src/components/NavPanel/NavPanel.js +4 -0
  29. package/dist/scripts/xmlui/src/components/PageHeader/PageHeader.js +1 -1
  30. package/dist/scripts/xmlui/src/components/RadioGroup/RadioGroup.js +2 -1
  31. package/dist/scripts/xmlui/src/components/Select/Select.js +6 -3
  32. package/dist/scripts/xmlui/src/components/StickyBox/StickyBox.js +1 -1
  33. package/dist/scripts/xmlui/src/components/Table/Table.js +4 -3
  34. package/dist/scripts/xmlui/src/components/Toolbar/Toolbar.js +1 -1
  35. package/dist/scripts/xmlui/src/components/ToolbarButton/ToolbarButton.js +2 -2
  36. package/dist/scripts/xmlui/src/components-core/Component.js +3 -3
  37. package/dist/scripts/xmlui/src/components-core/CompoundComponent.js +7 -20
  38. package/dist/scripts/xmlui/src/components-core/{ChildrenSlot.js → Slot.js} +3 -3
  39. package/dist/scripts/xmlui/src/components-core/container/Container.js +2 -2
  40. package/dist/scripts/xmlui/src/components-core/theming/themes/theme-colors.js +336 -336
  41. package/dist/scripts/xmlui/src/components-core/theming/themes/xmlui.js +20 -2
  42. package/dist/scripts/xmlui/src/components-core/utils/misc.js +7 -28
  43. package/dist/scripts/xmlui/src/parsers/xmlui-parser/diagnostics.js +1 -1
  44. package/dist/scripts/xmlui/src/parsers/xmlui-parser/parser.js +24 -27
  45. package/dist/scripts/xmlui/src/parsers/xmlui-parser/transform.js +10 -0
  46. package/dist/xmlui-standalone.es.js +1 -1
  47. package/dist/xmlui-standalone.umd.js +134 -135
  48. package/dist/xmlui.es.d.ts +6 -1
  49. package/dist/xmlui.es.js +1 -1
  50. package/dist/xmlui.umd.js +80 -81
  51. package/package.json +5 -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-UVkKZMvh.mjs";
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-CjgKrRur.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-DFmApFOY.mjs";
2
+ import { j as I } from "./index-DNI2rMij.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-UVkKZMvh.mjs";
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-CjgKrRur.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-DFmApFOY.mjs";
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-DNI2rMij.mjs";
16
16
  import Fe from "dexie";
17
17
  var $r = /(%?)(%([sdijo]))/g;
18
18
  function Ur(e, t) {
@@ -518,6 +518,8 @@ const e = "xmlui", n = "source.ueml", t = [
518
518
  attribute: {
519
519
  patterns: [
520
520
  {
521
+ begin: "(?:^|\\s+)([a-zA-Z$_][-\\w.$]*(?::[a-zA-Z$_][-\\w.$]*)?)(\\s*=)(\\s*['\"`])",
522
+ end: "\\3",
521
523
  beginCaptures: {
522
524
  1: {
523
525
  name: "entity.other.attribute-name.localname.xmlui"
@@ -534,8 +536,6 @@ const e = "xmlui", n = "source.ueml", t = [
534
536
  name: "string.xmlui"
535
537
  }
536
538
  },
537
- begin: "(?:^|\\s+)([a-zA-Z$_][-\\w.:$]*)(\\s*=)(\\s*['\"`])",
538
- end: "\\3",
539
539
  contentName: "string.xmlui",
540
540
  patterns: [
541
541
  {
@@ -544,65 +544,29 @@ const e = "xmlui", n = "source.ueml", t = [
544
544
  ]
545
545
  },
546
546
  {
547
- match: "([a-zA-Z$_][-\\w.:$]*)",
548
- name: "entity.other.attribute-name.localname.xmlui",
549
- patterns: [
550
- {
551
- include: "#textWithBindingExpr"
547
+ match: "(?:^|\\s+)([a-zA-Z$_][-\\w.$]*(?::[a-zA-Z$_][-\\w.$]*)?)(\\s*=\\s*)([a-zA-Z$_][-\\w.$]*)",
548
+ captures: {
549
+ 1: {
550
+ name: "entity.other.attribute-name.localname.xmlui"
551
+ },
552
+ 2: {
553
+ name: "keyword.operator.xmlui"
554
+ },
555
+ 3: {
556
+ name: "string.xmlui"
552
557
  }
553
- ]
558
+ }
559
+ },
560
+ {
561
+ match: "([a-zA-Z$_][-\\w.$]*(?::[a-zA-Z$_][-\\w.$]*)?)",
562
+ name: "entity.other.attribute-name.localname.xmlui"
554
563
  }
555
564
  ]
556
565
  },
557
566
  escapeCharacter: {
558
567
  patterns: [
559
568
  {
560
- match: "\\\\S",
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",
569
+ match: "&(amp|gt|lt|apos|quot|nbsp);",
606
570
  name: "constant.character.escape.xmlui"
607
571
  }
608
572
  ]