@v1nt1248/3nclient-lib 0.1.0 → 0.1.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 +5 -0
- package/dist/components/index.d.ts +6 -3
- package/dist/components/ui3n-badge-simple.vue.d.ts +13 -13
- package/dist/components/ui3n-badge.vue.d.ts +18 -16
- package/dist/components/ui3n-breadcrumb.vue.d.ts +15 -13
- package/dist/components/ui3n-breadcrumbs.vue.d.ts +17 -15
- package/dist/components/ui3n-button.vue.d.ts +23 -19
- package/dist/components/ui3n-checkbox.vue.d.ts +17 -15
- package/dist/components/ui3n-chip.vue.d.ts +18 -16
- package/dist/components/ui3n-dialog.vue.d.ts +4 -5
- package/dist/components/ui3n-drop-files.vue.d.ts +16 -14
- package/dist/components/ui3n-emoji.vue.d.ts +11 -11
- package/dist/components/ui3n-icon.vue.d.ts +12 -12
- package/dist/components/ui3n-input.vue.d.ts +12 -5
- package/dist/components/ui3n-list.vue.d.ts +12 -39
- package/dist/components/ui3n-menu.vue.d.ts +14 -12
- package/dist/components/ui3n-notification.vue.d.ts +14 -15
- package/dist/components/ui3n-progress-circular.vue.d.ts +43 -0
- package/dist/components/ui3n-progress-linear.vue.d.ts +42 -0
- package/dist/components/ui3n-step-line-bar.vue.d.ts +30 -0
- package/dist/components/ui3n-switch.vue.d.ts +15 -13
- package/dist/components/ui3n-table/composables/useTable.d.ts +26 -0
- package/dist/components/ui3n-table/types.d.ts +65 -0
- package/dist/components/ui3n-table/ui3n-table.vue.d.ts +22 -0
- package/dist/components/ui3n-table-sort-icon.vue.d.ts +2 -2
- package/dist/components/ui3n-tabs.vue.d.ts +18 -16
- package/dist/components/ui3n-text.vue.d.ts +13 -13
- package/dist/components/ui3n-virtual-scroll.vue.d.ts +6 -28
- package/dist/directives/index.d.ts +0 -1
- package/dist/directives/ui3n-click-outside.d.ts +0 -1
- package/dist/directives/ui3n-html.d.ts +0 -1
- package/dist/index.d.ts +10 -1
- package/dist/plugins/dialogs.d.ts +0 -1
- package/dist/plugins/i18n.d.ts +0 -1
- package/dist/plugins/icons.d.ts +0 -1
- package/dist/plugins/index.d.ts +0 -1
- package/dist/plugins/notifications.d.ts +0 -1
- package/dist/plugins/store-dialogs.d.ts +0 -1
- package/dist/plugins/store-notifications.d.ts +0 -1
- package/dist/plugins/store-vue-bus.d.ts +0 -1
- package/dist/plugins/vue-bus.d.ts +0 -1
- package/dist/style.css +1 -1
- package/dist/tools/sqlite-on-3nstorage/index.d.ts +0 -1
- package/dist/tools/ui.helpers.d.ts +0 -1
- package/dist/ui-3n-lib.js +6588 -6551
- package/package.json +31 -29
- package/src/components/index.ts +46 -4
- package/src/components/ui3n-button.vue +6 -0
- package/src/components/ui3n-checkbox.vue +1 -1
- package/src/components/ui3n-dialog.vue +6 -1
- package/src/components/ui3n-input.vue +61 -11
- package/src/components/ui3n-progress-circular.vue +188 -0
- package/src/components/ui3n-progress-linear.vue +119 -0
- package/src/components/ui3n-step-line-bar.vue +66 -0
- package/src/components/ui3n-table/composables/useTable.ts +206 -0
- package/src/components/ui3n-table/types.ts +80 -0
- package/src/components/ui3n-table/ui3n-table.vue +319 -0
- package/src/components/{ui3n-table.vue → ui3n-table-simple.vue} +3 -4
- package/src/components/ui3n-table-sort-icon.vue +9 -6
- package/dist/components/ui3n-table.vue.d.ts +0 -36
|
@@ -15,10 +15,13 @@
|
|
|
15
15
|
</script>
|
|
16
16
|
|
|
17
17
|
<template>
|
|
18
|
-
<
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
18
|
+
<transition mode="out-in" name="fade">
|
|
19
|
+
<ui3n-icon
|
|
20
|
+
:key="value === 'asc' ? 'arrow-downward' : 'arrow-upward'"
|
|
21
|
+
:icon="value === 'asc' ? 'arrow-downward' : 'arrow-upward'"
|
|
22
|
+
:width="iconSize"
|
|
23
|
+
:height="iconSize"
|
|
24
|
+
:color="iconColor"
|
|
25
|
+
/>
|
|
26
|
+
</transition>
|
|
24
27
|
</template>
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { ListingEntryTypeExtended, EntityAction } from '../constants';
|
|
2
|
-
|
|
3
|
-
export interface Ui3nTableProps {
|
|
4
|
-
items: ListingEntryTypeExtended[];
|
|
5
|
-
textIfEmpty?: string;
|
|
6
|
-
}
|
|
7
|
-
export interface Ui3nTableEmits {
|
|
8
|
-
(ev: 'go', name: string): void;
|
|
9
|
-
(ev: 'action', value: {
|
|
10
|
-
action: EntityAction;
|
|
11
|
-
entity: ListingEntryTypeExtended;
|
|
12
|
-
}): void;
|
|
13
|
-
}
|
|
14
|
-
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<Ui3nTableProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
-
go: (name: string) => void;
|
|
16
|
-
action: (value: {
|
|
17
|
-
action: EntityAction;
|
|
18
|
-
entity: ListingEntryTypeExtended;
|
|
19
|
-
}) => void;
|
|
20
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Ui3nTableProps>>> & {
|
|
21
|
-
onGo?: ((name: string) => any) | undefined;
|
|
22
|
-
onAction?: ((value: {
|
|
23
|
-
action: EntityAction;
|
|
24
|
-
entity: ListingEntryTypeExtended;
|
|
25
|
-
}) => any) | undefined;
|
|
26
|
-
}, {}, {}>;
|
|
27
|
-
export default _default;
|
|
28
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
29
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
30
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
31
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
32
|
-
} : {
|
|
33
|
-
type: import('vue').PropType<T[K]>;
|
|
34
|
-
required: true;
|
|
35
|
-
};
|
|
36
|
-
};
|