@opentinyvue/vue-runtime 3.29.0 → 3.29.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.
@@ -9262,7 +9262,8 @@ const eb = (function(e, n) {
9262
9262
  "textField",
9263
9263
  "showMore",
9264
9264
  "showEdit",
9265
- "border"
9265
+ "border",
9266
+ "displayMode"
9266
9267
  ],
9267
9268
  components: {
9268
9269
  TinyPopover: ht,
@@ -9279,7 +9280,7 @@ var hZ = function() {
9279
9280
  var e = this, n = e.$createElement, t = e._self._c || n;
9280
9281
  return t("div", {
9281
9282
  staticClass: "tiny-button-group",
9282
- class: [e.size ? "tiny-button-group--" + e.size : "", e.border ? "" : "tiny-button-group--borderless"]
9283
+ class: [e.size ? "tiny-button-group--" + e.size : "", e.border ? "" : "tiny-button-group--borderless", e.displayMode === "merged" ? "tiny-button-group--merged" : ""]
9283
9284
  }, [e._t("default", function() {
9284
9285
  return [e.data.length > 0 ? [e.showMore && e.showMore > 0 ? t("ul", {
9285
9286
  staticClass: "tiny-group-item show-more"
@@ -9447,6 +9448,13 @@ var wZ = function(n) {
9447
9448
  border: {
9448
9449
  type: Boolean,
9449
9450
  default: !0
9451
+ },
9452
+ displayMode: {
9453
+ type: String,
9454
+ default: "default",
9455
+ validator: function(n) {
9456
+ return ["default", "merged"].includes(n);
9457
+ }
9450
9458
  }
9451
9459
  });
9452
9460
  const Mi = D({
@@ -14689,7 +14697,7 @@ var VB = ["blur", "showBox", "clear", "focus", "state", "select", "getInput", "h
14689
14697
  nextTick: l,
14690
14698
  state: u
14691
14699
  }),
14692
- resizeTextarea: Je(200, Sne({
14700
+ resizeTextarea: Je(200, !0, Sne({
14693
14701
  api: a,
14694
14702
  parent: c,
14695
14703
  vm: d,
@@ -19942,7 +19950,19 @@ const gse = D({
19942
19950
  on: {
19943
19951
  click: c
19944
19952
  }
19945
- }, [p ? e("span", [p]) : i.default && i.default(), o && e("icon-close", {
19953
+ }, [p ? e("span", {
19954
+ style: v ? {
19955
+ overflow: "hidden",
19956
+ textOverflow: "ellipsis",
19957
+ whiteSpace: "nowrap"
19958
+ } : {}
19959
+ }, [p]) : i.default && e("span", {
19960
+ style: v ? {
19961
+ overflow: "hidden",
19962
+ textOverflow: "ellipsis",
19963
+ whiteSpace: "nowrap"
19964
+ } : {}
19965
+ }, [i.default()]), o && e("icon-close", {
19946
19966
  class: "tiny-svg-size tiny-tag__close",
19947
19967
  on: {
19948
19968
  click: l
@@ -25417,7 +25437,8 @@ const C1 = D({
25417
25437
  var a, r = e.filterStore, i = r.targetElemParentTr, o = r.id, s = i && i.querySelector("svg.tiny-grid-filter__btn.".concat(o)), l = e.$el;
25418
25438
  l.style.zIndex = qe.nextZIndex(), e.popperJS = new QF(s, l, k({
25419
25439
  placement: "bottom-end",
25420
- gpuAcceleration: !1
25440
+ gpuAcceleration: !1,
25441
+ bubbling: !0
25421
25442
  }, ((a = e.$grid) === null || a === void 0 ? void 0 : a.filterPopperOptions) || {})), l.style.display = "block";
25422
25443
  });
25423
25444
  }),
@@ -40915,17 +40936,14 @@ var f0e = function() {
40915
40936
  click: t.toggleMenu
40916
40937
  }
40917
40938
  }, "div", t.a(t.$attrs, ["class", "style"], !0), !1), [r("div", {
40918
- directives: [{
40919
- name: "auto-tip",
40920
- rawName: "v-auto-tip",
40921
- value: t.state.rootAutoTipConfig,
40922
- expression: "state.rootAutoTipConfig"
40923
- }],
40924
40939
  ref: "tagsGroup",
40925
40940
  class: ["tiny-base-select__tags-group", {
40926
40941
  "is-expand": t.state.isExpand
40927
40942
  }],
40928
- style: t.state.selectFiexd
40943
+ style: t.state.selectFiexd,
40944
+ attrs: {
40945
+ title: t.state.rootAutoTipConfig
40946
+ }
40929
40947
  }, [t._t("reference", function() {
40930
40948
  return [t.shape === "filter" ? r("tiny-filter-box", {
40931
40949
  ref: "reference",
@@ -48726,17 +48744,14 @@ var STe = function() {
48726
48744
  click: t.toggleMenu
48727
48745
  }
48728
48746
  }, [r("div", {
48729
- directives: [{
48730
- name: "auto-tip",
48731
- rawName: "v-auto-tip",
48732
- value: t.state.rootAutoTipConfig,
48733
- expression: "state.rootAutoTipConfig"
48734
- }],
48735
48747
  ref: "tagsGroup",
48736
48748
  class: ["tiny-select__tags-group", {
48737
48749
  "is-expand": t.state.isExpand
48738
48750
  }],
48739
- style: t.state.selectFiexd
48751
+ style: t.state.selectFiexd,
48752
+ attrs: {
48753
+ title: t.state.rootAutoTipConfig.content
48754
+ }
48740
48755
  }, [t._t("reference", function() {
48741
48756
  return [t.shape === "filter" ? r("tiny-filter-box", {
48742
48757
  ref: "reference",
@@ -67293,19 +67308,32 @@ const rFe = D({
67293
67308
  }]
67294
67309
  }, [d.title]), d.children ? s(d.children) : null])) : null, l = e("div", {
67295
67310
  class: `${o}-link-mask`,
67296
- ref: "maskRef"
67311
+ ref: "maskRef",
67312
+ attrs: {
67313
+ "aria-hidden": "true"
67314
+ }
67297
67315
  }), c = e("div", {
67298
- class: `${o}-orbit`
67316
+ class: `${o}-orbit`,
67317
+ attrs: {
67318
+ "aria-hidden": "true"
67319
+ }
67299
67320
  }, [e("div", {
67300
67321
  class: `${o}-orbit-skid`,
67301
- ref: "skidRef"
67322
+ ref: "skidRef",
67323
+ attrs: {
67324
+ "aria-hidden": "true"
67325
+ }
67302
67326
  })]);
67303
67327
  return e("div", {
67304
67328
  class: [n ? `${o}__affix` : "", `${o}__wrapper`, `tiny-anchor__${i}`],
67305
67329
  ref: "anchorWrapRef"
67306
67330
  }, [e("div", {
67307
67331
  class: o,
67308
- ref: "anchorRef"
67332
+ ref: "anchorRef",
67333
+ attrs: {
67334
+ role: "navigation",
67335
+ "aria-label": "Anchor"
67336
+ }
67309
67337
  }, [i === "line" && l, i === "line" && c, t && s(t)])]);
67310
67338
  }
67311
67339
  });
@@ -124436,9 +124464,9 @@ var BSt = function() {
124436
124464
  class: {
124437
124465
  fullscreen: e.state.isFullscreen
124438
124466
  },
124439
- style: {
124467
+ style: e.state.isFullscreen ? {
124440
124468
  "z-index": e.state.zIndex
124441
- }
124469
+ } : null
124442
124470
  }, [t("div", {
124443
124471
  ref: "editor",
124444
124472
  staticClass: "tiny-editor",
@@ -124549,9 +124577,9 @@ var USt = function() {
124549
124577
  class: {
124550
124578
  fullscreen: e.state.isFullscreen
124551
124579
  },
124552
- style: {
124580
+ style: e.state.isFullscreen ? {
124553
124581
  "z-index": e.state.zIndex
124554
- }
124582
+ } : null
124555
124583
  }, [t("div", {
124556
124584
  ref: "editor",
124557
124585
  staticClass: "tiny-editor",
@@ -135696,7 +135724,10 @@ var lIt = function() {
135696
135724
  class: ["tiny-link", "tiny-link--additional", e.type ? `tiny-link--${e.type}` : "", e.state.disabled && "is-disabled", e.underline && !e.state.disabled && "is-underline"],
135697
135725
  attrs: {
135698
135726
  href: e.state.disabled ? null : e.state.href,
135699
- rel: "noopener noreferrer"
135727
+ rel: "noopener noreferrer",
135728
+ "aria-disabled": e.state.disabled,
135729
+ tabindex: e.state.disabled ? -1 : void 0,
135730
+ "aria-label": e.$attrs["aria-label"] || e.value
135700
135731
  },
135701
135732
  on: {
135702
135733
  click: e.handleClick
@@ -135706,6 +135737,9 @@ var lIt = function() {
135706
135737
  staticClass: "tiny-svg-size tiny-link-svg",
135707
135738
  class: {
135708
135739
  "tiny-link-svg-only": !(e.slots.default || e.value)
135740
+ },
135741
+ attrs: {
135742
+ "aria-hidden": "true"
135709
135743
  }
135710
135744
  }) : e._e(), e.value ? t("span", {
135711
135745
  staticClass: "tiny-link__inner"
@@ -141264,7 +141298,11 @@ var EPt = function() {
141264
141298
  var e = this, n = e.$createElement, t = e._self._c || n;
141265
141299
  return t("div", {
141266
141300
  ref: "navMenu",
141267
- staticClass: "tiny-nav-menu"
141301
+ staticClass: "tiny-nav-menu",
141302
+ attrs: {
141303
+ role: "navigation",
141304
+ "aria-label": e.t("ui.navMenu.navigation")
141305
+ }
141268
141306
  }, [/^(retract|fixed)$/.test(e.overflow) ? t("div", {
141269
141307
  staticClass: "more-button",
141270
141308
  class: {
@@ -141279,17 +141317,27 @@ var EPt = function() {
141279
141317
  mouseleave: e.willHideSubMenu
141280
141318
  }
141281
141319
  }, [t(e.state.showMore ? "IconSandwichExpand" : "IconSandwichCollapse", {
141282
- tag: "component"
141320
+ tag: "component",
141321
+ attrs: {
141322
+ "aria-hidden": "true"
141323
+ }
141283
141324
  })], 1) : e._e(), e.slots.logo ? t("div", {
141284
141325
  staticClass: "slot-logo"
141285
141326
  }, [e._t("logo")], 2) : e._e(), t("div", {
141286
141327
  staticClass: "menu-container"
141287
141328
  }, [e.state.data && e.state.data.length ? t("ul", {
141288
141329
  staticClass: "menu",
141289
- style: e.state.isSaaSTheme ? {} : e.state.menuStyle
141330
+ style: e.state.isSaaSTheme ? {} : e.state.menuStyle,
141331
+ attrs: {
141332
+ role: "menubar",
141333
+ "aria-label": e.t("ui.navMenu.mainMenu")
141334
+ }
141290
141335
  }, e._l(e.state.data, function(a, r) {
141291
141336
  return t("li", {
141292
- key: r + (a.title || "")
141337
+ key: r + (a.title || ""),
141338
+ attrs: {
141339
+ role: "listitem"
141340
+ }
141293
141341
  }, [t(e.getTag(a), {
141294
141342
  tag: "component",
141295
141343
  class: {
@@ -141297,7 +141345,10 @@ var EPt = function() {
141297
141345
  selected: e.getTabSelected(a, r)
141298
141346
  },
141299
141347
  attrs: {
141300
- to: e.getRoute(a)
141348
+ to: e.getRoute(a),
141349
+ role: "menuitem",
141350
+ "aria-haspopup": a.children ? "true" : void 0,
141351
+ "aria-expanded": a.children ? e.state.showPopmenu && e.state.subIndex === r : void 0
141301
141352
  },
141302
141353
  on: {
141303
141354
  mouseenter: function(i) {
@@ -141353,6 +141404,10 @@ var EPt = function() {
141353
141404
  "show-left-menu": e.state.showMore
141354
141405
  }],
141355
141406
  style: e.state.popStyle,
141407
+ attrs: {
141408
+ role: "menu",
141409
+ "aria-label": e.t("ui.navMenu.subMenu")
141410
+ },
141356
141411
  on: {
141357
141412
  mouseenter: e.stopHideSubMenu,
141358
141413
  mouseleave: e.willHideSubMenu
@@ -141365,6 +141420,9 @@ var EPt = function() {
141365
141420
  class: {
141366
141421
  active: r === e.state.subActiveIndex,
141367
141422
  selected: e.getLeftSelected(a, r)
141423
+ },
141424
+ attrs: {
141425
+ role: "listitem"
141368
141426
  }
141369
141427
  }, [t(e.getTag(a), {
141370
141428
  tag: "component",
@@ -141372,7 +141430,9 @@ var EPt = function() {
141372
141430
  showicon: a.children
141373
141431
  },
141374
141432
  attrs: {
141375
- to: e.getRoute(a)
141433
+ to: e.getRoute(a),
141434
+ role: "menuitem",
141435
+ "aria-haspopup": a.children ? "true" : void 0
141376
141436
  },
141377
141437
  on: {
141378
141438
  mouseenter: function(i) {
@@ -141384,7 +141444,10 @@ var EPt = function() {
141384
141444
  }
141385
141445
  }
141386
141446
  }, [e._v(" " + e._s(a.title) + " ")]), a.children ? t("icon-chevron-right", {
141387
- staticClass: "more-icon"
141447
+ staticClass: "more-icon",
141448
+ attrs: {
141449
+ "aria-hidden": "true"
141450
+ }
141388
141451
  }) : e._e()], 1);
141389
141452
  }), 0)]) : e._e(), e.state.subMenus && e.state.subMenus.length ? t("div", {
141390
141453
  staticClass: "sub-menu",
@@ -141392,7 +141455,10 @@ var EPt = function() {
141392
141455
  "full-width": !e.state.showMore
141393
141456
  }
141394
141457
  }, [t("ul", {
141395
- staticClass: "sub-menu-ul"
141458
+ staticClass: "sub-menu-ul",
141459
+ attrs: {
141460
+ role: "menu"
141461
+ }
141396
141462
  }, e._l(e.state.subMenus, function(a, r) {
141397
141463
  return t("li", {
141398
141464
  key: r + (a.title || ""),
@@ -141404,14 +141470,18 @@ var EPt = function() {
141404
141470
  staticClass: "group"
141405
141471
  }, [t("li", {
141406
141472
  staticClass: "tiny-nav-menu__sub-menu-title",
141407
- class: a.title ? "" : "tiny-nav-menu__sub-menu-title-blank"
141473
+ class: a.title ? "" : "tiny-nav-menu__sub-menu-title-blank",
141474
+ attrs: {
141475
+ role: "none"
141476
+ }
141408
141477
  }, [t(e.getTag(a), {
141409
141478
  tag: "component",
141410
141479
  class: {
141411
141480
  selected: r === e.state.subIndex && e.state.subItemSelectedIndex === -1
141412
141481
  },
141413
141482
  attrs: {
141414
- to: e.getRoute(a)
141483
+ to: e.getRoute(a),
141484
+ role: "menuitem"
141415
141485
  },
141416
141486
  on: {
141417
141487
  click: function(i) {
@@ -141423,7 +141493,10 @@ var EPt = function() {
141423
141493
  mouseleave: e.handleTitleMouseleave
141424
141494
  }
141425
141495
  }, [e._v(" " + e._s(a.title) + " ")]), a.url ? t("icon-chevron-right", {
141426
- staticClass: "go-to-icon"
141496
+ staticClass: "go-to-icon",
141497
+ attrs: {
141498
+ "aria-hidden": "true"
141499
+ }
141427
141500
  }) : e._e()], 1), e._l(a.children, function(i, o) {
141428
141501
  return t("li", {
141429
141502
  key: o + (i.title || ""),
@@ -141431,6 +141504,9 @@ var EPt = function() {
141431
141504
  class: {
141432
141505
  "only-secondary-title": !a.title && !e.state.subMenu[o].children,
141433
141506
  "third-title": i.children && i.children.length
141507
+ },
141508
+ attrs: {
141509
+ role: "listitem"
141434
141510
  }
141435
141511
  }, [t(e.getTag(i), {
141436
141512
  tag: "component",
@@ -141438,21 +141514,30 @@ var EPt = function() {
141438
141514
  selected: e.getLastChildSelected(i, o, r)
141439
141515
  },
141440
141516
  attrs: {
141441
- to: e.getRoute(i)
141517
+ to: e.getRoute(i),
141518
+ role: "menuitem"
141442
141519
  },
141443
141520
  on: {
141444
141521
  click: function(s) {
141445
141522
  return e.clickMenu(i, o, r);
141446
141523
  }
141447
141524
  }
141448
- }, [e._v(" " + e._s(i.title) + " ")]), i.children && i.children.length ? t("ul", e._l(i.children, function(s, l) {
141525
+ }, [e._v(" " + e._s(i.title) + " ")]), i.children && i.children.length ? t("ul", {
141526
+ attrs: {
141527
+ role: "menu"
141528
+ }
141529
+ }, e._l(i.children, function(s, l) {
141449
141530
  return t("li", {
141450
141531
  key: l + (s.title || ""),
141451
- staticClass: "sub-item"
141532
+ staticClass: "sub-item",
141533
+ attrs: {
141534
+ role: "listitem"
141535
+ }
141452
141536
  }, [t(e.getTag(s), {
141453
141537
  tag: "component",
141454
141538
  attrs: {
141455
- to: e.getRoute(s)
141539
+ to: e.getRoute(s),
141540
+ role: "menuitem"
141456
141541
  },
141457
141542
  on: {
141458
141543
  click: function(c) {
@@ -161432,7 +161517,7 @@ const ku = D({
161432
161517
  template: tGt
161433
161518
  });
161434
161519
  }
161435
- }), aGt = "3.27.0";
161520
+ }), aGt = "3.29.0";
161436
161521
  ku.install = function(e) {
161437
161522
  e.component(ku.name, ku);
161438
161523
  };
@@ -164739,7 +164824,11 @@ var _Xt = function() {
164739
164824
  },
164740
164825
  style: e.widthAdapt ? {
164741
164826
  width: "100%"
164742
- } : {}
164827
+ } : {},
164828
+ attrs: {
164829
+ role: "navigation",
164830
+ "aria-label": "Tree Menu"
164831
+ }
164743
164832
  }, [e.menuCollapsible ? t("div", {
164744
164833
  staticClass: "tiny-tree-menu__toggle-button",
164745
164834
  on: {
@@ -164751,6 +164840,7 @@ var _Xt = function() {
164751
164840
  class: (e.state.isExpand || e.state.isCollapsed) && "is-hidden",
164752
164841
  attrs: {
164753
164842
  placeholder: e.placeholder || e.t("ui.treeMenu.placeholder"),
164843
+ "aria-label": e.placeholder || e.t("ui.treeMenu.placeholder"),
164754
164844
  "prefix-icon": e.searchIcon,
164755
164845
  clearable: e.state.clearable
164756
164846
  },
@@ -164772,6 +164862,8 @@ var _Xt = function() {
164772
164862
  "only-check-children": e.onlyCheckChildren
164773
164863
  },
164774
164864
  attrs: {
164865
+ role: "tree",
164866
+ tabindex: "0",
164775
164867
  tiny_mode: "pc",
164776
164868
  theme: "tiny",
164777
164869
  accordion: e.accordion,
@@ -164829,9 +164921,15 @@ var _Xt = function() {
164829
164921
  }, [t("span", {
164830
164922
  staticClass: "tree-node-name"
164831
164923
  }, [!i.customIcon && e.suffixIcon ? t(e.suffixIcon, {
164832
- tag: "component"
164924
+ tag: "component",
164925
+ attrs: {
164926
+ "aria-hidden": "true"
164927
+ }
164833
164928
  }) : e._e(), i.customIcon ? t(i.customIcon, {
164834
- tag: "component"
164929
+ tag: "component",
164930
+ attrs: {
164931
+ "aria-hidden": "true"
164932
+ }
164835
164933
  }) : e._e(), e._t("default", function() {
164836
164934
  return [e._v(e._s(i.label || r.label) + " ")];
164837
164935
  }, {