@knime/product-features 0.2.3 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_plugin-vue_export-helper-BLJdeqtw.js +15264 -0
- package/dist/_plugin-vue_export-helper-BLJdeqtw.js.map +1 -0
- package/dist/_plugin-vue_export-helper.css +4544 -0
- package/dist/ai.css +197 -0
- package/dist/ai.js +195 -0
- package/dist/ai.js.map +1 -0
- package/dist/nodes.css +0 -4564
- package/dist/nodes.js +3 -11252
- package/dist/nodes.js.map +1 -1
- package/dist/src/ai/KdsPromptInput/InlineStatusBanner.vue.d.ts +11 -0
- package/dist/src/ai/KdsPromptInput/InlineStatusBanner.vue.d.ts.map +1 -0
- package/dist/src/ai/KdsPromptInput/KdsPromptInput.vue.d.ts +22 -0
- package/dist/src/ai/KdsPromptInput/KdsPromptInput.vue.d.ts.map +1 -0
- package/dist/src/ai/KdsPromptInput/enums.d.ts +6 -0
- package/dist/src/ai/KdsPromptInput/enums.d.ts.map +1 -0
- package/dist/src/ai/KdsPromptInput/index.d.ts +4 -0
- package/dist/src/ai/KdsPromptInput/index.d.ts.map +1 -0
- package/dist/src/ai/KdsPromptInput/types.d.ts +59 -0
- package/dist/src/ai/KdsPromptInput/types.d.ts.map +1 -0
- package/dist/src/ai/index.d.ts +3 -0
- package/dist/src/ai/index.d.ts.map +1 -0
- package/dist/src/versions/CreateVersionForm/CreateVersionForm.vue.d.ts +16 -0
- package/dist/src/versions/CreateVersionForm/CreateVersionForm.vue.d.ts.map +1 -0
- package/dist/src/versions/CreateVersionForm/index.d.ts +3 -0
- package/dist/src/versions/CreateVersionForm/index.d.ts.map +1 -0
- package/dist/src/versions/CreateVersionForm/types.d.ts +4 -0
- package/dist/src/versions/CreateVersionForm/types.d.ts.map +1 -0
- package/dist/src/versions/VersionHistory/CurrentState.vue.d.ts +20 -0
- package/dist/src/versions/VersionHistory/CurrentState.vue.d.ts.map +1 -0
- package/dist/src/versions/VersionHistory/HistoryEvent.vue.d.ts +23 -0
- package/dist/src/versions/VersionHistory/HistoryEvent.vue.d.ts.map +1 -0
- package/dist/src/versions/VersionHistory/HistoryEventAuthor.vue.d.ts +7 -0
- package/dist/src/versions/VersionHistory/HistoryEventAuthor.vue.d.ts.map +1 -0
- package/dist/src/versions/VersionHistory/HistoryEventFooter.vue.d.ts +8 -0
- package/dist/src/versions/VersionHistory/HistoryEventFooter.vue.d.ts.map +1 -0
- package/dist/src/versions/VersionHistory/VersionHistory.vue.d.ts +20 -0
- package/dist/src/versions/VersionHistory/VersionHistory.vue.d.ts.map +1 -0
- package/dist/src/versions/VersionHistory/VersionItem.vue.d.ts +20 -0
- package/dist/src/versions/VersionHistory/VersionItem.vue.d.ts.map +1 -0
- package/dist/src/versions/VersionHistory/VersionLabel.vue.d.ts +144 -0
- package/dist/src/versions/VersionHistory/VersionLabel.vue.d.ts.map +1 -0
- package/dist/src/versions/VersionHistory/VersionLimitInfo.vue.d.ts +9 -0
- package/dist/src/versions/VersionHistory/VersionLimitInfo.vue.d.ts.map +1 -0
- package/dist/src/versions/VersionHistory/constants.d.ts +4 -0
- package/dist/src/versions/VersionHistory/constants.d.ts.map +1 -0
- package/dist/src/versions/VersionHistory/index.d.ts +4 -0
- package/dist/src/versions/VersionHistory/index.d.ts.map +1 -0
- package/dist/src/versions/VersionHistory/mock-data/index.d.ts +11 -0
- package/dist/src/versions/VersionHistory/mock-data/index.d.ts.map +1 -0
- package/dist/src/versions/VersionHistory/mock-data/savepoints.d.ts +5 -0
- package/dist/src/versions/VersionHistory/mock-data/savepoints.d.ts.map +1 -0
- package/dist/src/versions/VersionHistory/mock-data/versionHistory.d.ts +7 -0
- package/dist/src/versions/VersionHistory/mock-data/versionHistory.d.ts.map +1 -0
- package/dist/src/versions/VersionHistory/types.d.ts +63 -0
- package/dist/src/versions/VersionHistory/types.d.ts.map +1 -0
- package/dist/src/versions/index.d.ts +5 -0
- package/dist/src/versions/index.d.ts.map +1 -0
- package/dist/versions.css +114 -0
- package/dist/versions.js +630 -0
- package/dist/versions.js.map +1 -0
- package/package.json +11 -3
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { KdsPromptInputStatus } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
status: KdsPromptInputStatus;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
+
buttonClick: () => any;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
onButtonClick?: (() => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
10
|
+
export default _default;
|
|
11
|
+
//# sourceMappingURL=InlineStatusBanner.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InlineStatusBanner.vue.d.ts","sourceRoot":"","sources":["../../../../src/ai/KdsPromptInput/InlineStatusBanner.vue"],"names":[],"mappings":"AAmHA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAEpD,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,oBAAoB,CAAC;CAC9B,CAAC;;;;;;AA0GF,wBAQG"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { KdsPromptInputProps } from './types';
|
|
2
|
+
type __VLS_Props = KdsPromptInputProps;
|
|
3
|
+
type __VLS_PublicProps = {
|
|
4
|
+
modelValue?: string;
|
|
5
|
+
} & __VLS_Props;
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
7
|
+
focus: () => void | undefined;
|
|
8
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
stop: () => any;
|
|
10
|
+
submit: (value: string) => any;
|
|
11
|
+
statusButtonClick: () => any;
|
|
12
|
+
"update:modelValue": (value: string) => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
|
+
onStop?: (() => any) | undefined;
|
|
15
|
+
onSubmit?: ((value: string) => any) | undefined;
|
|
16
|
+
onStatusButtonClick?: (() => any) | undefined;
|
|
17
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
19
|
+
textareaRef: HTMLTextAreaElement;
|
|
20
|
+
}, HTMLDivElement>;
|
|
21
|
+
export default _default;
|
|
22
|
+
//# sourceMappingURL=KdsPromptInput.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdsPromptInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/ai/KdsPromptInput/KdsPromptInput.vue"],"names":[],"mappings":"AA4RA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,KAAK,WAAW,GAAG,mBAAmB,CAAC;AAkFvC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;AAoNhB,wBAUG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../src/ai/KdsPromptInput/enums.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB;;;CAG3B,CAAC;AAEX,eAAO,MAAM,yBAAyB,sBAErC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ai/KdsPromptInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEjE,cAAc,SAAS,CAAC;AACxB,mBAAmB,SAAS,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { kdsPromptInputStatusType } from './enums';
|
|
2
|
+
export type KdsPromptInputStatusType = (typeof kdsPromptInputStatusType)[keyof typeof kdsPromptInputStatusType];
|
|
3
|
+
export type KdsPromptInputStatus = {
|
|
4
|
+
/**
|
|
5
|
+
* Visual variant of the inline status banner. Purely presentational —
|
|
6
|
+
* use `disabled` separately if the parent wants to block input alongside
|
|
7
|
+
* the banner (e.g. a "log in required" `note`).
|
|
8
|
+
* - `error` uses the danger palette.
|
|
9
|
+
* - `note` uses the info palette.
|
|
10
|
+
*/
|
|
11
|
+
type: KdsPromptInputStatusType;
|
|
12
|
+
/** Message rendered inside the inline status banner. */
|
|
13
|
+
message: string;
|
|
14
|
+
/** Label for the action button on the right. Omit to hide the button. */
|
|
15
|
+
buttonLabel?: string;
|
|
16
|
+
};
|
|
17
|
+
export type KdsPromptInputLink = {
|
|
18
|
+
/** Visible label of the link. */
|
|
19
|
+
label: string;
|
|
20
|
+
/** Destination passed through to the underlying `KdsLink`'s `to` prop. */
|
|
21
|
+
to: string;
|
|
22
|
+
};
|
|
23
|
+
export type KdsPromptInputProps = {
|
|
24
|
+
/** Placeholder shown when the input is empty. */
|
|
25
|
+
placeholder?: string;
|
|
26
|
+
/** Disables the input and the send button. */
|
|
27
|
+
disabled?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Shows an indeterminate progress bar and swaps the send button for a
|
|
30
|
+
* stop button. The textarea stays editable so the next prompt can be
|
|
31
|
+
* drafted while the previous one is in flight.
|
|
32
|
+
*/
|
|
33
|
+
loading?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Inline status banner above the input. See {@link KdsPromptInputStatus}
|
|
36
|
+
* for how `error` vs `note` differ visually.
|
|
37
|
+
*/
|
|
38
|
+
status?: KdsPromptInputStatus;
|
|
39
|
+
/** Accessible label for the prompt textarea. */
|
|
40
|
+
ariaLabel?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Text shown on the left of the subtext row below the input
|
|
43
|
+
* (e.g. an interactions counter). Omit to leave the left side empty.
|
|
44
|
+
*/
|
|
45
|
+
leftSubtext?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Text shown on the right of the subtext row below the input
|
|
48
|
+
* (e.g. a disclaimer). Rendered before {@link KdsPromptInputProps.link}
|
|
49
|
+
* when both are provided.
|
|
50
|
+
*/
|
|
51
|
+
rightSubtext?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Optional link rendered at the end of the right subtext (e.g. a
|
|
54
|
+
* "Learn more" link). Independent of `rightSubtext` — either can be
|
|
55
|
+
* provided on its own.
|
|
56
|
+
*/
|
|
57
|
+
link?: KdsPromptInputLink;
|
|
58
|
+
};
|
|
59
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/ai/KdsPromptInput/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAEnD,MAAM,MAAM,wBAAwB,GAClC,CAAC,OAAO,wBAAwB,CAAC,CAAC,MAAM,OAAO,wBAAwB,CAAC,CAAC;AAE3E,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;;;;OAMG;IACH,IAAI,EAAE,wBAAwB,CAAC;IAC/B,wDAAwD;IACxD,OAAO,EAAE,MAAM,CAAC;IAChB,yEAAyE;IACzE,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,iCAAiC;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,0EAA0E;IAC1E,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,iDAAiD;IACjD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,gDAAgD;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,IAAI,CAAC,EAAE,kBAAkB,CAAC;CAC3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ai/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,mBAAmB,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CreateVersionFormProps } from './types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<CreateVersionFormProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
+
create: (args_0: {
|
|
4
|
+
name: string;
|
|
5
|
+
description: string;
|
|
6
|
+
}) => any;
|
|
7
|
+
cancel: (hasUnsavedChanges: boolean) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<CreateVersionFormProps> & Readonly<{
|
|
9
|
+
onCreate?: ((args_0: {
|
|
10
|
+
name: string;
|
|
11
|
+
description: string;
|
|
12
|
+
}) => any) | undefined;
|
|
13
|
+
onCancel?: ((hasUnsavedChanges: boolean) => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
|
+
export default _default;
|
|
16
|
+
//# sourceMappingURL=CreateVersionForm.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateVersionForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/versions/CreateVersionForm/CreateVersionForm.vue"],"names":[],"mappings":"AA0IA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;;;cAOnC,MAAM;qBAAe,MAAM;;;;;cAA3B,MAAM;qBAAe,MAAM;;;;AAyL9C,wBAQG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/versions/CreateVersionForm/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAEvE,mBAAmB,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/versions/CreateVersionForm/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG;IACnC,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ItemSavepoint, WithAvatar, WithLabels } from './types';
|
|
2
|
+
type Props = {
|
|
3
|
+
currentSavepoint: ItemSavepoint & WithAvatar & WithLabels;
|
|
4
|
+
isSelected: boolean;
|
|
5
|
+
hasEditCapability: boolean;
|
|
6
|
+
hasPreviousVersion: boolean;
|
|
7
|
+
hasVersionLimit: boolean;
|
|
8
|
+
isVersionLimitExceeded?: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
select: () => any;
|
|
12
|
+
createVersion: () => any;
|
|
13
|
+
discard: () => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
15
|
+
onSelect?: (() => any) | undefined;
|
|
16
|
+
onCreateVersion?: (() => any) | undefined;
|
|
17
|
+
onDiscard?: (() => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
19
|
+
export default _default;
|
|
20
|
+
//# sourceMappingURL=CurrentState.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CurrentState.vue.d.ts","sourceRoot":"","sources":["../../../../src/versions/VersionHistory/CurrentState.vue"],"names":[],"mappings":"AA0GA,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErE,KAAK,KAAK,GAAG;IACX,gBAAgB,EAAE,aAAa,GAAG,UAAU,GAAG,UAAU,CAAC;IAC1D,UAAU,EAAE,OAAO,CAAC;IACpB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,kBAAkB,EAAE,OAAO,CAAC;IAC5B,eAAe,EAAE,OAAO,CAAC;IACzB,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC,CAAC;;;;;;;;;;AA+KF,wBAQG"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
type Props = {
|
|
2
|
+
isSelected: boolean;
|
|
3
|
+
isFirstItem: boolean;
|
|
4
|
+
isLastItem: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: HTMLDivElement;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=HistoryEvent.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HistoryEvent.vue.d.ts","sourceRoot":"","sources":["../../../../src/versions/VersionHistory/HistoryEvent.vue"],"names":[],"mappings":"AAgFA,KAAK,KAAK,GAAG;IACX,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAOF,iBAAS,cAAc;WA6DT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,iSAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { WithAvatar } from './types';
|
|
2
|
+
type Props = WithAvatar & {
|
|
3
|
+
author: string;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
6
|
+
export default _default;
|
|
7
|
+
//# sourceMappingURL=HistoryEventAuthor.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HistoryEventAuthor.vue.d.ts","sourceRoot":"","sources":["../../../../src/versions/VersionHistory/HistoryEventAuthor.vue"],"names":[],"mappings":"AA6CA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,KAAK,KAAK,GAAG,UAAU,GAAG;IACxB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;;AAuEF,wBAOG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { NamedItemVersion } from './types';
|
|
2
|
+
type Props = {
|
|
3
|
+
date: string;
|
|
4
|
+
version?: NamedItemVersion["version"];
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=HistoryEventFooter.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HistoryEventFooter.vue.d.ts","sourceRoot":"","sources":["../../../../src/versions/VersionHistory/HistoryEventFooter.vue"],"names":[],"mappings":"AAsDA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAC;CACvC,CAAC;;AAyEF,wBAOG"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { VersionHistoryProps } from './types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<VersionHistoryProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
+
select: (version: number | "current-state" | "most-recent") => any;
|
|
4
|
+
delete: (version: number | "current-state" | "most-recent") => any;
|
|
5
|
+
restore: (version: number | "current-state" | "most-recent") => any;
|
|
6
|
+
close: () => any;
|
|
7
|
+
loadAll: () => any;
|
|
8
|
+
create: () => any;
|
|
9
|
+
discardCurrentState: () => any;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<VersionHistoryProps> & Readonly<{
|
|
11
|
+
onSelect?: ((version: number | "current-state" | "most-recent") => any) | undefined;
|
|
12
|
+
onDelete?: ((version: number | "current-state" | "most-recent") => any) | undefined;
|
|
13
|
+
onRestore?: ((version: number | "current-state" | "most-recent") => any) | undefined;
|
|
14
|
+
onClose?: (() => any) | undefined;
|
|
15
|
+
onLoadAll?: (() => any) | undefined;
|
|
16
|
+
onCreate?: (() => any) | undefined;
|
|
17
|
+
onDiscardCurrentState?: (() => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
19
|
+
export default _default;
|
|
20
|
+
//# sourceMappingURL=VersionHistory.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VersionHistory.vue.d.ts","sourceRoot":"","sources":["../../../../src/versions/VersionHistory/VersionHistory.vue"],"names":[],"mappings":"AAuIA,OAAO,KAAK,EAAoB,mBAAmB,EAAE,MAAM,SAAS,CAAC;;;;;;;;;;;;;;;;;;AA2PrE,wBAQG"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { NamedItemVersion, WithAvatar, WithLabels } from './types';
|
|
2
|
+
type Props = {
|
|
3
|
+
version: NamedItemVersion & WithAvatar & WithLabels;
|
|
4
|
+
isSelected: boolean;
|
|
5
|
+
hasAdminRights: boolean;
|
|
6
|
+
hasEditCapability: boolean;
|
|
7
|
+
isFirstItem: boolean;
|
|
8
|
+
isLastItem: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
select: (selectionStatus: boolean) => any;
|
|
12
|
+
delete: () => any;
|
|
13
|
+
restore: () => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
15
|
+
onSelect?: ((selectionStatus: boolean) => any) | undefined;
|
|
16
|
+
onDelete?: (() => any) | undefined;
|
|
17
|
+
onRestore?: (() => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
19
|
+
export default _default;
|
|
20
|
+
//# sourceMappingURL=VersionItem.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VersionItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/versions/VersionHistory/VersionItem.vue"],"names":[],"mappings":"AAkIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAExE,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,gBAAgB,GAAG,UAAU,GAAG,UAAU,CAAC;IACpD,UAAU,EAAE,OAAO,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC;IACxB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;;;;;;;;;;AAmMF,wBAQG"}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { AssignedLabel } from './types';
|
|
2
|
+
type Props = {
|
|
3
|
+
label: AssignedLabel;
|
|
4
|
+
};
|
|
5
|
+
type __VLS_Props = Props;
|
|
6
|
+
type __VLS_PublicProps = {
|
|
7
|
+
modelValue?: boolean;
|
|
8
|
+
} & __VLS_Props;
|
|
9
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
"update:modelValue": (value: boolean) => any;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
12
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
14
|
+
popover: ({
|
|
15
|
+
$: import('vue').ComponentInternalInstance;
|
|
16
|
+
$data: {};
|
|
17
|
+
$props: ({
|
|
18
|
+
readonly modelValue?: boolean | undefined;
|
|
19
|
+
readonly role?: import('@knime/kds-components').KdsPopoverRole | undefined;
|
|
20
|
+
readonly popoverType?: import('@knime/kds-components').KdsPopoverType | undefined;
|
|
21
|
+
readonly fullWidth?: boolean | undefined;
|
|
22
|
+
readonly maxInlineSize?: string | undefined;
|
|
23
|
+
readonly content?: string | undefined;
|
|
24
|
+
readonly placement?: Exclude<import('@knime/kds-components').KdsPopoverPlacement, "custom"> | undefined;
|
|
25
|
+
readonly customPlacementPosition?: never | undefined;
|
|
26
|
+
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined | undefined;
|
|
27
|
+
} | {
|
|
28
|
+
readonly modelValue?: boolean | undefined;
|
|
29
|
+
readonly role?: import('@knime/kds-components').KdsPopoverRole | undefined;
|
|
30
|
+
readonly popoverType?: import('@knime/kds-components').KdsPopoverType | undefined;
|
|
31
|
+
readonly fullWidth?: boolean | undefined;
|
|
32
|
+
readonly maxInlineSize?: string | undefined;
|
|
33
|
+
readonly content?: string | undefined;
|
|
34
|
+
readonly placement: "custom";
|
|
35
|
+
readonly customPlacementPosition: {
|
|
36
|
+
x: number;
|
|
37
|
+
y: number;
|
|
38
|
+
};
|
|
39
|
+
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined | undefined;
|
|
40
|
+
}) & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
41
|
+
$attrs: import('vue').Attrs;
|
|
42
|
+
$refs: {
|
|
43
|
+
[x: string]: unknown;
|
|
44
|
+
} & {
|
|
45
|
+
popoverEl: HTMLDivElement;
|
|
46
|
+
};
|
|
47
|
+
$slots: Readonly<{
|
|
48
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
49
|
+
}>;
|
|
50
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
51
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
52
|
+
$host: Element | null;
|
|
53
|
+
$emit: (event: "update:modelValue", value: boolean) => void;
|
|
54
|
+
$el: HTMLDivElement;
|
|
55
|
+
$options: import('vue').ComponentOptionsBase<Readonly<({
|
|
56
|
+
modelValue?: boolean;
|
|
57
|
+
} & {
|
|
58
|
+
role?: import('@knime/kds-components').KdsPopoverRole;
|
|
59
|
+
popoverType?: import('@knime/kds-components').KdsPopoverType;
|
|
60
|
+
fullWidth?: boolean;
|
|
61
|
+
maxInlineSize?: string;
|
|
62
|
+
content?: string;
|
|
63
|
+
} & {
|
|
64
|
+
placement?: Exclude<import('@knime/kds-components').KdsPopoverPlacement, "custom">;
|
|
65
|
+
customPlacementPosition?: never;
|
|
66
|
+
}) | ({
|
|
67
|
+
modelValue?: boolean;
|
|
68
|
+
} & {
|
|
69
|
+
role?: import('@knime/kds-components').KdsPopoverRole;
|
|
70
|
+
popoverType?: import('@knime/kds-components').KdsPopoverType;
|
|
71
|
+
fullWidth?: boolean;
|
|
72
|
+
maxInlineSize?: string;
|
|
73
|
+
content?: string;
|
|
74
|
+
} & {
|
|
75
|
+
placement: "custom";
|
|
76
|
+
customPlacementPosition: {
|
|
77
|
+
x: number;
|
|
78
|
+
y: number;
|
|
79
|
+
};
|
|
80
|
+
})> & Readonly<{
|
|
81
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
82
|
+
}>, {
|
|
83
|
+
anchorStyle: Record<string, string>;
|
|
84
|
+
popoverId: string;
|
|
85
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
86
|
+
"update:modelValue": (value: boolean) => any;
|
|
87
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
88
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
89
|
+
created?: (() => void) | (() => void)[];
|
|
90
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
91
|
+
mounted?: (() => void) | (() => void)[];
|
|
92
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
93
|
+
updated?: (() => void) | (() => void)[];
|
|
94
|
+
activated?: (() => void) | (() => void)[];
|
|
95
|
+
deactivated?: (() => void) | (() => void)[];
|
|
96
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
97
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
98
|
+
destroyed?: (() => void) | (() => void)[];
|
|
99
|
+
unmounted?: (() => void) | (() => void)[];
|
|
100
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
101
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
102
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
103
|
+
};
|
|
104
|
+
$forceUpdate: () => void;
|
|
105
|
+
$nextTick: typeof import('vue').nextTick;
|
|
106
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
107
|
+
} & Readonly<{}> & Omit<{} & (Readonly<({
|
|
108
|
+
modelValue?: boolean;
|
|
109
|
+
} & {
|
|
110
|
+
role?: import('@knime/kds-components').KdsPopoverRole;
|
|
111
|
+
popoverType?: import('@knime/kds-components').KdsPopoverType;
|
|
112
|
+
fullWidth?: boolean;
|
|
113
|
+
maxInlineSize?: string;
|
|
114
|
+
content?: string;
|
|
115
|
+
} & {
|
|
116
|
+
placement?: Exclude<import('@knime/kds-components').KdsPopoverPlacement, "custom">;
|
|
117
|
+
customPlacementPosition?: never;
|
|
118
|
+
}) | ({
|
|
119
|
+
modelValue?: boolean;
|
|
120
|
+
} & {
|
|
121
|
+
role?: import('@knime/kds-components').KdsPopoverRole;
|
|
122
|
+
popoverType?: import('@knime/kds-components').KdsPopoverType;
|
|
123
|
+
fullWidth?: boolean;
|
|
124
|
+
maxInlineSize?: string;
|
|
125
|
+
content?: string;
|
|
126
|
+
} & {
|
|
127
|
+
placement: "custom";
|
|
128
|
+
customPlacementPosition: {
|
|
129
|
+
x: number;
|
|
130
|
+
y: number;
|
|
131
|
+
};
|
|
132
|
+
})> & Readonly<{
|
|
133
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
134
|
+
}>), "anchorStyle" | "popoverId"> & {
|
|
135
|
+
anchorStyle: Record<string, string>;
|
|
136
|
+
popoverId: string;
|
|
137
|
+
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
138
|
+
$slots: {
|
|
139
|
+
default?(_: {}): any;
|
|
140
|
+
};
|
|
141
|
+
}) | null;
|
|
142
|
+
}, any>;
|
|
143
|
+
export default _default;
|
|
144
|
+
//# sourceMappingURL=VersionLabel.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VersionLabel.vue.d.ts","sourceRoot":"","sources":["../../../../src/versions/VersionHistory/VersionLabel.vue"],"names":[],"mappings":"AA+EA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,aAAa,CAAC;CACtB,CAAC;AAEF,KAAK,WAAW,GAAG,KAAK,CAAC;AAUzB,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAwImtlB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAhBz1lB,wBAQG"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { VersionLimit } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
versionLimit: Required<VersionLimit>;
|
|
4
|
+
upgradeUrl?: string;
|
|
5
|
+
isPrivate?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
8
|
+
export default _default;
|
|
9
|
+
//# sourceMappingURL=VersionLimitInfo.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VersionLimitInfo.vue.d.ts","sourceRoot":"","sources":["../../../../src/versions/VersionHistory/VersionLimitInfo.vue"],"names":[],"mappings":"AA2DA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;;AAwHF,wBAOG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/versions/VersionHistory/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,KAAK,CAAC;AACxC,eAAO,MAAM,qBAAqB,kBAAkB,CAAC;AACrD,eAAO,MAAM,mBAAmB,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/versions/VersionHistory/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEjE,mBAAmB,SAAS,CAAC;AAC7B,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const mocks: {
|
|
2
|
+
savepoints: {
|
|
3
|
+
defaultData: import('..').ItemSavepoint & import('..').WithAvatar & import('..').WithLabels;
|
|
4
|
+
};
|
|
5
|
+
versionHistory: {
|
|
6
|
+
defaultData: (import('..').NamedItemVersion & import('..').WithAvatar & import('..').WithLabels)[];
|
|
7
|
+
aLotOfVersionsWithPlentyOfText: (import('..').NamedItemVersion & import('..').WithAvatar & import('..').WithLabels)[];
|
|
8
|
+
versionToAddOnLoadMore: import('..').NamedItemVersion & import('..').WithAvatar & import('..').WithLabels;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/versions/VersionHistory/mock-data/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK;;;;;;;;;CAGjB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"savepoints.d.ts","sourceRoot":"","sources":["../../../../../src/versions/VersionHistory/mock-data/savepoints.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AA6CtE,eAAO,MAAM,UAAU;;CAEtB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NamedItemVersion, WithAvatar, WithLabels } from '../types';
|
|
2
|
+
export declare const versionHistory: {
|
|
3
|
+
defaultData: (NamedItemVersion & WithAvatar & WithLabels)[];
|
|
4
|
+
aLotOfVersionsWithPlentyOfText: (NamedItemVersion & WithAvatar & WithLabels)[];
|
|
5
|
+
versionToAddOnLoadMore: NamedItemVersion & WithAvatar & WithLabels;
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=versionHistory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"versionHistory.d.ts","sourceRoot":"","sources":["../../../../../src/versions/VersionHistory/mock-data/versionHistory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAyGzE,eAAO,MAAM,cAAc;;;;CAI1B,CAAC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { CURRENT_STATE_VERSION, MOST_RECENT_VERSION } from './constants';
|
|
2
|
+
export type NamedItemVersion = {
|
|
3
|
+
version: number | typeof CURRENT_STATE_VERSION | typeof MOST_RECENT_VERSION;
|
|
4
|
+
title: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
author: string;
|
|
7
|
+
authorAccountId?: string;
|
|
8
|
+
createdOn: string;
|
|
9
|
+
};
|
|
10
|
+
export type AssignedLabel = {
|
|
11
|
+
labelId: string;
|
|
12
|
+
message?: string;
|
|
13
|
+
createdAt?: string;
|
|
14
|
+
createdBy?: string;
|
|
15
|
+
label: {
|
|
16
|
+
name: string;
|
|
17
|
+
description: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export type WithAvatar = {
|
|
21
|
+
avatar: {
|
|
22
|
+
name: string;
|
|
23
|
+
src?: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export type WithLabels = {
|
|
27
|
+
labels: Array<AssignedLabel>;
|
|
28
|
+
};
|
|
29
|
+
type ItemChange = {
|
|
30
|
+
author: string;
|
|
31
|
+
createdOn: string;
|
|
32
|
+
eventActionType: "ADDED" | "UPDATED" | "MOVED" | "RENAMED";
|
|
33
|
+
message: string;
|
|
34
|
+
authorAccountId?: string;
|
|
35
|
+
};
|
|
36
|
+
export type ItemSavepoint = {
|
|
37
|
+
author: string;
|
|
38
|
+
authorAccountId?: string;
|
|
39
|
+
lastEditedOn: string;
|
|
40
|
+
savepointNumber: number;
|
|
41
|
+
version?: NamedItemVersion;
|
|
42
|
+
itemVersionId?: string;
|
|
43
|
+
changes: Array<ItemChange>;
|
|
44
|
+
};
|
|
45
|
+
export type VersionLimit = {
|
|
46
|
+
currentUsage: number;
|
|
47
|
+
limit?: number;
|
|
48
|
+
};
|
|
49
|
+
export type VersionHistoryProps = {
|
|
50
|
+
hasUnversionedChanges: boolean;
|
|
51
|
+
unversionedSavepoint?: (ItemSavepoint & WithAvatar & WithLabels) | null;
|
|
52
|
+
currentVersion: NamedItemVersion["version"] | null;
|
|
53
|
+
versionHistory: Array<NamedItemVersion & WithAvatar & WithLabels>;
|
|
54
|
+
loading: boolean;
|
|
55
|
+
hasLoadedAllVersions: boolean;
|
|
56
|
+
hasAdminRights: boolean;
|
|
57
|
+
hasEditCapability: boolean;
|
|
58
|
+
versionLimit?: VersionLimit;
|
|
59
|
+
upgradeUrl?: string;
|
|
60
|
+
isPrivate?: boolean;
|
|
61
|
+
};
|
|
62
|
+
export {};
|
|
63
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/versions/VersionHistory/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAE9E,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,EAAE,MAAM,GAAG,OAAO,qBAAqB,GAAG,OAAO,mBAAmB,CAAC;IAC5E,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE;QACL,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IAAE,MAAM,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,CAAC;AACpE,MAAM,MAAM,UAAU,GAAG;IAAE,MAAM,EAAE,KAAK,CAAC,aAAa,CAAC,CAAA;CAAE,CAAC;AAE1D,KAAK,UAAU,GAAG;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;IAC3D,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,qBAAqB,EAAE,OAAO,CAAC;IAC/B,oBAAoB,CAAC,EAAE,CAAC,aAAa,GAAG,UAAU,GAAG,UAAU,CAAC,GAAG,IAAI,CAAC;IACxE,cAAc,EAAE,gBAAgB,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC;IACnD,cAAc,EAAE,KAAK,CAAC,gBAAgB,GAAG,UAAU,GAAG,UAAU,CAAC,CAAC;IAClE,OAAO,EAAE,OAAO,CAAC;IACjB,oBAAoB,EAAE,OAAO,CAAC;IAC9B,cAAc,EAAE,OAAO,CAAC;IACxB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/versions/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,mBAAmB,kBAAkB,CAAC;AAEtC,cAAc,qBAAqB,CAAC;AACpC,mBAAmB,qBAAqB,CAAC"}
|