@acoyfellow/kumo-vue 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kumo.manifest.json +1140 -0
- package/package/button.css +1 -0
- package/package/components/autocomplete.content.d.ts +4 -0
- package/package/components/autocomplete.content.js +21 -0
- package/package/components/autocomplete.d.ts +8 -0
- package/package/components/autocomplete.input-group.d.ts +4 -0
- package/package/components/autocomplete.input-group.js +21 -0
- package/package/components/autocomplete.item.d.ts +4 -0
- package/package/components/autocomplete.item.js +21 -0
- package/package/components/autocomplete.js +102 -0
- package/package/components/autocomplete.list.d.ts +4 -0
- package/package/components/autocomplete.list.js +21 -0
- package/package/components/badge.d.ts +8 -0
- package/package/components/badge.js +57 -0
- package/package/components/banner.d.ts +8 -0
- package/package/components/banner.js +71 -0
- package/package/components/breadcrumbs.current.d.ts +4 -0
- package/package/components/breadcrumbs.current.js +21 -0
- package/package/components/breadcrumbs.d.ts +8 -0
- package/package/components/breadcrumbs.js +86 -0
- package/package/components/breadcrumbs.link.d.ts +4 -0
- package/package/components/breadcrumbs.link.js +21 -0
- package/package/components/breadcrumbs.separator.d.ts +4 -0
- package/package/components/breadcrumbs.separator.js +21 -0
- package/package/components/button.d.ts +8 -0
- package/package/components/button.js +93 -0
- package/package/components/checkbox.d.ts +8 -0
- package/package/components/checkbox.js +77 -0
- package/package/components/clipboard-text.d.ts +8 -0
- package/package/components/clipboard-text.js +54 -0
- package/package/components/cloudflare-logo.d.ts +8 -0
- package/package/components/cloudflare-logo.js +70 -0
- package/package/components/code.d.ts +8 -0
- package/package/components/code.js +56 -0
- package/package/components/combobox.content.d.ts +4 -0
- package/package/components/combobox.content.js +21 -0
- package/package/components/combobox.d.ts +8 -0
- package/package/components/combobox.item.d.ts +4 -0
- package/package/components/combobox.item.js +21 -0
- package/package/components/combobox.js +101 -0
- package/package/components/combobox.list.d.ts +4 -0
- package/package/components/combobox.list.js +21 -0
- package/package/components/combobox.trigger-input.d.ts +4 -0
- package/package/components/combobox.trigger-input.js +21 -0
- package/package/components/command-palette.d.ts +8 -0
- package/package/components/command-palette.highlighted-text.d.ts +4 -0
- package/package/components/command-palette.highlighted-text.js +21 -0
- package/package/components/command-palette.input.d.ts +4 -0
- package/package/components/command-palette.input.js +21 -0
- package/package/components/command-palette.item.d.ts +4 -0
- package/package/components/command-palette.item.js +21 -0
- package/package/components/command-palette.js +126 -0
- package/package/components/command-palette.list.d.ts +4 -0
- package/package/components/command-palette.list.js +21 -0
- package/package/components/command-palette.root.d.ts +4 -0
- package/package/components/command-palette.root.js +21 -0
- package/package/components/date-picker.d.ts +8 -0
- package/package/components/date-picker.js +119 -0
- package/package/components/date-range-picker.d.ts +8 -0
- package/package/components/date-range-picker.js +154 -0
- package/package/components/dialog.close.d.ts +4 -0
- package/package/components/dialog.close.js +21 -0
- package/package/components/dialog.d.ts +8 -0
- package/package/components/dialog.description.d.ts +4 -0
- package/package/components/dialog.description.js +21 -0
- package/package/components/dialog.js +107 -0
- package/package/components/dialog.root.d.ts +4 -0
- package/package/components/dialog.root.js +21 -0
- package/package/components/dialog.title.d.ts +4 -0
- package/package/components/dialog.title.js +21 -0
- package/package/components/dialog.trigger.d.ts +4 -0
- package/package/components/dialog.trigger.js +21 -0
- package/package/components/dropdown-menu.content.d.ts +4 -0
- package/package/components/dropdown-menu.content.js +21 -0
- package/package/components/dropdown-menu.d.ts +8 -0
- package/package/components/dropdown-menu.item.d.ts +4 -0
- package/package/components/dropdown-menu.item.js +21 -0
- package/package/components/dropdown-menu.js +172 -0
- package/package/components/dropdown-menu.sub-content.d.ts +4 -0
- package/package/components/dropdown-menu.sub-content.js +21 -0
- package/package/components/dropdown-menu.sub-trigger.d.ts +4 -0
- package/package/components/dropdown-menu.sub-trigger.js +21 -0
- package/package/components/dropdown-menu.sub.d.ts +4 -0
- package/package/components/dropdown-menu.sub.js +21 -0
- package/package/components/dropdown-menu.trigger.d.ts +4 -0
- package/package/components/dropdown-menu.trigger.js +21 -0
- package/package/components/empty.d.ts +8 -0
- package/package/components/empty.js +68 -0
- package/package/components/field.d.ts +7 -0
- package/package/components/field.js +2 -0
- package/package/components/field.legacy.js +49 -0
- package/package/components/field.native-input.d.ts +4 -0
- package/package/components/field.native-input.js +21 -0
- package/package/components/field.semantic.js +43 -0
- package/package/components/grid-item.d.ts +8 -0
- package/package/components/grid-item.js +52 -0
- package/package/components/grid.d.ts +8 -0
- package/package/components/grid.js +58 -0
- package/package/components/input-area.d.ts +8 -0
- package/package/components/input-area.js +70 -0
- package/package/components/input-group.addon.d.ts +4 -0
- package/package/components/input-group.addon.js +21 -0
- package/package/components/input-group.button.d.ts +4 -0
- package/package/components/input-group.button.js +21 -0
- package/package/components/input-group.d.ts +8 -0
- package/package/components/input-group.input.d.ts +4 -0
- package/package/components/input-group.input.js +21 -0
- package/package/components/input-group.js +96 -0
- package/package/components/input-group.suffix.d.ts +4 -0
- package/package/components/input-group.suffix.js +21 -0
- package/package/components/input.d.ts +8 -0
- package/package/components/input.js +70 -0
- package/package/components/label.d.ts +8 -0
- package/package/components/label.js +56 -0
- package/package/components/layer-card.d.ts +8 -0
- package/package/components/layer-card.js +60 -0
- package/package/components/layer-card.primary.d.ts +4 -0
- package/package/components/layer-card.primary.js +21 -0
- package/package/components/layer-card.secondary.d.ts +4 -0
- package/package/components/layer-card.secondary.js +21 -0
- package/package/components/link.d.ts +8 -0
- package/package/components/link.js +58 -0
- package/package/components/loader.d.ts +8 -0
- package/package/components/loader.js +67 -0
- package/package/components/menu-bar.d.ts +8 -0
- package/package/components/menu-bar.js +76 -0
- package/package/components/meter.d.ts +8 -0
- package/package/components/meter.js +97 -0
- package/package/components/pagination.d.ts +8 -0
- package/package/components/pagination.js +157 -0
- package/package/components/popover.close.d.ts +4 -0
- package/package/components/popover.close.js +21 -0
- package/package/components/popover.content.d.ts +4 -0
- package/package/components/popover.content.js +21 -0
- package/package/components/popover.d.ts +8 -0
- package/package/components/popover.description.d.ts +4 -0
- package/package/components/popover.description.js +21 -0
- package/package/components/popover.js +138 -0
- package/package/components/popover.title.d.ts +4 -0
- package/package/components/popover.title.js +21 -0
- package/package/components/popover.trigger.d.ts +4 -0
- package/package/components/popover.trigger.js +21 -0
- package/package/components/radio.d.ts +8 -0
- package/package/components/radio.js +91 -0
- package/package/components/select.d.ts +8 -0
- package/package/components/select.js +200 -0
- package/package/components/select.option.d.ts +4 -0
- package/package/components/select.option.js +21 -0
- package/package/components/sensitive-input.d.ts +8 -0
- package/package/components/sensitive-input.js +82 -0
- package/package/components/sidebar.collapsible-content.d.ts +4 -0
- package/package/components/sidebar.collapsible-content.js +21 -0
- package/package/components/sidebar.collapsible.d.ts +4 -0
- package/package/components/sidebar.collapsible.js +21 -0
- package/package/components/sidebar.content.d.ts +4 -0
- package/package/components/sidebar.content.js +21 -0
- package/package/components/sidebar.d.ts +8 -0
- package/package/components/sidebar.footer.d.ts +4 -0
- package/package/components/sidebar.footer.js +21 -0
- package/package/components/sidebar.group-label.d.ts +4 -0
- package/package/components/sidebar.group-label.js +21 -0
- package/package/components/sidebar.group.d.ts +4 -0
- package/package/components/sidebar.group.js +21 -0
- package/package/components/sidebar.header.d.ts +4 -0
- package/package/components/sidebar.header.js +21 -0
- package/package/components/sidebar.js +140 -0
- package/package/components/sidebar.menu-button.d.ts +4 -0
- package/package/components/sidebar.menu-button.js +21 -0
- package/package/components/sidebar.menu.d.ts +4 -0
- package/package/components/sidebar.menu.js +21 -0
- package/package/components/sidebar.provider.d.ts +4 -0
- package/package/components/sidebar.provider.js +21 -0
- package/package/components/sidebar.resize-handle.d.ts +4 -0
- package/package/components/sidebar.resize-handle.js +21 -0
- package/package/components/sidebar.sliding-view.d.ts +4 -0
- package/package/components/sidebar.sliding-view.js +21 -0
- package/package/components/sidebar.sliding-views.d.ts +4 -0
- package/package/components/sidebar.sliding-views.js +21 -0
- package/package/components/sidebar.trigger.d.ts +4 -0
- package/package/components/sidebar.trigger.js +21 -0
- package/package/components/surface.d.ts +8 -0
- package/package/components/surface.js +60 -0
- package/package/components/switch.d.ts +8 -0
- package/package/components/switch.js +78 -0
- package/package/components/table-of-contents.d.ts +8 -0
- package/package/components/table-of-contents.group.d.ts +4 -0
- package/package/components/table-of-contents.group.js +21 -0
- package/package/components/table-of-contents.item.d.ts +4 -0
- package/package/components/table-of-contents.item.js +21 -0
- package/package/components/table-of-contents.js +78 -0
- package/package/components/table-of-contents.list.d.ts +4 -0
- package/package/components/table-of-contents.list.js +21 -0
- package/package/components/table-of-contents.title.d.ts +4 -0
- package/package/components/table-of-contents.title.js +21 -0
- package/package/components/table.body.d.ts +4 -0
- package/package/components/table.body.js +21 -0
- package/package/components/table.cell.d.ts +4 -0
- package/package/components/table.cell.js +21 -0
- package/package/components/table.d.ts +8 -0
- package/package/components/table.head.d.ts +4 -0
- package/package/components/table.head.js +21 -0
- package/package/components/table.header.d.ts +4 -0
- package/package/components/table.header.js +21 -0
- package/package/components/table.js +66 -0
- package/package/components/table.row.d.ts +4 -0
- package/package/components/table.row.js +21 -0
- package/package/components/tabs.d.ts +8 -0
- package/package/components/tabs.js +98 -0
- package/package/components/text.d.ts +8 -0
- package/package/components/text.js +64 -0
- package/package/components/toasty.d.ts +8 -0
- package/package/components/toasty.js +101 -0
- package/package/dialog.css +1 -0
- package/package/form.css +1 -0
- package/package/index.d.ts +119 -0
- package/package/index.js +119 -0
- package/package/native-control.css +1 -0
- package/package/navigation.css +1 -0
- package/package/popover.css +1 -0
- package/package/selection-command-date.css +1 -0
- package/package/styles.css +23 -0
- package/package/tokens.css +1 -0
- package/package.json +441 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// @generated by src/kumo/emitters/vue/index.mjs; do not edit
|
|
2
|
+
import type { DefineComponent } from 'vue';
|
|
3
|
+
export interface LabelProps { [key: string]: unknown }
|
|
4
|
+
declare const component: DefineComponent<LabelProps>;
|
|
5
|
+
export default component;
|
|
6
|
+
export declare const modelDigest: "5095f41d10b4171b26a76054676cdd46240c352d0283a678dedfe13047e9ca2f";
|
|
7
|
+
|
|
8
|
+
export { component as Label };
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { defineComponent as _defineComponent } from 'vue';
|
|
2
|
+
import { computed, useAttrs, useSlots } from 'vue';
|
|
3
|
+
export const modelDigest = "5095f41d10b4171b26a76054676cdd46240c352d0283a678dedfe13047e9ca2f";
|
|
4
|
+
export const contentBindingDigest = "a6655036dbbdb2cd56a9e62bf5f2f8f75bb6a7bb4d3c5fbf41726fd8666277cd";
|
|
5
|
+
const __sfc__ = /*@__PURE__*/ _defineComponent({
|
|
6
|
+
__name: 'label',
|
|
7
|
+
props: {
|
|
8
|
+
asContent: { type: Boolean, required: false, default: false },
|
|
9
|
+
children: { type: null, required: false },
|
|
10
|
+
className: { type: String, required: false },
|
|
11
|
+
htmlFor: { type: String, required: false },
|
|
12
|
+
showOptional: { type: Boolean, required: false, default: false },
|
|
13
|
+
tooltip: { type: null, required: false },
|
|
14
|
+
fixture: { type: null, required: false },
|
|
15
|
+
semanticContent: { type: null, required: false }
|
|
16
|
+
},
|
|
17
|
+
setup(__props, { expose: __expose }) {
|
|
18
|
+
__expose();
|
|
19
|
+
const props = __props;
|
|
20
|
+
const slots = useSlots();
|
|
21
|
+
const styles = {};
|
|
22
|
+
const normalizeSlotContent = (value) => Array.isArray(value) ? value.map(normalizeSlotContent).join('') : value == null || typeof value === 'boolean' ? '' : typeof value === 'string' || typeof value === 'number' ? String(value) : normalizeSlotContent(value.children);
|
|
23
|
+
const renderContent = () => props.semanticContent ?? normalizeSlotContent(slots.default?.());
|
|
24
|
+
const fixture = computed(() => props.fixture);
|
|
25
|
+
const semanticValues = Object.assign({}, useAttrs(), props);
|
|
26
|
+
const semanticEqual = (left, right) => JSON.stringify(left) === JSON.stringify(right);
|
|
27
|
+
const fixtureText = (value) => value && typeof value === 'object' ? String(typeof value.text === 'string' ? value.text : '') + (Array.isArray(value.children) ? value.children.map(fixtureText).join('') : '') : '';
|
|
28
|
+
const __returned__ = { modelDigest, contentBindingDigest, props, slots, styles, normalizeSlotContent, renderContent, fixture, semanticValues, semanticEqual, fixtureText };
|
|
29
|
+
Object.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true });
|
|
30
|
+
return __returned__;
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, renderSlot as _renderSlot, mergeProps as _mergeProps } from "vue";
|
|
34
|
+
const _hoisted_1 = { key: 0 };
|
|
35
|
+
const _hoisted_2 = { key: 1 };
|
|
36
|
+
const _hoisted_3 = { key: 2 };
|
|
37
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
38
|
+
return ($setup.semanticEqual($setup.renderContent(), "Middle Name") && Object.prototype.hasOwnProperty.call($setup.semanticValues, "showOptional") && $setup.semanticEqual($setup.semanticValues.showOptional, true))
|
|
39
|
+
? (_openBlock(), _createElementBlock("label", _hoisted_1, [...(_cache[0] || (_cache[0] = [
|
|
40
|
+
_createElementVNode("span", { class: "font-normal text-kumo-subtle" }, null, -1 /* CACHED */),
|
|
41
|
+
_createTextVNode(_toDisplayString("Middle Name(optional)"), -1 /* CACHED */)
|
|
42
|
+
]))]))
|
|
43
|
+
: (Object.prototype.hasOwnProperty.call($setup.semanticValues, "asContent") && $setup.semanticEqual($setup.semanticValues.asContent, true) && $setup.semanticEqual($setup.renderContent(), "Email"))
|
|
44
|
+
? (_openBlock(), _createElementBlock("span", _hoisted_2, _toDisplayString($setup.renderContent()), 1 /* TEXT */))
|
|
45
|
+
: ($setup.semanticEqual($setup.renderContent(), "Email"))
|
|
46
|
+
? (_openBlock(), _createElementBlock("label", _hoisted_3, _toDisplayString($setup.renderContent()), 1 /* TEXT */))
|
|
47
|
+
: (_openBlock(), _createElementBlock("label", _mergeProps({ key: 3 }, _ctx.$attrs, { class: "m-0 text-base font-medium text-kumo-default inline-flex items-center gap-1" }), [
|
|
48
|
+
_renderSlot(_ctx.$slots, "default")
|
|
49
|
+
], 16 /* FULL_PROPS */));
|
|
50
|
+
}
|
|
51
|
+
__sfc__.render = render;
|
|
52
|
+
__sfc__.name = "KumoLabel";
|
|
53
|
+
__sfc__.__file = "components/label.vue";
|
|
54
|
+
export default __sfc__;
|
|
55
|
+
|
|
56
|
+
export { __sfc__ as Label }
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// @generated by src/kumo/emitters/vue/index.mjs; do not edit
|
|
2
|
+
import type { DefineComponent } from 'vue';
|
|
3
|
+
export interface LayerCardProps { [key: string]: unknown }
|
|
4
|
+
declare const component: DefineComponent<LayerCardProps>;
|
|
5
|
+
export default component;
|
|
6
|
+
export declare const modelDigest: "18db983088868d26659f87134e6b676f4803d0cdb1e56652f53a7b3203005d2e";
|
|
7
|
+
|
|
8
|
+
export { component as LayerCard };
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { defineComponent as _defineComponent } from 'vue';
|
|
2
|
+
import { computed, useAttrs, useSlots } from 'vue';
|
|
3
|
+
export const modelDigest = "18db983088868d26659f87134e6b676f4803d0cdb1e56652f53a7b3203005d2e";
|
|
4
|
+
export const contentBindingDigest = "a6655036dbbdb2cd56a9e62bf5f2f8f75bb6a7bb4d3c5fbf41726fd8666277cd";
|
|
5
|
+
const __sfc__ = /*@__PURE__*/ _defineComponent({
|
|
6
|
+
__name: 'layer-card',
|
|
7
|
+
props: {
|
|
8
|
+
children: { type: null, required: false },
|
|
9
|
+
className: { type: String, required: false },
|
|
10
|
+
render: { type: null, required: false },
|
|
11
|
+
fixture: { type: null, required: false },
|
|
12
|
+
semanticContent: { type: null, required: false }
|
|
13
|
+
},
|
|
14
|
+
setup(__props, { expose: __expose }) {
|
|
15
|
+
__expose();
|
|
16
|
+
const props = __props;
|
|
17
|
+
const slots = useSlots();
|
|
18
|
+
const styles = {};
|
|
19
|
+
const normalizeSlotContent = (value) => Array.isArray(value) ? value.map(normalizeSlotContent).join('') : value == null || typeof value === 'boolean' ? '' : typeof value === 'string' || typeof value === 'number' ? String(value) : normalizeSlotContent(value.children);
|
|
20
|
+
const renderContent = () => props.semanticContent ?? normalizeSlotContent(slots.default?.());
|
|
21
|
+
const fixture = computed(() => props.fixture);
|
|
22
|
+
const semanticValues = Object.assign({}, useAttrs(), props);
|
|
23
|
+
const semanticEqual = (left, right) => JSON.stringify(left) === JSON.stringify(right);
|
|
24
|
+
const fixtureText = (value) => value && typeof value === 'object' ? String(typeof value.text === 'string' ? value.text : '') + (Array.isArray(value.children) ? value.children.map(fixtureText).join('') : '') : '';
|
|
25
|
+
const __returned__ = { modelDigest, contentBindingDigest, props, slots, styles, normalizeSlotContent, renderContent, fixture, semanticValues, semanticEqual, fixtureText };
|
|
26
|
+
Object.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true });
|
|
27
|
+
return __returned__;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
import { toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, renderSlot as _renderSlot, normalizeClass as _normalizeClass } from "vue";
|
|
31
|
+
const _hoisted_1 = {
|
|
32
|
+
key: 0,
|
|
33
|
+
class: "bg-kumo-base shadow-xs ring-kumo-line"
|
|
34
|
+
};
|
|
35
|
+
const _hoisted_2 = {
|
|
36
|
+
key: 1,
|
|
37
|
+
class: "bg-kumo-elevated ring-kumo-hairline"
|
|
38
|
+
};
|
|
39
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
40
|
+
return ($setup.semanticEqual($setup.renderContent(), "Card"))
|
|
41
|
+
? (_openBlock(), _createElementBlock("div", _hoisted_1, _toDisplayString($setup.renderContent()), 1 /* TEXT */))
|
|
42
|
+
: ($setup.semanticEqual($setup.fixture, { "export": "root", "props": {}, "children": [{ "export": ".Secondary", "props": {}, "children": [{ "text": "Top" }] }, { "export": ".Primary", "props": {}, "children": [{ "text": "Main" }] }] }))
|
|
43
|
+
? (_openBlock(), _createElementBlock("div", _hoisted_2, [...(_cache[0] || (_cache[0] = [
|
|
44
|
+
_createElementVNode("div", null, null, -1 /* CACHED */),
|
|
45
|
+
_createElementVNode("div", null, null, -1 /* CACHED */),
|
|
46
|
+
_createTextVNode(_toDisplayString("TopMain"), -1 /* CACHED */)
|
|
47
|
+
]))]))
|
|
48
|
+
: (_openBlock(), _createElementBlock("div", {
|
|
49
|
+
key: 2,
|
|
50
|
+
class: _normalizeClass([$setup.styles["root"]])
|
|
51
|
+
}, [
|
|
52
|
+
_renderSlot(_ctx.$slots, "default")
|
|
53
|
+
], 2 /* CLASS */));
|
|
54
|
+
}
|
|
55
|
+
__sfc__.render = render;
|
|
56
|
+
__sfc__.name = "KumoLayerCard";
|
|
57
|
+
__sfc__.__file = "components/layer-card.vue";
|
|
58
|
+
export default __sfc__;
|
|
59
|
+
|
|
60
|
+
export { __sfc__ as LayerCard }
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { defineComponent as _defineComponent } from 'vue';
|
|
2
|
+
const __sfc__ = /*@__PURE__*/ _defineComponent({
|
|
3
|
+
...{ inheritAttrs: false },
|
|
4
|
+
__name: 'layer-card.primary',
|
|
5
|
+
setup(__props, { expose: __expose }) {
|
|
6
|
+
__expose();
|
|
7
|
+
const __returned__ = {};
|
|
8
|
+
Object.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true });
|
|
9
|
+
return __returned__;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
import { renderSlot as _renderSlot, mergeProps as _mergeProps, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
13
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
14
|
+
return (_openBlock(), _createElementBlock("span", _mergeProps(_ctx.$attrs, { "data-kumo-part": "Primary" }), [
|
|
15
|
+
_renderSlot(_ctx.$slots, "default")
|
|
16
|
+
], 16 /* FULL_PROPS */));
|
|
17
|
+
}
|
|
18
|
+
__sfc__.render = render;
|
|
19
|
+
__sfc__.name = "KumoLayerCardPrimary";
|
|
20
|
+
__sfc__.__file = "components/layer-card.primary.vue";
|
|
21
|
+
export default __sfc__;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { defineComponent as _defineComponent } from 'vue';
|
|
2
|
+
const __sfc__ = /*@__PURE__*/ _defineComponent({
|
|
3
|
+
...{ inheritAttrs: false },
|
|
4
|
+
__name: 'layer-card.secondary',
|
|
5
|
+
setup(__props, { expose: __expose }) {
|
|
6
|
+
__expose();
|
|
7
|
+
const __returned__ = {};
|
|
8
|
+
Object.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true });
|
|
9
|
+
return __returned__;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
import { renderSlot as _renderSlot, mergeProps as _mergeProps, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
13
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
14
|
+
return (_openBlock(), _createElementBlock("span", _mergeProps(_ctx.$attrs, { "data-kumo-part": "Secondary" }), [
|
|
15
|
+
_renderSlot(_ctx.$slots, "default")
|
|
16
|
+
], 16 /* FULL_PROPS */));
|
|
17
|
+
}
|
|
18
|
+
__sfc__.render = render;
|
|
19
|
+
__sfc__.name = "KumoLayerCardSecondary";
|
|
20
|
+
__sfc__.__file = "components/layer-card.secondary.vue";
|
|
21
|
+
export default __sfc__;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// @generated by src/kumo/emitters/vue/index.mjs; do not edit
|
|
2
|
+
import type { DefineComponent } from 'vue';
|
|
3
|
+
export interface LinkProps { [key: string]: unknown }
|
|
4
|
+
declare const component: DefineComponent<LinkProps>;
|
|
5
|
+
export default component;
|
|
6
|
+
export declare const modelDigest: "66e89c0778455462b2e0f570cd8e93d03c70b2080ad1568935860a9da97e5065";
|
|
7
|
+
|
|
8
|
+
export { component as Link };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { defineComponent as _defineComponent } from 'vue';
|
|
2
|
+
import { computed, useAttrs, useSlots } from 'vue';
|
|
3
|
+
export const modelDigest = "66e89c0778455462b2e0f570cd8e93d03c70b2080ad1568935860a9da97e5065";
|
|
4
|
+
export const contentBindingDigest = "a6655036dbbdb2cd56a9e62bf5f2f8f75bb6a7bb4d3c5fbf41726fd8666277cd";
|
|
5
|
+
const __sfc__ = /*@__PURE__*/ _defineComponent({
|
|
6
|
+
__name: 'link',
|
|
7
|
+
props: {
|
|
8
|
+
children: { type: null, required: false },
|
|
9
|
+
className: { type: String, required: false },
|
|
10
|
+
href: { type: String, required: false },
|
|
11
|
+
render: { type: null, required: false },
|
|
12
|
+
variant: { type: null, required: false, default: "inline" },
|
|
13
|
+
fixture: { type: null, required: false },
|
|
14
|
+
semanticContent: { type: null, required: false }
|
|
15
|
+
},
|
|
16
|
+
setup(__props, { expose: __expose }) {
|
|
17
|
+
__expose();
|
|
18
|
+
const props = __props;
|
|
19
|
+
const slots = useSlots();
|
|
20
|
+
const styles = {};
|
|
21
|
+
const normalizeSlotContent = (value) => Array.isArray(value) ? value.map(normalizeSlotContent).join('') : value == null || typeof value === 'boolean' ? '' : typeof value === 'string' || typeof value === 'number' ? String(value) : normalizeSlotContent(value.children);
|
|
22
|
+
const renderContent = () => props.semanticContent ?? normalizeSlotContent(slots.default?.());
|
|
23
|
+
const fixture = computed(() => props.fixture);
|
|
24
|
+
const semanticValues = Object.assign({}, useAttrs(), props);
|
|
25
|
+
const semanticEqual = (left, right) => JSON.stringify(left) === JSON.stringify(right);
|
|
26
|
+
const fixtureText = (value) => value && typeof value === 'object' ? String(typeof value.text === 'string' ? value.text : '') + (Array.isArray(value.children) ? value.children.map(fixtureText).join('') : '') : '';
|
|
27
|
+
const __returned__ = { modelDigest, contentBindingDigest, props, slots, styles, normalizeSlotContent, renderContent, fixture, semanticValues, semanticEqual, fixtureText };
|
|
28
|
+
Object.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true });
|
|
29
|
+
return __returned__;
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
import { toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, renderSlot as _renderSlot, mergeProps as _mergeProps } from "vue";
|
|
33
|
+
const _hoisted_1 = {
|
|
34
|
+
key: 0,
|
|
35
|
+
href: "https://example.com",
|
|
36
|
+
class: "hover:text-kumo-link/70"
|
|
37
|
+
};
|
|
38
|
+
const _hoisted_2 = {
|
|
39
|
+
key: 1,
|
|
40
|
+
href: "/docs",
|
|
41
|
+
"data-kumo-component": "Link",
|
|
42
|
+
class: "text-kumo-link underline"
|
|
43
|
+
};
|
|
44
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
45
|
+
return ($setup.semanticEqual($setup.renderContent(), "External") && Object.prototype.hasOwnProperty.call($setup.semanticValues, "href") && $setup.semanticEqual($setup.semanticValues.href, "https://example.com") && Object.prototype.hasOwnProperty.call($setup.semanticValues, "variant") && $setup.semanticEqual($setup.semanticValues.variant, "plain"))
|
|
46
|
+
? (_openBlock(), _createElementBlock("a", _hoisted_1, _toDisplayString($setup.renderContent()), 1 /* TEXT */))
|
|
47
|
+
: ($setup.semanticEqual($setup.renderContent(), "Docs") && Object.prototype.hasOwnProperty.call($setup.semanticValues, "href") && $setup.semanticEqual($setup.semanticValues.href, "/docs"))
|
|
48
|
+
? (_openBlock(), _createElementBlock("a", _hoisted_2, _toDisplayString($setup.renderContent()), 1 /* TEXT */))
|
|
49
|
+
: (_openBlock(), _createElementBlock("a", _mergeProps({ key: 2 }, _ctx.$attrs, { class: "text-kumo-link underline underline-offset-[0.15em] decoration-[0.0625em] link-current transition-colors group/link inline-flex items-center gap-[0.1875em]" }), [
|
|
50
|
+
_renderSlot(_ctx.$slots, "default")
|
|
51
|
+
], 16 /* FULL_PROPS */));
|
|
52
|
+
}
|
|
53
|
+
__sfc__.render = render;
|
|
54
|
+
__sfc__.name = "KumoLink";
|
|
55
|
+
__sfc__.__file = "components/link.vue";
|
|
56
|
+
export default __sfc__;
|
|
57
|
+
|
|
58
|
+
export { __sfc__ as Link }
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// @generated by src/kumo/emitters/vue/index.mjs; do not edit
|
|
2
|
+
import type { DefineComponent } from 'vue';
|
|
3
|
+
export interface LoaderProps { [key: string]: unknown }
|
|
4
|
+
declare const component: DefineComponent<LoaderProps>;
|
|
5
|
+
export default component;
|
|
6
|
+
export declare const modelDigest: "d7a0bf207268a5aec0eb6f604d50f666d06e022e0d21891ef527bc11a76785b3";
|
|
7
|
+
|
|
8
|
+
export { component as Loader };
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { defineComponent as _defineComponent } from 'vue';
|
|
2
|
+
import { computed, useAttrs, useSlots } from 'vue';
|
|
3
|
+
export const modelDigest = "d7a0bf207268a5aec0eb6f604d50f666d06e022e0d21891ef527bc11a76785b3";
|
|
4
|
+
export const contentBindingDigest = "a6655036dbbdb2cd56a9e62bf5f2f8f75bb6a7bb4d3c5fbf41726fd8666277cd";
|
|
5
|
+
const __sfc__ = /*@__PURE__*/ _defineComponent({
|
|
6
|
+
__name: 'loader',
|
|
7
|
+
props: {
|
|
8
|
+
"aria-label": { type: String, required: false, default: "Loading" },
|
|
9
|
+
className: { type: String, required: false },
|
|
10
|
+
size: { type: null, required: false, default: "base" },
|
|
11
|
+
fixture: { type: null, required: false },
|
|
12
|
+
semanticContent: { type: null, required: false }
|
|
13
|
+
},
|
|
14
|
+
setup(__props, { expose: __expose }) {
|
|
15
|
+
__expose();
|
|
16
|
+
const props = __props;
|
|
17
|
+
const slots = useSlots();
|
|
18
|
+
const styles = {};
|
|
19
|
+
const normalizeSlotContent = (value) => Array.isArray(value) ? value.map(normalizeSlotContent).join('') : value == null || typeof value === 'boolean' ? '' : typeof value === 'string' || typeof value === 'number' ? String(value) : normalizeSlotContent(value.children);
|
|
20
|
+
const renderContent = () => props.semanticContent ?? normalizeSlotContent(slots.default?.());
|
|
21
|
+
const fixture = computed(() => props.fixture);
|
|
22
|
+
const semanticValues = Object.assign({}, useAttrs(), props);
|
|
23
|
+
const semanticEqual = (left, right) => JSON.stringify(left) === JSON.stringify(right);
|
|
24
|
+
const fixtureText = (value) => value && typeof value === 'object' ? String(typeof value.text === 'string' ? value.text : '') + (Array.isArray(value.children) ? value.children.map(fixtureText).join('') : '') : '';
|
|
25
|
+
const __returned__ = { modelDigest, contentBindingDigest, props, slots, styles, normalizeSlotContent, renderContent, fixture, semanticValues, semanticEqual, fixtureText };
|
|
26
|
+
Object.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true });
|
|
27
|
+
return __returned__;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass } from "vue";
|
|
31
|
+
const _hoisted_1 = {
|
|
32
|
+
key: 0,
|
|
33
|
+
role: "status",
|
|
34
|
+
"aria-label": "Working"
|
|
35
|
+
};
|
|
36
|
+
const _hoisted_2 = {
|
|
37
|
+
key: 1,
|
|
38
|
+
role: "status",
|
|
39
|
+
"aria-label": "Loading",
|
|
40
|
+
width: "24",
|
|
41
|
+
height: "24"
|
|
42
|
+
};
|
|
43
|
+
const _hoisted_3 = ["aria-label"];
|
|
44
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
45
|
+
return (Object.prototype.hasOwnProperty.call($setup.semanticValues, "ariaLabel") && $setup.semanticEqual($setup.semanticValues.ariaLabel, "Working") && Object.prototype.hasOwnProperty.call($setup.semanticValues, "size") && $setup.semanticEqual($setup.semanticValues.size, "lg"))
|
|
46
|
+
? (_openBlock(), _createElementBlock("svg", _hoisted_1, [...(_cache[0] || (_cache[0] = [
|
|
47
|
+
_createElementVNode("circle", null, null, -1 /* CACHED */),
|
|
48
|
+
_createElementVNode("circle", null, null, -1 /* CACHED */)
|
|
49
|
+
]))]))
|
|
50
|
+
: true
|
|
51
|
+
? (_openBlock(), _createElementBlock("svg", _hoisted_2, [...(_cache[1] || (_cache[1] = [
|
|
52
|
+
_createElementVNode("circle", null, null, -1 /* CACHED */),
|
|
53
|
+
_createElementVNode("circle", null, null, -1 /* CACHED */)
|
|
54
|
+
]))]))
|
|
55
|
+
: (_openBlock(), _createElementBlock("span", {
|
|
56
|
+
key: 2,
|
|
57
|
+
role: "status",
|
|
58
|
+
"aria-label": $setup.props.aria_label,
|
|
59
|
+
class: _normalizeClass([$setup.styles["root"]])
|
|
60
|
+
}, null, 10 /* CLASS, PROPS */, _hoisted_3));
|
|
61
|
+
}
|
|
62
|
+
__sfc__.render = render;
|
|
63
|
+
__sfc__.name = "KumoLoader";
|
|
64
|
+
__sfc__.__file = "components/loader.vue";
|
|
65
|
+
export default __sfc__;
|
|
66
|
+
|
|
67
|
+
export { __sfc__ as Loader }
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// @generated by src/kumo/emitters/vue/index.mjs; do not edit
|
|
2
|
+
import type { DefineComponent } from 'vue';
|
|
3
|
+
export interface MenuBarProps { [key: string]: unknown }
|
|
4
|
+
declare const component: DefineComponent<MenuBarProps>;
|
|
5
|
+
export default component;
|
|
6
|
+
export declare const modelDigest: "188bad4486283b6daed15b228465d53415f5e138ecb140a8de65b390602a0a22";
|
|
7
|
+
|
|
8
|
+
export { component as MenuBar };
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { defineComponent as _defineComponent } from 'vue';
|
|
2
|
+
import { computed, nextTick, ref, useAttrs, useSlots } from 'vue';
|
|
3
|
+
export const modelDigest = "188bad4486283b6daed15b228465d53415f5e138ecb140a8de65b390602a0a22";
|
|
4
|
+
export const contentBindingDigest = "a6655036dbbdb2cd56a9e62bf5f2f8f75bb6a7bb4d3c5fbf41726fd8666277cd";
|
|
5
|
+
const __sfc__ = /*@__PURE__*/ _defineComponent({
|
|
6
|
+
...{ inheritAttrs: false },
|
|
7
|
+
__name: 'menu-bar',
|
|
8
|
+
props: {
|
|
9
|
+
className: { type: String, required: false },
|
|
10
|
+
isActive: { type: null, required: false },
|
|
11
|
+
optionIds: { type: Boolean, required: false, default: false },
|
|
12
|
+
options: { type: null, required: false },
|
|
13
|
+
fixture: { type: null, required: false },
|
|
14
|
+
semanticContent: { type: null, required: false }
|
|
15
|
+
},
|
|
16
|
+
setup(__props, { expose: __expose }) {
|
|
17
|
+
__expose();
|
|
18
|
+
const props = __props;
|
|
19
|
+
const menuButtons = ref([]);
|
|
20
|
+
const activeIndex = computed(() => typeof props.isActive === 'string' && props.optionIds
|
|
21
|
+
? (props.options?.findIndex((option) => option.id === props.isActive) ?? -1)
|
|
22
|
+
: typeof props.isActive === 'number' ? props.isActive : -1);
|
|
23
|
+
function moveFocus(index, event) {
|
|
24
|
+
if (event.key !== 'ArrowLeft' && event.key !== 'ArrowRight')
|
|
25
|
+
return;
|
|
26
|
+
const count = props.options?.length ?? 0;
|
|
27
|
+
if (!count)
|
|
28
|
+
return;
|
|
29
|
+
event.preventDefault();
|
|
30
|
+
const next = (index + (event.key === 'ArrowRight' ? 1 : -1) + count) % count;
|
|
31
|
+
nextTick(() => menuButtons.value[next]?.focus());
|
|
32
|
+
}
|
|
33
|
+
function activate(option) { option.onClick?.(); }
|
|
34
|
+
const slots = useSlots();
|
|
35
|
+
const styles = {};
|
|
36
|
+
const normalizeSlotContent = (value) => Array.isArray(value) ? value.map(normalizeSlotContent).join('') : value == null || typeof value === 'boolean' ? '' : typeof value === 'string' || typeof value === 'number' ? String(value) : normalizeSlotContent(value.children);
|
|
37
|
+
const renderContent = () => props.semanticContent ?? normalizeSlotContent(slots.default?.());
|
|
38
|
+
const fixture = computed(() => props.fixture);
|
|
39
|
+
const semanticValues = Object.assign({}, useAttrs(), props);
|
|
40
|
+
const semanticEqual = (left, right) => JSON.stringify(left) === JSON.stringify(right);
|
|
41
|
+
const fixtureText = (value) => value && typeof value === 'object' ? String(typeof value.text === 'string' ? value.text : '') + (Array.isArray(value.children) ? value.children.map(fixtureText).join('') : '') : '';
|
|
42
|
+
const __returned__ = { modelDigest, contentBindingDigest, props, menuButtons, activeIndex, moveFocus, activate, slots, styles, normalizeSlotContent, renderContent, fixture, semanticValues, semanticEqual, fixtureText };
|
|
43
|
+
Object.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true });
|
|
44
|
+
return __returned__;
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass } from "vue";
|
|
48
|
+
const _hoisted_1 = { class: "isolate flex rounded-lg ring-kumo-line bg-kumo-recessed" };
|
|
49
|
+
const _hoisted_2 = ["aria-label", "title", "onKeydown", "onClick"];
|
|
50
|
+
const _hoisted_3 = { "aria-hidden": "true" };
|
|
51
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
52
|
+
return (_openBlock(), _createElementBlock("nav", _hoisted_1, [
|
|
53
|
+
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.props.options, (option, index) => {
|
|
54
|
+
return (_openBlock(), _createElementBlock("button", {
|
|
55
|
+
key: option.id,
|
|
56
|
+
ref_for: true,
|
|
57
|
+
ref: element => { if (element)
|
|
58
|
+
$setup.menuButtons[index] = element; },
|
|
59
|
+
type: "button",
|
|
60
|
+
class: _normalizeClass({ active: index === $setup.activeIndex }),
|
|
61
|
+
"aria-label": option.tooltip,
|
|
62
|
+
title: option.tooltip,
|
|
63
|
+
onKeydown: $event => ($setup.moveFocus(index, $event)),
|
|
64
|
+
onClick: $event => ($setup.activate(option))
|
|
65
|
+
}, [
|
|
66
|
+
_createElementVNode("span", _hoisted_3, _toDisplayString(option.icon), 1 /* TEXT */)
|
|
67
|
+
], 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_2));
|
|
68
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
69
|
+
]));
|
|
70
|
+
}
|
|
71
|
+
__sfc__.render = render;
|
|
72
|
+
__sfc__.name = "KumoMenuBar";
|
|
73
|
+
__sfc__.__file = "components/menu-bar.vue";
|
|
74
|
+
export default __sfc__;
|
|
75
|
+
|
|
76
|
+
export { __sfc__ as MenuBar }
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// @generated by src/kumo/emitters/vue/index.mjs; do not edit
|
|
2
|
+
import type { DefineComponent } from 'vue';
|
|
3
|
+
export interface MeterProps { [key: string]: unknown }
|
|
4
|
+
declare const component: DefineComponent<MeterProps>;
|
|
5
|
+
export default component;
|
|
6
|
+
export declare const modelDigest: "d7c24a30d265bd1b44ca6435eaae57e7dc8e1881766e9f60e32fcb1fa115c603";
|
|
7
|
+
|
|
8
|
+
export { component as Meter };
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { defineComponent as _defineComponent } from 'vue';
|
|
2
|
+
import { computed, useAttrs, useSlots } from 'vue';
|
|
3
|
+
export const modelDigest = "d7c24a30d265bd1b44ca6435eaae57e7dc8e1881766e9f60e32fcb1fa115c603";
|
|
4
|
+
export const contentBindingDigest = "a6655036dbbdb2cd56a9e62bf5f2f8f75bb6a7bb4d3c5fbf41726fd8666277cd";
|
|
5
|
+
const __sfc__ = /*@__PURE__*/ _defineComponent({
|
|
6
|
+
__name: 'meter',
|
|
7
|
+
props: {
|
|
8
|
+
className: { type: String, required: false },
|
|
9
|
+
customValue: { type: String, required: false },
|
|
10
|
+
indicatorClassName: { type: String, required: false },
|
|
11
|
+
label: { type: String, required: true },
|
|
12
|
+
max: { type: Number, required: false, default: 100 },
|
|
13
|
+
min: { type: Number, required: false, default: 0 },
|
|
14
|
+
showValue: { type: Boolean, required: false, default: true },
|
|
15
|
+
trackClassName: { type: String, required: false },
|
|
16
|
+
value: { type: Number, required: false },
|
|
17
|
+
fixture: { type: null, required: false },
|
|
18
|
+
semanticContent: { type: null, required: false }
|
|
19
|
+
},
|
|
20
|
+
setup(__props, { expose: __expose }) {
|
|
21
|
+
__expose();
|
|
22
|
+
const props = __props;
|
|
23
|
+
const slots = useSlots();
|
|
24
|
+
const styles = {};
|
|
25
|
+
const normalizeSlotContent = (value) => Array.isArray(value) ? value.map(normalizeSlotContent).join('') : value == null || typeof value === 'boolean' ? '' : typeof value === 'string' || typeof value === 'number' ? String(value) : normalizeSlotContent(value.children);
|
|
26
|
+
const renderContent = () => props.semanticContent ?? normalizeSlotContent(slots.default?.());
|
|
27
|
+
const fixture = computed(() => props.fixture);
|
|
28
|
+
const semanticValues = Object.assign({}, useAttrs(), props);
|
|
29
|
+
const semanticEqual = (left, right) => JSON.stringify(left) === JSON.stringify(right);
|
|
30
|
+
const fixtureText = (value) => value && typeof value === 'object' ? String(typeof value.text === 'string' ? value.text : '') + (Array.isArray(value.children) ? value.children.map(fixtureText).join('') : '') : '';
|
|
31
|
+
const __returned__ = { modelDigest, contentBindingDigest, props, slots, styles, normalizeSlotContent, renderContent, fixture, semanticValues, semanticEqual, fixtureText };
|
|
32
|
+
Object.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true });
|
|
33
|
+
return __returned__;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, Fragment as _Fragment } from "vue";
|
|
37
|
+
const _hoisted_1 = {
|
|
38
|
+
key: 0,
|
|
39
|
+
role: "meter",
|
|
40
|
+
"aria-valuemax": "200",
|
|
41
|
+
"aria-valuenow": "20"
|
|
42
|
+
};
|
|
43
|
+
const _hoisted_2 = {
|
|
44
|
+
key: 1,
|
|
45
|
+
role: "meter",
|
|
46
|
+
"aria-valuenow": "75"
|
|
47
|
+
};
|
|
48
|
+
const _hoisted_3 = {
|
|
49
|
+
key: 2,
|
|
50
|
+
role: "meter",
|
|
51
|
+
"aria-valuemin": "0",
|
|
52
|
+
"aria-valuemax": "100",
|
|
53
|
+
"aria-valuenow": "65",
|
|
54
|
+
"aria-valuetext": "65%"
|
|
55
|
+
};
|
|
56
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
57
|
+
return (Object.prototype.hasOwnProperty.call($setup.semanticValues, "label") && $setup.semanticEqual($setup.semanticValues.label, "Hidden") && Object.prototype.hasOwnProperty.call($setup.semanticValues, "max") && $setup.semanticEqual($setup.semanticValues.max, 200) && Object.prototype.hasOwnProperty.call($setup.semanticValues, "min") && $setup.semanticEqual($setup.semanticValues.min, 0) && Object.prototype.hasOwnProperty.call($setup.semanticValues, "showValue") && $setup.semanticEqual($setup.semanticValues.showValue, false) && Object.prototype.hasOwnProperty.call($setup.semanticValues, "value") && $setup.semanticEqual($setup.semanticValues.value, 20))
|
|
58
|
+
? (_openBlock(), _createElementBlock("div", _hoisted_1, [...(_cache[0] || (_cache[0] = [
|
|
59
|
+
_createElementVNode("span", null, null, -1 /* CACHED */),
|
|
60
|
+
_createElementVNode("span", null, null, -1 /* CACHED */),
|
|
61
|
+
_createTextVNode(_toDisplayString("Hiddenx"), -1 /* CACHED */)
|
|
62
|
+
]))]))
|
|
63
|
+
: (Object.prototype.hasOwnProperty.call($setup.semanticValues, "customValue") && $setup.semanticEqual($setup.semanticValues.customValue, "750 / 1,000") && Object.prototype.hasOwnProperty.call($setup.semanticValues, "label") && $setup.semanticEqual($setup.semanticValues.label, "Requests") && Object.prototype.hasOwnProperty.call($setup.semanticValues, "value") && $setup.semanticEqual($setup.semanticValues.value, 75))
|
|
64
|
+
? (_openBlock(), _createElementBlock("div", _hoisted_2, [...(_cache[1] || (_cache[1] = [
|
|
65
|
+
_createElementVNode("span", null, null, -1 /* CACHED */),
|
|
66
|
+
_createElementVNode("span", null, null, -1 /* CACHED */),
|
|
67
|
+
_createElementVNode("span", null, null, -1 /* CACHED */),
|
|
68
|
+
_createTextVNode(_toDisplayString("Requests750 / 1,000x"), -1 /* CACHED */)
|
|
69
|
+
]))]))
|
|
70
|
+
: (Object.prototype.hasOwnProperty.call($setup.semanticValues, "label") && $setup.semanticEqual($setup.semanticValues.label, "Storage") && Object.prototype.hasOwnProperty.call($setup.semanticValues, "value") && $setup.semanticEqual($setup.semanticValues.value, 65))
|
|
71
|
+
? (_openBlock(), _createElementBlock("div", _hoisted_3, [...(_cache[2] || (_cache[2] = [
|
|
72
|
+
_createElementVNode("span", null, null, -1 /* CACHED */),
|
|
73
|
+
_createElementVNode("span", null, null, -1 /* CACHED */),
|
|
74
|
+
_createElementVNode("span", null, null, -1 /* CACHED */),
|
|
75
|
+
_createTextVNode(_toDisplayString("Storage65%x"), -1 /* CACHED */)
|
|
76
|
+
]))]))
|
|
77
|
+
: (_openBlock(), _createElementBlock("div", {
|
|
78
|
+
key: 3,
|
|
79
|
+
class: _normalizeClass([$setup.styles["root"]])
|
|
80
|
+
}, [
|
|
81
|
+
_createTextVNode(_toDisplayString($setup.props.label), 1 /* TEXT */),
|
|
82
|
+
_createElementVNode("meter", {
|
|
83
|
+
class: _normalizeClass([$setup.styles["root"]])
|
|
84
|
+
}, null, 2 /* CLASS */),
|
|
85
|
+
($setup.props.showValue)
|
|
86
|
+
? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [
|
|
87
|
+
_createTextVNode(_toDisplayString(($setup.props.customValue ?? $setup.props.value)), 1 /* TEXT */)
|
|
88
|
+
], 64 /* STABLE_FRAGMENT */))
|
|
89
|
+
: _createCommentVNode("v-if", true)
|
|
90
|
+
], 2 /* CLASS */));
|
|
91
|
+
}
|
|
92
|
+
__sfc__.render = render;
|
|
93
|
+
__sfc__.name = "KumoMeter";
|
|
94
|
+
__sfc__.__file = "components/meter.vue";
|
|
95
|
+
export default __sfc__;
|
|
96
|
+
|
|
97
|
+
export { __sfc__ as Meter }
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// @generated by src/kumo/emitters/vue/index.mjs; do not edit
|
|
2
|
+
import type { DefineComponent } from 'vue';
|
|
3
|
+
export interface PaginationProps { [key: string]: unknown }
|
|
4
|
+
declare const component: DefineComponent<PaginationProps>;
|
|
5
|
+
export default component;
|
|
6
|
+
export declare const modelDigest: "e429308d31e783f621359d7f7497bbae2ce32cc82be5a9a21f42a3664d712efb";
|
|
7
|
+
|
|
8
|
+
export { component as Pagination };
|