@onereach/ui-components 2.62.3-beta.1902.0 → 2.62.3-beta.1904.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.
- package/dist/v2/OrCardCollection-89a315ed.js +227 -0
- package/dist/v2/{OrConfirm-f3aed6d3.js → OrConfirm-3896bd11.js} +1 -1
- package/dist/v2/{OrIconButton-94c69467.js → OrIconButton-1b34f3fa.js} +1 -1
- package/dist/v2/{OrInlineInput-50da2b1f.js → OrInlineInput-c1d6fb73.js} +6 -6
- package/dist/v2/{OrInlineTextarea-94253b64.js → OrInlineTextarea-7ec4c40d.js} +6 -6
- package/dist/v2/{OrInput-040147f3.js → OrInput-0508c3fb.js} +6 -6
- package/dist/v2/{OrModal-e4439825.js → OrModal-1ed53441.js} +1 -1
- package/dist/v2/{OrNotification-be6132e6.js → OrNotification-e2d510b3.js} +1 -1
- package/dist/v2/{OrSearch-375ad422.js → OrSearch-feca9f48.js} +1 -1
- package/dist/v2/{OrSelect-846e9a87.js → OrSelect-bb539517.js} +4 -4
- package/dist/v2/OrSortHeader-a6004b24.js +133 -0
- package/dist/v2/{OrTag-02320f5f.js → OrTag-c42c3f9c.js} +1 -1
- package/dist/v2/{OrTextarea-8773d494.js → OrTextarea-cc70afc9.js} +5 -5
- package/dist/v2/{OrTooltip-afe7030b.js → OrTooltip-caeac590.js} +3 -33
- package/dist/v2/components/index.d.ts +2 -0
- package/dist/v2/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +17 -0
- package/dist/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +98 -0
- package/dist/v2/components/or-card-collection-v3/index.d.ts +3 -0
- package/dist/v2/components/or-card-collection-v3/props.d.ts +4 -0
- package/dist/v2/components/or-card-collection-v3/styles.d.ts +6 -0
- package/dist/v2/components/or-card-collection-v3/types.d.ts +7 -0
- package/dist/v2/components/or-sort-header-v3/OrSortHeader.stories3.d.ts +12 -0
- package/dist/v2/components/or-sort-header-v3/OrSortHeader.vue.d.ts +57 -0
- package/dist/v2/components/or-sort-header-v3/index.d.ts +2 -0
- package/dist/v2/components/or-sort-header-v3/styles.d.ts +1 -0
- package/dist/v2/components/or-sort-header-v3/types.d.ts +4 -0
- package/dist/v2/components/or-tooltip-v3/styles.d.ts +0 -2
- package/dist/v2/index.js +15 -13
- package/dist/v2/index11.js +20 -1
- package/dist/v2/index12.js +3 -12
- package/dist/v2/index13.js +3 -2
- package/dist/v2/index14.js +11 -5
- package/dist/v2/index15.js +5 -14
- package/dist/v2/index16.js +4 -19
- package/dist/v2/index17.js +28 -4
- package/dist/v2/index18.js +3 -7
- package/dist/v2/index19.js +5 -23
- package/dist/v2/index2.js +15 -13
- package/dist/v2/index20.js +25 -21
- package/dist/v2/index21.js +21 -18
- package/dist/v2/index22.js +20 -2
- package/dist/v2/index23.js +2 -4
- package/dist/v2/index24.js +2 -1
- package/dist/v2/index25.js +1 -2
- package/dist/v2/index26.js +2 -2
- package/dist/v2/index27.js +4 -7
- package/dist/v2/index28.js +6 -2
- package/dist/v2/index29.js +3 -3
- package/dist/v2/index30.js +3 -10
- package/dist/v2/index31.js +9 -12
- package/dist/v2/index32.js +11 -1
- package/dist/v2/index33.js +1 -1
- package/dist/v2/index34.js +1 -16
- package/dist/v2/index35.js +17 -17
- package/dist/v2/index36.js +17 -17
- package/dist/v2/index37.js +16 -1
- package/dist/v2/index38.js +1 -17
- package/dist/v2/index39.js +18 -22
- package/dist/v2/index40.js +22 -2
- package/dist/v2/index41.js +3 -3
- package/dist/v2/index42.js +1 -1
- package/dist/v2/index43.js +3 -20
- package/dist/v2/index44.js +1 -7
- package/dist/v2/index45.js +24 -1
- package/dist/v2/index46.js +3 -3
- package/dist/v2/index47.js +1 -2
- package/dist/v2/index48.js +2 -9
- package/dist/v2/index49.js +10 -17
- package/dist/v2/index50.js +17 -13
- package/dist/v2/index51.js +13 -14
- package/dist/v2/index52.js +14 -13
- package/dist/v2/index53.js +12 -15
- package/dist/v2/index54.js +16 -1
- package/dist/v2/index55.js +2 -6
- package/dist/v2/index56.js +1 -5
- package/dist/v2/index57.js +10 -3
- package/dist/v2/index58.js +2 -4
- package/dist/v2/index59.js +5 -3
- package/dist/v2/index60.js +2 -1
- package/dist/v2/index61.js +2 -5
- package/dist/v2/index62.js +3 -18
- package/dist/v2/index63.js +18 -15
- package/dist/v2/index64.js +15 -23
- package/dist/v2/index65.js +25 -4
- package/dist/v2/index66.js +2 -1
- package/dist/v2/index67.js +3 -4
- package/dist/v2/index68.js +3 -4
- package/dist/v2/index69.js +3 -10
- package/dist/v2/index70.js +3 -6
- package/dist/v2/index71.js +4 -4
- package/dist/v2/index72.js +15 -6
- package/dist/v2/index73.js +2 -2
- package/dist/v2/index74.js +6 -3
- package/dist/v2/index75.js +4 -3
- package/dist/v2/index76.js +1 -2
- package/dist/v2/index77.js +2 -14
- package/dist/v2/index78.js +2 -10
- package/dist/v2/index79.js +5 -4
- package/dist/v2/index80.js +12 -2
- package/dist/v2/index81.js +14 -2
- package/dist/v2/index82.js +2 -3
- package/dist/v2/index83.js +2 -8
- package/dist/v2/index84.js +2 -20
- package/dist/v2/index85.js +8 -18
- package/dist/v2/index86.js +21 -1
- package/dist/v2/index87.js +17 -16
- package/dist/v2/index88.js +1 -1
- package/dist/v2/index89.js +17 -9
- package/dist/v2/index90.js +2 -12
- package/dist/v2/index91.js +10 -6
- package/dist/v2/index92.js +11 -1
- package/dist/v2/index93.js +7 -0
- package/dist/v2/index94.js +3 -0
- package/dist/v2/{types-dd4c7282.js → types-8ea6482d.js} +1 -1
- package/dist/v3/OrCardCollection-85a00f6c.js +198 -0
- package/dist/v3/{OrConfirm-58aa4260.js → OrConfirm-9990d64a.js} +1 -1
- package/dist/v3/{OrIconButton-eef9eb43.js → OrIconButton-f9226adf.js} +1 -1
- package/dist/v3/{OrInlineInput-0c87838c.js → OrInlineInput-bc5fa87a.js} +6 -4
- package/dist/v3/{OrInlineTextarea-d50f03b7.js → OrInlineTextarea-c433b451.js} +6 -4
- package/dist/v3/{OrInput-d34c8571.js → OrInput-2b05a69c.js} +6 -4
- package/dist/v3/{OrModal-179f5a1a.js → OrModal-0713f927.js} +1 -1
- package/dist/v3/{OrNotification-4a0dc24a.js → OrNotification-7ef1b4e7.js} +1 -1
- package/dist/v3/{OrSearch-95d4e098.js → OrSearch-1272c3df.js} +1 -1
- package/dist/v3/{OrSelect-32f188bd.js → OrSelect-529b4567.js} +7 -5
- package/dist/v3/OrSortHeader-5eba50cd.js +104 -0
- package/dist/v3/{OrTag-d1f3a0d0.js → OrTag-60585386.js} +1 -1
- package/dist/v3/{OrTextarea-09aa33dc.js → OrTextarea-98895b2a.js} +6 -4
- package/dist/v3/{OrTooltip-36c6728c.js → OrTooltip-30e05f9e.js} +3 -33
- package/dist/v3/components/index.d.ts +2 -0
- package/dist/v3/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +17 -0
- package/dist/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +98 -0
- package/dist/v3/components/or-card-collection-v3/index.d.ts +3 -0
- package/dist/v3/components/or-card-collection-v3/props.d.ts +4 -0
- package/dist/v3/components/or-card-collection-v3/styles.d.ts +6 -0
- package/dist/v3/components/or-card-collection-v3/types.d.ts +7 -0
- package/dist/v3/components/or-sort-header-v3/OrSortHeader.stories3.d.ts +12 -0
- package/dist/v3/components/or-sort-header-v3/OrSortHeader.vue.d.ts +57 -0
- package/dist/v3/components/or-sort-header-v3/index.d.ts +2 -0
- package/dist/v3/components/or-sort-header-v3/styles.d.ts +1 -0
- package/dist/v3/components/or-sort-header-v3/types.d.ts +4 -0
- package/dist/v3/components/or-tooltip-v3/styles.d.ts +0 -2
- package/dist/v3/index.js +15 -13
- package/dist/v3/index11.js +19 -1
- package/dist/v3/index12.js +3 -11
- package/dist/v3/index13.js +3 -2
- package/dist/v3/index14.js +9 -4
- package/dist/v3/index15.js +4 -11
- package/dist/v3/index16.js +3 -17
- package/dist/v3/index17.js +25 -4
- package/dist/v3/index18.js +3 -6
- package/dist/v3/index19.js +5 -20
- package/dist/v3/index2.js +15 -13
- package/dist/v3/index20.js +21 -20
- package/dist/v3/index21.js +20 -15
- package/dist/v3/index22.js +16 -1
- package/dist/v3/index23.js +2 -4
- package/dist/v3/index24.js +2 -1
- package/dist/v3/index25.js +1 -2
- package/dist/v3/index26.js +2 -2
- package/dist/v3/index27.js +4 -6
- package/dist/v3/index28.js +5 -2
- package/dist/v3/index29.js +3 -3
- package/dist/v3/index30.js +3 -9
- package/dist/v3/index31.js +8 -11
- package/dist/v3/index32.js +10 -1
- package/dist/v3/index33.js +1 -1
- package/dist/v3/index34.js +1 -15
- package/dist/v3/index35.js +16 -14
- package/dist/v3/index36.js +14 -16
- package/dist/v3/index37.js +16 -2
- package/dist/v3/index38.js +2 -17
- package/dist/v3/index39.js +17 -17
- package/dist/v3/index40.js +16 -1
- package/dist/v3/index41.js +3 -3
- package/dist/v3/index42.js +1 -1
- package/dist/v3/index43.js +3 -16
- package/dist/v3/index44.js +1 -7
- package/dist/v3/index45.js +20 -1
- package/dist/v3/index46.js +3 -3
- package/dist/v3/index47.js +1 -2
- package/dist/v3/index48.js +2 -8
- package/dist/v3/index49.js +9 -14
- package/dist/v3/index50.js +14 -12
- package/dist/v3/index51.js +12 -11
- package/dist/v3/index52.js +11 -12
- package/dist/v3/index53.js +11 -11
- package/dist/v3/index54.js +12 -1
- package/dist/v3/index55.js +2 -5
- package/dist/v3/index56.js +1 -5
- package/dist/v3/index57.js +9 -3
- package/dist/v3/index58.js +2 -4
- package/dist/v3/index59.js +5 -3
- package/dist/v3/index60.js +2 -1
- package/dist/v3/index61.js +1 -4
- package/dist/v3/index62.js +3 -17
- package/dist/v3/index63.js +17 -14
- package/dist/v3/index64.js +13 -21
- package/dist/v3/index65.js +23 -3
- package/dist/v3/index66.js +2 -1
- package/dist/v3/index67.js +3 -4
- package/dist/v3/index68.js +3 -4
- package/dist/v3/index69.js +3 -9
- package/dist/v3/index70.js +3 -4
- package/dist/v3/index71.js +4 -4
- package/dist/v3/index72.js +11 -5
- package/dist/v3/index73.js +2 -2
- package/dist/v3/index74.js +5 -2
- package/dist/v3/index75.js +4 -3
- package/dist/v3/index76.js +1 -2
- package/dist/v3/index77.js +2 -13
- package/dist/v3/index78.js +2 -9
- package/dist/v3/index79.js +5 -4
- package/dist/v3/index80.js +11 -1
- package/dist/v3/index81.js +13 -1
- package/dist/v3/index82.js +1 -3
- package/dist/v3/index83.js +1 -8
- package/dist/v3/index84.js +2 -17
- package/dist/v3/index85.js +7 -14
- package/dist/v3/index86.js +18 -1
- package/dist/v3/index87.js +14 -15
- package/dist/v3/index88.js +1 -1
- package/dist/v3/index89.js +15 -6
- package/dist/v3/index90.js +2 -11
- package/dist/v3/index91.js +8 -6
- package/dist/v3/index92.js +10 -1
- package/dist/v3/index93.js +7 -0
- package/dist/v3/index94.js +3 -0
- package/dist/v3/{types-8ff779b1.js → types-e4403486.js} +1 -1
- package/package.json +1 -1
- package/src/components/index.ts +2 -0
- package/src/components/or-card-collection-v3/OrCardCollection.docs.mdx +3 -0
- package/src/components/or-card-collection-v3/OrCardCollection.stories3.ts +162 -0
- package/src/components/or-card-collection-v3/OrCardCollection.vue +210 -0
- package/src/components/or-card-collection-v3/index.ts +3 -0
- package/src/components/or-card-collection-v3/props.ts +4 -0
- package/src/components/or-card-collection-v3/styles.ts +53 -0
- package/src/components/or-card-collection-v3/types.ts +8 -0
- package/src/components/or-inline-input-v3/OrInlineInput.vue +12 -10
- package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +12 -10
- package/src/components/or-input-v3/OrInput.vue +12 -10
- package/src/components/or-select-v3/OrSelect.vue +5 -3
- package/src/components/or-sort-header-v3/OrSortHeader.docs.mdx +3 -0
- package/src/components/or-sort-header-v3/OrSortHeader.stories3.ts +132 -0
- package/src/components/or-sort-header-v3/OrSortHeader.vue +111 -0
- package/src/components/or-sort-header-v3/index.ts +2 -0
- package/src/components/or-sort-header-v3/styles.ts +23 -0
- package/src/components/or-sort-header-v3/types.ts +4 -0
- package/src/components/or-textarea-v3/OrTextarea.vue +12 -10
- package/src/components/or-tooltip-v3/OrTooltip.vue +2 -3
- package/src/components/or-tooltip-v3/styles.ts +0 -55
|
@@ -3,9 +3,9 @@ import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import { s as script$1 } from './OrError-19a62a18.js';
|
|
5
5
|
import { s as script$2 } from './OrHint-73835593.js';
|
|
6
|
-
import { s as script$3 } from './OrIconButton-
|
|
6
|
+
import { s as script$3 } from './OrIconButton-f9226adf.js';
|
|
7
7
|
import { s as script$4 } from './OrInlineInputBox-1b473796.js';
|
|
8
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, withCtx, withDirectives, mergeProps, vModelText, withModifiers, createCommentVNode, createBlock, createSlots, createTextVNode, toDisplayString } from 'vue';
|
|
8
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, withCtx, withDirectives, mergeProps, vModelText, withModifiers, createCommentVNode, Fragment, createBlock, createSlots, createTextVNode, toDisplayString } from 'vue';
|
|
9
9
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
10
10
|
|
|
11
11
|
const InlineTextareaRoot = [
|
|
@@ -186,7 +186,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
186
186
|
icon: 'close',
|
|
187
187
|
color: 'inherit',
|
|
188
188
|
onClick: withModifiers(_ctx.reset, ["stop"])
|
|
189
|
-
}, null, 8 /* PROPS */, ["onClick"])], 2 /* CLASS */)) : createCommentVNode("v-if", true)]), !_ctx.invalid ? (openBlock(),
|
|
189
|
+
}, null, 8 /* PROPS */, ["onClick"])], 2 /* CLASS */)) : createCommentVNode("v-if", true)]), !_ctx.invalid ? (openBlock(), createElementBlock(Fragment, {
|
|
190
|
+
key: 0
|
|
191
|
+
}, [_ctx.hint || _ctx.maxLength ? (openBlock(), createBlock(_component_OrHint, {
|
|
190
192
|
key: 0
|
|
191
193
|
}, createSlots({
|
|
192
194
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.hint) + " ", 1 /* TEXT */)]),
|
|
@@ -197,7 +199,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
197
199
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
198
200
|
|
|
199
201
|
key: "0"
|
|
200
|
-
} : undefined]), 1024 /* DYNAMIC_SLOTS */)) : (openBlock(), createBlock(_component_OrError, {
|
|
202
|
+
} : undefined]), 1024 /* DYNAMIC_SLOTS */)) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createBlock(_component_OrError, {
|
|
201
203
|
key: 1
|
|
202
204
|
}, createSlots({
|
|
203
205
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.error) + " ", 1 /* TEXT */)]),
|
|
@@ -3,7 +3,7 @@ import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import { s as script$1 } from './OrError-19a62a18.js';
|
|
5
5
|
import { s as script$2 } from './OrHint-73835593.js';
|
|
6
|
-
import { s as script$4 } from './OrIconButton-
|
|
6
|
+
import { s as script$4 } from './OrIconButton-f9226adf.js';
|
|
7
7
|
import { s as script$3 } from './OrIcon-b3906e35.js';
|
|
8
8
|
import { s as script$5, a as InputBoxSize } from './OrInputBox-634230b1.js';
|
|
9
9
|
import { s as script$6 } from './OrLabel-7d4fe80b.js';
|
|
@@ -209,8 +209,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
209
209
|
variant: 'outlined'
|
|
210
210
|
}))], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true)]),
|
|
211
211
|
_: 1 /* STABLE */
|
|
212
|
-
}, 8 /* PROPS */, ["variant", "size", "invalid", "readonly", "disabled"]), !_ctx.invalid ? (openBlock(),
|
|
213
|
-
key: 1
|
|
212
|
+
}, 8 /* PROPS */, ["variant", "size", "invalid", "readonly", "disabled"]), !_ctx.invalid ? (openBlock(), createElementBlock(Fragment, {
|
|
213
|
+
key: 1
|
|
214
|
+
}, [_ctx.hint || _ctx.maxLength ? (openBlock(), createBlock(_component_OrHint, {
|
|
215
|
+
key: 0,
|
|
214
216
|
disabled: _ctx.disabled
|
|
215
217
|
}, createSlots({
|
|
216
218
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.hint) + " ", 1 /* TEXT */)]),
|
|
@@ -221,7 +223,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
221
223
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
222
224
|
|
|
223
225
|
key: "0"
|
|
224
|
-
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])) : (openBlock(), createBlock(_component_OrError, {
|
|
226
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createBlock(_component_OrError, {
|
|
225
227
|
key: 2,
|
|
226
228
|
disabled: _ctx.disabled
|
|
227
229
|
}, createSlots({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
2
|
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
|
-
import { s as script$2 } from './OrIconButton-
|
|
4
|
+
import { s as script$2 } from './OrIconButton-f9226adf.js';
|
|
5
5
|
import { s as script$1 } from './OrOverlay-27050c19.js';
|
|
6
6
|
import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, normalizeClass, renderSlot, createVNode, withModifiers, createCommentVNode } from 'vue';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
2
|
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
|
-
import { s as script$2 } from './OrIconButton-
|
|
4
|
+
import { s as script$2 } from './OrIconButton-f9226adf.js';
|
|
5
5
|
import { s as script$1 } from './OrIcon-b3906e35.js';
|
|
6
6
|
import { resolveComponent, openBlock, createElementBlock, mergeProps, createElementVNode, normalizeClass, createVNode, renderSlot, withModifiers } from 'vue';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
2
|
import { debouncedWatch } from '@vueuse/core';
|
|
3
3
|
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
4
|
-
import { s as script$1 } from './OrInput-
|
|
4
|
+
import { s as script$1 } from './OrInput-2b05a69c.js';
|
|
5
5
|
import { a as InputBoxSize } from './OrInputBox-634230b1.js';
|
|
6
6
|
import { resolveComponent, openBlock, createBlock, mergeProps } from 'vue';
|
|
7
7
|
|
|
@@ -8,11 +8,11 @@ import { s as script$3 } from './OrExpansionPanel-1e2a6375.js';
|
|
|
8
8
|
import { s as script$4 } from './OrHint-73835593.js';
|
|
9
9
|
import { s as script$5 } from './OrIcon-b3906e35.js';
|
|
10
10
|
import { s as script$7, a as InputBoxSize } from './OrInputBox-634230b1.js';
|
|
11
|
-
import { s as script$6 } from './OrInput-
|
|
11
|
+
import { s as script$6 } from './OrInput-2b05a69c.js';
|
|
12
12
|
import { s as script$8 } from './OrLabel-7d4fe80b.js';
|
|
13
13
|
import { s as script$9 } from './OrMenuItem-8773d073.js';
|
|
14
14
|
import { s as script$a } from './OrPopover-3525c670.js';
|
|
15
|
-
import { s as script$b } from './OrTag-
|
|
15
|
+
import { s as script$b } from './OrTag-60585386.js';
|
|
16
16
|
import { resolveComponent, resolveDirective, openBlock, createElementBlock, mergeProps, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, normalizeClass, createElementVNode, Fragment, renderList, createVNode, withModifiers } from 'vue';
|
|
17
17
|
|
|
18
18
|
const created$1 = (element, binding) => {
|
|
@@ -484,14 +484,16 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
484
484
|
_: 3 /* FORWARDED */
|
|
485
485
|
}, 8 /* PROPS */, ["class", "trigger"])]),
|
|
486
486
|
_: 3 /* FORWARDED */
|
|
487
|
-
}, 8 /* PROPS */, ["class", "size", "invalid", "readonly", "disabled"])), [[_directive_dropdown_open, _ctx.open], [_directive_dropdown_close, _ctx.close]]), !_ctx.invalid ? (openBlock(),
|
|
488
|
-
key: 1
|
|
487
|
+
}, 8 /* PROPS */, ["class", "size", "invalid", "readonly", "disabled"])), [[_directive_dropdown_open, _ctx.open], [_directive_dropdown_close, _ctx.close]]), !_ctx.invalid ? (openBlock(), createElementBlock(Fragment, {
|
|
488
|
+
key: 1
|
|
489
|
+
}, [_ctx.hint ? (openBlock(), createBlock(_component_OrHint, {
|
|
490
|
+
key: 0,
|
|
489
491
|
disabled: _ctx.disabled
|
|
490
492
|
}, {
|
|
491
493
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.hint), 1 /* TEXT */)]),
|
|
492
494
|
|
|
493
495
|
_: 1 /* STABLE */
|
|
494
|
-
}, 8 /* PROPS */, ["disabled"])) : (openBlock(), createBlock(_component_OrError, {
|
|
496
|
+
}, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createBlock(_component_OrError, {
|
|
495
497
|
key: 2,
|
|
496
498
|
disabled: _ctx.disabled
|
|
497
499
|
}, {
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
+
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
3
|
+
import '@vueuse/core';
|
|
4
|
+
import { s as script$1 } from './OrIcon-b3906e35.js';
|
|
5
|
+
import { resolveComponent, openBlock, createElementBlock, mergeProps, withModifiers, renderSlot, createBlock, normalizeClass, createCommentVNode } from 'vue';
|
|
6
|
+
|
|
7
|
+
const SortHeaderRoot = [
|
|
8
|
+
// Layout
|
|
9
|
+
'inline-flex', 'justify-normal', 'items-center',
|
|
10
|
+
// Interactivity
|
|
11
|
+
'interactivity-auto',
|
|
12
|
+
// Typography
|
|
13
|
+
'typography-caption-regular',
|
|
14
|
+
// Typography (activated)
|
|
15
|
+
'activated:typography-caption-semibold',
|
|
16
|
+
// Theme
|
|
17
|
+
'theme-foreground-outline', 'dark:theme-foreground-outline-dark',
|
|
18
|
+
// Theme (activated)
|
|
19
|
+
'activated:theme-foreground-default', 'dark:activated:theme-foreground-default-dark'];
|
|
20
|
+
|
|
21
|
+
var script = defineComponent({
|
|
22
|
+
name: 'OrSortHeader',
|
|
23
|
+
components: {
|
|
24
|
+
OrIcon: script$1
|
|
25
|
+
},
|
|
26
|
+
inheritAttrs: false,
|
|
27
|
+
props: {
|
|
28
|
+
modelValue: {
|
|
29
|
+
type: Object,
|
|
30
|
+
default: undefined
|
|
31
|
+
},
|
|
32
|
+
value: {
|
|
33
|
+
type: Object,
|
|
34
|
+
default: undefined
|
|
35
|
+
},
|
|
36
|
+
inputValue: {
|
|
37
|
+
type: String,
|
|
38
|
+
required: true
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
emits: ['update:modelValue', 'input', 'focus', 'blur'],
|
|
42
|
+
expose: ['root'],
|
|
43
|
+
setup(props, context) {
|
|
44
|
+
// Refs
|
|
45
|
+
const root = ref();
|
|
46
|
+
// Styles
|
|
47
|
+
const classAttribute = useClassAttribute();
|
|
48
|
+
const rootStyles = computed(() => ['or-sort-header', ...SortHeaderRoot, classAttribute.value]);
|
|
49
|
+
// State
|
|
50
|
+
const proxyModelValue = computed({
|
|
51
|
+
get: () => {
|
|
52
|
+
var _a;
|
|
53
|
+
return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
|
|
54
|
+
},
|
|
55
|
+
|
|
56
|
+
set: value => {
|
|
57
|
+
context.emit('input', value);
|
|
58
|
+
context.emit('update:modelValue', value);
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
const activated = computed(() => {
|
|
62
|
+
var _a;
|
|
63
|
+
return ((_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.column) === props.inputValue;
|
|
64
|
+
});
|
|
65
|
+
// Methods
|
|
66
|
+
function toggleDirection() {
|
|
67
|
+
var _a;
|
|
68
|
+
proxyModelValue.value = {
|
|
69
|
+
column: props.inputValue,
|
|
70
|
+
direction: ((_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.direction) === 'asc' ? 'desc' : 'asc'
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
return {
|
|
74
|
+
root,
|
|
75
|
+
rootStyles,
|
|
76
|
+
proxyModelValue,
|
|
77
|
+
activated,
|
|
78
|
+
toggleDirection
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
const _hoisted_1 = ["activated"];
|
|
84
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
85
|
+
const _component_OrIcon = resolveComponent("OrIcon");
|
|
86
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
87
|
+
ref: "root"
|
|
88
|
+
}, _ctx.$attrs, {
|
|
89
|
+
class: _ctx.rootStyles,
|
|
90
|
+
activated: _ctx.activated ? '' : null,
|
|
91
|
+
onClick: _cache[0] || (_cache[0] = withModifiers($event => _ctx.toggleDirection(), ["stop"]))
|
|
92
|
+
}), [renderSlot(_ctx.$slots, "default"), _ctx.activated ? (openBlock(), createBlock(_component_OrIcon, {
|
|
93
|
+
key: 0,
|
|
94
|
+
class: normalizeClass({
|
|
95
|
+
'rotate-180': _ctx.proxyModelValue.direction === 'asc'
|
|
96
|
+
}),
|
|
97
|
+
icon: 'arrow_downward'
|
|
98
|
+
}, null, 8 /* PROPS */, ["class"])) : createCommentVNode("v-if", true)], 16 /* FULL_PROPS */, _hoisted_1);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
script.render = render;
|
|
102
|
+
script.__file = "src/components/or-sort-header-v3/OrSortHeader.vue";
|
|
103
|
+
|
|
104
|
+
export { script as s };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watchPostEffect, unref } from 'vue-demi';
|
|
2
2
|
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
|
-
import { s as script$1 } from './OrIconButton-
|
|
4
|
+
import { s as script$1 } from './OrIconButton-f9226adf.js';
|
|
5
5
|
import { resolveComponent, openBlock, createElementBlock, mergeProps, renderSlot, createBlock, normalizeClass, withModifiers, createCommentVNode } from 'vue';
|
|
6
6
|
|
|
7
7
|
var TagVariant;
|
|
@@ -5,7 +5,7 @@ import { s as script$1 } from './OrError-19a62a18.js';
|
|
|
5
5
|
import { s as script$2 } from './OrHint-73835593.js';
|
|
6
6
|
import { s as script$3, a as InputBoxSize } from './OrInputBox-634230b1.js';
|
|
7
7
|
import { s as script$4 } from './OrLabel-7d4fe80b.js';
|
|
8
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, mergeProps, vModelText, createSlots } from 'vue';
|
|
8
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, mergeProps, vModelText, Fragment, createSlots } from 'vue';
|
|
9
9
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
10
10
|
|
|
11
11
|
const TextareaRoot = [
|
|
@@ -153,8 +153,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
153
153
|
onBlur: _cache[4] || (_cache[4] = $event => _ctx.$emit('blur', $event))
|
|
154
154
|
}), null, 16 /* FULL_PROPS */, _hoisted_1), [[vModelText, _ctx.proxyModelValue]])]),
|
|
155
155
|
_: 1 /* STABLE */
|
|
156
|
-
}, 8 /* PROPS */, ["size", "invalid", "readonly", "disabled"]), !_ctx.invalid ? (openBlock(),
|
|
157
|
-
key: 1
|
|
156
|
+
}, 8 /* PROPS */, ["size", "invalid", "readonly", "disabled"]), !_ctx.invalid ? (openBlock(), createElementBlock(Fragment, {
|
|
157
|
+
key: 1
|
|
158
|
+
}, [_ctx.hint || _ctx.maxLength ? (openBlock(), createBlock(_component_OrHint, {
|
|
159
|
+
key: 0,
|
|
158
160
|
disabled: _ctx.disabled
|
|
159
161
|
}, createSlots({
|
|
160
162
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.hint) + " ", 1 /* TEXT */)]),
|
|
@@ -165,7 +167,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
165
167
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
166
168
|
|
|
167
169
|
key: "0"
|
|
168
|
-
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])) : (openBlock(), createBlock(_component_OrError, {
|
|
170
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createBlock(_component_OrError, {
|
|
169
171
|
key: 2,
|
|
170
172
|
disabled: _ctx.disabled
|
|
171
173
|
}, createSlots({
|
|
@@ -11,41 +11,11 @@ const TooltipBody = [
|
|
|
11
11
|
// Box
|
|
12
12
|
'max-w-max', 'rounded-sm',
|
|
13
13
|
// Sizing
|
|
14
|
-
'
|
|
14
|
+
'px-sm', 'py-xs',
|
|
15
15
|
// Typography
|
|
16
16
|
'typography-caption-regular',
|
|
17
17
|
// Theme
|
|
18
18
|
'bg-inverse-surface', 'dark:bg-inverse-surface-dark', 'text-inverse-on-surface', 'dark:text-inverse-on-surface-dark'];
|
|
19
|
-
const TooltipBodyPlacements = {
|
|
20
|
-
'top': [],
|
|
21
|
-
'top-start': [
|
|
22
|
-
// Sizing
|
|
23
|
-
'ml-none'],
|
|
24
|
-
'top-end': [
|
|
25
|
-
// Sizing
|
|
26
|
-
'mr-none'],
|
|
27
|
-
'bottom': [],
|
|
28
|
-
'bottom-start': [
|
|
29
|
-
// Sizing
|
|
30
|
-
'ml-none'],
|
|
31
|
-
'bottom-end': [
|
|
32
|
-
// Sizing
|
|
33
|
-
'mr-none'],
|
|
34
|
-
'left': [],
|
|
35
|
-
'left-start': [
|
|
36
|
-
// Sizing
|
|
37
|
-
'mt-none'],
|
|
38
|
-
'left-end': [
|
|
39
|
-
// Sizing
|
|
40
|
-
'mb-none'],
|
|
41
|
-
'right': [],
|
|
42
|
-
'right-start': [
|
|
43
|
-
// Sizing
|
|
44
|
-
'mt-none'],
|
|
45
|
-
'right-end': [
|
|
46
|
-
// Sizing
|
|
47
|
-
'mb-none']
|
|
48
|
-
};
|
|
49
19
|
|
|
50
20
|
var script = defineComponent({
|
|
51
21
|
name: 'OrTooltip',
|
|
@@ -65,7 +35,7 @@ var script = defineComponent({
|
|
|
65
35
|
},
|
|
66
36
|
emits: ['update:state'],
|
|
67
37
|
expose: ['root', 'open', 'close'],
|
|
68
|
-
setup(
|
|
38
|
+
setup() {
|
|
69
39
|
// Refs
|
|
70
40
|
const root = ref();
|
|
71
41
|
const popover = ref();
|
|
@@ -76,7 +46,7 @@ var script = defineComponent({
|
|
|
76
46
|
// Styles
|
|
77
47
|
const classAttribute = useClassAttribute();
|
|
78
48
|
const rootStyles = computed(() => ['or-tooltip', ...TooltipRoot, classAttribute.value]);
|
|
79
|
-
const bodyStyles = computed(() => [...TooltipBody
|
|
49
|
+
const bodyStyles = computed(() => [...TooltipBody]);
|
|
80
50
|
// Methods
|
|
81
51
|
function open() {
|
|
82
52
|
const popoverInstance = popover.value;
|
|
@@ -6,6 +6,7 @@ export * from './or-button-v2';
|
|
|
6
6
|
export * from './or-button-v3';
|
|
7
7
|
export * from './or-card';
|
|
8
8
|
export * from './or-card-collection';
|
|
9
|
+
export * from './or-card-collection-v3';
|
|
9
10
|
export * from './or-card-v3';
|
|
10
11
|
export * from './or-carousel';
|
|
11
12
|
export * from './or-checkbox';
|
|
@@ -65,6 +66,7 @@ export * from './or-sidebar-v3';
|
|
|
65
66
|
export * from './or-skeleton';
|
|
66
67
|
export * from './or-skeleton-v3';
|
|
67
68
|
export * from './or-slider';
|
|
69
|
+
export * from './or-sort-header-v3';
|
|
68
70
|
export * from './or-stepper';
|
|
69
71
|
export * from './or-switch';
|
|
70
72
|
export * from './or-switch-v3';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Meta, StoryFn } from '@storybook/vue3';
|
|
2
|
+
declare const _default: Meta<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
3
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
4
|
+
} | string[], {} & {}, {
|
|
5
|
+
[x: number]: string;
|
|
6
|
+
} | {}, true>)>;
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Default: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
9
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
10
|
+
} | string[], {} & {}, {
|
|
11
|
+
[x: number]: string;
|
|
12
|
+
} | {}, true>)>;
|
|
13
|
+
export declare const WithSorting: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
14
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
15
|
+
} | string[], {} & {}, {
|
|
16
|
+
[x: number]: string;
|
|
17
|
+
} | {}, true>)>;
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { PropType } from 'vue-demi';
|
|
2
|
+
import { SortHeaderModel } from '../or-sort-header-v3';
|
|
3
|
+
import { CardCollectionView } from './props';
|
|
4
|
+
import { CardCollectionItem, CardCollectionSortHeader } from './types';
|
|
5
|
+
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
6
|
+
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
7
|
+
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
8
|
+
toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
9
|
+
toolbarPanelStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
10
|
+
contentStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
11
|
+
proxyView: import("@vue/composition-api").Ref<CardCollectionView>;
|
|
12
|
+
proxySort: import("@vue/composition-api").Ref<{
|
|
13
|
+
column: string;
|
|
14
|
+
direction: "asc" | "desc";
|
|
15
|
+
}>;
|
|
16
|
+
proxySearch: import("@vue/composition-api").Ref<string>;
|
|
17
|
+
switchToGridView: () => void;
|
|
18
|
+
switchToListView: () => void;
|
|
19
|
+
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
20
|
+
items: {
|
|
21
|
+
type: PropType<CardCollectionItem[]>;
|
|
22
|
+
default: CardCollectionItem[];
|
|
23
|
+
};
|
|
24
|
+
view: {
|
|
25
|
+
type: PropType<CardCollectionView>;
|
|
26
|
+
default: CardCollectionView;
|
|
27
|
+
};
|
|
28
|
+
sort: {
|
|
29
|
+
type: PropType<SortHeaderModel>;
|
|
30
|
+
default: undefined;
|
|
31
|
+
};
|
|
32
|
+
sortHeaders: {
|
|
33
|
+
type: PropType<CardCollectionSortHeader[]>;
|
|
34
|
+
default: undefined;
|
|
35
|
+
};
|
|
36
|
+
search: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: undefined;
|
|
39
|
+
};
|
|
40
|
+
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
41
|
+
items: {
|
|
42
|
+
type: PropType<CardCollectionItem[]>;
|
|
43
|
+
default: CardCollectionItem[];
|
|
44
|
+
};
|
|
45
|
+
view: {
|
|
46
|
+
type: PropType<CardCollectionView>;
|
|
47
|
+
default: CardCollectionView;
|
|
48
|
+
};
|
|
49
|
+
sort: {
|
|
50
|
+
type: PropType<SortHeaderModel>;
|
|
51
|
+
default: undefined;
|
|
52
|
+
};
|
|
53
|
+
sortHeaders: {
|
|
54
|
+
type: PropType<CardCollectionSortHeader[]>;
|
|
55
|
+
default: undefined;
|
|
56
|
+
};
|
|
57
|
+
search: {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
default: undefined;
|
|
60
|
+
};
|
|
61
|
+
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
62
|
+
sort: SortHeaderModel;
|
|
63
|
+
items: CardCollectionItem[];
|
|
64
|
+
view: CardCollectionView;
|
|
65
|
+
sortHeaders: CardCollectionSortHeader[];
|
|
66
|
+
search: string;
|
|
67
|
+
} & {} & {
|
|
68
|
+
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
69
|
+
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
70
|
+
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
71
|
+
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
72
|
+
toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
73
|
+
toolbarPanelStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
74
|
+
contentStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
75
|
+
proxyView: import("@vue/composition-api").Ref<CardCollectionView>;
|
|
76
|
+
proxySort: import("@vue/composition-api").Ref<{
|
|
77
|
+
column: string;
|
|
78
|
+
direction: "asc" | "desc";
|
|
79
|
+
}>;
|
|
80
|
+
proxySearch: import("@vue/composition-api").Ref<string>;
|
|
81
|
+
switchToGridView: () => void;
|
|
82
|
+
switchToListView: () => void;
|
|
83
|
+
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
84
|
+
sort: SortHeaderModel;
|
|
85
|
+
items: CardCollectionItem[];
|
|
86
|
+
view: CardCollectionView;
|
|
87
|
+
sortHeaders: CardCollectionSortHeader[];
|
|
88
|
+
search: string;
|
|
89
|
+
} & {} & {
|
|
90
|
+
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
91
|
+
}, {
|
|
92
|
+
sort: SortHeaderModel;
|
|
93
|
+
items: CardCollectionItem[];
|
|
94
|
+
view: CardCollectionView;
|
|
95
|
+
sortHeaders: CardCollectionSortHeader[];
|
|
96
|
+
search: string;
|
|
97
|
+
}, true>);
|
|
98
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { CardCollectionView } from './props';
|
|
2
|
+
export declare const CardCollectionRoot: string[];
|
|
3
|
+
export declare const CardCollectionToolbar: string[];
|
|
4
|
+
export declare const CardCollectionToolbarPanel: string[];
|
|
5
|
+
export declare const CardCollectionContent: string[];
|
|
6
|
+
export declare const CardCollectionContentViews: Record<CardCollectionView, string[]>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Meta, StoryFn } from '@storybook/vue3';
|
|
2
|
+
declare const _default: Meta<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
3
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
4
|
+
} | string[], {} & {}, {
|
|
5
|
+
[x: number]: string;
|
|
6
|
+
} | {}, true>)>;
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Default: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
9
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
10
|
+
} | string[], {} & {}, {
|
|
11
|
+
[x: number]: string;
|
|
12
|
+
} | {}, true>)>;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { PropType } from 'vue-demi';
|
|
2
|
+
import { SortHeaderModel } from './types';
|
|
3
|
+
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
4
|
+
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
5
|
+
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
6
|
+
proxyModelValue: import("@vue/composition-api").WritableComputedRef<SortHeaderModel>;
|
|
7
|
+
activated: import("@vue/composition-api").ComputedRef<boolean>;
|
|
8
|
+
toggleDirection: () => void;
|
|
9
|
+
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
10
|
+
modelValue: {
|
|
11
|
+
type: PropType<SortHeaderModel>;
|
|
12
|
+
default: undefined;
|
|
13
|
+
};
|
|
14
|
+
value: {
|
|
15
|
+
type: PropType<SortHeaderModel>;
|
|
16
|
+
default: undefined;
|
|
17
|
+
};
|
|
18
|
+
inputValue: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
23
|
+
modelValue: {
|
|
24
|
+
type: PropType<SortHeaderModel>;
|
|
25
|
+
default: undefined;
|
|
26
|
+
};
|
|
27
|
+
value: {
|
|
28
|
+
type: PropType<SortHeaderModel>;
|
|
29
|
+
default: undefined;
|
|
30
|
+
};
|
|
31
|
+
inputValue: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
36
|
+
modelValue: SortHeaderModel;
|
|
37
|
+
value: SortHeaderModel;
|
|
38
|
+
inputValue: string;
|
|
39
|
+
} & {} & {
|
|
40
|
+
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
41
|
+
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
42
|
+
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
43
|
+
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
44
|
+
proxyModelValue: import("@vue/composition-api").WritableComputedRef<SortHeaderModel>;
|
|
45
|
+
activated: import("@vue/composition-api").ComputedRef<boolean>;
|
|
46
|
+
toggleDirection: () => void;
|
|
47
|
+
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
48
|
+
modelValue: SortHeaderModel;
|
|
49
|
+
value: SortHeaderModel;
|
|
50
|
+
inputValue: string;
|
|
51
|
+
} & {} & {
|
|
52
|
+
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
53
|
+
}, {
|
|
54
|
+
modelValue: SortHeaderModel;
|
|
55
|
+
value: SortHeaderModel;
|
|
56
|
+
}, true>);
|
|
57
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SortHeaderRoot: string[];
|