dou-ui 0.1.0-alpha.13 → 0.1.0-alpha.14
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/components/button/button.js.map +1 -1
- package/dist/components/button/button.vue_vue_type_script_setup_true_lang.js +9 -3
- package/dist/components/button/button.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/color-panel/style.js +1 -0
- package/dist/components/color-picker/style.js +1 -0
- package/dist/components/comment-thread/style.js +2 -0
- package/dist/components/copy-button/copy-button.js.map +1 -1
- package/dist/components/copy-button/copy-button.vue_vue_type_script_setup_true_lang.js +13 -5
- package/dist/components/copy-button/copy-button.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/dropdown/style.js +2 -0
- package/dist/components/field-group/style.js +2 -0
- package/dist/components/input/input.js.map +1 -1
- package/dist/components/input/input.vue_vue_type_script_setup_true_lang.js +22 -7
- package/dist/components/input/input.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/input-number/input-number.js.map +1 -1
- package/dist/components/input-number/input-number.vue_vue_type_script_setup_true_lang.js +22 -7
- package/dist/components/input-number/input-number.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/menu/style.js +2 -0
- package/dist/components/menubar/style.js +2 -0
- package/dist/style.css +1 -1
- package/dist/types/utils/field-action.d.ts +59 -0
- package/dist/utils/field-action.js +139 -0
- package/dist/utils/field-action.js.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type { InjectionKey, PropType, VNode } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* A button in the prefix or suffix of a field (DouInput, DouInputNumber)
|
|
4
|
+
* acts for the field: it is disabled with it, and the field sets its height.
|
|
5
|
+
*/
|
|
6
|
+
export interface FieldActionContext {
|
|
7
|
+
disabled: () => boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const fieldActionKey: InjectionKey<FieldActionContext | undefined>;
|
|
10
|
+
/**
|
|
11
|
+
* Whether a button sits in a field's prefix or suffix as its action. The
|
|
12
|
+
* field's context reaches every descendant, so a button in a panel the
|
|
13
|
+
* prefix or suffix opens (a popover, a dialog) would get it too; once
|
|
14
|
+
* mounted the button checks it is placed in the prefix or suffix itself,
|
|
15
|
+
* not in a panel teleported away or laid over the page.
|
|
16
|
+
*/
|
|
17
|
+
export declare function useFieldAction(el: () => Element | null | undefined): {
|
|
18
|
+
active: import("vue").ComputedRef<boolean>;
|
|
19
|
+
disabled: () => boolean;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* The prefix or suffix of a field. Renders the slot once, lets the buttons
|
|
23
|
+
* in it know they act for the field, and marks itself `is-edge-action` when
|
|
24
|
+
* its outermost content is a button, so the field can give that button the
|
|
25
|
+
* padding on its side. The vnodes give a first answer, which holds for
|
|
26
|
+
* server rendering; once mounted the DOM decides, which also sees a button
|
|
27
|
+
* wrapped in another component.
|
|
28
|
+
*/
|
|
29
|
+
export declare const FieldAffix: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
30
|
+
side: {
|
|
31
|
+
type: PropType<"start" | "end">;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
disabled: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
render: {
|
|
39
|
+
type: PropType<() => unknown>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
43
|
+
[key: string]: any;
|
|
44
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
45
|
+
side: {
|
|
46
|
+
type: PropType<"start" | "end">;
|
|
47
|
+
required: true;
|
|
48
|
+
};
|
|
49
|
+
disabled: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
render: {
|
|
54
|
+
type: PropType<() => unknown>;
|
|
55
|
+
required: true;
|
|
56
|
+
};
|
|
57
|
+
}>> & Readonly<{}>, {
|
|
58
|
+
disabled: boolean;
|
|
59
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { Comment, Fragment, Text, computed, defineComponent, h, inject, isVNode, onBeforeUnmount, onMounted, provide, ref, useTemplateRef } from "vue";
|
|
2
|
+
// src/utils/field-action.ts
|
|
3
|
+
var fieldActionKey = Symbol("dou-field-action");
|
|
4
|
+
var AFFIX_ATTR = "data-field-affix";
|
|
5
|
+
/** Whether nothing positioned or hidden comes between `el` and the affix it sits in. */
|
|
6
|
+
function placedInAffix(el) {
|
|
7
|
+
for (let node = el.parentElement; node; node = node.parentElement) {
|
|
8
|
+
if (node.hasAttribute(AFFIX_ATTR)) return true;
|
|
9
|
+
const style = getComputedStyle(node);
|
|
10
|
+
if (style.display === "none" || style.position === "absolute" || style.position === "fixed") return false;
|
|
11
|
+
}
|
|
12
|
+
return false;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Whether a button sits in a field's prefix or suffix as its action. The
|
|
16
|
+
* field's context reaches every descendant, so a button in a panel the
|
|
17
|
+
* prefix or suffix opens (a popover, a dialog) would get it too; once
|
|
18
|
+
* mounted the button checks it is placed in the prefix or suffix itself,
|
|
19
|
+
* not in a panel teleported away or laid over the page.
|
|
20
|
+
*/
|
|
21
|
+
function useFieldAction(el) {
|
|
22
|
+
const field = inject(fieldActionKey, void 0);
|
|
23
|
+
const placed = ref(!!field);
|
|
24
|
+
if (field) onMounted(() => {
|
|
25
|
+
const node = el();
|
|
26
|
+
placed.value = !!node && placedInAffix(node);
|
|
27
|
+
});
|
|
28
|
+
return {
|
|
29
|
+
active: computed(() => placed.value),
|
|
30
|
+
disabled: () => placed.value && !!field?.disabled()
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
var ACTIONS = ["DouButton", "DouCopyButton"];
|
|
34
|
+
var ACTION_SELECTOR = ".is-field-action";
|
|
35
|
+
/** The outermost node that shows something, or undefined. */
|
|
36
|
+
function edgeNode(nodes, side) {
|
|
37
|
+
const list = Array.isArray(nodes) ? nodes : [nodes];
|
|
38
|
+
for (let i = 0; i < list.length; i++) {
|
|
39
|
+
const node = list[side === "start" ? i : list.length - 1 - i];
|
|
40
|
+
if (!isVNode(node)) {
|
|
41
|
+
if (typeof node === "string" ? node.trim() !== "" : typeof node === "number") return node;
|
|
42
|
+
continue;
|
|
43
|
+
}
|
|
44
|
+
if (node.type === Comment) continue;
|
|
45
|
+
if (node.type === Text) {
|
|
46
|
+
if (String(node.children ?? "").trim() !== "") return node;
|
|
47
|
+
continue;
|
|
48
|
+
}
|
|
49
|
+
if (node.type === Fragment) {
|
|
50
|
+
const inner = edgeNode(node.children, side);
|
|
51
|
+
if (inner !== void 0) return inner;
|
|
52
|
+
continue;
|
|
53
|
+
}
|
|
54
|
+
return node;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
/** Whether rendered slot content starts or ends with a button, as far as the vnodes tell. */
|
|
58
|
+
function guessEdge(nodes, side) {
|
|
59
|
+
const node = edgeNode(nodes, side);
|
|
60
|
+
if (!isVNode(node) || typeof node.type !== "object") return false;
|
|
61
|
+
return ACTIONS.includes(node.type.name ?? "");
|
|
62
|
+
}
|
|
63
|
+
/** Whether the element's first or last node in the flow is a button. */
|
|
64
|
+
function measureEdge(el, side) {
|
|
65
|
+
const nodes = el.childNodes;
|
|
66
|
+
for (let i = 0; i < nodes.length; i++) {
|
|
67
|
+
const node = nodes[side === "start" ? i : nodes.length - 1 - i];
|
|
68
|
+
if (node.nodeType === Node.COMMENT_NODE) continue;
|
|
69
|
+
if (node.nodeType === Node.TEXT_NODE) {
|
|
70
|
+
if (node.textContent.trim() === "") continue;
|
|
71
|
+
return false;
|
|
72
|
+
}
|
|
73
|
+
if (!(node instanceof Element)) continue;
|
|
74
|
+
const style = getComputedStyle(node);
|
|
75
|
+
if (style.display === "none" || style.position === "absolute" || style.position === "fixed") continue;
|
|
76
|
+
if (style.display === "contents") return measureEdge(node, side);
|
|
77
|
+
return node.matches(ACTION_SELECTOR);
|
|
78
|
+
}
|
|
79
|
+
return false;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* The prefix or suffix of a field. Renders the slot once, lets the buttons
|
|
83
|
+
* in it know they act for the field, and marks itself `is-edge-action` when
|
|
84
|
+
* its outermost content is a button, so the field can give that button the
|
|
85
|
+
* padding on its side. The vnodes give a first answer, which holds for
|
|
86
|
+
* server rendering; once mounted the DOM decides, which also sees a button
|
|
87
|
+
* wrapped in another component.
|
|
88
|
+
*/
|
|
89
|
+
var FieldAffix = defineComponent({
|
|
90
|
+
name: "DouFieldAffix",
|
|
91
|
+
props: {
|
|
92
|
+
side: {
|
|
93
|
+
type: String,
|
|
94
|
+
required: true
|
|
95
|
+
},
|
|
96
|
+
disabled: {
|
|
97
|
+
type: Boolean,
|
|
98
|
+
default: false
|
|
99
|
+
},
|
|
100
|
+
render: {
|
|
101
|
+
type: Function,
|
|
102
|
+
required: true
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
setup(props) {
|
|
106
|
+
provide(fieldActionKey, { disabled: () => props.disabled });
|
|
107
|
+
const el = useTemplateRef("el");
|
|
108
|
+
const measured = ref();
|
|
109
|
+
let observer;
|
|
110
|
+
const measure = () => {
|
|
111
|
+
if (el.value) measured.value = measureEdge(el.value, props.side);
|
|
112
|
+
};
|
|
113
|
+
onMounted(() => {
|
|
114
|
+
measure();
|
|
115
|
+
if (typeof MutationObserver === "undefined" || !el.value) return;
|
|
116
|
+
observer = new MutationObserver(measure);
|
|
117
|
+
observer.observe(el.value, {
|
|
118
|
+
childList: true,
|
|
119
|
+
characterData: true,
|
|
120
|
+
subtree: true,
|
|
121
|
+
attributes: true,
|
|
122
|
+
attributeFilter: ["style", "class"]
|
|
123
|
+
});
|
|
124
|
+
});
|
|
125
|
+
onBeforeUnmount(() => observer?.disconnect());
|
|
126
|
+
return () => {
|
|
127
|
+
const nodes = props.render();
|
|
128
|
+
const edge = measured.value ?? guessEdge(nodes, props.side);
|
|
129
|
+
return h("span", {
|
|
130
|
+
ref: "el",
|
|
131
|
+
[AFFIX_ATTR]: "",
|
|
132
|
+
class: { "is-edge-action": edge }
|
|
133
|
+
}, nodes);
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
});
|
|
137
|
+
export { FieldAffix, fieldActionKey, useFieldAction };
|
|
138
|
+
|
|
139
|
+
//# sourceMappingURL=field-action.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"field-action.js","names":[],"sources":["../../src/utils/field-action.ts"],"sourcesContent":["import {\n Comment,\n Fragment,\n Text,\n defineComponent,\n h,\n inject,\n isVNode,\n onBeforeUnmount,\n onMounted,\n provide,\n ref,\n computed,\n useTemplateRef,\n} from 'vue'\nimport type { InjectionKey, PropType, VNode } from 'vue'\n\n/**\n * A button in the prefix or suffix of a field (DouInput, DouInputNumber)\n * acts for the field: it is disabled with it, and the field sets its height.\n */\nexport interface FieldActionContext {\n disabled: () => boolean\n}\n\nexport const fieldActionKey: InjectionKey<FieldActionContext | undefined> =\n Symbol('dou-field-action')\n\nconst AFFIX_ATTR = 'data-field-affix'\n\n/** Whether nothing positioned or hidden comes between `el` and the affix it sits in. */\nfunction placedInAffix(el: Element): boolean {\n for (let node = el.parentElement; node; node = node.parentElement) {\n if (node.hasAttribute(AFFIX_ATTR)) return true\n const style = getComputedStyle(node)\n if (style.display === 'none' || style.position === 'absolute' || style.position === 'fixed')\n return false\n }\n return false\n}\n\n/**\n * Whether a button sits in a field's prefix or suffix as its action. The\n * field's context reaches every descendant, so a button in a panel the\n * prefix or suffix opens (a popover, a dialog) would get it too; once\n * mounted the button checks it is placed in the prefix or suffix itself,\n * not in a panel teleported away or laid over the page.\n */\nexport function useFieldAction(el: () => Element | null | undefined) {\n const field = inject(fieldActionKey, undefined)\n const placed = ref(!!field)\n if (field)\n onMounted(() => {\n const node = el()\n placed.value = !!node && placedInAffix(node)\n })\n return {\n active: computed(() => placed.value),\n disabled: () => placed.value && !!field?.disabled(),\n }\n}\n\nconst ACTIONS = ['DouButton', 'DouCopyButton']\n// set by DouButton and DouCopyButton when they sit in a field\nconst ACTION_SELECTOR = '.is-field-action'\n\n/** The outermost node that shows something, or undefined. */\nfunction edgeNode(nodes: unknown, side: 'start' | 'end'): unknown {\n const list = Array.isArray(nodes) ? nodes : [nodes]\n for (let i = 0; i < list.length; i++) {\n const node: unknown = list[side === 'start' ? i : list.length - 1 - i]\n if (!isVNode(node)) {\n if (typeof node === 'string' ? node.trim() !== '' : typeof node === 'number') return node\n continue\n }\n if (node.type === Comment) continue\n if (node.type === Text) {\n if (String(node.children ?? '').trim() !== '') return node\n continue\n }\n if (node.type === Fragment) {\n const inner = edgeNode(node.children, side)\n if (inner !== undefined) return inner\n continue\n }\n return node\n }\n return undefined\n}\n\n/** Whether rendered slot content starts or ends with a button, as far as the vnodes tell. */\nfunction guessEdge(nodes: unknown, side: 'start' | 'end'): boolean {\n const node = edgeNode(nodes, side)\n if (!isVNode(node) || typeof node.type !== 'object') return false\n return ACTIONS.includes((node.type as { name?: string }).name ?? '')\n}\n\n/** Whether the element's first or last node in the flow is a button. */\nfunction measureEdge(el: Element, side: 'start' | 'end'): boolean {\n const nodes = el.childNodes\n for (let i = 0; i < nodes.length; i++) {\n const node = nodes[side === 'start' ? i : nodes.length - 1 - i]!\n if (node.nodeType === Node.COMMENT_NODE) continue\n if (node.nodeType === Node.TEXT_NODE) {\n if (node.textContent!.trim() === '') continue\n return false\n }\n if (!(node instanceof Element)) continue\n const style = getComputedStyle(node)\n // a panel kept in place (`teleport: false`) is out of the flow\n if (style.display === 'none' || style.position === 'absolute' || style.position === 'fixed')\n continue\n if (style.display === 'contents') return measureEdge(node, side)\n return node.matches(ACTION_SELECTOR)\n }\n return false\n}\n\n/**\n * The prefix or suffix of a field. Renders the slot once, lets the buttons\n * in it know they act for the field, and marks itself `is-edge-action` when\n * its outermost content is a button, so the field can give that button the\n * padding on its side. The vnodes give a first answer, which holds for\n * server rendering; once mounted the DOM decides, which also sees a button\n * wrapped in another component.\n */\nexport const FieldAffix = defineComponent({\n name: 'DouFieldAffix',\n props: {\n side: { type: String as PropType<'start' | 'end'>, required: true },\n disabled: { type: Boolean, default: false },\n render: { type: Function as PropType<() => unknown>, required: true },\n },\n setup(props) {\n provide(fieldActionKey, { disabled: () => props.disabled })\n const el = useTemplateRef<HTMLElement>('el')\n const measured = ref<boolean>()\n let observer: MutationObserver | undefined\n const measure = () => {\n if (el.value) measured.value = measureEdge(el.value, props.side)\n }\n onMounted(() => {\n measure()\n if (typeof MutationObserver === 'undefined' || !el.value) return\n observer = new MutationObserver(measure)\n observer.observe(el.value, {\n childList: true,\n characterData: true,\n subtree: true,\n // `v-show` hides the button with a style\n attributes: true,\n attributeFilter: ['style', 'class'],\n })\n })\n onBeforeUnmount(() => observer?.disconnect())\n return () => {\n const nodes = props.render()\n const edge = measured.value ?? guessEdge(nodes, props.side)\n return h(\n 'span',\n { ref: 'el', [AFFIX_ATTR]: '', class: { 'is-edge-action': edge } },\n nodes as VNode[],\n )\n }\n },\n})\n"],"mappings":";;AAyBA,IAAa,iBACX,OAAO,kBAAkB;AAE3B,IAAM,aAAa;;AAGnB,SAAS,cAAc,IAAsB;CAC3C,KAAK,IAAI,OAAO,GAAG,eAAe,MAAM,OAAO,KAAK,eAAe;EACjE,IAAI,KAAK,aAAa,UAAU,GAAG,OAAO;EAC1C,MAAM,QAAQ,iBAAiB,IAAI;EACnC,IAAI,MAAM,YAAY,UAAU,MAAM,aAAa,cAAc,MAAM,aAAa,SAClF,OAAO;CACX;CACA,OAAO;AACT;;;;;;;;AASA,SAAgB,eAAe,IAAsC;CACnE,MAAM,QAAQ,OAAO,gBAAgB,KAAA,CAAS;CAC9C,MAAM,SAAS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;GAC1D,OAAO,EACL,QACA;IAAE,KAAK;KAAO,aAAa;IAAI,OAAO,EAAE,kBAAkB,KAAK;GAAE,GACjE,KACF;EACF;CACF;AACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dou-ui",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.14",
|
|
4
4
|
"description": "为自己打造的 Vue 3 组件库:简洁克制,样式与组件分离,内置无障碍支持",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vue",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"vue": "^3.5.0"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@dou-ui/icons": "0.1.0-alpha.
|
|
53
|
-
"@dou-ui/theme": "0.1.0-alpha.
|
|
52
|
+
"@dou-ui/icons": "0.1.0-alpha.14",
|
|
53
|
+
"@dou-ui/theme": "0.1.0-alpha.14"
|
|
54
54
|
},
|
|
55
55
|
"publishConfig": {
|
|
56
56
|
"access": "public"
|