Skip to content

Commit 30ab354

Browse files
committed
wip
Signed-off-by: Mior Muhammad Zaki <[email protected]>
1 parent 41a7e6d commit 30ab354

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+809
-0
lines changed

dist/composables/useLocalization.d.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
export function useLocalization(): {
2+
/**
3+
* @param {string} key
4+
* @param {{[key: string]: string}} replace
5+
* @returns {string}
6+
*/
7+
__: (key: string, replace: {
8+
[key: string]: string;
9+
}) => string;
10+
};
11+
//# sourceMappingURL=useLocalization.d.ts.map

dist/composables/useLocalization.d.ts.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/mixins/CopiesToClipboard.d.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
export function useCopyValueToClipboard(): {
2+
copyValueToClipboard: (value: any) => void;
3+
};
4+
export default mixin;
5+
declare namespace mixin {
6+
namespace methods {
7+
/**
8+
* @param {string} value
9+
*/
10+
function copyValueToClipboard(value: string): void;
11+
}
12+
}
13+
//# sourceMappingURL=CopiesToClipboard.d.ts.map

dist/mixins/CopiesToClipboard.d.ts.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/mixins/DependentFormField.d.ts

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
declare namespace _default {
2+
export { FormField as extends };
3+
export let emits: string[];
4+
export namespace props {
5+
namespace syncEndpoint {
6+
let type: StringConstructor;
7+
let required: boolean;
8+
}
9+
}
10+
export function data(): {
11+
dependentFieldDebouncer: any;
12+
canceller: any;
13+
watchedFields: {};
14+
watchedEvents: {};
15+
syncedField: any;
16+
pivot: boolean;
17+
editMode: string;
18+
};
19+
export function created(): void;
20+
export function mounted(): void;
21+
export function beforeUnmount(): void;
22+
export namespace methods {
23+
function setInitialValue(): void;
24+
/**
25+
* Provide a function to fills FormData when field is visible.
26+
*
27+
* @param {FormData} formData
28+
* @param {string} attribute
29+
* @param {any} value
30+
*/
31+
function fillIfVisible(formData: FormData, attribute: string, value: any): void;
32+
function syncField(): void;
33+
function onSyncedField(): void;
34+
function emitOnSyncedFieldValueChange(): void;
35+
/**
36+
* @returns {boolean}
37+
*/
38+
function syncedFieldValueHasNotChanged(): boolean;
39+
}
40+
export namespace computed {
41+
/**
42+
* Determine the current field
43+
*
44+
* @returns {object}
45+
*/
46+
function currentField(): object;
47+
/**
48+
* Determine if the field is in visible mode.
49+
*
50+
* @returns {boolean}
51+
*/
52+
function currentlyIsVisible(): boolean;
53+
/**
54+
* Determine if the field is in readonly mode.
55+
*
56+
* @returns {boolean}
57+
*/
58+
function currentlyIsReadonly(): boolean;
59+
/**
60+
* @returns {string[]}
61+
*/
62+
function dependsOn(): string[];
63+
/**
64+
* @returns {{[key: string]: any}}
65+
*/
66+
function currentFieldValues(): {
67+
[key: string]: any;
68+
};
69+
/**
70+
* @returns {{[key: string]: any}}
71+
*/
72+
function dependentFieldValues(): {
73+
[key: string]: any;
74+
};
75+
/**
76+
* @returns {string}
77+
*/
78+
function encodedDependentFieldValues(): string;
79+
/**
80+
* Get the correct field sync endpoint URL.
81+
*
82+
* @returns {string}
83+
*/
84+
function syncFieldEndpoint(): string;
85+
}
86+
}
87+
export default _default;
88+
import FormField from './FormField';
89+
//# sourceMappingURL=DependentFormField.d.ts.map

dist/mixins/DependentFormField.d.ts.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/mixins/FieldValue.d.ts

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
declare namespace _default {
2+
let props: string[];
3+
namespace methods {
4+
/**
5+
* @param {any} value
6+
* @returns {boolean}
7+
*/
8+
function isEqualsToValue(value: any): boolean;
9+
}
10+
namespace computed {
11+
/**
12+
* @returns {string}
13+
*/
14+
function fieldAttribute(): string;
15+
/**
16+
* @returns {boolean}
17+
*/
18+
function fieldHasValue(): boolean;
19+
/**
20+
* @returns {boolean}
21+
*/
22+
function usesCustomizedDisplay(): boolean;
23+
/**
24+
* @returns {string|null}
25+
*/
26+
function fieldValue(): string | null;
27+
/**
28+
* @returns {string|null}
29+
*/
30+
function shouldDisplayAsHtml(): string | null;
31+
}
32+
}
33+
export default _default;
34+
//# sourceMappingURL=FieldValue.d.ts.map

dist/mixins/FieldValue.d.ts.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/mixins/FormEvents.d.ts

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
declare namespace _default {
2+
namespace props {
3+
namespace formUniqueId {
4+
let type: StringConstructor;
5+
}
6+
}
7+
namespace methods {
8+
/**
9+
* @param {string} attribute
10+
* @param {any} value
11+
*/
12+
function emitFieldValue(attribute: string, value: any): void;
13+
/**
14+
* @param {string} attribute
15+
* @param {any} value
16+
*/
17+
function emitFieldValueChange(attribute: string, value: any): void;
18+
/**
19+
* Get field attribute value event name.
20+
*
21+
* @param {string} attribute
22+
* @returns {string}
23+
*/
24+
function getFieldAttributeValueEventName(attribute: string): string;
25+
/**
26+
* Get field attribue value event name.
27+
*
28+
* @param {string} attribute
29+
* @returns {string}
30+
*/
31+
function getFieldAttributeChangeEventName(attribute: string): string;
32+
}
33+
namespace computed {
34+
/**
35+
* Return the field attribute.
36+
*
37+
* @returns {string}
38+
*/
39+
function fieldAttribute(): string;
40+
/**
41+
* Determine if the field has Form Unique ID.
42+
*
43+
* @returns {boolean}
44+
*/
45+
function hasFormUniqueId(): boolean;
46+
/**
47+
* Get field attribue value event name.
48+
*
49+
* @returns {string}
50+
*/
51+
function fieldAttributeValueEventName(): string;
52+
/**
53+
* Get field attribue value event name.
54+
*
55+
* @returns {string}
56+
*/
57+
function fieldAttributeChangeEventName(): string;
58+
}
59+
}
60+
export default _default;
61+
//# sourceMappingURL=FormEvents.d.ts.map

dist/mixins/FormEvents.d.ts.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)