quasar 1.22.0 → 1.22.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.
Files changed (135) hide show
  1. package/dist/api/QDialog.json +11 -1
  2. package/dist/api/QList.json +12 -0
  3. package/dist/icon-set/bootstrap-icons.umd.min.js +1 -1
  4. package/dist/icon-set/eva-icons.umd.min.js +1 -1
  5. package/dist/icon-set/fontawesome-v5-pro.umd.min.js +1 -1
  6. package/dist/icon-set/fontawesome-v5.umd.min.js +1 -1
  7. package/dist/icon-set/fontawesome-v6-pro.umd.min.js +1 -1
  8. package/dist/icon-set/fontawesome-v6.umd.min.js +1 -1
  9. package/dist/icon-set/ionicons-v4.umd.min.js +1 -1
  10. package/dist/icon-set/line-awesome.umd.min.js +1 -1
  11. package/dist/icon-set/material-icons-outlined.umd.min.js +1 -1
  12. package/dist/icon-set/material-icons-round.umd.min.js +1 -1
  13. package/dist/icon-set/material-icons-sharp.umd.min.js +1 -1
  14. package/dist/icon-set/material-icons.umd.min.js +1 -1
  15. package/dist/icon-set/material-symbols-outlined.umd.min.js +1 -1
  16. package/dist/icon-set/material-symbols-rounded.umd.min.js +1 -1
  17. package/dist/icon-set/material-symbols-sharp.umd.min.js +1 -1
  18. package/dist/icon-set/mdi-v3.umd.min.js +1 -1
  19. package/dist/icon-set/mdi-v4.umd.min.js +1 -1
  20. package/dist/icon-set/mdi-v5.umd.min.js +1 -1
  21. package/dist/icon-set/mdi-v6.umd.min.js +1 -1
  22. package/dist/icon-set/svg-bootstrap-icons.umd.min.js +1 -1
  23. package/dist/icon-set/svg-eva-icons.umd.min.js +1 -1
  24. package/dist/icon-set/svg-fontawesome-v5.umd.min.js +1 -1
  25. package/dist/icon-set/svg-fontawesome-v6.umd.min.js +1 -1
  26. package/dist/icon-set/svg-ionicons-v4.umd.min.js +1 -1
  27. package/dist/icon-set/svg-ionicons-v5.umd.min.js +1 -1
  28. package/dist/icon-set/svg-ionicons-v6.umd.min.js +1 -1
  29. package/dist/icon-set/svg-line-awesome.umd.min.js +1 -1
  30. package/dist/icon-set/svg-material-icons-outlined.umd.min.js +1 -1
  31. package/dist/icon-set/svg-material-icons-round.umd.min.js +1 -1
  32. package/dist/icon-set/svg-material-icons-sharp.umd.min.js +1 -1
  33. package/dist/icon-set/svg-material-icons.umd.min.js +1 -1
  34. package/dist/icon-set/svg-material-symbols-outlined.umd.min.js +1 -1
  35. package/dist/icon-set/svg-material-symbols-rounded.umd.min.js +1 -1
  36. package/dist/icon-set/svg-material-symbols-sharp.umd.min.js +1 -1
  37. package/dist/icon-set/svg-mdi-v4.umd.min.js +1 -1
  38. package/dist/icon-set/svg-mdi-v5.umd.min.js +1 -1
  39. package/dist/icon-set/svg-mdi-v6.umd.min.js +1 -1
  40. package/dist/icon-set/svg-themify.umd.min.js +1 -1
  41. package/dist/icon-set/themify.umd.min.js +1 -1
  42. package/dist/lang/ar.umd.min.js +1 -1
  43. package/dist/lang/az-latn.umd.min.js +1 -1
  44. package/dist/lang/bg.umd.min.js +1 -1
  45. package/dist/lang/ca.umd.min.js +1 -1
  46. package/dist/lang/cs.umd.min.js +1 -1
  47. package/dist/lang/da.umd.min.js +1 -1
  48. package/dist/lang/de.umd.min.js +1 -1
  49. package/dist/lang/el.umd.min.js +1 -1
  50. package/dist/lang/en-gb.umd.min.js +1 -1
  51. package/dist/lang/en-us.umd.min.js +1 -1
  52. package/dist/lang/eo.umd.min.js +1 -1
  53. package/dist/lang/es.umd.min.js +1 -1
  54. package/dist/lang/et.umd.min.js +1 -1
  55. package/dist/lang/eu.umd.min.js +1 -1
  56. package/dist/lang/fa-ir.umd.min.js +1 -1
  57. package/dist/lang/fa.umd.min.js +1 -1
  58. package/dist/lang/fi.umd.min.js +1 -1
  59. package/dist/lang/fr.umd.min.js +1 -1
  60. package/dist/lang/gn.umd.min.js +1 -1
  61. package/dist/lang/he.umd.min.js +1 -1
  62. package/dist/lang/hr.umd.min.js +1 -1
  63. package/dist/lang/hu.umd.min.js +1 -1
  64. package/dist/lang/id.umd.min.js +1 -1
  65. package/dist/lang/is.umd.min.js +1 -1
  66. package/dist/lang/it.umd.min.js +1 -1
  67. package/dist/lang/ja.umd.min.js +1 -1
  68. package/dist/lang/km.umd.min.js +1 -1
  69. package/dist/lang/ko-kr.umd.min.js +1 -1
  70. package/dist/lang/kur-ckb.umd.min.js +1 -1
  71. package/dist/lang/kz.umd.min.js +1 -1
  72. package/dist/lang/lu.umd.min.js +1 -1
  73. package/dist/lang/lv.umd.min.js +1 -1
  74. package/dist/lang/ml.umd.min.js +1 -1
  75. package/dist/lang/mm.umd.min.js +1 -1
  76. package/dist/lang/ms.umd.min.js +1 -1
  77. package/dist/lang/my.umd.min.js +1 -1
  78. package/dist/lang/nb-no.umd.min.js +1 -1
  79. package/dist/lang/nl.umd.min.js +1 -1
  80. package/dist/lang/pl.umd.min.js +1 -1
  81. package/dist/lang/pt-br.umd.min.js +1 -1
  82. package/dist/lang/pt.umd.min.js +1 -1
  83. package/dist/lang/ro.umd.min.js +1 -1
  84. package/dist/lang/ru.umd.min.js +1 -1
  85. package/dist/lang/sk.umd.min.js +1 -1
  86. package/dist/lang/sl.umd.min.js +1 -1
  87. package/dist/lang/sm.umd.min.js +1 -1
  88. package/dist/lang/sr.umd.min.js +1 -1
  89. package/dist/lang/sv.umd.min.js +1 -1
  90. package/dist/lang/ta.umd.min.js +1 -1
  91. package/dist/lang/th.umd.min.js +1 -1
  92. package/dist/lang/tr.umd.min.js +1 -1
  93. package/dist/lang/ug.umd.min.js +1 -1
  94. package/dist/lang/uk.umd.min.js +1 -1
  95. package/dist/lang/uz-Cyrl.umd.min.js +1 -1
  96. package/dist/lang/uz-Latn.umd.min.js +1 -1
  97. package/dist/lang/vi.umd.min.js +1 -1
  98. package/dist/lang/zh-hans.umd.min.js +1 -1
  99. package/dist/lang/zh-hant.umd.min.js +1 -1
  100. package/dist/quasar.addon.css +1 -1
  101. package/dist/quasar.addon.rtl.css +1 -1
  102. package/dist/quasar.common.js +2 -2
  103. package/dist/quasar.css +3 -3
  104. package/dist/quasar.esm.js +2 -2
  105. package/dist/quasar.ie.polyfills.js +1 -1
  106. package/dist/quasar.ie.polyfills.umd.min.js +1 -1
  107. package/dist/quasar.min.css +1 -1
  108. package/dist/quasar.rtl.css +3 -3
  109. package/dist/quasar.rtl.min.css +1 -1
  110. package/dist/quasar.sass +3 -3
  111. package/dist/quasar.styl +3 -3
  112. package/dist/quasar.umd.js +80 -68
  113. package/dist/quasar.umd.min.js +2 -2
  114. package/dist/quasar.umd.modern.js +80 -64
  115. package/dist/quasar.umd.modern.min.js +2 -2
  116. package/dist/types/index.d.ts +6 -1
  117. package/dist/vetur/quasar-attributes.json +4 -0
  118. package/dist/vetur/quasar-tags.json +1 -0
  119. package/dist/web-types/web-types.json +11 -1
  120. package/package.json +1 -1
  121. package/src/components/dialog/QDialog.js +29 -27
  122. package/src/components/dialog/QDialog.json +9 -1
  123. package/src/components/dialog-bottom-sheet/BottomSheet.js +5 -4
  124. package/src/components/form/QForm.js +3 -1
  125. package/src/components/inner-loading/QInnerLoading.js +1 -6
  126. package/src/components/item/QList.js +7 -2
  127. package/src/components/item/QList.json +8 -0
  128. package/src/components/menu/QMenu.js +5 -2
  129. package/src/components/scroll-area/QScrollArea.js +9 -3
  130. package/src/components/scroll-observer/QScrollObserver.js +4 -0
  131. package/src/components/select/QSelect.sass +2 -2
  132. package/src/components/select/QSelect.styl +2 -2
  133. package/src/components/tooltip/QTooltip.js +1 -1
  134. package/src/mixins/mask.js +1 -1
  135. package/src/mixins/transition.js +14 -15
package/dist/quasar.sass CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v1.22.0
2
+ * Quasar Framework v1.22.1
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -3321,8 +3321,8 @@ body.desktop
3321
3321
  &__autocomplete-input
3322
3322
  position: absolute
3323
3323
  outline: 0 !important
3324
- width: 0
3325
- height: 0
3324
+ width: 1px
3325
+ height: 1px
3326
3326
  padding: 0
3327
3327
  border: 0
3328
3328
  opacity: 0
package/dist/quasar.styl CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v1.22.0
2
+ * Quasar Framework v1.22.1
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -3368,8 +3368,8 @@ body.desktop
3368
3368
  &__autocomplete-input
3369
3369
  position: absolute
3370
3370
  outline: 0 !important
3371
- width: 0
3372
- height: 0
3371
+ width: 1px
3372
+ height: 1px
3373
3373
  padding: 0
3374
3374
  border: 0
3375
3375
  opacity: 0
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v1.22.0
2
+ * Quasar Framework v1.22.1
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -12,7 +12,7 @@
12
12
 
13
13
  Vue = Vue && Object.prototype.hasOwnProperty.call(Vue, 'default') ? Vue['default'] : Vue;
14
14
 
15
- var version = "1.22.0";
15
+ var version = "1.22.1";
16
16
 
17
17
  /* eslint-disable no-useless-escape */
18
18
 
@@ -4135,25 +4135,22 @@
4135
4135
  }
4136
4136
  },
4137
4137
 
4138
- data: function data () {
4139
- return {
4140
- transitionState: this.showing
4141
- }
4142
- },
4138
+ computed: {
4139
+ transitionProps: function transitionProps () {
4140
+ var show = "q-transition--" + (this.transitionShow || this.defaultTransitionShow);
4141
+ var hide = "q-transition--" + (this.transitionHide || this.defaultTransitionHide);
4143
4142
 
4144
- watch: {
4145
- showing: function showing (val) {
4146
- var this$1 = this;
4143
+ return {
4144
+ appear: true,
4147
4145
 
4148
- this.transitionShow !== this.transitionHide && this.$nextTick(function () {
4149
- this$1.transitionState = val;
4150
- });
4151
- }
4152
- },
4146
+ enterClass: (show + "-enter"),
4147
+ enterActiveClass: (show + "-enter-active"),
4148
+ enterToClass: (show + "-enter-to"),
4153
4149
 
4154
- computed: {
4155
- transition: function transition () {
4156
- return 'q-transition--' + (this.transitionState === true ? this.transitionHide : this.transitionShow)
4150
+ leaveClass: (hide + "-leave"),
4151
+ leaveActiveClass: (hide + "-leave-active"),
4152
+ leaveToClass: (hide + "-leave-to")
4153
+ }
4157
4154
  }
4158
4155
  }
4159
4156
  };
@@ -5659,7 +5656,10 @@
5659
5656
  : void 0;
5660
5657
 
5661
5658
  if (node !== void 0 && node.contains(document.activeElement) !== true) {
5662
- node = node.querySelector('[autofocus], [data-autofocus]') || node;
5659
+ node = node.querySelector('[autofocus][tabindex], [data-autofocus][tabindex]') ||
5660
+ node.querySelector('[autofocus] [tabindex], [data-autofocus] [tabindex]') ||
5661
+ node.querySelector('[autofocus], [data-autofocus]') ||
5662
+ node;
5663
5663
  node.focus({ preventScroll: true });
5664
5664
  }
5665
5665
  });
@@ -5846,7 +5846,7 @@
5846
5846
 
5847
5847
  __renderPortal: function __renderPortal (h) {
5848
5848
  return h('transition', {
5849
- props: { name: this.transition }
5849
+ props: Object.assign({}, this.transitionProps)
5850
5850
  }, [
5851
5851
  this.showing === true ? h('div', {
5852
5852
  ref: 'inner',
@@ -15079,7 +15079,7 @@
15079
15079
  left: 'fixed-left items-center'
15080
15080
  };
15081
15081
 
15082
- var transitions = {
15082
+ var defaultTransitions = {
15083
15083
  standard: ['scale', 'scale'],
15084
15084
  top: ['slide-down', 'slide-up'],
15085
15085
  bottom: ['slide-up', 'slide-down'],
@@ -15087,11 +15087,15 @@
15087
15087
  left: ['slide-right', 'slide-left']
15088
15088
  };
15089
15089
 
15090
+ var backdropAttrs = Object.assign({}, ariaHidden,
15091
+ {tabindex: -1});
15092
+
15090
15093
  var QDialog = Vue.extend({
15091
15094
  name: 'QDialog',
15092
15095
 
15093
15096
  mixins: [
15094
15097
  AttrsMixin,
15098
+ TransitionMixin,
15095
15099
  HistoryMixin,
15096
15100
  TimeoutMixin,
15097
15101
  ModelToggleMixin,
@@ -15132,22 +15136,11 @@
15132
15136
 
15133
15137
  data: function data () {
15134
15138
  return {
15135
- transitionState: this.showing,
15136
15139
  animating: false
15137
15140
  }
15138
15141
  },
15139
15142
 
15140
15143
  watch: {
15141
- showing: function showing (val) {
15142
- var this$1 = this;
15143
-
15144
- if (this.transitionShowComputed !== this.transitionHideComputed) {
15145
- this.$nextTick(function () {
15146
- this$1.transitionState = val;
15147
- });
15148
- }
15149
- },
15150
-
15151
15144
  maximized: function maximized (state) {
15152
15145
  this.showing === true && this.__updateMaximized(state);
15153
15146
  },
@@ -15168,18 +15161,12 @@
15168
15161
  (this.square === true ? ' q-dialog__inner--square' : '')
15169
15162
  },
15170
15163
 
15171
- transitionShowComputed: function transitionShowComputed () {
15172
- return 'q-transition--' + (this.transitionShow === void 0 ? transitions[this.position][0] : this.transitionShow)
15173
- },
15174
-
15175
- transitionHideComputed: function transitionHideComputed () {
15176
- return 'q-transition--' + (this.transitionHide === void 0 ? transitions[this.position][1] : this.transitionHide)
15164
+ defaultTransitionShow: function defaultTransitionShow () {
15165
+ return defaultTransitions[this.position][0]
15177
15166
  },
15178
15167
 
15179
- transition: function transition () {
15180
- return this.transitionState === true
15181
- ? this.transitionHideComputed
15182
- : this.transitionShowComputed
15168
+ defaultTransitionHide: function defaultTransitionHide () {
15169
+ return defaultTransitions[this.position][1]
15183
15170
  },
15184
15171
 
15185
15172
  useBackdrop: function useBackdrop () {
@@ -15224,13 +15211,23 @@
15224
15211
  return
15225
15212
  }
15226
15213
 
15227
- node = node.querySelector(selector || '[autofocus], [data-autofocus]') || node;
15214
+ node = (selector !== '' ? node.querySelector(selector) : null) ||
15215
+ node.querySelector('[autofocus][tabindex], [data-autofocus][tabindex]') ||
15216
+ node.querySelector('[autofocus] [tabindex], [data-autofocus] [tabindex]') ||
15217
+ node.querySelector('[autofocus], [data-autofocus]') ||
15218
+ node;
15228
15219
  node.focus({ preventScroll: true });
15229
15220
  });
15230
15221
  },
15231
15222
 
15232
- shake: function shake () {
15233
- this.focus();
15223
+ shake: function shake (refocusTarget) {
15224
+ if (refocusTarget && typeof refocusTarget.focus === 'function') {
15225
+ refocusTarget.focus({ preventScroll: true });
15226
+ }
15227
+ else {
15228
+ this.focus();
15229
+ }
15230
+
15234
15231
  this.$emit('shake');
15235
15232
 
15236
15233
  var node = this.__getInnerNode();
@@ -15397,7 +15394,7 @@
15397
15394
  this.hide(e);
15398
15395
  }
15399
15396
  else if (this.noShake !== true) {
15400
- this.shake();
15397
+ this.shake(e.relatedTarget);
15401
15398
  }
15402
15399
  },
15403
15400
 
@@ -15424,15 +15421,15 @@
15424
15421
  }, this.useBackdrop === true ? [
15425
15422
  h('div', {
15426
15423
  staticClass: 'q-dialog__backdrop fixed-full',
15427
- attrs: ariaHidden,
15424
+ attrs: backdropAttrs,
15428
15425
  on: cache(this, 'bkdrop', {
15429
- click: this.__onBackdropClick
15426
+ focusin: this.__onBackdropClick
15430
15427
  })
15431
15428
  })
15432
15429
  ] : null),
15433
15430
 
15434
15431
  h('transition', {
15435
- props: { name: this.transition }
15432
+ props: Object.assign({}, this.transitionProps)
15436
15433
  }, [
15437
15434
  this.showing === true ? h('div', {
15438
15435
  ref: 'inner',
@@ -16393,7 +16390,7 @@
16393
16390
 
16394
16391
  __renderPortal: function __renderPortal (h) {
16395
16392
  return h('transition', {
16396
- props: { name: this.transition }
16393
+ props: Object.assign({}, this.transitionProps)
16397
16394
  }, [
16398
16395
  this.showing === true ? h('div', {
16399
16396
  staticClass: 'q-tooltip q-tooltip--style q-position-engine no-pointer-events',
@@ -16426,7 +16423,12 @@
16426
16423
  bordered: Boolean,
16427
16424
  dense: Boolean,
16428
16425
  separator: Boolean,
16429
- padding: Boolean
16426
+ padding: Boolean,
16427
+
16428
+ tag: {
16429
+ type: String,
16430
+ default: 'div'
16431
+ }
16430
16432
  },
16431
16433
 
16432
16434
  computed: {
@@ -16441,7 +16443,7 @@
16441
16443
  },
16442
16444
 
16443
16445
  render: function render (h) {
16444
- return h('div', {
16446
+ return h(this.tag, {
16445
16447
  class: this.classes,
16446
16448
  attrs: attrs$4,
16447
16449
  on: Object.assign({}, this.qListeners)
@@ -20556,7 +20558,9 @@
20556
20558
  addFocusFn(function () {
20557
20559
  if (!this$1.$el) { return }
20558
20560
 
20559
- var target = this$1.$el.querySelector('[autofocus], [data-autofocus]') ||
20561
+ var target = this$1.$el.querySelector('[autofocus][tabindex], [data-autofocus][tabindex]') ||
20562
+ this$1.$el.querySelector('[autofocus] [tabindex], [data-autofocus] [tabindex]') ||
20563
+ this$1.$el.querySelector('[autofocus], [data-autofocus]') ||
20560
20564
  Array.prototype.find.call(this$1.$el.querySelectorAll('[tabindex]'), function (el) { return el.tabIndex > -1; });
20561
20565
 
20562
20566
  target !== null && target !== void 0 && target.focus({ preventScroll: true });
@@ -21398,12 +21402,7 @@
21398
21402
  },
21399
21403
 
21400
21404
  render: function render (h) {
21401
- return h('transition', {
21402
- props: {
21403
- name: this.transition,
21404
- appear: true
21405
- }
21406
- }, this.__getContent(h))
21405
+ return h('transition', { props: Object.assign({}, this.transitionProps) }, this.__getContent(h))
21407
21406
  }
21408
21407
  });
21409
21408
 
@@ -21599,7 +21598,7 @@
21599
21598
 
21600
21599
  this.computedMask = mask;
21601
21600
  this.computedUnmask = function (val) {
21602
- var unmaskMatch = unmaskMatcher.exec(val);
21601
+ var unmaskMatch = unmaskMatcher.exec(this$1.reverseFillMask === true ? val : val.slice(0, mask.length));
21603
21602
  if (unmaskMatch !== null) {
21604
21603
  val = unmaskMatch.slice(1).join('');
21605
21604
  }
@@ -22866,6 +22865,10 @@
22866
22865
  scrollTarget: function scrollTarget () {
22867
22866
  this.__unconfigureScrollTarget();
22868
22867
  this.__configureScrollTarget();
22868
+ },
22869
+
22870
+ '$q.lang.rtl': function $q_lang_rtl () {
22871
+ this.__emit();
22869
22872
  }
22870
22873
  },
22871
22874
 
@@ -26264,7 +26267,7 @@
26264
26267
  horizontalScrollPercentage: function horizontalScrollPercentage () {
26265
26268
  var diff = this.scroll.horizontal.size - this.container.horizontal;
26266
26269
  if (diff <= 0) { return 0 }
26267
- var p = between(this.scroll.horizontal.position / diff, 0, 1);
26270
+ var p = between(Math.abs(this.scroll.horizontal.position) / diff, 0, 1);
26268
26271
  return Math.round(p * 10000) / 10000
26269
26272
  },
26270
26273
 
@@ -26320,10 +26323,12 @@
26320
26323
  },
26321
26324
 
26322
26325
  horizontalStyle: function horizontalStyle () {
26326
+ var obj;
26327
+
26323
26328
  return Object.assign({}, this.thumbStyle,
26324
26329
  this.horizontalThumbStyle,
26325
- {left: ((this.horizontalThumbStart) + "px"),
26326
- width: ((this.horizontalThumbSize) + "px")})
26330
+ ( obj = {}, obj[ this.$q.lang.rtl === true ? 'right' : 'left' ] = ((this.horizontalThumbStart) + "px"), obj ),
26331
+ {width: ((this.horizontalThumbSize) + "px")})
26327
26332
  },
26328
26333
 
26329
26334
  verticalThumbClass: function verticalThumbClass () {
@@ -26410,6 +26415,12 @@
26410
26415
  }
26411
26416
  },
26412
26417
 
26418
+ watch: {
26419
+ '$q.lang.rtl': function $q_lang_rtl (rtl) {
26420
+ this.setScrollPosition('horizontal', Math.abs(this.scroll.horizontal.position) * (rtl === true ? -1 : 1));
26421
+ }
26422
+ },
26423
+
26413
26424
  methods: {
26414
26425
  getScrollTarget: function getScrollTarget () {
26415
26426
  return this.$refs.target
@@ -26495,7 +26506,7 @@
26495
26506
 
26496
26507
  this.setScrollPosition(
26497
26508
  axis,
26498
- percentage * (this.scroll[axis].size - this.container[axis]),
26509
+ percentage * (this.scroll[axis].size - this.container[axis]) * (axis === 'horizontal' && this.$q.lang.rtl === true ? -1 : 1),
26499
26510
  duration
26500
26511
  );
26501
26512
  },
@@ -39198,7 +39209,9 @@
39198
39209
  class: action.classes,
39199
39210
  attrs: attrsGridItem,
39200
39211
  on: {
39201
- click: function () { return this$1.onOk(action); },
39212
+ click: function () {
39213
+ this$1.onOk(action);
39214
+ },
39202
39215
  keyup: function (e) {
39203
39216
  e.keyCode === 13 && this$1.onOk(action);
39204
39217
  }
@@ -39239,9 +39252,8 @@
39239
39252
  dark: this$1.isDark
39240
39253
  },
39241
39254
  on: {
39242
- click: function () { return this$1.onOk(action); },
39243
- keyup: function (e) {
39244
- e.keyCode === 13 && this$1.onOk(action);
39255
+ click: function () {
39256
+ this$1.onOk(action);
39245
39257
  }
39246
39258
  }
39247
39259
  }, [