@onereach/ui-components 4.10.3 → 4.10.4-beta.2954.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 (70) hide show
  1. package/dist/bundled/v2/components/OrCode/OrCode.js +29 -83
  2. package/dist/bundled/v2/components/OrCode/index.js +2 -2
  3. package/dist/bundled/v2/components/OrCode/lang.js +2 -2
  4. package/dist/bundled/v2/components/OrCode/theme.js +1 -1
  5. package/dist/bundled/v2/components/OrInputV3/OrInput.js +17 -9
  6. package/dist/bundled/v2/components/OrModal/OrModal.js +1 -1
  7. package/dist/bundled/v2/components/index.js +2 -2
  8. package/dist/bundled/v2/hooks/useTheme.js +171 -172
  9. package/dist/bundled/v2/{index-cf2c3c27.js → index-a67049f4.js} +393 -253
  10. package/dist/bundled/v2/index.js +2 -2
  11. package/dist/bundled/v2/{lang-0fb8f78b.js → lang-02d1cdeb.js} +431 -365
  12. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-3e7aa91a.js → OrCardCollection.vue_vue_type_script_lang-af7eb570.js} +1 -1
  13. package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-46846a36.js → OrCode.vue_vue_type_script_lang-f02bd2ce.js} +30 -84
  14. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-93458f1f.js → OrConfirm.vue_vue_type_script_lang-32350b03.js} +1 -1
  15. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-51f9e144.js → OrConfirm.vue_vue_type_script_lang-8e1752aa.js} +1 -1
  16. package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-66363c62.js → OrInput.vue_vue_type_script_lang-0c8510c2.js} +1 -1
  17. package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-153819d3.js → OrModal.vue_vue_type_script_lang-c4ef6dd6.js} +1 -1
  18. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-18dc2df8.js → OrSearch.vue_vue_type_script_lang-756be4f1.js} +1 -1
  19. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-72c1db17.js → OrSelect.vue_vue_type_script_lang-dc33e8c8.js} +1 -1
  20. package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +4 -4
  21. package/dist/bundled/v3/components/OrCardCollectionV3/index.js +3 -3
  22. package/dist/bundled/v3/components/OrCode/OrCode.js +5 -5
  23. package/dist/bundled/v3/components/OrCode/index.js +4 -4
  24. package/dist/bundled/v3/components/OrCode/lang.js +2 -2
  25. package/dist/bundled/v3/components/OrCode/theme.js +1 -1
  26. package/dist/bundled/v3/components/OrConfirm/OrConfirm.js +3 -3
  27. package/dist/bundled/v3/components/OrConfirm/index.js +2 -2
  28. package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +3 -3
  29. package/dist/bundled/v3/components/OrConfirmV3/index.js +2 -2
  30. package/dist/bundled/v3/components/OrInputV3/OrInput.js +9 -8
  31. package/dist/bundled/v3/components/OrInputV3/OrInput.vue.d.ts +2 -1
  32. package/dist/bundled/v3/components/OrInputV3/index.js +1 -1
  33. package/dist/bundled/v3/components/OrModal/OrModal.js +2 -2
  34. package/dist/bundled/v3/components/OrModal/index.js +1 -1
  35. package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +3 -3
  36. package/dist/bundled/v3/components/OrSearchV3/index.js +2 -2
  37. package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +3 -3
  38. package/dist/bundled/v3/components/OrSelectV3/index.js +2 -2
  39. package/dist/bundled/v3/components/index.js +10 -10
  40. package/dist/bundled/v3/hooks/useTheme.js +171 -172
  41. package/dist/bundled/v3/{index-cf2c3c27.js → index-a67049f4.js} +393 -253
  42. package/dist/bundled/v3/index.js +10 -10
  43. package/dist/bundled/v3/{lang-0fb8f78b.js → lang-02d1cdeb.js} +431 -365
  44. package/dist/esm/v2/{OrCardCollection-79b90811.js → OrCardCollection-cfa31f60.js} +1 -1
  45. package/dist/esm/v2/{OrConfirm-0b56c11f.js → OrConfirm-e347e6d8.js} +1 -1
  46. package/dist/esm/v2/{OrInput-2eeff16a.js → OrInput-1ac05c06.js} +17 -9
  47. package/dist/esm/v2/{OrSearch-33e3b0e4.js → OrSearch-345cc833.js} +1 -1
  48. package/dist/esm/v2/{OrSelect-1ee299d9.js → OrSelect-7304a89a.js} +1 -1
  49. package/dist/esm/v2/components/index.js +5 -5
  50. package/dist/esm/v2/components/or-card-collection-v3/index.js +3 -3
  51. package/dist/esm/v2/components/or-confirm-v3/index.js +2 -2
  52. package/dist/esm/v2/components/or-input-v3/index.js +1 -1
  53. package/dist/esm/v2/components/or-search-v3/index.js +2 -2
  54. package/dist/esm/v2/components/or-select-v3/index.js +2 -2
  55. package/dist/esm/v2/index.js +5 -5
  56. package/dist/esm/v3/{OrCardCollection-76f937d5.js → OrCardCollection-65ba52be.js} +1 -1
  57. package/dist/esm/v3/{OrConfirm-5509c440.js → OrConfirm-28e1bb15.js} +1 -1
  58. package/dist/esm/v3/{OrInput-c653aedb.js → OrInput-58866c13.js} +8 -7
  59. package/dist/esm/v3/{OrSearch-b945651d.js → OrSearch-b6f37991.js} +1 -1
  60. package/dist/esm/v3/{OrSelect-5a2c078d.js → OrSelect-1c58ccaf.js} +1 -1
  61. package/dist/esm/v3/components/index.js +5 -5
  62. package/dist/esm/v3/components/or-card-collection-v3/index.js +3 -3
  63. package/dist/esm/v3/components/or-confirm-v3/index.js +2 -2
  64. package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +2 -1
  65. package/dist/esm/v3/components/or-input-v3/index.js +1 -1
  66. package/dist/esm/v3/components/or-search-v3/index.js +2 -2
  67. package/dist/esm/v3/components/or-select-v3/index.js +2 -2
  68. package/dist/esm/v3/index.js +5 -5
  69. package/package.json +2 -3
  70. package/src/components/or-input-v3/OrInput.vue +2 -1
@@ -11,7 +11,7 @@ import './components/OrMenuItemV3/OrMenuItem.js';
11
11
  import { s as script$5 } from './OrMenuItem.vue_vue_type_script_lang-b338d68a.js';
12
12
  import './components/OrIconV3/OrIcon.js';
13
13
  import './components/OrSearchV3/OrSearch.js';
14
- import { s as script$7 } from './OrSearch.vue_vue_type_script_lang-18dc2df8.js';
14
+ import { s as script$7 } from './OrSearch.vue_vue_type_script_lang-756be4f1.js';
15
15
  import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-c3a78c23.js';
16
16
  import { s as script$6 } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
17
17
 
@@ -1,5 +1,5 @@
1
- import { E as EditorView, F as Facet, c as combineConfig, S as StateField, a as EditorSelection, T as Transaction, C as ChangeSet, b as ChangeDesc, I as IndentContext, g as getIndentation, i as indentString, d as Text, e as indentUnit, f as countColumn, h as getIndentUnit, A as Annotation, j as StateEffect, m as matchBrackets, s as syntaxTree, N as NodeProp, D as Direction, k as findClusterBreak, V as ViewPlugin, l as Decoration, n as codePointAt, o as codePointSize, p as getPanel, q as CharCategory, P as Prec, r as fromCodePoint, t as showPanel, R as RangeSetBuilder, u as EditorState, v as runScopeHandlers, w as hoverTooltip, W as WidgetType, x as logException, y as lineNumbers, z as highlightActiveLineGutter, B as highlightSpecialChars, G as foldGutter, H as drawSelection, J as dropCursor, K as indentOnInput, L as syntaxHighlighting, M as defaultHighlightStyle, O as bracketMatching, Q as rectangularSelection, U as crosshairCursor, X as highlightActiveLine, Y as keymap, Z as foldKeymap } from './index-cf2c3c27.js';
2
- import { c as closeBrackets, a as autocompletion, b as closeBracketsKeymap, d as completionKeymap, l as languages } from './lang-0fb8f78b.js';
1
+ import { E as EditorView, F as Facet, c as combineConfig, S as StateField, a as EditorSelection, T as Transaction, C as ChangeSet, b as ChangeDesc, I as IndentContext, g as getIndentation, i as indentString, d as Text, e as indentUnit, f as countColumn, h as getIndentUnit, A as Annotation, j as StateEffect, m as matchBrackets, s as syntaxTree, N as NodeProp, D as Direction, k as findClusterBreak, V as ViewPlugin, l as Decoration, n as codePointAt, o as codePointSize, p as getPanel, q as CharCategory, P as Prec, r as fromCodePoint, t as showPanel, R as RangeSetBuilder, u as EditorState, v as runScopeHandlers, w as hoverTooltip, W as WidgetType, x as lineNumbers, y as highlightActiveLineGutter, z as highlightSpecialChars, B as foldGutter, G as drawSelection, H as dropCursor, J as indentOnInput, K as syntaxHighlighting, L as defaultHighlightStyle, M as bracketMatching, O as rectangularSelection, Q as crosshairCursor, U as highlightActiveLine, X as keymap, Y as foldKeymap } from './index-a67049f4.js';
2
+ import { c as closeBrackets, a as autocompletion, b as closeBracketsKeymap, d as completionKeymap, l as languages } from './lang-02d1cdeb.js';
3
3
  import { a as useElementHover } from './index-09d1cb24.js';
4
4
  import { defineComponent, ref } from 'vue-demi';
5
5
  import script$3 from './components/OrTeleport/OrTeleport.js';
@@ -7,7 +7,7 @@ import { OrCodeLanguages } from './components/OrCode/constants.js';
7
7
  import theme from './components/OrCode/theme.js';
8
8
  import './components/OrIconButtonV2/OrIconButton.js';
9
9
  import './components/OrModal/OrModal.js';
10
- import { s as script$2 } from './OrModal.vue_vue_type_script_lang-153819d3.js';
10
+ import { s as script$2 } from './OrModal.vue_vue_type_script_lang-c4ef6dd6.js';
11
11
  import './components/OrError/OrError.js';
12
12
  import './components/OrHint/OrHint.js';
13
13
  import './components/OrLabel/OrLabel.js';
@@ -122,7 +122,7 @@ function selectedLineRanges(state) {
122
122
  let toLine = r.to <= fromLine.to ? fromLine : state.doc.lineAt(r.to);
123
123
  let last = ranges.length - 1;
124
124
  if (last >= 0 && ranges[last].to > fromLine.from) ranges[last].to = toLine.to;else ranges.push({
125
- from: fromLine.from,
125
+ from: fromLine.from + /^\s*/.exec(fromLine.text)[0].length,
126
126
  to: toLine.to
127
127
  });
128
128
  }
@@ -1753,7 +1753,7 @@ The default keymap. Includes all bindings from
1753
1753
  - Shift-Alt-ArrowUp: [`copyLineUp`](https://codemirror.net/6/docs/ref/#commands.copyLineUp)
1754
1754
  - Shift-Alt-ArrowDown: [`copyLineDown`](https://codemirror.net/6/docs/ref/#commands.copyLineDown)
1755
1755
  - Escape: [`simplifySelection`](https://codemirror.net/6/docs/ref/#commands.simplifySelection)
1756
- - Ctrl-Enter (Comd-Enter on macOS): [`insertBlankLine`](https://codemirror.net/6/docs/ref/#commands.insertBlankLine)
1756
+ - Ctrl-Enter (Cmd-Enter on macOS): [`insertBlankLine`](https://codemirror.net/6/docs/ref/#commands.insertBlankLine)
1757
1757
  - Alt-l (Ctrl-l on macOS): [`selectLine`](https://codemirror.net/6/docs/ref/#commands.selectLine)
1758
1758
  - Ctrl-i (Cmd-i on macOS): [`selectParentSyntax`](https://codemirror.net/6/docs/ref/#commands.selectParentSyntax)
1759
1759
  - Ctrl-[ (Cmd-[ on macOS): [`indentLess`](https://codemirror.net/6/docs/ref/#commands.indentLess)
@@ -2709,9 +2709,10 @@ const findNext = /*@__PURE__*/searchCommand((view, _ref4) => {
2709
2709
  let config = view.state.facet(searchConfigFacet);
2710
2710
  view.dispatch({
2711
2711
  selection,
2712
- effects: [announceMatch(view, next), config.scrollToMatch(selection.main)],
2712
+ effects: [announceMatch(view, next), config.scrollToMatch(selection.main, view)],
2713
2713
  userEvent: "select.search"
2714
2714
  });
2715
+ selectSearchInput(view);
2715
2716
  return true;
2716
2717
  });
2717
2718
  /**
@@ -2735,9 +2736,10 @@ const findPrevious = /*@__PURE__*/searchCommand((view, _ref5) => {
2735
2736
  let config = view.state.facet(searchConfigFacet);
2736
2737
  view.dispatch({
2737
2738
  selection,
2738
- effects: [announceMatch(view, prev), config.scrollToMatch(selection.main)],
2739
+ effects: [announceMatch(view, prev), config.scrollToMatch(selection.main, view)],
2739
2740
  userEvent: "select.search"
2740
2741
  });
2742
+ selectSearchInput(view);
2741
2743
  return true;
2742
2744
  });
2743
2745
  /**
@@ -2817,7 +2819,7 @@ const replaceNext = /*@__PURE__*/searchCommand((view, _ref8) => {
2817
2819
  let off = changes.length == 0 || changes[0].from >= next.to ? 0 : next.to - next.from - replacement.length;
2818
2820
  selection = EditorSelection.single(next.from - off, next.to - off);
2819
2821
  effects.push(announceMatch(view, next));
2820
- effects.push(state.facet(searchConfigFacet).scrollToMatch(selection.main));
2822
+ effects.push(state.facet(searchConfigFacet).scrollToMatch(selection.main, view));
2821
2823
  }
2822
2824
  view.dispatch({
2823
2825
  changes,
@@ -2872,15 +2874,21 @@ function defaultQuery(state, fallback) {
2872
2874
  wholeWord: (_d = fallback === null || fallback === void 0 ? void 0 : fallback.wholeWord) !== null && _d !== void 0 ? _d : config.wholeWord
2873
2875
  });
2874
2876
  }
2877
+ function getSearchInput(view) {
2878
+ let panel = getPanel(view, createSearchPanel);
2879
+ return panel && panel.dom.querySelector("[main-field]");
2880
+ }
2881
+ function selectSearchInput(view) {
2882
+ let input = getSearchInput(view);
2883
+ if (input && input == view.root.activeElement) input.select();
2884
+ }
2875
2885
  /**
2876
2886
  Make sure the search panel is open and focused.
2877
2887
  */
2878
2888
  const openSearchPanel = view => {
2879
2889
  let state = view.state.field(searchState, false);
2880
2890
  if (state && state.panel) {
2881
- let panel = getPanel(view, createSearchPanel);
2882
- if (!panel) return false;
2883
- let searchInput = panel.dom.querySelector("[main-field]");
2891
+ let searchInput = getSearchInput(view);
2884
2892
  if (searchInput && searchInput != view.root.activeElement) {
2885
2893
  let query = defaultQuery(view.state, state.query.spec);
2886
2894
  if (query.valid) view.dispatch({
@@ -3183,25 +3191,7 @@ function hideTooltip(tr, tooltip) {
3183
3191
  return !!(tr.effects.some(e => e.is(setDiagnosticsEffect)) || tr.changes.touchesRange(tooltip.pos));
3184
3192
  }
3185
3193
  function maybeEnableLint(state, effects) {
3186
- return state.field(lintState, false) ? effects : effects.concat(StateEffect.appendConfig.of([lintState, EditorView.decorations.compute([lintState], state => {
3187
- let {
3188
- selected,
3189
- panel
3190
- } = state.field(lintState);
3191
- return !selected || !panel || selected.from == selected.to ? Decoration.none : Decoration.set([activeMark.range(selected.from, selected.to)]);
3192
- }), hoverTooltip(lintTooltip, {
3193
- hideOn: hideTooltip
3194
- }), baseTheme]));
3195
- }
3196
- /**
3197
- Returns a transaction spec which updates the current set of
3198
- diagnostics, and enables the lint extension if if wasn't already
3199
- active.
3200
- */
3201
- function setDiagnostics(state, diagnostics) {
3202
- return {
3203
- effects: maybeEnableLint(state, [setDiagnosticsEffect.of(diagnostics)])
3204
- };
3194
+ return state.field(lintState, false) ? effects : effects.concat(StateEffect.appendConfig.of(lintExtensions));
3205
3195
  }
3206
3196
  /**
3207
3197
  The state effect that updates the set of active diagnostics. Can
@@ -3334,58 +3324,6 @@ const lintKeymap = [{
3334
3324
  key: "F8",
3335
3325
  run: nextDiagnostic
3336
3326
  }];
3337
- const lintPlugin = /*@__PURE__*/ViewPlugin.fromClass(class {
3338
- constructor(view) {
3339
- this.view = view;
3340
- this.timeout = -1;
3341
- this.set = true;
3342
- let {
3343
- delay
3344
- } = view.state.facet(lintConfig);
3345
- this.lintTime = Date.now() + delay;
3346
- this.run = this.run.bind(this);
3347
- this.timeout = setTimeout(this.run, delay);
3348
- }
3349
- run() {
3350
- let now = Date.now();
3351
- if (now < this.lintTime - 10) {
3352
- setTimeout(this.run, this.lintTime - now);
3353
- } else {
3354
- this.set = false;
3355
- let {
3356
- state
3357
- } = this.view,
3358
- {
3359
- sources
3360
- } = state.facet(lintConfig);
3361
- Promise.all(sources.map(source => Promise.resolve(source(this.view)))).then(annotations => {
3362
- let all = annotations.reduce((a, b) => a.concat(b));
3363
- if (this.view.state.doc == state.doc) this.view.dispatch(setDiagnostics(this.view.state, all));
3364
- }, error => {
3365
- logException(this.view.state, error);
3366
- });
3367
- }
3368
- }
3369
- update(update) {
3370
- let config = update.state.facet(lintConfig);
3371
- if (update.docChanged || config != update.startState.facet(lintConfig) || config.needsRefresh && config.needsRefresh(update)) {
3372
- this.lintTime = Date.now() + config.delay;
3373
- if (!this.set) {
3374
- this.set = true;
3375
- this.timeout = setTimeout(this.run, config.delay);
3376
- }
3377
- }
3378
- }
3379
- force() {
3380
- if (this.set) {
3381
- this.lintTime = Date.now();
3382
- this.run();
3383
- }
3384
- }
3385
- destroy() {
3386
- clearTimeout(this.timeout);
3387
- }
3388
- });
3389
3327
  const lintConfig = /*@__PURE__*/Facet.define({
3390
3328
  combine(input) {
3391
3329
  return Object.assign({
@@ -3398,8 +3336,7 @@ const lintConfig = /*@__PURE__*/Facet.define({
3398
3336
  }, {
3399
3337
  needsRefresh: (a, b) => !a ? b : !b ? a : u => a(u) || b(u)
3400
3338
  }));
3401
- },
3402
- enables: lintPlugin
3339
+ }
3403
3340
  });
3404
3341
  function assignKeys(actions) {
3405
3342
  let assigned = [];
@@ -3762,6 +3699,15 @@ const baseTheme = /*@__PURE__*/EditorView.baseTheme({
3762
3699
  }
3763
3700
  }
3764
3701
  });
3702
+ const lintExtensions = [lintState, /*@__PURE__*/EditorView.decorations.compute([lintState], state => {
3703
+ let {
3704
+ selected,
3705
+ panel
3706
+ } = state.field(lintState);
3707
+ return !selected || !panel || selected.from == selected.to ? Decoration.none : Decoration.set([activeMark.range(selected.from, selected.to)]);
3708
+ }), /*@__PURE__*/hoverTooltip(lintTooltip, {
3709
+ hideOn: hideTooltip
3710
+ }), baseTheme];
3765
3711
 
3766
3712
  // (The superfluous function calls around the list of extensions work
3767
3713
  // around current limitations in tree-shaking software.)
@@ -10,7 +10,7 @@ import { usePopoverState } from './hooks/usePopoverState.js';
10
10
  import { ButtonColor } from './components/OrButtonV3/props.js';
11
11
  import { s as script$1 } from './OrOverlay.vue_vue_type_script_lang-0fdf19ba.js';
12
12
  import { s as script$2 } from './OrButton.vue_vue_type_script_lang-e8969bd3.js';
13
- import { s as script$3 } from './OrInput.vue_vue_type_script_lang-66363c62.js';
13
+ import { s as script$3 } from './OrInput.vue_vue_type_script_lang-0c8510c2.js';
14
14
  import { w as whenever } from './index-f4d8e24c.js';
15
15
 
16
16
  var script = defineComponent({
@@ -8,7 +8,7 @@ import './components/OrInput/OrInput.js';
8
8
  import { BUTTON_COLOR } from './components/OrButtonV2/constants.js';
9
9
  import { OrModalSizes } from './components/OrModal/constants.js';
10
10
  import { w as whenever } from './index-f4d8e24c.js';
11
- import { s as script$2 } from './OrModal.vue_vue_type_script_lang-153819d3.js';
11
+ import { s as script$2 } from './OrModal.vue_vue_type_script_lang-c4ef6dd6.js';
12
12
  import { s as script$3 } from './OrInput.vue_vue_type_script_lang-1be980cf.js';
13
13
 
14
14
  var script = defineComponent({
@@ -90,7 +90,7 @@ var script = defineComponent({
90
90
  default: false
91
91
  }
92
92
  },
93
- emits: ['update:modelValue', 'keydown', 'keyup', 'focus', 'blur'],
93
+ emits: ['update:modelValue', 'input', 'keydown', 'keyup', 'focus', 'blur'],
94
94
  expose: ['root', 'focus', 'blur'],
95
95
  setup(props, context) {
96
96
  // Refs
@@ -8,7 +8,7 @@ import { s as script$2 } from './OrOverlay.vue_vue_type_script_lang-2f5d626d.js'
8
8
  import { s as script$1 } from './OrIconButton.vue_vue_type_script_lang-e078ed4c.js';
9
9
 
10
10
  /*!
11
- * tabbable 6.1.1
11
+ * tabbable 6.1.2
12
12
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
13
13
  */
14
14
  // NOTE: separate `:not()` selectors has broader browser support than the newer
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, computed, watch } from 'vue-demi';
2
2
  import './components/OrInputV3/OrInput.js';
3
- import { s as script$1 } from './OrInput.vue_vue_type_script_lang-66363c62.js';
3
+ import { s as script$1 } from './OrInput.vue_vue_type_script_lang-0c8510c2.js';
4
4
  import { InputBoxSize } from './components/OrInputBoxV3/props.js';
5
5
  import { a as watchDebounced } from './index-f4d8e24c.js';
6
6
 
@@ -19,7 +19,7 @@ import { s as script$1 } from './OrCheckbox.vue_vue_type_script_lang-616a0cce.js
19
19
  import { s as script$2 } from './OrError.vue_vue_type_script_lang-df7b5e32.js';
20
20
  import { s as script$4 } from './OrHint.vue_vue_type_script_lang-0f5e8377.js';
21
21
  import { s as script$5 } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
22
- import { s as script$6 } from './OrInput.vue_vue_type_script_lang-66363c62.js';
22
+ import { s as script$6 } from './OrInput.vue_vue_type_script_lang-0c8510c2.js';
23
23
  import { s as script$7 } from './OrInputBox.vue_vue_type_script_lang-49fb179a.js';
24
24
  import { s as script$8 } from './OrLabel.vue_vue_type_script_lang-3e11ab8a.js';
25
25
  import { s as script$9 } from './OrMenuItem.vue_vue_type_script_lang-b338d68a.js';
@@ -1,5 +1,5 @@
1
- import { s as script } from '../../OrCardCollection.vue_vue_type_script_lang-3e7aa91a.js';
2
- export { s as default } from '../../OrCardCollection.vue_vue_type_script_lang-3e7aa91a.js';
1
+ import { s as script } from '../../OrCardCollection.vue_vue_type_script_lang-af7eb570.js';
2
+ export { s as default } from '../../OrCardCollection.vue_vue_type_script_lang-af7eb570.js';
3
3
  import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, createVNode, withCtx, createTextVNode, toDisplayString, createBlock, createCommentVNode, renderList, renderSlot, normalizeProps, guardReactiveProps, mergeProps } from 'vue';
4
4
  import 'vue-demi';
5
5
  import './styles.js';
@@ -50,9 +50,9 @@ import '../OrMenuItemV3/OrMenuItem.js';
50
50
  import '../../OrMenuItem.vue_vue_type_script_lang-b338d68a.js';
51
51
  import '../OrMenuItemV3/styles.js';
52
52
  import '../OrSearchV3/OrSearch.js';
53
- import '../../OrSearch.vue_vue_type_script_lang-18dc2df8.js';
53
+ import '../../OrSearch.vue_vue_type_script_lang-756be4f1.js';
54
54
  import '../OrInputV3/OrInput.js';
55
- import '../../OrInput.vue_vue_type_script_lang-66363c62.js';
55
+ import '../../OrInput.vue_vue_type_script_lang-0c8510c2.js';
56
56
  import '../OrInputV3/props.js';
57
57
  import '../OrInputBoxV3/props.js';
58
58
  import '../OrInputV3/styles.js';
@@ -1,5 +1,5 @@
1
1
  export { DefaultCardCollectionViews, defaultViewModes, gridView, listView } from './props.js';
2
- export { s as OrCardCollectionV3 } from '../../OrCardCollection.vue_vue_type_script_lang-3e7aa91a.js';
2
+ export { s as OrCardCollectionV3 } from '../../OrCardCollection.vue_vue_type_script_lang-af7eb570.js';
3
3
  import 'vue-demi';
4
4
  import './styles.js';
5
5
  import 'vue';
@@ -49,9 +49,9 @@ import '../OrMenuItemV3/OrMenuItem.js';
49
49
  import '../../OrMenuItem.vue_vue_type_script_lang-b338d68a.js';
50
50
  import '../OrMenuItemV3/styles.js';
51
51
  import '../OrSearchV3/OrSearch.js';
52
- import '../../OrSearch.vue_vue_type_script_lang-18dc2df8.js';
52
+ import '../../OrSearch.vue_vue_type_script_lang-756be4f1.js';
53
53
  import '../OrInputV3/OrInput.js';
54
- import '../../OrInput.vue_vue_type_script_lang-66363c62.js';
54
+ import '../../OrInput.vue_vue_type_script_lang-0c8510c2.js';
55
55
  import '../OrInputV3/props.js';
56
56
  import '../OrInputBoxV3/props.js';
57
57
  import '../OrInputV3/styles.js';
@@ -1,9 +1,9 @@
1
- import { s as script } from '../../OrCode.vue_vue_type_script_lang-46846a36.js';
2
- export { s as default } from '../../OrCode.vue_vue_type_script_lang-46846a36.js';
1
+ import { s as script } from '../../OrCode.vue_vue_type_script_lang-f02bd2ce.js';
2
+ export { s as default } from '../../OrCode.vue_vue_type_script_lang-f02bd2ce.js';
3
3
  import { resolveComponent, openBlock, createElementBlock, createVNode, withCtx, renderSlot, createElementVNode, normalizeClass, createBlock, createCommentVNode, withDirectives, vShow } from 'vue';
4
4
  import { s as styleInject } from '../../style-inject.es-4c6f2515.js';
5
- import '../../index-cf2c3c27.js';
6
- import '../../lang-0fb8f78b.js';
5
+ import '../../index-a67049f4.js';
6
+ import '../../lang-02d1cdeb.js';
7
7
  import './constants.js';
8
8
  import '../../index-09d1cb24.js';
9
9
  import '../../index-f4d8e24c.js';
@@ -37,7 +37,7 @@ import '../../OrLoader.vue_vue_type_script_lang-a1fed697.js';
37
37
  import '../../utils/isEmpty.js';
38
38
  import '../OrLoader/constants.js';
39
39
  import '../OrModal/OrModal.js';
40
- import '../../OrModal.vue_vue_type_script_lang-153819d3.js';
40
+ import '../../OrModal.vue_vue_type_script_lang-c4ef6dd6.js';
41
41
  import '../OrModal/constants.js';
42
42
  import '../OrOverlay/OrOverlay.js';
43
43
  import '../../OrOverlay.vue_vue_type_script_lang-2f5d626d.js';
@@ -1,7 +1,7 @@
1
1
  export { OrCodeLanguages } from './constants.js';
2
- export { s as OrCode } from '../../OrCode.vue_vue_type_script_lang-46846a36.js';
3
- import '../../index-cf2c3c27.js';
4
- import '../../lang-0fb8f78b.js';
2
+ export { s as OrCode } from '../../OrCode.vue_vue_type_script_lang-f02bd2ce.js';
3
+ import '../../index-a67049f4.js';
4
+ import '../../lang-02d1cdeb.js';
5
5
  import '../../index-09d1cb24.js';
6
6
  import '../../index-f4d8e24c.js';
7
7
  import 'vue-demi';
@@ -36,7 +36,7 @@ import '../../OrLoader.vue_vue_type_script_lang-a1fed697.js';
36
36
  import '../../utils/isEmpty.js';
37
37
  import '../OrLoader/constants.js';
38
38
  import '../OrModal/OrModal.js';
39
- import '../../OrModal.vue_vue_type_script_lang-153819d3.js';
39
+ import '../../OrModal.vue_vue_type_script_lang-c4ef6dd6.js';
40
40
  import '../OrModal/constants.js';
41
41
  import '../OrOverlay/OrOverlay.js';
42
42
  import '../../OrOverlay.vue_vue_type_script_lang-2f5d626d.js';
@@ -1,3 +1,3 @@
1
- export { C as CSS, H as HTML, J as JS, e as JSON, M as MD, T as TS, l as default } from '../../lang-0fb8f78b.js';
1
+ export { C as CSS, H as HTML, J as JS, e as JSON, M as MD, T as TS, l as default } from '../../lang-02d1cdeb.js';
2
2
  import './constants.js';
3
- import '../../index-cf2c3c27.js';
3
+ import '../../index-a67049f4.js';
@@ -1,4 +1,4 @@
1
- import { E as EditorView, ar as HighlightStyle, aa as tags, L as syntaxHighlighting } from '../../index-cf2c3c27.js';
1
+ import { E as EditorView, ar as HighlightStyle, aa as tags, K as syntaxHighlighting } from '../../index-a67049f4.js';
2
2
 
3
3
  // Using https://github.com/one-dark/vscode-one-dark-theme/ as reference for the colors
4
4
  const chalky = 'var(--c-warning-darken-20)',
@@ -1,5 +1,5 @@
1
- import { s as script } from '../../OrConfirm.vue_vue_type_script_lang-51f9e144.js';
2
- export { s as default } from '../../OrConfirm.vue_vue_type_script_lang-51f9e144.js';
1
+ import { s as script } from '../../OrConfirm.vue_vue_type_script_lang-8e1752aa.js';
2
+ export { s as default } from '../../OrConfirm.vue_vue_type_script_lang-8e1752aa.js';
3
3
  import { resolveComponent, openBlock, createBlock, withCtx, renderSlot, createElementVNode, createVNode, createCommentVNode } from 'vue';
4
4
  import { s as styleInject } from '../../style-inject.es-4c6f2515.js';
5
5
  import 'vue-demi';
@@ -32,7 +32,7 @@ import '../../OrLoader.vue_vue_type_script_lang-a1fed697.js';
32
32
  import '../../utils/isEmpty.js';
33
33
  import '../OrLoader/constants.js';
34
34
  import '../OrModal/OrModal.js';
35
- import '../../OrModal.vue_vue_type_script_lang-153819d3.js';
35
+ import '../../OrModal.vue_vue_type_script_lang-c4ef6dd6.js';
36
36
  import '../OrModal/constants.js';
37
37
  import '../OrIconButtonV2/OrIconButton.js';
38
38
  import '../../OrIconButton.vue_vue_type_script_lang-e078ed4c.js';
@@ -1,4 +1,4 @@
1
- export { s as OrConfirm } from '../../OrConfirm.vue_vue_type_script_lang-51f9e144.js';
1
+ export { s as OrConfirm } from '../../OrConfirm.vue_vue_type_script_lang-8e1752aa.js';
2
2
  import 'vue-demi';
3
3
  import '../../index-09d1cb24.js';
4
4
  import '../../index-f4d8e24c.js';
@@ -31,7 +31,7 @@ import '../../OrLoader.vue_vue_type_script_lang-a1fed697.js';
31
31
  import '../../utils/isEmpty.js';
32
32
  import '../OrLoader/constants.js';
33
33
  import '../OrModal/OrModal.js';
34
- import '../../OrModal.vue_vue_type_script_lang-153819d3.js';
34
+ import '../../OrModal.vue_vue_type_script_lang-c4ef6dd6.js';
35
35
  import '../OrModal/constants.js';
36
36
  import '../OrIconButtonV2/OrIconButton.js';
37
37
  import '../../OrIconButton.vue_vue_type_script_lang-e078ed4c.js';
@@ -1,5 +1,5 @@
1
- import { s as script } from '../../OrConfirm.vue_vue_type_script_lang-93458f1f.js';
2
- export { s as default } from '../../OrConfirm.vue_vue_type_script_lang-93458f1f.js';
1
+ import { s as script } from '../../OrConfirm.vue_vue_type_script_lang-32350b03.js';
2
+ export { s as default } from '../../OrConfirm.vue_vue_type_script_lang-32350b03.js';
3
3
  import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, normalizeClass, renderSlot, createTextVNode, toDisplayString, createElementBlock, createVNode, createCommentVNode } from 'vue';
4
4
  import '../../index-09d1cb24.js';
5
5
  import '../../index-f4d8e24c.js';
@@ -23,7 +23,7 @@ import '../../OrLoader.vue_vue_type_script_lang-f076f6b3.js';
23
23
  import '../OrLoaderV3/props.js';
24
24
  import '../OrLoaderV3/styles.js';
25
25
  import '../OrInputV3/OrInput.js';
26
- import '../../OrInput.vue_vue_type_script_lang-66363c62.js';
26
+ import '../../OrInput.vue_vue_type_script_lang-0c8510c2.js';
27
27
  import '../OrInputV3/props.js';
28
28
  import '../OrInputBoxV3/props.js';
29
29
  import '../OrInputV3/styles.js';
@@ -1,5 +1,5 @@
1
1
  export { ConfirmType } from './props.js';
2
- export { s as OrConfirmV3 } from '../../OrConfirm.vue_vue_type_script_lang-93458f1f.js';
2
+ export { s as OrConfirmV3 } from '../../OrConfirm.vue_vue_type_script_lang-32350b03.js';
3
3
  import '../../index-09d1cb24.js';
4
4
  import '../../index-f4d8e24c.js';
5
5
  import 'vue-demi';
@@ -22,7 +22,7 @@ import '../../OrLoader.vue_vue_type_script_lang-f076f6b3.js';
22
22
  import '../OrLoaderV3/props.js';
23
23
  import '../OrLoaderV3/styles.js';
24
24
  import '../OrInputV3/OrInput.js';
25
- import '../../OrInput.vue_vue_type_script_lang-66363c62.js';
25
+ import '../../OrInput.vue_vue_type_script_lang-0c8510c2.js';
26
26
  import '../OrInputV3/props.js';
27
27
  import '../OrInputBoxV3/props.js';
28
28
  import '../OrInputV3/styles.js';
@@ -1,5 +1,5 @@
1
- import { s as script } from '../../OrInput.vue_vue_type_script_lang-66363c62.js';
2
- export { s as default } from '../../OrInput.vue_vue_type_script_lang-66363c62.js';
1
+ import { s as script } from '../../OrInput.vue_vue_type_script_lang-0c8510c2.js';
2
+ export { s as default } from '../../OrInput.vue_vue_type_script_lang-0c8510c2.js';
3
3
  import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, Fragment, withModifiers, withDirectives, createElementVNode, mergeProps, vModelDynamic, createSlots, vShow } from 'vue';
4
4
  import { s as styleInject } from '../../style-inject.es-4c6f2515.js';
5
5
  import 'vue-demi';
@@ -109,7 +109,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
109
109
  },
110
110
  color: 'inherit',
111
111
  disabled: _ctx.disabled,
112
- onClick: _cache[5] || (_cache[5] = withModifiers($event => _ctx.disclosed = !_ctx.disclosed, ["stop"]))
112
+ onClick: _cache[6] || (_cache[6] = withModifiers($event => _ctx.disclosed = !_ctx.disclosed, ["stop"]))
113
113
  }, null, 8 /* PROPS */, ["icon", "disabled"])) : createCommentVNode("v-if", true), _ctx.type === 'search' ? (openBlock(), createElementBlock(Fragment, {
114
114
  key: 1
115
115
  }, [_ctx.modelValue ? (openBlock(), createBlock(_component_OrIconButton, {
@@ -117,7 +117,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
117
117
  icon: 'close',
118
118
  color: 'inherit',
119
119
  disabled: _ctx.readonly || _ctx.disabled,
120
- onClick: _cache[6] || (_cache[6] = withModifiers($event => _ctx.$emit('update:modelValue', ''), ["stop"]))
120
+ onClick: _cache[7] || (_cache[7] = withModifiers($event => _ctx.$emit('update:modelValue', ''), ["stop"]))
121
121
  }, null, 8 /* PROPS */, ["disabled"])) : (openBlock(), createBlock(_component_OrIcon, {
122
122
  key: 1,
123
123
  icon: 'search',
@@ -135,10 +135,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
135
135
  readonly: _ctx.readonly || _ctx.loading,
136
136
  disabled: _ctx.disabled,
137
137
  autocomplete: _ctx.autocomplete,
138
- onKeydown: _cache[1] || (_cache[1] = $event => _ctx.$emit('keydown', $event)),
139
- onKeyup: _cache[2] || (_cache[2] = $event => _ctx.$emit('keyup', $event)),
140
- onFocus: _cache[3] || (_cache[3] = $event => _ctx.$emit('focus', $event)),
141
- onBlur: _cache[4] || (_cache[4] = $event => _ctx.$emit('blur', $event))
138
+ onInput: _cache[1] || (_cache[1] = $event => _ctx.$emit('input', $event)),
139
+ onKeydown: _cache[2] || (_cache[2] = $event => _ctx.$emit('keydown', $event)),
140
+ onKeyup: _cache[3] || (_cache[3] = $event => _ctx.$emit('keyup', $event)),
141
+ onFocus: _cache[4] || (_cache[4] = $event => _ctx.$emit('focus', $event)),
142
+ onBlur: _cache[5] || (_cache[5] = $event => _ctx.$emit('blur', $event))
142
143
  }), null, 16 /* FULL_PROPS */, _hoisted_1), [[vModelDynamic, _ctx.proxyModelValue]])]),
143
144
  _: 1 /* STABLE */
144
145
  }, 8 /* PROPS */, ["variant", "size", "invalid", "readonly", "disabled"]), withDirectives(createElementVNode("div", _hoisted_2, [_ctx.hint || _ctx.maxLength ? (openBlock(), createBlock(_component_OrHint, {
@@ -78,7 +78,7 @@ declare const _default: import("vue-demi").DefineComponent<{
78
78
  isMobile: import("vue-demi").Ref<boolean>;
79
79
  focus: () => void;
80
80
  blur: () => void;
81
- }, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, ("update:modelValue" | "keydown" | "keyup" | "focus" | "blur")[], "update:modelValue" | "keydown" | "keyup" | "focus" | "blur", import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
81
+ }, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, ("update:modelValue" | "input" | "keydown" | "keyup" | "focus" | "blur")[], "update:modelValue" | "input" | "keydown" | "keyup" | "focus" | "blur", import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
82
82
  modelValue: {
83
83
  type: (StringConstructor | NumberConstructor)[];
84
84
  default: undefined;
@@ -133,6 +133,7 @@ declare const _default: import("vue-demi").DefineComponent<{
133
133
  };
134
134
  }>> & {
135
135
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
136
+ onInput?: ((...args: any[]) => any) | undefined;
136
137
  onKeydown?: ((...args: any[]) => any) | undefined;
137
138
  onKeyup?: ((...args: any[]) => any) | undefined;
138
139
  onFocus?: ((...args: any[]) => any) | undefined;
@@ -1,5 +1,5 @@
1
1
  export { InputType } from './props.js';
2
- export { s as OrInputV3 } from '../../OrInput.vue_vue_type_script_lang-66363c62.js';
2
+ export { s as OrInputV3 } from '../../OrInput.vue_vue_type_script_lang-0c8510c2.js';
3
3
  export { InputBoxSize as InputSize } from '../OrInputBoxV3/props.js';
4
4
  import 'vue-demi';
5
5
  import './styles.js';
@@ -1,5 +1,5 @@
1
- import { s as script } from '../../OrModal.vue_vue_type_script_lang-153819d3.js';
2
- export { s as default } from '../../OrModal.vue_vue_type_script_lang-153819d3.js';
1
+ import { s as script } from '../../OrModal.vue_vue_type_script_lang-c4ef6dd6.js';
2
+ export { s as default } from '../../OrModal.vue_vue_type_script_lang-c4ef6dd6.js';
3
3
  import { resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, normalizeClass, renderSlot, toDisplayString, withDirectives, vShow, createCommentVNode } from 'vue';
4
4
  import { s as styleInject } from '../../style-inject.es-4c6f2515.js';
5
5
  import 'vue-demi';
@@ -1,5 +1,5 @@
1
1
  export { OrModalSizes } from './constants.js';
2
- export { s as OrModal } from '../../OrModal.vue_vue_type_script_lang-153819d3.js';
2
+ export { s as OrModal } from '../../OrModal.vue_vue_type_script_lang-c4ef6dd6.js';
3
3
  import 'vue-demi';
4
4
  import '../../index-09d1cb24.js';
5
5
  import '../../index-f4d8e24c.js';
@@ -1,9 +1,9 @@
1
- import { s as script } from '../../OrSearch.vue_vue_type_script_lang-18dc2df8.js';
2
- export { s as default } from '../../OrSearch.vue_vue_type_script_lang-18dc2df8.js';
1
+ import { s as script } from '../../OrSearch.vue_vue_type_script_lang-756be4f1.js';
2
+ export { s as default } from '../../OrSearch.vue_vue_type_script_lang-756be4f1.js';
3
3
  import { resolveComponent, openBlock, createBlock, normalizeClass } from 'vue';
4
4
  import 'vue-demi';
5
5
  import '../OrInputV3/OrInput.js';
6
- import '../../OrInput.vue_vue_type_script_lang-66363c62.js';
6
+ import '../../OrInput.vue_vue_type_script_lang-0c8510c2.js';
7
7
  import '../OrInputV3/props.js';
8
8
  import '../OrInputBoxV3/props.js';
9
9
  import '../OrInputV3/styles.js';
@@ -1,8 +1,8 @@
1
- export { s as OrSearchV3 } from '../../OrSearch.vue_vue_type_script_lang-18dc2df8.js';
1
+ export { s as OrSearchV3 } from '../../OrSearch.vue_vue_type_script_lang-756be4f1.js';
2
2
  export { InputBoxSize as SearchSize } from '../OrInputBoxV3/props.js';
3
3
  import 'vue-demi';
4
4
  import '../OrInputV3/OrInput.js';
5
- import '../../OrInput.vue_vue_type_script_lang-66363c62.js';
5
+ import '../../OrInput.vue_vue_type_script_lang-0c8510c2.js';
6
6
  import '../OrInputV3/props.js';
7
7
  import '../OrInputV3/styles.js';
8
8
  import '../OrErrorV3/OrError.js';
@@ -1,5 +1,5 @@
1
- import { s as script } from '../../OrSelect.vue_vue_type_script_lang-72c1db17.js';
2
- export { s as default } from '../../OrSelect.vue_vue_type_script_lang-72c1db17.js';
1
+ import { s as script } from '../../OrSelect.vue_vue_type_script_lang-dc33e8c8.js';
2
+ export { s as default } from '../../OrSelect.vue_vue_type_script_lang-dc33e8c8.js';
3
3
  import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, createElementVNode, Fragment, renderList, createVNode, withModifiers, vShow } from 'vue';
4
4
  import 'vue-demi';
5
5
  import '../../utils/isEmptyValue.js';
@@ -32,7 +32,7 @@ import '../OrHintV3/OrHint.js';
32
32
  import '../../OrHint.vue_vue_type_script_lang-0f5e8377.js';
33
33
  import '../OrHintV3/styles.js';
34
34
  import '../OrInputV3/OrInput.js';
35
- import '../../OrInput.vue_vue_type_script_lang-66363c62.js';
35
+ import '../../OrInput.vue_vue_type_script_lang-0c8510c2.js';
36
36
  import '../OrInputV3/props.js';
37
37
  import '../OrInputBoxV3/props.js';
38
38
  import '../OrInputV3/styles.js';
@@ -1,4 +1,4 @@
1
- export { s as OrSelectV3 } from '../../OrSelect.vue_vue_type_script_lang-72c1db17.js';
1
+ export { s as OrSelectV3 } from '../../OrSelect.vue_vue_type_script_lang-dc33e8c8.js';
2
2
  export { InputBoxSize as SelectSize } from '../OrInputBoxV3/props.js';
3
3
  import 'vue-demi';
4
4
  import '../../utils/isEmptyValue.js';
@@ -32,7 +32,7 @@ import '../OrHintV3/OrHint.js';
32
32
  import '../../OrHint.vue_vue_type_script_lang-0f5e8377.js';
33
33
  import '../OrHintV3/styles.js';
34
34
  import '../OrInputV3/OrInput.js';
35
- import '../../OrInput.vue_vue_type_script_lang-66363c62.js';
35
+ import '../../OrInput.vue_vue_type_script_lang-0c8510c2.js';
36
36
  import '../OrInputV3/props.js';
37
37
  import '../OrInputV3/styles.js';
38
38
  import '../OrIconButtonV3/OrIconButton.js';