@propelinc/citrus-ui 1.0.0 → 1.0.2
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/README.md +21 -15
- package/dist/index.cdn.css +1 -0
- package/dist/index.cdn.mjs +21718 -0
- package/dist/index.cdn.mjs.map +1 -0
- package/dist/styles/main.css +466 -62
- package/dist/styles/utils.css +390 -0
- package/package.json +5 -2
- package/src/components/CTextField.vue +11 -5
- package/src/styles/_core.scss +1 -0
- package/src/styles/_reset.scss +93 -78
- package/src/styles/utils.scss +50 -0
- package/dist/colors/colors.d.ts +0 -31
- package/dist/colors/theme.d.ts +0 -3
- package/dist/colors/util-classes.d.ts +0 -11
- package/dist/components/CAccordion.vue.d.ts +0 -21
- package/dist/components/CAccordionItem.vue.d.ts +0 -41
- package/dist/components/CAppBar.vue.d.ts +0 -156
- package/dist/components/CBadge.vue.d.ts +0 -52
- package/dist/components/CBottomSheet.vue.d.ts +0 -226
- package/dist/components/CButton/CButton.vue.d.ts +0 -231
- package/dist/components/CButton/types.d.ts +0 -5
- package/dist/components/CButtonStack.vue.d.ts +0 -24
- package/dist/components/CCard.vue.d.ts +0 -107
- package/dist/components/CCardFooter.vue.d.ts +0 -26
- package/dist/components/CCardHeader.vue.d.ts +0 -3
- package/dist/components/CCardSection.vue.d.ts +0 -17
- package/dist/components/CCheckbox.vue.d.ts +0 -145
- package/dist/components/CCol.vue.d.ts +0 -21
- package/dist/components/CDivider.vue.d.ts +0 -17
- package/dist/components/CDobField.vue.d.ts +0 -2109
- package/dist/components/CDobSelect.vue.d.ts +0 -398
- package/dist/components/CEmailField.vue.d.ts +0 -699
- package/dist/components/CExpandTransition.vue.d.ts +0 -19
- package/dist/components/CFadeTransition.vue.d.ts +0 -3
- package/dist/components/CFileInput.vue.d.ts +0 -98
- package/dist/components/CFixedPageFooter.vue.d.ts +0 -106
- package/dist/components/CForm.vue.d.ts +0 -29
- package/dist/components/CFormFieldCounter.vue.d.ts +0 -42
- package/dist/components/CIconButton.vue.d.ts +0 -390
- package/dist/components/CLabel.vue.d.ts +0 -32
- package/dist/components/CListItem.vue.d.ts +0 -208
- package/dist/components/CListItemContent.vue.d.ts +0 -27
- package/dist/components/CListItemIcon.vue.d.ts +0 -54
- package/dist/components/CLoader.vue.d.ts +0 -73
- package/dist/components/CLogo.vue.d.ts +0 -19
- package/dist/components/CMaskedTextField.vue.d.ts +0 -2012
- package/dist/components/CMenu.vue.d.ts +0 -6
- package/dist/components/CMenuItem.vue.d.ts +0 -170
- package/dist/components/CMenuLabel.vue.d.ts +0 -3
- package/dist/components/CModal.vue.d.ts +0 -206
- package/dist/components/CModalLoading.vue.d.ts +0 -230
- package/dist/components/CNotification.vue.d.ts +0 -589
- package/dist/components/CPhoneField.vue.d.ts +0 -2088
- package/dist/components/CPill.vue.d.ts +0 -42
- package/dist/components/CPillGroup.vue.d.ts +0 -70
- package/dist/components/CPopup.vue.d.ts +0 -21
- package/dist/components/CProgressLinear.vue.d.ts +0 -61
- package/dist/components/CProgressRing.vue.d.ts +0 -103
- package/dist/components/CRadio.vue.d.ts +0 -73
- package/dist/components/CRadioGroup.vue.d.ts +0 -123
- package/dist/components/CRebrand.vue.d.ts +0 -28
- package/dist/components/CRow.vue.d.ts +0 -67
- package/dist/components/CSafeArea.vue.d.ts +0 -18
- package/dist/components/CSectionHeader.vue.d.ts +0 -28
- package/dist/components/CSelect.vue.d.ts +0 -293
- package/dist/components/CSkeleton.vue.d.ts +0 -3
- package/dist/components/CSkeletonLoaderCard.vue.d.ts +0 -21
- package/dist/components/CSkeletonLoaderCircle.vue.d.ts +0 -5
- package/dist/components/CSkeletonLoaderText.vue.d.ts +0 -44
- package/dist/components/CSlideFadeTransition.vue.d.ts +0 -58
- package/dist/components/CSplitInput.vue.d.ts +0 -2131
- package/dist/components/CSquaredIcon.vue.d.ts +0 -47
- package/dist/components/CSsnField.vue.d.ts +0 -2083
- package/dist/components/CStatusDot.vue.d.ts +0 -27
- package/dist/components/CSwitch.vue.d.ts +0 -54
- package/dist/components/CSwitchListItem.vue.d.ts +0 -392
- package/dist/components/CTextArea.vue.d.ts +0 -240
- package/dist/components/CTextField.vue.d.ts +0 -647
- package/dist/components/CTextLink.vue.d.ts +0 -55
- package/dist/components/CThirdPartyLogo.vue.d.ts +0 -128
- package/dist/components/CTimeago.vue.d.ts +0 -12
- package/dist/components/CToast.vue.d.ts +0 -458
- package/dist/components/CToastsList.vue.d.ts +0 -430
- package/dist/components/CValidationMessage.vue.d.ts +0 -45
- package/dist/components/CZipcodeField.vue.d.ts +0 -2080
- package/dist/components/index.d.ts +0 -66
- package/dist/components/internal/CCloseButton.vue.d.ts +0 -14
- package/dist/composables/accessibility.d.ts +0 -1
- package/dist/composables/animation.d.ts +0 -12
- package/dist/composables/binding.d.ts +0 -19
- package/dist/composables/colors.d.ts +0 -13
- package/dist/composables/elements.d.ts +0 -3
- package/dist/composables/fields.d.ts +0 -9
- package/dist/composables/gestures.d.ts +0 -53
- package/dist/composables/i18n.d.ts +0 -3
- package/dist/composables/id.d.ts +0 -11
- package/dist/composables/input-mask.d.ts +0 -18
- package/dist/composables/router.d.ts +0 -30
- package/dist/composables/slots.d.ts +0 -2
- package/dist/composables/toast.d.ts +0 -21
- package/dist/composables/validations.d.ts +0 -77
- package/dist/index.css +0 -1
- package/dist/index.d.ts +0 -8
- package/dist/index.mjs +0 -11738
- package/dist/index.mjs.map +0 -1
- package/dist/plugin.d.ts +0 -3
- package/dist/services/animation.d.ts +0 -17
- package/dist/services/directives/index.d.ts +0 -2
- package/dist/services/directives/scroll-into-view.d.ts +0 -7
- package/dist/services/directives/tap-animation.d.ts +0 -6
- package/dist/services/id.d.ts +0 -22
- package/dist/services/injections/accordions.d.ts +0 -3
- package/dist/services/injections/animations.d.ts +0 -2
- package/dist/services/injections/buttons.d.ts +0 -4
- package/dist/services/injections/forms.d.ts +0 -6
- package/dist/services/injections/icon-buttons.d.ts +0 -3
- package/dist/services/injections/pills.d.ts +0 -4
- package/dist/services/injections/radio.d.ts +0 -10
- package/dist/theme/icons.d.ts +0 -36
- package/dist/types/CForm.d.ts +0 -12
- package/dist/types/font-awesome.d.ts +0 -5
- package/dist/types.d.ts +0 -12
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { PropType, DefineComponent, ExtractPropTypes, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
import { FaPropType, FaIcon } from '../types/font-awesome';
|
|
3
|
-
import { FontAwesomeIconProps } from '@fortawesome/vue-fontawesome';
|
|
4
|
-
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
5
|
-
/** By default, this is a boolean that determines if the pill is selected or
|
|
6
|
-
not. If in a pill group, this is a string that identifies this pill. */
|
|
7
|
-
value: {
|
|
8
|
-
type: PropType<boolean | string | undefined>;
|
|
9
|
-
default: undefined;
|
|
10
|
-
};
|
|
11
|
-
/** The icon to display. */
|
|
12
|
-
icon: {
|
|
13
|
-
type: FaPropType;
|
|
14
|
-
default: undefined;
|
|
15
|
-
};
|
|
16
|
-
}>, {
|
|
17
|
-
ariaChecked: ComputedRef<"true" | "false" | undefined>;
|
|
18
|
-
isSelected: ComputedRef<string | boolean | undefined>;
|
|
19
|
-
onClick: () => void;
|
|
20
|
-
role: ComputedRef<string | undefined>;
|
|
21
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("input" | "click")[], "input" | "click", PublicProps, Readonly< ExtractPropTypes<{
|
|
22
|
-
/** By default, this is a boolean that determines if the pill is selected or
|
|
23
|
-
not. If in a pill group, this is a string that identifies this pill. */
|
|
24
|
-
value: {
|
|
25
|
-
type: PropType<boolean | string | undefined>;
|
|
26
|
-
default: undefined;
|
|
27
|
-
};
|
|
28
|
-
/** The icon to display. */
|
|
29
|
-
icon: {
|
|
30
|
-
type: FaPropType;
|
|
31
|
-
default: undefined;
|
|
32
|
-
};
|
|
33
|
-
}>> & Readonly<{
|
|
34
|
-
onInput?: ((...args: any[]) => any) | undefined;
|
|
35
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
36
|
-
}>, {
|
|
37
|
-
value: string | boolean | undefined;
|
|
38
|
-
icon: FaIcon;
|
|
39
|
-
}, {}, {
|
|
40
|
-
FontAwesomeIcon: DefineComponent<FontAwesomeIconProps>;
|
|
41
|
-
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
42
|
-
export default _default;
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { PropType, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComputedRef, ComponentProvideOptions } from 'vue';
|
|
2
|
-
import { FaIcon, FaPropType } from '../types/font-awesome';
|
|
3
|
-
import { FontAwesomeIconProps } from '@fortawesome/vue-fontawesome';
|
|
4
|
-
interface PillConfig {
|
|
5
|
-
label: string;
|
|
6
|
-
value: string;
|
|
7
|
-
icon?: FaIcon;
|
|
8
|
-
}
|
|
9
|
-
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
10
|
-
/** Specifies which pill is selected. */
|
|
11
|
-
value: {
|
|
12
|
-
type: PropType<string>;
|
|
13
|
-
default: () => string;
|
|
14
|
-
};
|
|
15
|
-
/** A list of pills to display. This is overwritten by the default slot. */
|
|
16
|
-
options: {
|
|
17
|
-
type: PropType<PillConfig[]>;
|
|
18
|
-
default: () => never[];
|
|
19
|
-
};
|
|
20
|
-
}>, void, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "input"[], "input", PublicProps, Readonly< ExtractPropTypes<{
|
|
21
|
-
/** Specifies which pill is selected. */
|
|
22
|
-
value: {
|
|
23
|
-
type: PropType<string>;
|
|
24
|
-
default: () => string;
|
|
25
|
-
};
|
|
26
|
-
/** A list of pills to display. This is overwritten by the default slot. */
|
|
27
|
-
options: {
|
|
28
|
-
type: PropType<PillConfig[]>;
|
|
29
|
-
default: () => never[];
|
|
30
|
-
};
|
|
31
|
-
}>> & Readonly<{
|
|
32
|
-
onInput?: ((...args: any[]) => any) | undefined;
|
|
33
|
-
}>, {
|
|
34
|
-
value: string;
|
|
35
|
-
options: PillConfig[];
|
|
36
|
-
}, {}, {
|
|
37
|
-
CPill: DefineComponent<ExtractPropTypes<{
|
|
38
|
-
value: {
|
|
39
|
-
type: PropType<boolean | string | undefined>;
|
|
40
|
-
default: undefined;
|
|
41
|
-
};
|
|
42
|
-
icon: {
|
|
43
|
-
type: FaPropType;
|
|
44
|
-
default: undefined;
|
|
45
|
-
};
|
|
46
|
-
}>, {
|
|
47
|
-
ariaChecked: ComputedRef<"true" | "false" | undefined>;
|
|
48
|
-
isSelected: ComputedRef<string | boolean | undefined>;
|
|
49
|
-
onClick: () => void;
|
|
50
|
-
role: ComputedRef<string | undefined>;
|
|
51
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("input" | "click")[], "input" | "click", PublicProps, Readonly< ExtractPropTypes<{
|
|
52
|
-
value: {
|
|
53
|
-
type: PropType<boolean | string | undefined>;
|
|
54
|
-
default: undefined;
|
|
55
|
-
};
|
|
56
|
-
icon: {
|
|
57
|
-
type: FaPropType;
|
|
58
|
-
default: undefined;
|
|
59
|
-
};
|
|
60
|
-
}>> & Readonly<{
|
|
61
|
-
onInput?: ((...args: any[]) => any) | undefined;
|
|
62
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
63
|
-
}>, {
|
|
64
|
-
value: string | boolean | undefined;
|
|
65
|
-
icon: FaIcon;
|
|
66
|
-
}, {}, {
|
|
67
|
-
FontAwesomeIcon: DefineComponent<FontAwesomeIconProps>;
|
|
68
|
-
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
69
|
-
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
70
|
-
export default _default;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { SlPopup } from '@shoelace-style/shoelace';
|
|
2
|
-
import { DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
4
|
-
value: {
|
|
5
|
-
type: BooleanConstructor;
|
|
6
|
-
default: boolean;
|
|
7
|
-
};
|
|
8
|
-
}>, {
|
|
9
|
-
popup: Ref<SlPopup | null, SlPopup | null>;
|
|
10
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("mouseleave" | "outside-click")[], "mouseleave" | "outside-click", PublicProps, Readonly< ExtractPropTypes<{
|
|
11
|
-
value: {
|
|
12
|
-
type: BooleanConstructor;
|
|
13
|
-
default: boolean;
|
|
14
|
-
};
|
|
15
|
-
}>> & Readonly<{
|
|
16
|
-
onMouseleave?: ((...args: any[]) => any) | undefined;
|
|
17
|
-
"onOutside-click"?: ((...args: any[]) => any) | undefined;
|
|
18
|
-
}>, {
|
|
19
|
-
value: boolean;
|
|
20
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
21
|
-
export default _default;
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
3
|
-
/** Customizes screen reader only text alternative, should be translated */
|
|
4
|
-
accessibleText: {
|
|
5
|
-
type: StringConstructor;
|
|
6
|
-
default: undefined;
|
|
7
|
-
};
|
|
8
|
-
/** Selector for testing */
|
|
9
|
-
dataTest: {
|
|
10
|
-
type: StringConstructor;
|
|
11
|
-
default: string;
|
|
12
|
-
};
|
|
13
|
-
/** Renders an indefinite loading state */
|
|
14
|
-
indeterminate: {
|
|
15
|
-
type: BooleanConstructor;
|
|
16
|
-
default: boolean;
|
|
17
|
-
};
|
|
18
|
-
/** Rounds the progress bar */
|
|
19
|
-
rounded: {
|
|
20
|
-
type: BooleanConstructor;
|
|
21
|
-
default: boolean;
|
|
22
|
-
};
|
|
23
|
-
/** The current progress from 0 to 100 */
|
|
24
|
-
value: {
|
|
25
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
26
|
-
default: number;
|
|
27
|
-
};
|
|
28
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
29
|
-
/** Customizes screen reader only text alternative, should be translated */
|
|
30
|
-
accessibleText: {
|
|
31
|
-
type: StringConstructor;
|
|
32
|
-
default: undefined;
|
|
33
|
-
};
|
|
34
|
-
/** Selector for testing */
|
|
35
|
-
dataTest: {
|
|
36
|
-
type: StringConstructor;
|
|
37
|
-
default: string;
|
|
38
|
-
};
|
|
39
|
-
/** Renders an indefinite loading state */
|
|
40
|
-
indeterminate: {
|
|
41
|
-
type: BooleanConstructor;
|
|
42
|
-
default: boolean;
|
|
43
|
-
};
|
|
44
|
-
/** Rounds the progress bar */
|
|
45
|
-
rounded: {
|
|
46
|
-
type: BooleanConstructor;
|
|
47
|
-
default: boolean;
|
|
48
|
-
};
|
|
49
|
-
/** The current progress from 0 to 100 */
|
|
50
|
-
value: {
|
|
51
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
52
|
-
default: number;
|
|
53
|
-
};
|
|
54
|
-
}>> & Readonly<{}>, {
|
|
55
|
-
value: string | number;
|
|
56
|
-
dataTest: string;
|
|
57
|
-
accessibleText: string;
|
|
58
|
-
indeterminate: boolean;
|
|
59
|
-
rounded: boolean;
|
|
60
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
61
|
-
export default _default;
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { PropType, DefineComponent, ExtractPropTypes, ComputedRef, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
import { default as Colors, HexColor, isValidColor, CssColor } from '../colors/colors';
|
|
3
|
-
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
4
|
-
/** Customizes screen reader only text alternative, should be translated */
|
|
5
|
-
accessibleText: {
|
|
6
|
-
type: StringConstructor;
|
|
7
|
-
default: undefined;
|
|
8
|
-
};
|
|
9
|
-
/** Selector for testing */
|
|
10
|
-
dataTest: {
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
|
-
/** The current progress, from 0 to valueMax */
|
|
15
|
-
value: {
|
|
16
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
17
|
-
default: number;
|
|
18
|
-
};
|
|
19
|
-
/** Total progress */
|
|
20
|
-
valueMax: {
|
|
21
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
22
|
-
default: number;
|
|
23
|
-
};
|
|
24
|
-
/** The outer diameter of the progress ring, in px */
|
|
25
|
-
size: {
|
|
26
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
27
|
-
default: number;
|
|
28
|
-
};
|
|
29
|
-
/** The width of the progress ring, in px */
|
|
30
|
-
trackWidth: {
|
|
31
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
32
|
-
default: number;
|
|
33
|
-
};
|
|
34
|
-
/** Sets the indicator color */
|
|
35
|
-
color: {
|
|
36
|
-
type: PropType<HexColor | keyof typeof Colors>;
|
|
37
|
-
default: string;
|
|
38
|
-
validator: typeof isValidColor;
|
|
39
|
-
};
|
|
40
|
-
/** Sets the track color underneath the indicator */
|
|
41
|
-
trackColor: {
|
|
42
|
-
type: PropType<HexColor | keyof typeof Colors>;
|
|
43
|
-
default: string;
|
|
44
|
-
validator: typeof isValidColor;
|
|
45
|
-
};
|
|
46
|
-
}>, {
|
|
47
|
-
percentage: ComputedRef<number>;
|
|
48
|
-
cssColor: Ref< CssColor | undefined, CssColor | undefined>;
|
|
49
|
-
trackCssColor: Ref< CssColor | undefined, CssColor | undefined>;
|
|
50
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
51
|
-
/** Customizes screen reader only text alternative, should be translated */
|
|
52
|
-
accessibleText: {
|
|
53
|
-
type: StringConstructor;
|
|
54
|
-
default: undefined;
|
|
55
|
-
};
|
|
56
|
-
/** Selector for testing */
|
|
57
|
-
dataTest: {
|
|
58
|
-
type: StringConstructor;
|
|
59
|
-
default: string;
|
|
60
|
-
};
|
|
61
|
-
/** The current progress, from 0 to valueMax */
|
|
62
|
-
value: {
|
|
63
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
64
|
-
default: number;
|
|
65
|
-
};
|
|
66
|
-
/** Total progress */
|
|
67
|
-
valueMax: {
|
|
68
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
69
|
-
default: number;
|
|
70
|
-
};
|
|
71
|
-
/** The outer diameter of the progress ring, in px */
|
|
72
|
-
size: {
|
|
73
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
74
|
-
default: number;
|
|
75
|
-
};
|
|
76
|
-
/** The width of the progress ring, in px */
|
|
77
|
-
trackWidth: {
|
|
78
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
79
|
-
default: number;
|
|
80
|
-
};
|
|
81
|
-
/** Sets the indicator color */
|
|
82
|
-
color: {
|
|
83
|
-
type: PropType<HexColor | keyof typeof Colors>;
|
|
84
|
-
default: string;
|
|
85
|
-
validator: typeof isValidColor;
|
|
86
|
-
};
|
|
87
|
-
/** Sets the track color underneath the indicator */
|
|
88
|
-
trackColor: {
|
|
89
|
-
type: PropType<HexColor | keyof typeof Colors>;
|
|
90
|
-
default: string;
|
|
91
|
-
validator: typeof isValidColor;
|
|
92
|
-
};
|
|
93
|
-
}>> & Readonly<{}>, {
|
|
94
|
-
value: string | number;
|
|
95
|
-
size: string | number;
|
|
96
|
-
dataTest: string;
|
|
97
|
-
accessibleText: string;
|
|
98
|
-
color: string;
|
|
99
|
-
trackColor: string;
|
|
100
|
-
valueMax: string | number;
|
|
101
|
-
trackWidth: string | number;
|
|
102
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
103
|
-
export default _default;
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { PropType, DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
import { RadioState } from '../services/injections/radio';
|
|
3
|
-
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
4
|
-
value: {
|
|
5
|
-
type: PropType<any>;
|
|
6
|
-
required: true;
|
|
7
|
-
};
|
|
8
|
-
id: {
|
|
9
|
-
type: PropType<string | null>;
|
|
10
|
-
default: null;
|
|
11
|
-
};
|
|
12
|
-
label: {
|
|
13
|
-
type: PropType<string | null>;
|
|
14
|
-
default: null;
|
|
15
|
-
};
|
|
16
|
-
dataTest: {
|
|
17
|
-
type: StringConstructor;
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
hideRadio: {
|
|
21
|
-
type: BooleanConstructor;
|
|
22
|
-
default: boolean;
|
|
23
|
-
};
|
|
24
|
-
}>, {
|
|
25
|
-
idWithFallback: Ref<string, string>;
|
|
26
|
-
parentState: Ref<{
|
|
27
|
-
value: unknown;
|
|
28
|
-
invalid: boolean;
|
|
29
|
-
name: string;
|
|
30
|
-
update: (value: unknown) => void;
|
|
31
|
-
register: (value: unknown) => void;
|
|
32
|
-
unregister: (value: unknown) => void;
|
|
33
|
-
}, RadioState | {
|
|
34
|
-
value: unknown;
|
|
35
|
-
invalid: boolean;
|
|
36
|
-
name: string;
|
|
37
|
-
update: (value: unknown) => void;
|
|
38
|
-
register: (value: unknown) => void;
|
|
39
|
-
unregister: (value: unknown) => void;
|
|
40
|
-
}>;
|
|
41
|
-
onChange: (event: Event) => void;
|
|
42
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("change" | "focus" | "blur")[], "change" | "focus" | "blur", PublicProps, Readonly< ExtractPropTypes<{
|
|
43
|
-
value: {
|
|
44
|
-
type: PropType<any>;
|
|
45
|
-
required: true;
|
|
46
|
-
};
|
|
47
|
-
id: {
|
|
48
|
-
type: PropType<string | null>;
|
|
49
|
-
default: null;
|
|
50
|
-
};
|
|
51
|
-
label: {
|
|
52
|
-
type: PropType<string | null>;
|
|
53
|
-
default: null;
|
|
54
|
-
};
|
|
55
|
-
dataTest: {
|
|
56
|
-
type: StringConstructor;
|
|
57
|
-
default: string;
|
|
58
|
-
};
|
|
59
|
-
hideRadio: {
|
|
60
|
-
type: BooleanConstructor;
|
|
61
|
-
default: boolean;
|
|
62
|
-
};
|
|
63
|
-
}>> & Readonly<{
|
|
64
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
65
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
66
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
67
|
-
}>, {
|
|
68
|
-
label: string | null;
|
|
69
|
-
id: string | null;
|
|
70
|
-
dataTest: string;
|
|
71
|
-
hideRadio: boolean;
|
|
72
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
73
|
-
export default _default;
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import { PropType, DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, ComputedRef, ComponentProvideOptions } from 'vue';
|
|
2
|
-
import { Rules } from '../composables/validations';
|
|
3
|
-
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
4
|
-
value: {
|
|
5
|
-
type: PropType<any>;
|
|
6
|
-
default: null;
|
|
7
|
-
};
|
|
8
|
-
id: {
|
|
9
|
-
type: PropType<string | null>;
|
|
10
|
-
default: null;
|
|
11
|
-
};
|
|
12
|
-
dataTest: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
label: {
|
|
17
|
-
type: PropType<string | null>;
|
|
18
|
-
default: null;
|
|
19
|
-
};
|
|
20
|
-
column: {
|
|
21
|
-
type: BooleanConstructor;
|
|
22
|
-
default: boolean;
|
|
23
|
-
};
|
|
24
|
-
mandatory: {
|
|
25
|
-
type: BooleanConstructor;
|
|
26
|
-
default: boolean;
|
|
27
|
-
};
|
|
28
|
-
rules: {
|
|
29
|
-
type: PropType<Rules<string>>;
|
|
30
|
-
default: () => never[];
|
|
31
|
-
};
|
|
32
|
-
hideDetails: {
|
|
33
|
-
type: PropType<boolean | "auto">;
|
|
34
|
-
default: boolean;
|
|
35
|
-
};
|
|
36
|
-
}>, {
|
|
37
|
-
idWithFallback: Ref<string, string>;
|
|
38
|
-
isValidationValid: Ref<boolean | null, boolean | null>;
|
|
39
|
-
radioGroup: Ref<HTMLElement | null, HTMLElement | null>;
|
|
40
|
-
validationMessage: Ref<string | null, string | null>;
|
|
41
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("change" | "input")[], "change" | "input", PublicProps, Readonly< ExtractPropTypes<{
|
|
42
|
-
value: {
|
|
43
|
-
type: PropType<any>;
|
|
44
|
-
default: null;
|
|
45
|
-
};
|
|
46
|
-
id: {
|
|
47
|
-
type: PropType<string | null>;
|
|
48
|
-
default: null;
|
|
49
|
-
};
|
|
50
|
-
dataTest: {
|
|
51
|
-
type: StringConstructor;
|
|
52
|
-
default: string;
|
|
53
|
-
};
|
|
54
|
-
label: {
|
|
55
|
-
type: PropType<string | null>;
|
|
56
|
-
default: null;
|
|
57
|
-
};
|
|
58
|
-
column: {
|
|
59
|
-
type: BooleanConstructor;
|
|
60
|
-
default: boolean;
|
|
61
|
-
};
|
|
62
|
-
mandatory: {
|
|
63
|
-
type: BooleanConstructor;
|
|
64
|
-
default: boolean;
|
|
65
|
-
};
|
|
66
|
-
rules: {
|
|
67
|
-
type: PropType<Rules<string>>;
|
|
68
|
-
default: () => never[];
|
|
69
|
-
};
|
|
70
|
-
hideDetails: {
|
|
71
|
-
type: PropType<boolean | "auto">;
|
|
72
|
-
default: boolean;
|
|
73
|
-
};
|
|
74
|
-
}>> & Readonly<{
|
|
75
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
76
|
-
onInput?: ((...args: any[]) => any) | undefined;
|
|
77
|
-
}>, {
|
|
78
|
-
label: string | null;
|
|
79
|
-
id: string | null;
|
|
80
|
-
value: any;
|
|
81
|
-
dataTest: string;
|
|
82
|
-
rules: Rules<string>;
|
|
83
|
-
hideDetails: boolean | "auto";
|
|
84
|
-
column: boolean;
|
|
85
|
-
mandatory: boolean;
|
|
86
|
-
}, {}, {
|
|
87
|
-
CValidationMessage: DefineComponent<ExtractPropTypes<{
|
|
88
|
-
dataTest: {
|
|
89
|
-
type: StringConstructor;
|
|
90
|
-
default: string;
|
|
91
|
-
};
|
|
92
|
-
validationMessage: {
|
|
93
|
-
type: PropType<string | null>;
|
|
94
|
-
default: null;
|
|
95
|
-
};
|
|
96
|
-
hide: {
|
|
97
|
-
type: PropType<boolean | "auto">;
|
|
98
|
-
default: boolean;
|
|
99
|
-
};
|
|
100
|
-
}>, {
|
|
101
|
-
isHidden: ComputedRef<boolean>;
|
|
102
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
103
|
-
dataTest: {
|
|
104
|
-
type: StringConstructor;
|
|
105
|
-
default: string;
|
|
106
|
-
};
|
|
107
|
-
validationMessage: {
|
|
108
|
-
type: PropType<string | null>;
|
|
109
|
-
default: null;
|
|
110
|
-
};
|
|
111
|
-
hide: {
|
|
112
|
-
type: PropType<boolean | "auto">;
|
|
113
|
-
default: boolean;
|
|
114
|
-
};
|
|
115
|
-
}>> & Readonly<{}>, {
|
|
116
|
-
dataTest: string;
|
|
117
|
-
validationMessage: string | null;
|
|
118
|
-
hide: boolean | "auto";
|
|
119
|
-
}, {}, {
|
|
120
|
-
CFadeTransition: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
121
|
-
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
122
|
-
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
123
|
-
export default _default;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
/**
|
|
3
|
-
* NOTE(slanden): This component is no longer used. We are keeping it around for now
|
|
4
|
-
* because it is used in the CMS, but other than applying the w-100 class, it has
|
|
5
|
-
* no effect. We will remove this component in a future PR.
|
|
6
|
-
*/
|
|
7
|
-
type __VLS_Props = {
|
|
8
|
-
fullWidth?: boolean;
|
|
9
|
-
};
|
|
10
|
-
declare function __VLS_template(): {
|
|
11
|
-
attrs: Partial<{}>;
|
|
12
|
-
slots: {
|
|
13
|
-
default?(_: {}): any;
|
|
14
|
-
};
|
|
15
|
-
refs: {};
|
|
16
|
-
rootEl: HTMLDivElement;
|
|
17
|
-
};
|
|
18
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
-
declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
20
|
-
fullWidth: boolean;
|
|
21
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
22
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
|
-
export default _default;
|
|
24
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
|
-
new (): {
|
|
26
|
-
$slots: S;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { PropType, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
3
|
-
/** Applies the align-items css property.
|
|
4
|
-
* Available options are: start, center, end and stretch. */
|
|
5
|
-
align: {
|
|
6
|
-
type: PropType<"center" | "start" | "end" | "stretch">;
|
|
7
|
-
default: null;
|
|
8
|
-
};
|
|
9
|
-
/** Applies the align-content css property.
|
|
10
|
-
* Available options are: start, center, end, and stretch. */
|
|
11
|
-
alignContent: {
|
|
12
|
-
type: PropType<"center" | "start" | "end" | "stretch">;
|
|
13
|
-
default: null;
|
|
14
|
-
};
|
|
15
|
-
/** Reduces the gutter between c-cols. */
|
|
16
|
-
dense: {
|
|
17
|
-
type: BooleanConstructor;
|
|
18
|
-
default: boolean;
|
|
19
|
-
};
|
|
20
|
-
/** Removes the gutter between c-cols. */
|
|
21
|
-
noGutters: {
|
|
22
|
-
type: BooleanConstructor;
|
|
23
|
-
default: boolean;
|
|
24
|
-
};
|
|
25
|
-
/** Applies the justify-content css property.
|
|
26
|
-
* Available options are: start, center, end, space-between and space-around. */
|
|
27
|
-
justify: {
|
|
28
|
-
type: PropType<"center" | "start" | "end" | "space-between" | "space-around">;
|
|
29
|
-
default: null;
|
|
30
|
-
};
|
|
31
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
32
|
-
/** Applies the align-items css property.
|
|
33
|
-
* Available options are: start, center, end and stretch. */
|
|
34
|
-
align: {
|
|
35
|
-
type: PropType<"center" | "start" | "end" | "stretch">;
|
|
36
|
-
default: null;
|
|
37
|
-
};
|
|
38
|
-
/** Applies the align-content css property.
|
|
39
|
-
* Available options are: start, center, end, and stretch. */
|
|
40
|
-
alignContent: {
|
|
41
|
-
type: PropType<"center" | "start" | "end" | "stretch">;
|
|
42
|
-
default: null;
|
|
43
|
-
};
|
|
44
|
-
/** Reduces the gutter between c-cols. */
|
|
45
|
-
dense: {
|
|
46
|
-
type: BooleanConstructor;
|
|
47
|
-
default: boolean;
|
|
48
|
-
};
|
|
49
|
-
/** Removes the gutter between c-cols. */
|
|
50
|
-
noGutters: {
|
|
51
|
-
type: BooleanConstructor;
|
|
52
|
-
default: boolean;
|
|
53
|
-
};
|
|
54
|
-
/** Applies the justify-content css property.
|
|
55
|
-
* Available options are: start, center, end, space-between and space-around. */
|
|
56
|
-
justify: {
|
|
57
|
-
type: PropType<"center" | "start" | "end" | "space-between" | "space-around">;
|
|
58
|
-
default: null;
|
|
59
|
-
};
|
|
60
|
-
}>> & Readonly<{}>, {
|
|
61
|
-
align: "center" | "end" | "start" | "stretch";
|
|
62
|
-
alignContent: "center" | "end" | "start" | "stretch";
|
|
63
|
-
dense: boolean;
|
|
64
|
-
noGutters: boolean;
|
|
65
|
-
justify: "center" | "end" | "start" | "space-between" | "space-around";
|
|
66
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
67
|
-
export default _default;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
declare function __VLS_template(): {
|
|
3
|
-
attrs: Partial<{}>;
|
|
4
|
-
slots: {
|
|
5
|
-
default?(_: {}): any;
|
|
6
|
-
};
|
|
7
|
-
refs: {};
|
|
8
|
-
rootEl: HTMLDivElement;
|
|
9
|
-
};
|
|
10
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
-
declare const __VLS_component: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
12
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
13
|
-
export default _default;
|
|
14
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
15
|
-
new (): {
|
|
16
|
-
$slots: S;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
3
|
-
/** The title text to display. */
|
|
4
|
-
title: {
|
|
5
|
-
type: StringConstructor;
|
|
6
|
-
default: string;
|
|
7
|
-
};
|
|
8
|
-
/** The tag used for the title text. */
|
|
9
|
-
tag: {
|
|
10
|
-
type: StringConstructor;
|
|
11
|
-
default: string;
|
|
12
|
-
};
|
|
13
|
-
}>, void, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
14
|
-
/** The title text to display. */
|
|
15
|
-
title: {
|
|
16
|
-
type: StringConstructor;
|
|
17
|
-
default: string;
|
|
18
|
-
};
|
|
19
|
-
/** The tag used for the title text. */
|
|
20
|
-
tag: {
|
|
21
|
-
type: StringConstructor;
|
|
22
|
-
default: string;
|
|
23
|
-
};
|
|
24
|
-
}>> & Readonly<{}>, {
|
|
25
|
-
title: string;
|
|
26
|
-
tag: string;
|
|
27
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
28
|
-
export default _default;
|