@firstnoodle-ui/bui 0.0.22 → 0.0.24

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.
Files changed (32) hide show
  1. package/dist/bui.css +1 -1
  2. package/dist/components/content-slider/ContentSlider.vue.d.ts +25 -0
  3. package/dist/components/content-slider/index.d.ts +1 -0
  4. package/dist/components/filter-chip/FilterChip.vue.d.ts +1 -0
  5. package/dist/components/index.d.ts +2 -0
  6. package/dist/components/input/Input.vue.d.ts +1 -0
  7. package/dist/components/scrollbar/index.d.ts +1 -0
  8. package/dist/components/scrollbar/types.d.ts +2 -2
  9. package/dist/components/select-list/SelectList.vue.d.ts +314 -0
  10. package/dist/components/select-list/components/index.d.ts +3 -0
  11. package/dist/components/select-list/components/option-group/OptionGroup.vue.d.ts +20 -0
  12. package/dist/components/select-list/components/option-group/index.d.ts +1 -0
  13. package/dist/components/select-list/components/select-list-option/SelectListOption.vue.d.ts +20 -0
  14. package/dist/components/select-list/components/select-list-option/index.d.ts +1 -0
  15. package/dist/components/select-list/components/status-cards/error-card/ErrorCard.vue.d.ts +5 -0
  16. package/dist/components/select-list/components/status-cards/error-card/index.d.ts +1 -0
  17. package/dist/components/select-list/components/status-cards/idle-card/IdleCard.vue.d.ts +2 -0
  18. package/dist/components/select-list/components/status-cards/idle-card/index.d.ts +1 -0
  19. package/dist/components/select-list/components/status-cards/index.d.ts +4 -0
  20. package/dist/components/select-list/components/status-cards/loading-card/LoadingCard.vue.d.ts +2 -0
  21. package/dist/components/select-list/components/status-cards/loading-card/index.d.ts +1 -0
  22. package/dist/components/select-list/components/status-cards/no-match-card/NoMatchCard.vue.d.ts +2 -0
  23. package/dist/components/select-list/components/status-cards/no-match-card/index.d.ts +1 -0
  24. package/dist/components/select-list/components/status-cards/status-card/StatusCard.vue.d.ts +22 -0
  25. package/dist/components/select-list/components/status-cards/status-card/index.d.ts +1 -0
  26. package/dist/components/select-list/index.d.ts +4 -0
  27. package/dist/components/select-list/types.d.ts +42 -0
  28. package/dist/components/text-editor/components/InsertLinkDialog.vue.d.ts +3 -0
  29. package/dist/components/text-editor/components/InsertTextDialog.vue.d.ts +3 -0
  30. package/dist/components/types.d.ts +0 -6
  31. package/dist/index.mjs +5906 -5358
  32. package/package.json +2 -2
@@ -0,0 +1,20 @@
1
+ import { SelectListOption, SelectOptionVariant } from '../../types';
2
+ type __VLS_Props = {
3
+ hoveredOption?: SelectListOption | null;
4
+ option: SelectListOption;
5
+ selected: boolean;
6
+ search?: string;
7
+ variant?: SelectOptionVariant;
8
+ };
9
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ click: (...args: any[]) => void;
11
+ hover: (...args: any[]) => void;
12
+ focus: (...args: any[]) => void;
13
+ delete: (...args: any[]) => void;
14
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
15
+ onClick?: ((...args: any[]) => any) | undefined;
16
+ onHover?: ((...args: any[]) => any) | undefined;
17
+ onFocus?: ((...args: any[]) => any) | undefined;
18
+ onDelete?: ((...args: any[]) => any) | undefined;
19
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLIElement>;
20
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as BSelectListOption } from './SelectListOption.vue';
@@ -0,0 +1,5 @@
1
+ type __VLS_Props = {
2
+ message: string;
3
+ };
4
+ 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>;
5
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as BErrorCard } from './ErrorCard.vue';
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
2
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as BIdleCard } from './IdleCard.vue';
@@ -0,0 +1,4 @@
1
+ export * from './error-card';
2
+ export * from './idle-card';
3
+ export * from './loading-card';
4
+ export * from './no-match-card';
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
2
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as BLoadingCard } from './LoadingCard.vue';
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
2
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as BNoMatchCard } from './NoMatchCard.vue';
@@ -0,0 +1,22 @@
1
+ import { SelectListState } from '../../../types';
2
+ type __VLS_Props = {
3
+ status: string;
4
+ variant: SelectListState;
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<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_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
+ };
@@ -0,0 +1 @@
1
+ export { default as StatusCard } from './StatusCard.vue';
@@ -0,0 +1,4 @@
1
+ export { BSelectListOptionGroup } from './components/option-group';
2
+ export { BSelectListOption } from './components/select-list-option';
3
+ export { default as BSelectList } from './SelectList.vue';
4
+ export * from './types';
@@ -0,0 +1,42 @@
1
+ import { TIcon } from '../types';
2
+ export declare const states: readonly ["error", "idle", "loading", "match", "no match"];
3
+ export type SelectListState = typeof states[number];
4
+ export declare const selectOptionVariants: readonly ["checkbox", "deletable", "single"];
5
+ export type SelectOptionVariant = typeof selectOptionVariants[number];
6
+ export type SelectListOption = {
7
+ id?: string | number;
8
+ icon?: TIcon;
9
+ label: string;
10
+ disabled?: boolean;
11
+ suffix?: string | number;
12
+ group?: string;
13
+ value?: any;
14
+ handler?: (option: SelectListOption) => void;
15
+ };
16
+ export type SelectListOptionGroup = {
17
+ id: string | number;
18
+ name?: string;
19
+ options: SelectListOption[];
20
+ };
21
+ export type SelectListFilter = {
22
+ id?: string | number;
23
+ name: string;
24
+ disabled: boolean;
25
+ execute: (record: SelectListOption) => boolean;
26
+ count?: number;
27
+ };
28
+ export type SelectListProps = {
29
+ identifier?: keyof SelectListOption;
30
+ errorMessage?: string;
31
+ filters?: SelectListFilter[];
32
+ loading?: boolean;
33
+ options: SelectListOption[] | SelectListOptionGroup[];
34
+ placeholder?: string;
35
+ rootClass?: string;
36
+ sameWidthAsTrigger?: boolean;
37
+ searchDebounce?: number;
38
+ searchFunction?: (query: string) => SelectListOption[] | null;
39
+ selectAll?: boolean;
40
+ selected: SelectListOption | null | SelectListOption[];
41
+ showSelection?: boolean;
42
+ };
@@ -17,6 +17,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
17
17
  readonly icon?: import('../../types').TIcon | undefined;
18
18
  readonly multiline?: boolean | undefined;
19
19
  readonly placeholder?: string | undefined;
20
+ readonly small?: boolean | undefined;
20
21
  readonly value: string;
21
22
  readonly inputType?: import('vue').InputTypeHTMLAttribute | undefined;
22
23
  readonly autoFocus?: boolean | undefined;
@@ -47,6 +48,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
47
48
  icon?: import('../../types').TIcon;
48
49
  multiline?: boolean;
49
50
  placeholder?: string;
51
+ small?: boolean;
50
52
  value: string;
51
53
  inputType?: import('vue').InputTypeHTMLAttribute;
52
54
  autoFocus?: boolean;
@@ -86,6 +88,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
86
88
  icon?: import('../../types').TIcon;
87
89
  multiline?: boolean;
88
90
  placeholder?: string;
91
+ small?: boolean;
89
92
  value: string;
90
93
  inputType?: import('vue').InputTypeHTMLAttribute;
91
94
  autoFocus?: boolean;
@@ -14,6 +14,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
14
14
  readonly icon?: import('../../types').TIcon | undefined;
15
15
  readonly multiline?: boolean | undefined;
16
16
  readonly placeholder?: string | undefined;
17
+ readonly small?: boolean | undefined;
17
18
  readonly value: string;
18
19
  readonly inputType?: import('vue').InputTypeHTMLAttribute | undefined;
19
20
  readonly autoFocus?: boolean | undefined;
@@ -44,6 +45,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
44
45
  icon?: import('../../types').TIcon;
45
46
  multiline?: boolean;
46
47
  placeholder?: string;
48
+ small?: boolean;
47
49
  value: string;
48
50
  inputType?: import('vue').InputTypeHTMLAttribute;
49
51
  autoFocus?: boolean;
@@ -83,6 +85,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
83
85
  icon?: import('../../types').TIcon;
84
86
  multiline?: boolean;
85
87
  placeholder?: string;
88
+ small?: boolean;
86
89
  value: string;
87
90
  inputType?: import('vue').InputTypeHTMLAttribute;
88
91
  autoFocus?: boolean;
@@ -49,12 +49,6 @@ export type TPopSelectResultFilter<T> = {
49
49
  execute: (record: T) => boolean;
50
50
  count?: number;
51
51
  };
52
- export declare const directions: readonly ["up", "down", "left", "right"];
53
- export type TScrollDirection = (typeof directions)[number];
54
- export type TScrollTrigger = {
55
- px: number;
56
- callback: (trigger: TScrollTrigger, direction: TScrollDirection) => void;
57
- };
58
52
  export declare const statuses: readonly ["Ok", "Not Ok", "Not Applicable"];
59
53
  export type TStatusSelectStatus = (typeof statuses)[number];
60
54
  export type TTreeListNode = {