@threadlabs/looma 0.11.0 → 0.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/ui-action-bar/ui-action-bar.html +72 -0
- package/components/ui-input/ui-input.html +4 -4
- package/components/ui-input-group/ui-input-group.html +86 -0
- package/components/ui-list/ui-list.html +12 -0
- package/components/ui-list-item/ui-list-item.html +4 -4
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/styles/ui-action-bar.css +77 -0
- package/styles/ui-input-group.css +87 -0
- package/styles/ui-input.css +4 -4
- package/styles/ui-list-item.css +4 -4
- package/styles/ui-list.css +11 -0
- package/vanilla/UiActionBar.d.ts +13 -0
- package/vanilla/UiActionBar.js +59 -0
- package/vanilla/UiInputGroup.d.ts +14 -0
- package/vanilla/UiInputGroup.js +53 -0
- package/vanilla/UiList.d.ts +1 -0
- package/vanilla/UiList.js +3 -1
- package/vanilla/index.js +2 -0
- package/vue/UiActionBar.d.ts +19 -0
- package/vue/UiActionBar.js +2 -0
- package/vue/UiActionBar.vue +77 -0
- package/vue/UiCombobox.d.ts +1 -1
- package/vue/UiInput.vue +7 -4
- package/vue/UiInputGroup.d.ts +22 -0
- package/vue/UiInputGroup.js +2 -0
- package/vue/UiInputGroup.vue +113 -0
- package/vue/UiList.d.ts +2 -0
- package/vue/UiList.vue +12 -0
- package/vue/UiListItem.vue +10 -4
- package/vue/UiRadioGroup.d.ts +1 -1
- package/vue/chunks/UiActionBar.js +24 -0
- package/vue/chunks/UiAffordanceScope.js +1 -1
- package/vue/chunks/UiAvatar.js +1 -1
- package/vue/chunks/UiAvatarGroup.js +1 -1
- package/vue/chunks/UiCheckbox.js +1 -1
- package/vue/chunks/UiCombobox.js +1 -1
- package/vue/chunks/UiContextMenu.js +1 -1
- package/vue/chunks/UiDialog.js +1 -1
- package/vue/chunks/UiDisclosure.js +1 -1
- package/vue/chunks/UiEditable.js +1 -1
- package/vue/chunks/UiEditorInsertTableGrid.js +1 -1
- package/vue/chunks/UiEditorMentionMenu.js +1 -1
- package/vue/chunks/UiEditorSlashMenu.js +1 -1
- package/vue/chunks/UiEditorTableContextMenu.js +1 -1
- package/vue/chunks/UiEditorTableOverlay.js +1 -1
- package/vue/chunks/UiEditorTableToolbar.js +1 -1
- package/vue/chunks/UiFormField.js +1 -1
- package/vue/chunks/UiIcon.js +1 -1
- package/vue/chunks/UiIconButton.js +1 -1
- package/vue/chunks/UiInput.js +2 -2
- package/vue/chunks/UiInputGroup.js +31 -0
- package/vue/chunks/UiList.js +6 -3
- package/vue/chunks/UiListItem.js +1 -1
- package/vue/chunks/UiMenu.js +1 -1
- package/vue/chunks/UiPopover.js +1 -1
- package/vue/chunks/UiRadio.js +1 -1
- package/vue/chunks/UiRadioGroup.js +1 -1
- package/vue/chunks/UiSearchShell.js +1 -1
- package/vue/chunks/UiSelect.js +1 -1
- package/vue/chunks/UiSidebar.js +1 -1
- package/vue/chunks/UiSwitch.js +1 -1
- package/vue/chunks/UiTabs.js +1 -1
- package/vue/chunks/UiTextarea.js +1 -1
- package/vue/chunks/UiToastRegion.js +1 -1
- package/vue/chunks/UiTooltip.js +1 -1
- package/vue/chunks/UiTree.js +1 -1
- package/vue/chunks/UiTreeItem.js +1 -1
- package/vue/components.css +187 -43
- package/vue/index.d.ts +2 -0
- package/vue/index.js +3 -1
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
import { computed } from 'vue'
|
|
4
|
+
|
|
5
|
+
defineOptions({ inheritAttrs: false })
|
|
6
|
+
|
|
7
|
+
const props = withDefaults(
|
|
8
|
+
defineProps<{
|
|
9
|
+
disabled?: boolean
|
|
10
|
+
}>(),
|
|
11
|
+
{
|
|
12
|
+
disabled: false,
|
|
13
|
+
},
|
|
14
|
+
)
|
|
15
|
+
|
|
16
|
+
/** The values the styles' :host-state() rules test. */
|
|
17
|
+
const hostState = computed(() =>
|
|
18
|
+
[
|
|
19
|
+
props.disabled && 'disabled',
|
|
20
|
+
].filter(Boolean).join(' ')
|
|
21
|
+
)
|
|
22
|
+
</script>
|
|
23
|
+
|
|
24
|
+
<template>
|
|
25
|
+
<div
|
|
26
|
+
data-component="ui-input-group"
|
|
27
|
+
v-bind="$attrs"
|
|
28
|
+
:data-ui-input-group-state="hostState || undefined"
|
|
29
|
+
>
|
|
30
|
+
<span class="affix"><slot name="prefix" /></span>
|
|
31
|
+
<span class="field"><slot /></span>
|
|
32
|
+
<span class="affix"><slot name="suffix" /></span>
|
|
33
|
+
</div>
|
|
34
|
+
</template>
|
|
35
|
+
|
|
36
|
+
<style scoped>
|
|
37
|
+
/* An input with fixed text before or after it, such as a domain after a site's name
|
|
38
|
+
("acme" + ".example.com") or slashes around a path. The group draws the field's border and
|
|
39
|
+
focus ring around the input and its affixes together; the input inside drops its own through
|
|
40
|
+
its custom properties, so it is still the one ui-input, with its form behaviour intact. The
|
|
41
|
+
affixes are plain text beside the input, so name the input with a label that says what the
|
|
42
|
+
whole value is. */
|
|
43
|
+
[data-component~="ui-input-group"] {
|
|
44
|
+
--ui-input-border: transparent;
|
|
45
|
+
--ui-input-border-hover: transparent;
|
|
46
|
+
--ui-input-focus-border: transparent;
|
|
47
|
+
--ui-input-shadow: none;
|
|
48
|
+
--ui-input-focus-shadow: none;
|
|
49
|
+
--ui-input-radius: 0;
|
|
50
|
+
--ui-input-surface: transparent;
|
|
51
|
+
|
|
52
|
+
display: flex;
|
|
53
|
+
align-items: stretch;
|
|
54
|
+
box-sizing: border-box;
|
|
55
|
+
inline-size: 100%;
|
|
56
|
+
min-inline-size: 0;
|
|
57
|
+
min-block-size: var(--ui-control-size-md);
|
|
58
|
+
border: 1px solid var(--ui-border-strong);
|
|
59
|
+
border-radius: var(--ui-radius-md);
|
|
60
|
+
background: var(--ui-surface-elevated);
|
|
61
|
+
box-shadow: var(--ui-control-inset);
|
|
62
|
+
overflow: hidden;
|
|
63
|
+
transition:
|
|
64
|
+
border-color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
65
|
+
box-shadow var(--ui-motion-fast) var(--ui-motion-ease);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
[data-component~="ui-input-group"]:hover:not(:focus-within) {
|
|
69
|
+
border-color: var(--ui-text-secondary);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
[data-component~="ui-input-group"]:focus-within {
|
|
73
|
+
border-color: var(--ui-accent-solid);
|
|
74
|
+
box-shadow:
|
|
75
|
+
var(--ui-control-inset),
|
|
76
|
+
var(--ui-control-focus-halo-shadow);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
[data-component~="ui-input-group"]:has([aria-invalid="true"], :is(:user-invalid, [data-user-invalid])) {
|
|
80
|
+
border-color: var(--ui-danger-solid);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
[data-component~="ui-input-group"][data-ui-input-group-state~="disabled"] {
|
|
84
|
+
background: var(--ui-surface-muted);
|
|
85
|
+
box-shadow: none;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.field {
|
|
89
|
+
display: flex;
|
|
90
|
+
flex: 1;
|
|
91
|
+
min-inline-size: 0;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.affix {
|
|
95
|
+
display: inline-flex;
|
|
96
|
+
flex: none;
|
|
97
|
+
align-items: center;
|
|
98
|
+
padding-inline: var(--ui-space-2);
|
|
99
|
+
color: var(--ui-text-secondary);
|
|
100
|
+
font-family: var(--ui-font-family-mono);
|
|
101
|
+
font-size: var(--ui-font-size-sm);
|
|
102
|
+
white-space: nowrap;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.affix:empty {
|
|
106
|
+
display: none;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
110
|
+
[data-component~="ui-input-group"][hidden] {
|
|
111
|
+
display: none;
|
|
112
|
+
}
|
|
113
|
+
</style>
|
package/vue/UiList.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
density?: 'comfortable' | 'compact';
|
|
2
3
|
layout?: 'rows' | 'grid';
|
|
3
4
|
};
|
|
4
5
|
declare var __VLS_1: {};
|
|
@@ -7,6 +8,7 @@ type __VLS_Slots = {} & {
|
|
|
7
8
|
};
|
|
8
9
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
9
10
|
layout: "rows" | "grid";
|
|
11
|
+
density: "comfortable" | "compact";
|
|
10
12
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
13
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
14
|
declare const _default: typeof __VLS_export;
|
package/vue/UiList.vue
CHANGED
|
@@ -6,9 +6,11 @@ defineOptions({ inheritAttrs: false })
|
|
|
6
6
|
|
|
7
7
|
const props = withDefaults(
|
|
8
8
|
defineProps<{
|
|
9
|
+
density?: 'comfortable' | 'compact'
|
|
9
10
|
layout?: 'rows' | 'grid'
|
|
10
11
|
}>(),
|
|
11
12
|
{
|
|
13
|
+
density: 'comfortable',
|
|
12
14
|
layout: 'rows',
|
|
13
15
|
},
|
|
14
16
|
)
|
|
@@ -16,6 +18,7 @@ const props = withDefaults(
|
|
|
16
18
|
/** The values the styles' :host-state() rules test. */
|
|
17
19
|
const hostState = computed(() =>
|
|
18
20
|
[
|
|
21
|
+
props.density && `density density=${props.density}`,
|
|
19
22
|
props.layout && `layout layout=${props.layout}`,
|
|
20
23
|
].filter(Boolean).join(' ')
|
|
21
24
|
)
|
|
@@ -46,6 +49,15 @@ const hostState = computed(() =>
|
|
|
46
49
|
list-style: none;
|
|
47
50
|
}
|
|
48
51
|
|
|
52
|
+
/* Compact passes its size to the items through private properties, which cross into each item. */
|
|
53
|
+
[data-component~="ui-list"][data-ui-list-state~="density=compact"] {
|
|
54
|
+
--_ui-list-item-min-size: 0;
|
|
55
|
+
--_ui-list-item-padding-block: 0;
|
|
56
|
+
--_ui-list-item-padding-inline: 0;
|
|
57
|
+
--_ui-list-item-title-weight: var(--ui-font-normal);
|
|
58
|
+
gap: var(--ui-list-gap, var(--ui-space-2));
|
|
59
|
+
}
|
|
60
|
+
|
|
49
61
|
[data-component~="ui-list"][data-ui-list-state~="layout=grid"] {
|
|
50
62
|
display: grid;
|
|
51
63
|
grid-template-columns:
|
package/vue/UiListItem.vue
CHANGED
|
@@ -55,9 +55,15 @@ const hostState = computed(() =>
|
|
|
55
55
|
align-items: center;
|
|
56
56
|
gap: var(--ui-list-item-gap, var(--ui-space-3));
|
|
57
57
|
min-inline-size: 0;
|
|
58
|
-
min-block-size: var(--ui-control-size, 2.5rem);
|
|
59
|
-
padding-block: var(
|
|
60
|
-
|
|
58
|
+
min-block-size: var(--_ui-list-item-min-size, var(--ui-control-size, 2.5rem));
|
|
59
|
+
padding-block: var(
|
|
60
|
+
--ui-list-item-padding-block,
|
|
61
|
+
var(--_ui-list-item-padding-block, var(--ui-space-2))
|
|
62
|
+
);
|
|
63
|
+
padding-inline: var(
|
|
64
|
+
--ui-list-item-padding-inline,
|
|
65
|
+
var(--_ui-list-item-padding-inline, var(--ui-space-3))
|
|
66
|
+
);
|
|
61
67
|
border-radius: var(--ui-radius-md);
|
|
62
68
|
color: var(--ui-text-primary);
|
|
63
69
|
transition:
|
|
@@ -130,7 +136,7 @@ const hostState = computed(() =>
|
|
|
130
136
|
|
|
131
137
|
.title {
|
|
132
138
|
font-size: var(--ui-font-size-md);
|
|
133
|
-
font-weight: var(--ui-font-medium);
|
|
139
|
+
font-weight: var(--_ui-list-item-title-weight, var(--ui-font-medium));
|
|
134
140
|
line-height: var(--ui-line-height-tight);
|
|
135
141
|
}
|
|
136
142
|
|
package/vue/UiRadioGroup.d.ts
CHANGED
|
@@ -35,8 +35,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
35
35
|
}) => any) | undefined;
|
|
36
36
|
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
37
37
|
}>, {
|
|
38
|
-
name: string;
|
|
39
38
|
label: string;
|
|
39
|
+
name: string;
|
|
40
40
|
value: string;
|
|
41
41
|
disabled: boolean;
|
|
42
42
|
required: boolean;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { createElementBlock, createElementVNode, defineComponent, mergeProps, openBlock, renderSlot } from "vue";
|
|
3
|
+
//#region .build/vue/UiActionBar.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var _hoisted_1 = { class: "bar" };
|
|
5
|
+
var _hoisted_2 = { class: "tertiary" };
|
|
6
|
+
var _hoisted_3 = { class: "secondary" };
|
|
7
|
+
var _hoisted_4 = { class: "primary" };
|
|
8
|
+
//#endregion
|
|
9
|
+
//#region .build/vue/UiActionBar.vue
|
|
10
|
+
var UiActionBar_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
11
|
+
inheritAttrs: false,
|
|
12
|
+
__name: "UiActionBar",
|
|
13
|
+
setup(__props) {
|
|
14
|
+
return (_ctx, _cache) => {
|
|
15
|
+
return openBlock(), createElementBlock("div", mergeProps({ "data-component": "ui-action-bar" }, _ctx.$attrs), [createElementVNode("div", _hoisted_1, [
|
|
16
|
+
createElementVNode("span", _hoisted_2, [renderSlot(_ctx.$slots, "tertiary", {}, void 0, true)]),
|
|
17
|
+
createElementVNode("span", _hoisted_3, [renderSlot(_ctx.$slots, "secondary", {}, void 0, true), renderSlot(_ctx.$slots, "default", {}, void 0, true)]),
|
|
18
|
+
createElementVNode("span", _hoisted_4, [renderSlot(_ctx.$slots, "primary", {}, void 0, true)])
|
|
19
|
+
])], 16);
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
}), [["__scopeId", "data-v-f4ba10f3"]]);
|
|
23
|
+
//#endregion
|
|
24
|
+
export { UiActionBar_default as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
2
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
3
|
import { computed, createElementBlock, defineComponent, mergeProps, openBlock, ref, renderSlot } from "vue";
|
|
4
4
|
import * as controllerModule from "@threadlabs/looma/components/ui-affordance-scope/ui-affordance-scope.js";
|
|
5
5
|
//#region .build/vue/UiAffordanceScope.vue?vue&type=script&setup=true&lang.ts
|
package/vue/chunks/UiAvatar.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
2
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
3
|
import { createElementBlock, createElementVNode, defineComponent, mergeProps, openBlock, ref, renderSlot, toDisplayString, useTemplateRef } from "vue";
|
|
4
4
|
import * as controllerModule from "@threadlabs/looma/components/ui-avatar/ui-avatar.js";
|
|
5
5
|
//#region .build/vue/UiAvatar.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
2
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
3
|
import { createElementBlock, createElementVNode, defineComponent, mergeProps, openBlock, ref, renderSlot, toDisplayString, useTemplateRef } from "vue";
|
|
4
4
|
import * as controllerModule from "@threadlabs/looma/components/ui-avatar-group/ui-avatar-group.js";
|
|
5
5
|
//#region .build/vue/UiAvatarGroup.vue?vue&type=script&setup=true&lang.ts
|
package/vue/chunks/UiCheckbox.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
2
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
3
|
import { computed, createElementBlock, createElementVNode, defineComponent, mergeProps, openBlock, ref, renderSlot, useTemplateRef } from "vue";
|
|
4
4
|
import * as controllerModule from "@threadlabs/looma/components/ui-checkbox/ui-checkbox.js";
|
|
5
5
|
//#region .build/vue/UiCheckbox.vue?vue&type=script&setup=true&lang.ts
|
package/vue/chunks/UiCombobox.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
2
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
3
|
import { t as UiBadge_default } from "./UiBadge.js";
|
|
4
4
|
import { t as UiTooltip_default } from "./UiTooltip.js";
|
|
5
5
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, openBlock, ref, renderList, renderSlot, toDisplayString, useTemplateRef, withCtx } from "vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
2
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
3
|
import { createElementBlock, createElementVNode, defineComponent, mergeProps, openBlock, ref, renderSlot, useTemplateRef } from "vue";
|
|
4
4
|
import * as controllerModule from "@threadlabs/looma/components/ui-context-menu/ui-context-menu.js";
|
|
5
5
|
//#region .build/vue/UiContextMenu.vue?vue&type=script&setup=true&lang.ts
|
package/vue/chunks/UiDialog.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
2
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
3
|
import { createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeProps, openBlock, ref, renderSlot, toDisplayString, useTemplateRef } from "vue";
|
|
4
4
|
import * as controllerModule from "@threadlabs/looma/components/ui-dialog/ui-dialog.js";
|
|
5
5
|
//#region .build/vue/UiDialog.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
2
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
3
|
import { computed, createElementBlock, createElementVNode, defineComponent, mergeProps, openBlock, ref, renderSlot, toDisplayString, useTemplateRef } from "vue";
|
|
4
4
|
import * as controllerModule from "@threadlabs/looma/components/ui-disclosure/ui-disclosure.js";
|
|
5
5
|
//#region .build/vue/UiDisclosure.vue?vue&type=script&setup=true&lang.ts
|
package/vue/chunks/UiEditable.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
2
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
3
|
import { computed, createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeProps, openBlock, ref, toDisplayString, useTemplateRef } from "vue";
|
|
4
4
|
import * as controllerModule from "@threadlabs/looma/components/ui-editable/ui-editable.js";
|
|
5
5
|
//#region .build/vue/UiEditable.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
2
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
3
|
import { Fragment, createElementBlock, createElementVNode, createTextVNode, defineComponent, mergeProps, normalizeClass, normalizeStyle, openBlock, ref, renderList, toDisplayString, useTemplateRef } from "vue";
|
|
4
4
|
import * as controllerModule from "@threadlabs/looma/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.js";
|
|
5
5
|
//#region .build/vue/UiEditorInsertTableGrid.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
2
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
3
|
import { Fragment, createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeProps, normalizeClass, openBlock, ref, renderList, toDisplayString } from "vue";
|
|
4
4
|
import * as controllerModule from "@threadlabs/looma/components/ui-editor-mention-menu/ui-editor-mention-menu.js";
|
|
5
5
|
//#region .build/vue/UiEditorMentionMenu.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
2
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
3
|
import { t as UiIcon_default } from "./UiIcon.js";
|
|
4
4
|
import { Fragment, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, openBlock, ref, renderList, toDisplayString } from "vue";
|
|
5
5
|
import * as controllerModule from "@threadlabs/looma/components/ui-editor-slash-menu/ui-editor-slash-menu.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
2
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
3
|
import { t as UiIcon_default } from "./UiIcon.js";
|
|
4
4
|
import { Fragment, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeProps, normalizeClass, normalizeStyle, openBlock, ref, renderList, toDisplayString } from "vue";
|
|
5
5
|
import * as controllerModule from "@threadlabs/looma/components/ui-editor-table-context-menu/ui-editor-table-context-menu.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
2
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
3
|
import { t as UiIcon_default } from "./UiIcon.js";
|
|
4
4
|
import { Fragment, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeProps, normalizeClass, normalizeStyle, openBlock, ref, renderList, toDisplayString } from "vue";
|
|
5
5
|
import * as controllerModule from "@threadlabs/looma/components/ui-editor-table-overlay/ui-editor-table-overlay.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
2
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
3
|
import { t as UiIcon_default } from "./UiIcon.js";
|
|
4
4
|
import { Fragment, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeProps, normalizeClass, normalizeStyle, openBlock, ref, renderList, toDisplayString } from "vue";
|
|
5
5
|
import * as controllerModule from "@threadlabs/looma/components/ui-editor-table-toolbar/ui-editor-table-toolbar.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
2
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
3
|
import { createElementBlock, createElementVNode, defineComponent, mergeProps, openBlock, ref, renderSlot } from "vue";
|
|
4
4
|
import * as controllerModule from "@threadlabs/looma/components/ui-form-field/ui-form-field.js";
|
|
5
5
|
//#region .build/vue/UiFormField.vue?vue&type=script&setup=true&lang.ts
|
package/vue/chunks/UiIcon.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
2
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
3
|
import { Fragment, createCommentVNode, createElementBlock, defineComponent, mergeProps, openBlock, ref, renderList } from "vue";
|
|
4
4
|
import * as controllerModule from "@threadlabs/looma/components/ui-icon/ui-icon.js";
|
|
5
5
|
//#region .build/vue/UiIcon.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
2
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
3
|
import { computed, createElementBlock, defineComponent, mergeProps, openBlock, ref, renderSlot } from "vue";
|
|
4
4
|
import * as controllerModule from "@threadlabs/looma/components/ui-icon-button/ui-icon-button.js";
|
|
5
5
|
//#region .build/vue/UiIconButton.vue?vue&type=script&setup=true&lang.ts
|
package/vue/chunks/UiInput.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
2
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
3
|
import { computed, createElementBlock, defineComponent, mergeProps, openBlock, ref, vModelDynamic, withDirectives } from "vue";
|
|
4
4
|
import * as controllerModule from "@threadlabs/looma/components/ui-input/ui-input.js";
|
|
5
5
|
//#region .build/vue/UiInput.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -61,6 +61,6 @@ var UiInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
61
61
|
}), null, 16, _hoisted_1)), [[vModelDynamic, model.value]]);
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
|
-
}), [["__scopeId", "data-v-
|
|
64
|
+
}), [["__scopeId", "data-v-12ffae5a"]]);
|
|
65
65
|
//#endregion
|
|
66
66
|
export { UiInput_default as t };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { computed, createElementBlock, createElementVNode, defineComponent, mergeProps, openBlock, renderSlot } from "vue";
|
|
3
|
+
//#region .build/vue/UiInputGroup.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var _hoisted_1 = ["data-ui-input-group-state"];
|
|
5
|
+
var _hoisted_2 = { class: "affix" };
|
|
6
|
+
var _hoisted_3 = { class: "field" };
|
|
7
|
+
var _hoisted_4 = { class: "affix" };
|
|
8
|
+
//#endregion
|
|
9
|
+
//#region .build/vue/UiInputGroup.vue
|
|
10
|
+
var UiInputGroup_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
11
|
+
inheritAttrs: false,
|
|
12
|
+
__name: "UiInputGroup",
|
|
13
|
+
props: { disabled: {
|
|
14
|
+
type: Boolean,
|
|
15
|
+
default: false
|
|
16
|
+
} },
|
|
17
|
+
setup(__props) {
|
|
18
|
+
const props = __props;
|
|
19
|
+
/** The values the styles' :host-state() rules test. */
|
|
20
|
+
const hostState = computed(() => [props.disabled && "disabled"].filter(Boolean).join(" "));
|
|
21
|
+
return (_ctx, _cache) => {
|
|
22
|
+
return openBlock(), createElementBlock("div", mergeProps({ "data-component": "ui-input-group" }, _ctx.$attrs, { "data-ui-input-group-state": hostState.value || void 0 }), [
|
|
23
|
+
createElementVNode("span", _hoisted_2, [renderSlot(_ctx.$slots, "prefix", {}, void 0, true)]),
|
|
24
|
+
createElementVNode("span", _hoisted_3, [renderSlot(_ctx.$slots, "default", {}, void 0, true)]),
|
|
25
|
+
createElementVNode("span", _hoisted_4, [renderSlot(_ctx.$slots, "suffix", {}, void 0, true)])
|
|
26
|
+
], 16, _hoisted_1);
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
}), [["__scopeId", "data-v-0a135fc1"]]);
|
|
30
|
+
//#endregion
|
|
31
|
+
export { UiInputGroup_default as t };
|
package/vue/chunks/UiList.js
CHANGED
|
@@ -7,11 +7,14 @@ var _hoisted_1 = ["data-ui-list-state"];
|
|
|
7
7
|
var UiList_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
8
8
|
inheritAttrs: false,
|
|
9
9
|
__name: "UiList",
|
|
10
|
-
props: {
|
|
10
|
+
props: {
|
|
11
|
+
density: { default: "comfortable" },
|
|
12
|
+
layout: { default: "rows" }
|
|
13
|
+
},
|
|
11
14
|
setup(__props) {
|
|
12
15
|
const props = __props;
|
|
13
16
|
/** The values the styles' :host-state() rules test. */
|
|
14
|
-
const hostState = computed(() => [props.layout && `layout layout=${props.layout}`].filter(Boolean).join(" "));
|
|
17
|
+
const hostState = computed(() => [props.density && `density density=${props.density}`, props.layout && `layout layout=${props.layout}`].filter(Boolean).join(" "));
|
|
15
18
|
return (_ctx, _cache) => {
|
|
16
19
|
return openBlock(), createElementBlock("ul", mergeProps({
|
|
17
20
|
"data-component": "ui-list",
|
|
@@ -19,6 +22,6 @@ var UiList_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
19
22
|
}, _ctx.$attrs, { "data-ui-list-state": hostState.value || void 0 }), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1);
|
|
20
23
|
};
|
|
21
24
|
}
|
|
22
|
-
}), [["__scopeId", "data-v-
|
|
25
|
+
}), [["__scopeId", "data-v-9e6cf63f"]]);
|
|
23
26
|
//#endregion
|
|
24
27
|
export { UiList_default as t };
|
package/vue/chunks/UiListItem.js
CHANGED
package/vue/chunks/UiMenu.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
2
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
3
|
import { computed, createElementBlock, createElementVNode, defineComponent, mergeProps, openBlock, ref, renderSlot } from "vue";
|
|
4
4
|
import * as controllerModule from "@threadlabs/looma/components/ui-menu/ui-menu.js";
|
|
5
5
|
//#region .build/vue/UiMenu.vue?vue&type=script&setup=true&lang.ts
|
package/vue/chunks/UiPopover.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
2
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
3
|
import { computed, createElementBlock, createElementVNode, defineComponent, mergeProps, openBlock, ref, renderSlot } from "vue";
|
|
4
4
|
import * as controllerModule from "@threadlabs/looma/components/ui-popover/ui-popover.js";
|
|
5
5
|
//#region .build/vue/UiPopover.vue?vue&type=script&setup=true&lang.ts
|
package/vue/chunks/UiRadio.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
2
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
3
|
import { computed, createElementBlock, createElementVNode, defineComponent, mergeProps, openBlock, ref, renderSlot, useTemplateRef } from "vue";
|
|
4
4
|
import * as controllerModule from "@threadlabs/looma/components/ui-radio/ui-radio.js";
|
|
5
5
|
//#region .build/vue/UiRadio.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
2
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
3
|
import { computed, createElementBlock, createElementVNode, defineComponent, mergeProps, openBlock, ref, renderSlot, toDisplayString } from "vue";
|
|
4
4
|
import * as controllerModule from "@threadlabs/looma/components/ui-radio-group/ui-radio-group.js";
|
|
5
5
|
//#region .build/vue/UiRadioGroup.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
2
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
3
|
import { createElementBlock, createElementVNode, defineComponent, mergeProps, openBlock, ref, renderSlot, useTemplateRef } from "vue";
|
|
4
4
|
import * as controllerModule from "@threadlabs/looma/components/ui-search-shell/ui-search-shell.js";
|
|
5
5
|
//#region .build/vue/UiSearchShell.vue?vue&type=script&setup=true&lang.ts
|
package/vue/chunks/UiSelect.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
2
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
3
|
import { computed, createElementBlock, defineComponent, mergeProps, openBlock, ref, renderSlot, vModelSelect, withDirectives } from "vue";
|
|
4
4
|
import * as controllerModule from "@threadlabs/looma/components/ui-select/ui-select.js";
|
|
5
5
|
//#region .build/vue/UiSelect.vue?vue&type=script&setup=true&lang.ts
|
package/vue/chunks/UiSidebar.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
2
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
3
|
import { computed, createElementBlock, createElementVNode, defineComponent, mergeProps, openBlock, ref, renderSlot, useTemplateRef } from "vue";
|
|
4
4
|
import * as controllerModule from "@threadlabs/looma/components/ui-sidebar/ui-sidebar.js";
|
|
5
5
|
//#region .build/vue/UiSidebar.vue?vue&type=script&setup=true&lang.ts
|
package/vue/chunks/UiSwitch.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
2
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
3
|
import { computed, createElementBlock, createElementVNode, defineComponent, mergeProps, openBlock, ref, renderSlot, useTemplateRef } from "vue";
|
|
4
4
|
import * as controllerModule from "@threadlabs/looma/components/ui-switch/ui-switch.js";
|
|
5
5
|
//#region .build/vue/UiSwitch.vue?vue&type=script&setup=true&lang.ts
|
package/vue/chunks/UiTabs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
2
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
3
|
import { Fragment, computed, createElementBlock, createElementVNode, defineComponent, mergeProps, openBlock, ref, renderList, renderSlot, toDisplayString, useTemplateRef } from "vue";
|
|
4
4
|
import * as controllerModule from "@threadlabs/looma/components/ui-tabs/ui-tabs.js";
|
|
5
5
|
//#region .build/vue/UiTabs.vue?vue&type=script&setup=true&lang.ts
|
package/vue/chunks/UiTextarea.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
2
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
3
|
import { computed, createElementBlock, defineComponent, mergeProps, openBlock, ref, vModelText, withDirectives } from "vue";
|
|
4
4
|
import * as controllerModule from "@threadlabs/looma/components/ui-textarea/ui-textarea.js";
|
|
5
5
|
//#region .build/vue/UiTextarea.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
2
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
3
|
import { t as UiIconButton_default } from "./UiIconButton.js";
|
|
4
4
|
import { Fragment, createElementBlock, createElementVNode, createVNode, defineComponent, mergeProps, normalizeClass, openBlock, ref, renderList, renderSlot, toDisplayString, withCtx } from "vue";
|
|
5
5
|
import * as controllerModule from "@threadlabs/looma/components/ui-toast-region/ui-toast-region.js";
|
package/vue/chunks/UiTooltip.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
2
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
3
|
import { computed, createElementBlock, createElementVNode, defineComponent, mergeProps, openBlock, ref, renderSlot } from "vue";
|
|
4
4
|
import * as controllerModule from "@threadlabs/looma/components/ui-tooltip/ui-tooltip.js";
|
|
5
5
|
//#region .build/vue/UiTooltip.vue?vue&type=script&setup=true&lang.ts
|
package/vue/chunks/UiTree.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
2
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
3
|
import { computed, createElementBlock, defineComponent, mergeProps, openBlock, ref, renderSlot } from "vue";
|
|
4
4
|
import * as controllerModule from "@threadlabs/looma/components/ui-tree/ui-tree.js";
|
|
5
5
|
//#region .build/vue/UiTree.vue?vue&type=script&setup=true&lang.ts
|
package/vue/chunks/UiTreeItem.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
2
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
3
|
import { computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, mergeProps, openBlock, ref, renderSlot, toDisplayString, useTemplateRef } from "vue";
|
|
4
4
|
import * as controllerModule from "@threadlabs/looma/components/ui-tree-item/ui-tree-item.js";
|
|
5
5
|
//#region .build/vue/UiTreeItem.vue?vue&type=script&setup=true&lang.ts
|