@blokkli/editor 2.0.0-alpha.17 → 2.0.0-alpha.18
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/module.json +1 -1
- package/dist/module.mjs +380 -59
- package/dist/modules/drupal/graphql/base/fragment.paragraphsFieldItem.graphql +3 -1
- package/dist/modules/drupal/graphql/base/query.pbConfig.graphql +1 -10
- package/dist/modules/drupal/graphql/mutations/set_paragraph_schedule.graphql +15 -0
- package/dist/modules/drupal/index.mjs +33 -0
- package/dist/modules/drupal/runtime/adapter/index.js +10 -2
- package/dist/runtime/adapter/index.d.ts +21 -0
- package/dist/runtime/blokkliPlugins/ContextMenu/Menu/index.vue +3 -0
- package/dist/runtime/blokkliPlugins/ItemAction/index.vue +23 -13
- package/dist/runtime/blokkliPlugins/ItemAction/index.vue.d.ts +20 -44
- package/dist/runtime/blokkliPlugins/TourItem/index.vue +10 -5
- package/dist/runtime/components/BlokkliEditable.vue +13 -13
- package/dist/runtime/components/BlokkliField.vue +3 -0
- package/dist/runtime/components/BlokkliField.vue.d.ts +3 -3
- package/dist/runtime/components/BlokkliItem.vue +1 -1
- package/dist/runtime/components/BlokkliItem.vue.d.ts +4 -2
- package/dist/runtime/components/BlokkliProvider.vue +12 -8
- package/dist/runtime/components/Edit/Actions/index.vue +27 -16
- package/dist/runtime/components/Edit/AnimationCanvas/index.vue +26 -10
- package/dist/runtime/components/Edit/ArtboardTooltip/index.vue +3 -0
- package/dist/runtime/components/Edit/Dialog/index.vue +6 -4
- package/dist/runtime/components/Edit/DraggableList.vue +15 -7
- package/dist/runtime/components/Edit/DraggableList.vue.d.ts +5 -5
- package/dist/runtime/components/Edit/EditProvider.vue +29 -16
- package/dist/runtime/components/Edit/EditProvider.vue.d.ts +1 -0
- package/dist/runtime/components/Edit/Features/AddList/index.vue +9 -11
- package/dist/runtime/components/Edit/Features/Analyze/Overlay/index.vue +9 -6
- package/dist/runtime/components/Edit/Features/Analyze/Renderer.vue +1 -1
- package/dist/runtime/components/Edit/Features/Analyze/Results/ResultsItemNodesTarget.vue +15 -11
- package/dist/runtime/components/Edit/Features/Anchors/Renderer.vue +19 -102
- package/dist/runtime/components/Edit/Features/Artboard/Renderer.vue +3 -0
- package/dist/runtime/components/Edit/Features/BlockAddList/index.vue +28 -52
- package/dist/runtime/components/Edit/Features/BlockScheduler/Dialog/ScheduleSection.vue +154 -0
- package/dist/runtime/components/Edit/Features/BlockScheduler/Dialog/ScheduleSection.vue.d.ts +27 -0
- package/dist/runtime/components/Edit/Features/BlockScheduler/Dialog/index.vue +222 -0
- package/dist/runtime/components/Edit/Features/BlockScheduler/Dialog/index.vue.d.ts +11 -0
- package/dist/runtime/components/Edit/Features/BlockScheduler/index.vue +96 -0
- package/dist/runtime/components/Edit/Features/BlockScheduler/index.vue.d.ts +2 -0
- package/dist/runtime/components/Edit/Features/Clipboard/index.vue +15 -16
- package/dist/runtime/components/Edit/Features/CommandPalette/Palette/Item/index.vue +51 -0
- package/dist/runtime/components/Edit/Features/CommandPalette/Palette/{Group → Item}/index.vue.d.ts +9 -13
- package/dist/runtime/components/Edit/Features/CommandPalette/Palette/index.vue +46 -66
- package/dist/runtime/components/Edit/Features/Comments/index.vue +1 -1
- package/dist/runtime/components/Edit/Features/Conversions/index.vue +4 -7
- package/dist/runtime/components/Edit/Features/Debug/Rects/index.vue +2 -2
- package/dist/runtime/components/Edit/Features/Debug/index.vue +4 -1
- package/dist/runtime/components/Edit/Features/Delete/index.vue +1 -1
- package/dist/runtime/components/Edit/Features/DraggingOverlay/DragItems/index.vue +13 -5
- package/dist/runtime/components/Edit/Features/DraggingOverlay/DropTargets/index.vue +14 -11
- package/dist/runtime/components/Edit/Features/DraggingOverlay/index.vue +30 -18
- package/dist/runtime/components/Edit/Features/Duplicate/index.vue +6 -8
- package/dist/runtime/components/Edit/Features/Edit/index.vue +15 -21
- package/dist/runtime/components/Edit/Features/EditForm/index.vue +7 -6
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/Frame/index.vue +8 -3
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/Frame/index.vue.d.ts +2 -2
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/index.vue +29 -12
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/index.vue.d.ts +2 -2
- package/dist/runtime/components/Edit/Features/EditableField/index.vue +40 -42
- package/dist/runtime/components/Edit/Features/Fragments/Dialog/index.vue +11 -9
- package/dist/runtime/components/Edit/Features/Fragments/index.vue +3 -3
- package/dist/runtime/components/Edit/Features/Hover/Overlay/index.vue +16 -25
- package/dist/runtime/components/Edit/Features/Library/EditReusable/index.vue +5 -7
- package/dist/runtime/components/Edit/Features/Library/ReusableDialog/index.vue +5 -5
- package/dist/runtime/components/Edit/Features/Library/index.vue +27 -23
- package/dist/runtime/components/Edit/Features/MediaLibrary/Library/index.vue +6 -3
- package/dist/runtime/components/Edit/Features/MediaLibrary/index.vue +15 -12
- package/dist/runtime/components/Edit/Features/MultiSelect/Overlay/index.vue +2 -2
- package/dist/runtime/components/Edit/Features/Options/Form/index.vue +7 -6
- package/dist/runtime/components/Edit/Features/Options/index.vue +6 -6
- package/dist/runtime/components/Edit/Features/Publish/Dialog/index.vue +68 -15
- package/dist/runtime/components/Edit/Features/Search/Overlay/Results/Page/index.vue +15 -15
- package/dist/runtime/components/Edit/Features/Search/index.vue +4 -1
- package/dist/runtime/components/Edit/Features/Selection/AddButtons/Overlay/index.vue.d.ts +3 -3
- package/dist/runtime/components/Edit/Features/Selection/AddButtons/Renderer/index.vue +34 -11
- package/dist/runtime/components/Edit/Features/Selection/AddButtons/index.vue +21 -20
- package/dist/runtime/components/Edit/Features/Selection/AddButtons/index.vue.d.ts +2 -2
- package/dist/runtime/components/Edit/Features/Selection/Overlay/index.vue.d.ts +3 -3
- package/dist/runtime/components/Edit/Features/Selection/OverlayFallback/index.vue +2 -2
- package/dist/runtime/components/Edit/Features/Selection/index.vue +61 -27
- package/dist/runtime/components/Edit/Features/Structure/List/Field/index.vue +2 -2
- package/dist/runtime/components/Edit/Features/Structure/List/Item/index.vue +13 -6
- package/dist/runtime/components/Edit/Features/Tour/Overlay/index.vue +3 -0
- package/dist/runtime/components/Edit/Features/Transform/index.vue +2 -27
- package/dist/runtime/components/Edit/Features/Translations/index.vue +7 -7
- package/dist/runtime/components/Edit/Features/Validations/SidebarItem/index.vue +5 -5
- package/dist/runtime/components/Edit/Features/index.vue +17 -7
- package/dist/runtime/components/Edit/Form/Toggle/index.vue +4 -3
- package/dist/runtime/components/Edit/Form/Toggle/index.vue.d.ts +12 -2
- package/dist/runtime/components/Edit/InfoBox/index.vue +6 -2
- package/dist/runtime/components/Edit/InfoBox/index.vue.d.ts +12 -2
- package/dist/runtime/components/Edit/{Features/Publish/Dialog/ScheduleDate.vue → ScheduleDate/index.vue} +6 -58
- package/dist/runtime/components/Edit/{Features/Publish/Dialog/ScheduleDate.vue.d.ts → ScheduleDate/index.vue.d.ts} +11 -1
- package/dist/runtime/components/Edit/ShortcutIndicator/index.vue +3 -0
- package/dist/runtime/components/Edit/Transition/Height.vue +95 -0
- package/dist/runtime/components/Edit/Transition/Height.vue.d.ts +36 -0
- package/dist/runtime/components/Edit/index.d.ts +3 -1
- package/dist/runtime/components/Edit/index.js +5 -1
- package/dist/runtime/css/output.css +1 -1
- package/dist/runtime/helpers/animationProvider.d.ts +2 -1
- package/dist/runtime/helpers/animationProvider.js +6 -2
- package/dist/runtime/helpers/composables/useStateBasedCache.d.ts +4 -0
- package/dist/runtime/helpers/composables/useStateBasedCache.js +13 -0
- package/dist/runtime/helpers/definitionProvider.d.ts +1 -1
- package/dist/runtime/helpers/dom/index.d.ts +1 -1
- package/dist/runtime/helpers/domProvider.d.ts +10 -16
- package/dist/runtime/helpers/domProvider.js +80 -135
- package/dist/runtime/helpers/index.d.ts +1 -8
- package/dist/runtime/helpers/index.js +1 -84
- package/dist/runtime/helpers/providers/blocks.d.ts +10 -0
- package/dist/runtime/helpers/providers/blocks.js +91 -0
- package/dist/runtime/helpers/providers/directive.d.ts +24 -0
- package/dist/runtime/helpers/{editableProvider.js → providers/directive.js} +90 -29
- package/dist/runtime/helpers/providers/element.d.ts +6 -0
- package/dist/runtime/helpers/providers/element.js +35 -0
- package/dist/runtime/helpers/providers/fields.d.ts +8 -0
- package/dist/runtime/helpers/providers/fields.js +47 -0
- package/dist/runtime/helpers/selectionProvider.d.ts +11 -11
- package/dist/runtime/helpers/selectionProvider.js +38 -45
- package/dist/runtime/helpers/stateProvider.d.ts +1 -0
- package/dist/runtime/helpers/stateProvider.js +21 -15
- package/dist/runtime/helpers/themeProvider.d.ts +2 -1
- package/dist/runtime/helpers/themeProvider.js +24 -14
- package/dist/runtime/helpers/typesProvider.js +10 -26
- package/dist/runtime/helpers/uiProvider.d.ts +3 -2
- package/dist/runtime/helpers/uiProvider.js +11 -15
- package/dist/runtime/icons/calendar.svg +1 -0
- package/dist/runtime/icons/clock.svg +1 -0
- package/dist/runtime/icons/comment_add.svg +1 -5
- package/dist/runtime/icons/delete.svg +1 -8
- package/dist/runtime/icons/duplicate.svg +1 -12
- package/dist/runtime/icons/edit.svg +1 -8
- package/dist/runtime/icons/reusable.svg +1 -5
- package/dist/runtime/plugins/{blokkliEditable.js → blokkliDirectives.js} +14 -20
- package/dist/runtime/types/index.d.ts +55 -36
- package/package.json +1 -1
- package/dist/runtime/components/Edit/Features/CommandPalette/Palette/Group/index.vue +0 -63
- package/dist/runtime/helpers/editableProvider.d.ts +0 -14
- /package/dist/runtime/plugins/{blokkliEditable.d.ts → blokkliDirectives.d.ts} +0 -0
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
-
text
|
|
2
|
+
text?: string;
|
|
3
3
|
};
|
|
4
|
-
declare
|
|
4
|
+
declare var __VLS_5: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_5) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
5
10
|
export default _default;
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -41,41 +41,7 @@
|
|
|
41
41
|
</button>
|
|
42
42
|
</div>
|
|
43
43
|
|
|
44
|
-
<
|
|
45
|
-
<button
|
|
46
|
-
type="button"
|
|
47
|
-
class="bk-button bk-is-small"
|
|
48
|
-
:disabled="disabled"
|
|
49
|
-
@click="setTomorrow"
|
|
50
|
-
>
|
|
51
|
-
{{ $t("publishScheduleTomorrow", "Tomorrow") }}
|
|
52
|
-
</button>
|
|
53
|
-
<button
|
|
54
|
-
type="button"
|
|
55
|
-
class="bk-button bk-is-small"
|
|
56
|
-
:disabled="disabled"
|
|
57
|
-
@click="setInSevenDays"
|
|
58
|
-
>
|
|
59
|
-
{{ $t("publishScheduleInSevenDays", "In 7 days") }}
|
|
60
|
-
</button>
|
|
61
|
-
<button
|
|
62
|
-
type="button"
|
|
63
|
-
class="bk-button bk-is-small"
|
|
64
|
-
:disabled="disabled"
|
|
65
|
-
@click="setNextMonday"
|
|
66
|
-
>
|
|
67
|
-
{{ $t("publishScheduleNextMonday", "Next Monday") }}
|
|
68
|
-
</button>
|
|
69
|
-
</div>
|
|
70
|
-
<div
|
|
71
|
-
class="bk-schedule-date-info"
|
|
72
|
-
v-text="
|
|
73
|
-
$t(
|
|
74
|
-
'publishScheduledInfo',
|
|
75
|
-
'You can still make changes until the scheduled publication date.'
|
|
76
|
-
)
|
|
77
|
-
"
|
|
78
|
-
/>
|
|
44
|
+
<slot />
|
|
79
45
|
<div v-if="error" class="bk-schedule-date-error">
|
|
80
46
|
{{ error }}
|
|
81
47
|
</div>
|
|
@@ -86,7 +52,7 @@
|
|
|
86
52
|
<script setup>
|
|
87
53
|
import { ref, computed, watch, useBlokkli } from "#imports";
|
|
88
54
|
import { FormDatepicker, Icon } from "#blokkli/components";
|
|
89
|
-
const {
|
|
55
|
+
const { ui } = useBlokkli();
|
|
90
56
|
defineProps({
|
|
91
57
|
disabled: { type: Boolean, required: false },
|
|
92
58
|
error: { type: String, required: false }
|
|
@@ -152,32 +118,14 @@ watch(modelValue, (newValue) => {
|
|
|
152
118
|
selectedTime.value = newTime;
|
|
153
119
|
}
|
|
154
120
|
});
|
|
155
|
-
function setTomorrow() {
|
|
156
|
-
const tomorrow = /* @__PURE__ */ new Date();
|
|
157
|
-
tomorrow.setDate(tomorrow.getDate() + 1);
|
|
158
|
-
selectedDate.value = formatDate(tomorrow);
|
|
159
|
-
}
|
|
160
|
-
function setInSevenDays() {
|
|
161
|
-
const date = /* @__PURE__ */ new Date();
|
|
162
|
-
date.setDate(date.getDate() + 7);
|
|
163
|
-
selectedDate.value = formatDate(date);
|
|
164
|
-
}
|
|
165
|
-
function setNextMonday() {
|
|
166
|
-
const today = /* @__PURE__ */ new Date();
|
|
167
|
-
const dayOfWeek = today.getDay();
|
|
168
|
-
const daysUntilMonday = dayOfWeek === 0 ? 1 : 8 - dayOfWeek;
|
|
169
|
-
const nextMonday = /* @__PURE__ */ new Date();
|
|
170
|
-
nextMonday.setDate(today.getDate() + daysUntilMonday);
|
|
171
|
-
selectedDate.value = formatDate(nextMonday);
|
|
172
|
-
}
|
|
173
121
|
function incrementHour() {
|
|
174
122
|
const [hours = 0, minutes = 0] = selectedTime.value.split(":").map(Number);
|
|
175
|
-
const newHours = (hours + 1) % 24;
|
|
176
|
-
selectedTime.value = `${String(newHours).padStart(2, "0")}
|
|
123
|
+
const newHours = minutes > 0 ? (hours + 1) % 24 : (hours + 1) % 24;
|
|
124
|
+
selectedTime.value = `${String(newHours).padStart(2, "0")}:00`;
|
|
177
125
|
}
|
|
178
126
|
function decrementHour() {
|
|
179
127
|
const [hours = 0, minutes = 0] = selectedTime.value.split(":").map(Number);
|
|
180
|
-
const newHours = hours === 0 ? 23 : hours - 1;
|
|
181
|
-
selectedTime.value = `${String(newHours).padStart(2, "0")}
|
|
128
|
+
const newHours = minutes > 0 ? hours : hours === 0 ? 23 : hours - 1;
|
|
129
|
+
selectedTime.value = `${String(newHours).padStart(2, "0")}:00`;
|
|
182
130
|
}
|
|
183
131
|
</script>
|
|
@@ -5,9 +5,19 @@ type __VLS_Props = {
|
|
|
5
5
|
type __VLS_PublicProps = __VLS_Props & {
|
|
6
6
|
modelValue?: string;
|
|
7
7
|
};
|
|
8
|
-
declare
|
|
8
|
+
declare var __VLS_13: {};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
default?: (props: typeof __VLS_13) => any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
13
|
"update:modelValue": (value: string | undefined) => any;
|
|
10
14
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
11
15
|
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
12
16
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
13
18
|
export default _default;
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<Transition :css="false" @enter="enterTransition" @leave="leaveTransition">
|
|
3
|
+
<slot />
|
|
4
|
+
</Transition>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script setup>
|
|
8
|
+
const props = defineProps({
|
|
9
|
+
duration: { type: Number, required: false, default: 200 },
|
|
10
|
+
opacity: { type: Boolean, required: false, default: false },
|
|
11
|
+
easingEnter: { type: String, required: false, default: "ease-in-out" },
|
|
12
|
+
easingLeave: { type: String, required: false, default: "ease-in-out" }
|
|
13
|
+
});
|
|
14
|
+
const getElementStyle = (element) => {
|
|
15
|
+
return {
|
|
16
|
+
height: element.style.height,
|
|
17
|
+
width: element.style.width,
|
|
18
|
+
position: element.style.position,
|
|
19
|
+
visibility: element.style.visibility,
|
|
20
|
+
overflow: element.style.overflow,
|
|
21
|
+
paddingTop: element.style.paddingTop,
|
|
22
|
+
paddingBottom: element.style.paddingBottom,
|
|
23
|
+
borderTopWidth: element.style.borderTopWidth,
|
|
24
|
+
borderBottomWidth: element.style.borderBottomWidth,
|
|
25
|
+
marginTop: element.style.marginTop,
|
|
26
|
+
marginBottom: element.style.marginBottom
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
const prepareElement = (element, initialStyle) => {
|
|
30
|
+
const { width } = getComputedStyle(element);
|
|
31
|
+
element.style.width = width;
|
|
32
|
+
element.style.position = "absolute";
|
|
33
|
+
element.style.visibility = "hidden";
|
|
34
|
+
element.style.height = "";
|
|
35
|
+
const { height } = getComputedStyle(element);
|
|
36
|
+
element.style.width = initialStyle.width;
|
|
37
|
+
element.style.position = initialStyle.position;
|
|
38
|
+
element.style.visibility = initialStyle.visibility;
|
|
39
|
+
element.style.height = "0px";
|
|
40
|
+
element.style.overflow = "hidden";
|
|
41
|
+
return initialStyle.height && initialStyle.height !== "0px" ? initialStyle.height : height;
|
|
42
|
+
};
|
|
43
|
+
const animateTransition = (element, initialStyle, done, keyframes, options) => {
|
|
44
|
+
const animation = element.animate(keyframes, options);
|
|
45
|
+
element.style.height = initialStyle.height;
|
|
46
|
+
animation.onfinish = () => {
|
|
47
|
+
element.style.overflow = initialStyle.overflow;
|
|
48
|
+
done();
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
const getEnterKeyframes = (height, initialStyle) => [
|
|
52
|
+
{
|
|
53
|
+
height: "0px",
|
|
54
|
+
opacity: props.opacity ? 0 : 1,
|
|
55
|
+
paddingTop: "0px",
|
|
56
|
+
paddingBottom: "0px",
|
|
57
|
+
borderTopWidth: "0px",
|
|
58
|
+
borderBottomWidth: "0px",
|
|
59
|
+
marginTop: "0px",
|
|
60
|
+
marginBottom: "0px"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
height,
|
|
64
|
+
opacity: props.opacity ? 1 : 1,
|
|
65
|
+
paddingTop: initialStyle.paddingTop,
|
|
66
|
+
paddingBottom: initialStyle.paddingBottom,
|
|
67
|
+
borderTopWidth: initialStyle.borderTopWidth,
|
|
68
|
+
borderBottomWidth: initialStyle.borderBottomWidth,
|
|
69
|
+
marginTop: initialStyle.marginTop,
|
|
70
|
+
marginBottom: initialStyle.marginBottom
|
|
71
|
+
}
|
|
72
|
+
];
|
|
73
|
+
const enterTransition = (element, done) => {
|
|
74
|
+
if (!(element instanceof HTMLElement)) {
|
|
75
|
+
return done();
|
|
76
|
+
}
|
|
77
|
+
const initialStyle = getElementStyle(element);
|
|
78
|
+
const height = prepareElement(element, initialStyle);
|
|
79
|
+
const keyframes = getEnterKeyframes(height, initialStyle);
|
|
80
|
+
const options = { duration: props.duration, easing: props.easingEnter };
|
|
81
|
+
animateTransition(element, initialStyle, done, keyframes, options);
|
|
82
|
+
};
|
|
83
|
+
const leaveTransition = (element, done) => {
|
|
84
|
+
if (!(element instanceof HTMLElement)) {
|
|
85
|
+
return done();
|
|
86
|
+
}
|
|
87
|
+
const initialStyle = getElementStyle(element);
|
|
88
|
+
const { height } = getComputedStyle(element);
|
|
89
|
+
element.style.height = height;
|
|
90
|
+
element.style.overflow = "hidden";
|
|
91
|
+
const keyframes = getEnterKeyframes(height, initialStyle).reverse();
|
|
92
|
+
const options = { duration: props.duration, easing: props.easingLeave };
|
|
93
|
+
animateTransition(element, initialStyle, done, keyframes, options);
|
|
94
|
+
};
|
|
95
|
+
</script>
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/**
|
|
3
|
+
* The duration of the transition.
|
|
4
|
+
*/
|
|
5
|
+
duration?: number;
|
|
6
|
+
/**
|
|
7
|
+
* Whether to also transition the opacity.
|
|
8
|
+
* If set, the element is transitioned from 0 to 1 and vice versa.
|
|
9
|
+
*/
|
|
10
|
+
opacity?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* The easing function when entering.
|
|
13
|
+
*/
|
|
14
|
+
easingEnter?: string;
|
|
15
|
+
/**
|
|
16
|
+
* The easing function when leaving.
|
|
17
|
+
*/
|
|
18
|
+
easingLeave?: string;
|
|
19
|
+
};
|
|
20
|
+
declare var __VLS_10: {};
|
|
21
|
+
type __VLS_Slots = {} & {
|
|
22
|
+
default?: (props: typeof __VLS_10) => any;
|
|
23
|
+
};
|
|
24
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
25
|
+
opacity: boolean;
|
|
26
|
+
duration: number;
|
|
27
|
+
easingEnter: string;
|
|
28
|
+
easingLeave: string;
|
|
29
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -2,6 +2,7 @@ import AddListItem from './AddListItem/index.vue.js';
|
|
|
2
2
|
import AddListItemIcon from './AddListItemIcon/index.vue.js';
|
|
3
3
|
import ArtboardTooltip from './ArtboardTooltip/index.vue.js';
|
|
4
4
|
import BlokkliTransition from './Transition/index.vue.js';
|
|
5
|
+
import TransitionHeight from './Transition/Height.vue.js';
|
|
5
6
|
import ConfigForm from './PluginConfigForm/index.vue.js';
|
|
6
7
|
import DialogModal from './Dialog/index.vue.js';
|
|
7
8
|
import DiffViewerState from './DiffViewer/State.vue.js';
|
|
@@ -28,5 +29,6 @@ import ScrollBoundary from './ScrollBoundary/index.vue.js';
|
|
|
28
29
|
import ShortcutIndicator from './ShortcutIndicator/index.vue.js';
|
|
29
30
|
import Sortli from './Sortli/index.vue.js';
|
|
30
31
|
import Banner from './Banner/index.vue.js';
|
|
32
|
+
import ScheduleDate from './ScheduleDate/index.vue.js';
|
|
31
33
|
import ViewportBlockingRect from './ViewportBlockingRect/index.vue.js';
|
|
32
|
-
export { AddListItem, AddListItemIcon, ArtboardTooltip, BlokkliTransition, ConfigForm, DialogModal, DiffViewerState, FormDatepicker, FormGroup, FormItem, FormOverlay, FormRadio, FormRadioTabs, FormSelect, FormText, FormTextarea, FormToggle, Highlight, Icon, InfoBox, ItemIcon, Loading, Pagination, RelativeTime, Resizable, ScaleToFit, ScrollBoundary, ShortcutIndicator, Sortli, ViewportBlockingRect, Banner, };
|
|
34
|
+
export { AddListItem, AddListItemIcon, ArtboardTooltip, BlokkliTransition, ConfigForm, DialogModal, DiffViewerState, FormDatepicker, FormGroup, FormItem, FormOverlay, FormRadio, FormRadioTabs, FormSelect, FormText, FormTextarea, FormToggle, Highlight, Icon, InfoBox, ItemIcon, Loading, Pagination, RelativeTime, Resizable, ScaleToFit, ScrollBoundary, ShortcutIndicator, Sortli, ViewportBlockingRect, Banner, ScheduleDate, TransitionHeight, };
|
|
@@ -2,6 +2,7 @@ import AddListItem from "./AddListItem/index.vue";
|
|
|
2
2
|
import AddListItemIcon from "./AddListItemIcon/index.vue";
|
|
3
3
|
import ArtboardTooltip from "./ArtboardTooltip/index.vue";
|
|
4
4
|
import BlokkliTransition from "./Transition/index.vue";
|
|
5
|
+
import TransitionHeight from "./Transition/Height.vue";
|
|
5
6
|
import ConfigForm from "./PluginConfigForm/index.vue";
|
|
6
7
|
import DialogModal from "./Dialog/index.vue";
|
|
7
8
|
import DiffViewerState from "./DiffViewer/State.vue";
|
|
@@ -28,6 +29,7 @@ import ScrollBoundary from "./ScrollBoundary/index.vue";
|
|
|
28
29
|
import ShortcutIndicator from "./ShortcutIndicator/index.vue";
|
|
29
30
|
import Sortli from "./Sortli/index.vue";
|
|
30
31
|
import Banner from "./Banner/index.vue";
|
|
32
|
+
import ScheduleDate from "./ScheduleDate/index.vue";
|
|
31
33
|
import ViewportBlockingRect from "./ViewportBlockingRect/index.vue";
|
|
32
34
|
export {
|
|
33
35
|
AddListItem,
|
|
@@ -60,5 +62,7 @@ export {
|
|
|
60
62
|
ShortcutIndicator,
|
|
61
63
|
Sortli,
|
|
62
64
|
ViewportBlockingRect,
|
|
63
|
-
Banner
|
|
65
|
+
Banner,
|
|
66
|
+
ScheduleDate,
|
|
67
|
+
TransitionHeight
|
|
64
68
|
};
|