origam 0.3.2 → 0.3.4
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/src/components/Avatar/OrigamAvatarGroup.vue +1 -10
- package/dist/src/components/DataTable/OrigamDataTableHeaders.vue +1 -9
- package/dist/src/components/DataTable/OrigamDataTableRows.vue +1 -9
- package/dist/src/components/Field/OrigamField.vue +1 -9
- package/dist/src/components/InfiniteScroll/OrigamInfiniteScroll.vue +1 -7
- package/dist/src/components/Responsive/OrigamResponsive.vue +1 -9
- package/dist/src/components/Switch/OrigamSwitch.vue +1 -7
- package/dist/src/composables/Commons/display.composable.js +1 -7
- package/dist/src/composables/DataTable/headers.composable.js +1 -7
- package/dist/src/composables/DataTable/select.composable.js +1 -6
- package/package.json +1 -2
|
@@ -48,16 +48,7 @@
|
|
|
48
48
|
|
|
49
49
|
<script setup>
|
|
50
50
|
import { OrigamAvatar } from "@/components";
|
|
51
|
-
import {
|
|
52
|
-
useActive,
|
|
53
|
-
useDensity,
|
|
54
|
-
useHover,
|
|
55
|
-
useMargin,
|
|
56
|
-
usePadding,
|
|
57
|
-
useProps,
|
|
58
|
-
useRtl,
|
|
59
|
-
useStyle
|
|
60
|
-
} from "@/composables";
|
|
51
|
+
import { useActive, useDensity, useHover, useMargin, usePadding, useProps, useRtl, useStyle } from "@/composables";
|
|
61
52
|
import { DIRECTION } from "@/enums";
|
|
62
53
|
import { computed, mergeProps, ref } from "vue";
|
|
63
54
|
const props = defineProps({
|
|
@@ -52,15 +52,7 @@
|
|
|
52
52
|
|
|
53
53
|
<script setup>
|
|
54
54
|
import { OrigamDataTableHeadersCell, OrigamDataTableHeadersCellMobile, OrigamProgress } from "@/components";
|
|
55
|
-
import {
|
|
56
|
-
useDisplay,
|
|
57
|
-
useHeaders,
|
|
58
|
-
useHeadersCell,
|
|
59
|
-
useLoader,
|
|
60
|
-
useProps,
|
|
61
|
-
useSelection,
|
|
62
|
-
useSort
|
|
63
|
-
} from "@/composables";
|
|
55
|
+
import { useDisplay, useHeaders, useHeadersCell, useLoader, useProps, useSelection, useSort } from "@/composables";
|
|
64
56
|
import { PROGRESS_TYPE } from "@/enums";
|
|
65
57
|
import { computed, ref, StyleValue } from "vue";
|
|
66
58
|
const props = defineProps({
|
|
@@ -67,15 +67,7 @@
|
|
|
67
67
|
|
|
68
68
|
<script setup>
|
|
69
69
|
import { OrigamDataTableGroupHeaderRow, OrigamDataTableRow } from "@/components";
|
|
70
|
-
import {
|
|
71
|
-
useDisplay,
|
|
72
|
-
useExpanded,
|
|
73
|
-
useGroupBy,
|
|
74
|
-
useHeaders,
|
|
75
|
-
useLocale,
|
|
76
|
-
useProps,
|
|
77
|
-
useSelection
|
|
78
|
-
} from "@/composables";
|
|
70
|
+
import { useDisplay, useExpanded, useGroupBy, useHeaders, useLocale, useProps, useSelection } from "@/composables";
|
|
79
71
|
import { getPrefixedEventHandlers } from "@/utils";
|
|
80
72
|
import { mergeProps, useAttrs } from "vue";
|
|
81
73
|
const attrs = useAttrs();
|
|
@@ -157,15 +157,7 @@
|
|
|
157
157
|
|
|
158
158
|
<script setup>
|
|
159
159
|
import { OrigamAvatar, OrigamExpandX, OrigamIcon, OrigamLabel, OrigamProgress } from "@/components";
|
|
160
|
-
import {
|
|
161
|
-
useAdjacentInner,
|
|
162
|
-
useBothColor,
|
|
163
|
-
useDensity,
|
|
164
|
-
useFocus,
|
|
165
|
-
useLoader,
|
|
166
|
-
useProps,
|
|
167
|
-
useRtl
|
|
168
|
-
} from "@/composables";
|
|
160
|
+
import { useAdjacentInner, useBothColor, useDensity, useFocus, useLoader, useProps, useRtl } from "@/composables";
|
|
169
161
|
import { EASING, KEYBOARD_VALUES, PROGRESS_TYPE } from "@/enums";
|
|
170
162
|
import { animate, convertToUnit, getUid, nullifyTransforms } from "@/utils";
|
|
171
163
|
import { computed, ref, StyleValue, useSlots, watch } from "vue";
|
|
@@ -116,13 +116,7 @@
|
|
|
116
116
|
<script setup>
|
|
117
117
|
import { OrigamBtn, OrigamInfiniteScrollIntersect, OrigamProgress } from "@/components";
|
|
118
118
|
import { useBothColor, useDimension, useLocale, useProps } from "@/composables";
|
|
119
|
-
import {
|
|
120
|
-
DIRECTION,
|
|
121
|
-
INFINITE_SCROLL_MODE,
|
|
122
|
-
INFINITE_SCROLL_SIDE,
|
|
123
|
-
INFINITE_SCROLL_STATUS,
|
|
124
|
-
PROGRESS_TYPE
|
|
125
|
-
} from "@/enums";
|
|
119
|
+
import { DIRECTION, INFINITE_SCROLL_MODE, INFINITE_SCROLL_SIDE, INFINITE_SCROLL_STATUS, PROGRESS_TYPE } from "@/enums";
|
|
126
120
|
import { computed, nextTick, onMounted, ref, shallowRef, StyleValue, toRef } from "vue";
|
|
127
121
|
const props = defineProps({
|
|
128
122
|
side: { type: null, required: false, default: INFINITE_SCROLL_SIDE.END },
|
|
@@ -18,15 +18,7 @@
|
|
|
18
18
|
</template>
|
|
19
19
|
|
|
20
20
|
<script setup>
|
|
21
|
-
import {
|
|
22
|
-
useAspectRatio,
|
|
23
|
-
useBorder,
|
|
24
|
-
useDimension,
|
|
25
|
-
useMargin,
|
|
26
|
-
usePadding,
|
|
27
|
-
useProps,
|
|
28
|
-
useRounded
|
|
29
|
-
} from "@/composables";
|
|
21
|
+
import { useAspectRatio, useBorder, useDimension, useMargin, usePadding, useProps, useRounded } from "@/composables";
|
|
30
22
|
import { computed, StyleValue, useSlots } from "vue";
|
|
31
23
|
const props = defineProps({
|
|
32
24
|
aspectRatio: { type: [String, Number], required: false },
|
|
@@ -101,13 +101,7 @@
|
|
|
101
101
|
</template>
|
|
102
102
|
|
|
103
103
|
<script setup>
|
|
104
|
-
import {
|
|
105
|
-
OrigamIcon,
|
|
106
|
-
OrigamInput,
|
|
107
|
-
OrigamProgress,
|
|
108
|
-
OrigamSelectionControl,
|
|
109
|
-
OrigamTranslateScale
|
|
110
|
-
} from "@/components";
|
|
104
|
+
import { OrigamIcon, OrigamInput, OrigamProgress, OrigamSelectionControl, OrigamTranslateScale } from "@/components";
|
|
111
105
|
import { useFocus, useLoader, useProps, useVModel } from "@/composables";
|
|
112
106
|
import { DENSITY, PROGRESS_TYPE, SIZES } from "@/enums";
|
|
113
107
|
import { filterInputAttrs, getUid } from "@/utils";
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
import { IN_BROWSER, ORIGAM_DISPLAY_KEY } from "@/consts";
|
|
2
|
-
import {
|
|
3
|
-
getClientHeight,
|
|
4
|
-
getClientWidth,
|
|
5
|
-
getCurrentInstanceName,
|
|
6
|
-
getPlatform,
|
|
7
|
-
parseDisplayOptions
|
|
8
|
-
} from "@/utils";
|
|
2
|
+
import { getClientHeight, getClientWidth, getCurrentInstanceName, getPlatform, parseDisplayOptions } from "@/utils";
|
|
9
3
|
import { computed, inject, reactive, shallowRef, toRefs, watchEffect } from "vue";
|
|
10
4
|
export function useDisplay(props = {}, name = getCurrentInstanceName()) {
|
|
11
5
|
const display = inject(ORIGAM_DISPLAY_KEY);
|
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
import { useSort } from "@/composables";
|
|
2
2
|
import { ORIGAM_DATA_TABLE_HEADERS_KEY } from "@/consts";
|
|
3
3
|
import { SORT_DIRECTION } from "@/enums";
|
|
4
|
-
import {
|
|
5
|
-
convertToInternalHeaders,
|
|
6
|
-
extractKeys,
|
|
7
|
-
getHeaderDepth,
|
|
8
|
-
parseFixedColumns,
|
|
9
|
-
parseHeaderItems
|
|
10
|
-
} from "@/utils";
|
|
4
|
+
import { convertToInternalHeaders, extractKeys, getHeaderDepth, parseFixedColumns, parseHeaderItems } from "@/utils";
|
|
11
5
|
import { capitalize, inject, provide, ref, watchEffect } from "vue";
|
|
12
6
|
export function createHeaders(props, options) {
|
|
13
7
|
const headers = ref([]);
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import { useVModel } from "@/composables";
|
|
2
|
-
import {
|
|
3
|
-
allSelectStrategy,
|
|
4
|
-
ORIGAM_DATA_TABLE_SELECT_KEY,
|
|
5
|
-
pageSelectStrategy,
|
|
6
|
-
singleSelectStrategy
|
|
7
|
-
} from "@/consts";
|
|
2
|
+
import { allSelectStrategy, ORIGAM_DATA_TABLE_SELECT_KEY, pageSelectStrategy, singleSelectStrategy } from "@/consts";
|
|
8
3
|
import { DATATABLE_SELECT_STRATEGY } from "@/enums";
|
|
9
4
|
import { deepEqual, wrapInArray } from "@/utils";
|
|
10
5
|
import { computed, inject, provide } from "vue";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "origam",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
"style": "./dist/src/assets/css/main.css"
|
|
14
14
|
},
|
|
15
15
|
"./origam": "./dist/src/origam.js",
|
|
16
|
-
"./plugin": "./dist/src/plugin.js",
|
|
17
16
|
"./components": "./dist/src/components/index.js",
|
|
18
17
|
"./components/*": "./dist/src/components/*/index.js",
|
|
19
18
|
"./composables": "./dist/src/composables/index.js",
|