Skip to content

Commit 2581baa

Browse files
authored
fix(utils): delete the renderless/common directory and adjust all reference paths. (#2849)
* fix(utils): 调整sha256, 移除 getWindow, isWeb * fix(utils): 移除isSerer到globalConfig, 删除isBrowser函数 * fix(utils): 移除 prop-util 包 * fix(utils): 更新date, calendar,date-utils, type四个引用 * fix(utils): 更新string包路径 * fix(utils): 更新 object路径 * fix(utils): 添加'@opentiny/utils' 依赖 * fix(utils): 添加'@opentiny/utils' 依赖 * fix(utils): 更新 dataset 路径 * fix(utils): 更新 array 路径 * fix(utils): 更新 array 路径 * fix(utils): 更新 dataset 路径 * fix(utils): 删除所有的renderless/common中的文件 * fix(utils): 替换路径 * fix(utils): 替换路径 * fix(utils): 替换路径 * fix(utils): 替换路径 * fix(utils): 替换路径 * fix(utils): 替换路径 * fix(utils): 替换路径 * fix(utils): fix * fix(utils): remove time-line-new * fix(utils): adjust import orders * fix(utils): 替换路径 * fix(utils): add popup-manager file
1 parent 20ecb8a commit 2581baa

File tree

465 files changed

+1424
-13483
lines changed

Some content is hidden

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

465 files changed

+1424
-13483
lines changed

examples/nuxt/playground/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@
1616
},
1717
"devDependencies": {
1818
"@opentiny-internal/unplugin-virtual-template": "workspace:*",
19+
"@opentiny/utils": "workspace:~",
1920
"@opentiny/vue": "workspace:~",
2021
"@opentiny/vue-common": "workspace:~",
22+
"@opentiny/vue-directive": "workspace:~",
23+
"@opentiny/vue-hooks": "workspace:~",
2124
"@opentiny/vue-icon": "workspace:~",
2225
"@opentiny/vue-locale": "workspace:~",
2326
"@opentiny/vue-renderless": "workspace:~",
@@ -26,7 +29,6 @@
2629
"@opentiny/vue-vite-import": "~1.2.0",
2730
"@tiptap/vue-3": "^2.1.0",
2831
"@vitejs/plugin-vue-jsx": "^3.0.0",
29-
"js-sha256": "^0.9.0",
3032
"onigasm": "^2.2.5",
3133
"postcss": "^8.4.16",
3234
"typescript": "^5.0.0",

examples/nuxt/playground/pages/InfiniteScroll.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</template>
66

77
<script setup lang="ts">
8-
import InfiniteScroll from '@opentiny/vue-renderless/common/deps/infinite-scroll'
8+
import { InfiniteScroll } from '@opentiny/vue-directive'
99
import { ref } from 'vue'
1010
1111
const count = ref(0)

examples/sites/demos/mobile-first/app/select/memoize-usage.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
<script>
1717
import { TinySelect, TinyOption } from '@opentiny/vue'
18-
import Memorize from '@opentiny/vue-renderless/common/deps/memorize'
18+
import { Memorize } from '@opentiny/utils'
1919
2020
const MemorizeInstance = new Memorize({ key: 'test456' })
2121

examples/sites/demos/pc/app/base-select/memoize-usage-composition-api.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<script setup>
2020
import { ref } from 'vue'
2121
import { TinyBaseSelect, TinyOption } from '@opentiny/vue'
22-
import Memorize from '@opentiny/vue-renderless/common/deps/memorize'
22+
import { Memorize } from '@opentiny/utils'
2323
2424
const MemorizeInstance = new Memorize({ key: 'test456' })
2525

examples/sites/demos/pc/app/base-select/memoize-usage.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
<script>
2020
import { TinyBaseSelect, TinyOption } from '@opentiny/vue'
21-
import Memorize from '@opentiny/vue-renderless/common/deps/memorize'
21+
import { Memorize } from '@opentiny/utils'
2222
2323
const MemorizeInstance = new Memorize({ key: 'test456' })
2424

examples/sites/demos/pc/app/infinite-scroll/basic-usage-composition-api.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</template>
66

77
<script setup lang="ts">
8-
import InfiniteScroll from '@opentiny/vue-renderless/common/deps/infinite-scroll'
8+
import { InfiniteScroll } from '@opentiny/vue-directive'
99
import { ref } from 'vue'
1010
1111
const count = ref(0)

examples/sites/demos/pc/app/infinite-scroll/basic-usage.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</template>
66

77
<script>
8-
import InfiniteScroll from '@opentiny/vue-renderless/common/deps/infinite-scroll'
8+
import { InfiniteScroll } from '@opentiny/vue-directive'
99
1010
export default {
1111
directives: { InfiniteScroll },

examples/sites/demos/pc/app/infinite-scroll/disabled-composition-api.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</template>
1010

1111
<script setup lang="ts">
12-
import InfiniteScroll from '@opentiny/vue-renderless/common/deps/infinite-scroll'
12+
import { InfiniteScroll } from '@opentiny/vue-directive'
1313
import { ref, computed } from 'vue'
1414
1515
const count = ref(0)

examples/sites/demos/pc/app/infinite-scroll/disabled.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</template>
1010

1111
<script>
12-
import InfiniteScroll from '@opentiny/vue-renderless/common/deps/infinite-scroll'
12+
import { InfiniteScroll } from '@opentiny/vue-directive'
1313
1414
export default {
1515
directives: { InfiniteScroll },

examples/sites/demos/pc/app/query-builder/basic-usage.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747
<script>
4848
import { TinyQueryBuilder, TinyButton } from '@opentiny/vue'
49-
import { random } from '@opentiny/vue-renderless/common/string'
49+
import { random } from '@opentiny/utils'
5050
5151
export default {
5252
components: {

0 commit comments

Comments
 (0)