rayyy-vue-table-components 2.0.43 → 2.0.45
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 +0 -2
- package/dist/index.es.js +4 -6
- package/dist/index.umd.js +1 -1
- package/dist/rayyy-vue-table-components.css +1 -1
- package/dist/src/components/items/BaseWaringDialog.vue.d.ts +0 -1
- package/dist/src/types/components.d.ts +0 -7
- package/package.json +1 -1
- package/src/components/items/BaseDialog.vue +2 -4
- package/src/components/items/BaseWaringDialog.vue +5 -7
- package/src/components/layout/DetailLayout.vue +2 -2
- package/src/types/components.d.ts +0 -7
|
@@ -230,8 +230,6 @@ export interface BaseDialogProps {
|
|
|
230
230
|
subTitle?: string
|
|
231
231
|
/** 關閉前回調 */
|
|
232
232
|
beforeClose?: () => void
|
|
233
|
-
/** 自定義寬度 */
|
|
234
|
-
customWidth?: string
|
|
235
233
|
/** 是否為警告對話框 */
|
|
236
234
|
isWaring?: boolean
|
|
237
235
|
/** 是否為主要對話框 */
|
|
@@ -272,8 +270,6 @@ export interface BaseWaringDialogProps {
|
|
|
272
270
|
subWaringText?: string
|
|
273
271
|
/** 標題文字 */
|
|
274
272
|
titleText?: string
|
|
275
|
-
/** 對話框寬度 */
|
|
276
|
-
modalWidth?: string
|
|
277
273
|
}
|
|
278
274
|
|
|
279
275
|
/** BaseWaringDialog 組件 Emits 類型 */
|
|
@@ -325,7 +321,6 @@ export interface TransferDialogInstance<T = Record<string, unknown>> {
|
|
|
325
321
|
$emit: TransferDialogEmits<T>
|
|
326
322
|
}
|
|
327
323
|
|
|
328
|
-
|
|
329
324
|
// ==================== BaseInput 組件類型 ====================
|
|
330
325
|
|
|
331
326
|
/** BaseInput 組件 Props 類型 */
|
|
@@ -404,7 +399,6 @@ export interface BaseSelectorInstance {
|
|
|
404
399
|
$emit: BaseSelectorEmits
|
|
405
400
|
}
|
|
406
401
|
|
|
407
|
-
|
|
408
402
|
// ==================== 搜尋相關組件類型 ====================
|
|
409
403
|
|
|
410
404
|
// ==================== SearchBar 組件類型 ====================
|
|
@@ -799,7 +793,6 @@ export declare const BaseSelector: DefineComponent<
|
|
|
799
793
|
install: (app: App) => void
|
|
800
794
|
}
|
|
801
795
|
|
|
802
|
-
|
|
803
796
|
/** SearchBar 組件定義 */
|
|
804
797
|
export declare const SearchBar: DefineComponent<
|
|
805
798
|
SearchBarProps,
|
package/package.json
CHANGED
|
@@ -6,12 +6,11 @@ import BaseDialog from './BaseDialog.vue'
|
|
|
6
6
|
const { t } = useI18n()
|
|
7
7
|
|
|
8
8
|
const props = defineProps<{
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}>()
|
|
9
|
+
modelValue: boolean
|
|
10
|
+
waringText?: string
|
|
11
|
+
subWaringText?: string
|
|
12
|
+
titleText?: string
|
|
13
|
+
}>()
|
|
15
14
|
|
|
16
15
|
const emit = defineEmits<{
|
|
17
16
|
(e: 'update:modelValue', value: boolean): void
|
|
@@ -31,7 +30,6 @@ const handleSubmit = () => {
|
|
|
31
30
|
<base-dialog
|
|
32
31
|
v-model="dialogVisible"
|
|
33
32
|
:title="titleText || t('common.warning')"
|
|
34
|
-
:custom-width="modalWidth"
|
|
35
33
|
:is-waring="true"
|
|
36
34
|
@click:submit="handleSubmit"
|
|
37
35
|
>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { useI18n } from 'vue-i18n'
|
|
3
|
-
import { MainPanel, BaseBtn
|
|
3
|
+
import { MainPanel, BaseBtn } from '@/components'
|
|
4
4
|
|
|
5
5
|
const { t } = useI18n()
|
|
6
6
|
|
|
@@ -52,7 +52,7 @@ const handleBackClick = () => {
|
|
|
52
52
|
<style lang="scss" scoped>
|
|
53
53
|
.detail-container {
|
|
54
54
|
@apply h-full flex flex-col;
|
|
55
|
-
min-height: calc(100vh -
|
|
55
|
+
min-height: calc(100vh - 200px);
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
.content-wrapper {
|
|
@@ -231,8 +231,6 @@ export interface BaseDialogProps {
|
|
|
231
231
|
subTitle?: string
|
|
232
232
|
/** 關閉前回調 */
|
|
233
233
|
beforeClose?: () => void
|
|
234
|
-
/** 自定義寬度 */
|
|
235
|
-
customWidth?: string
|
|
236
234
|
/** 是否為警告對話框 */
|
|
237
235
|
isWaring?: boolean
|
|
238
236
|
/** 是否為主要對話框 */
|
|
@@ -273,8 +271,6 @@ export interface BaseWaringDialogProps {
|
|
|
273
271
|
subWaringText?: string
|
|
274
272
|
/** 標題文字 */
|
|
275
273
|
titleText?: string
|
|
276
|
-
/** 對話框寬度 */
|
|
277
|
-
modalWidth?: string
|
|
278
274
|
}
|
|
279
275
|
|
|
280
276
|
/** BaseWaringDialog 組件 Emits 類型 */
|
|
@@ -326,7 +322,6 @@ export interface TransferDialogInstance<T = Record<string, unknown>> {
|
|
|
326
322
|
$emit: TransferDialogEmits<T>
|
|
327
323
|
}
|
|
328
324
|
|
|
329
|
-
|
|
330
325
|
// ==================== BaseInput 組件類型 ====================
|
|
331
326
|
|
|
332
327
|
/** BaseInput 組件 Props 類型 */
|
|
@@ -405,7 +400,6 @@ export interface BaseSelectorInstance {
|
|
|
405
400
|
$emit: BaseSelectorEmits
|
|
406
401
|
}
|
|
407
402
|
|
|
408
|
-
|
|
409
403
|
// ==================== 搜尋相關組件類型 ====================
|
|
410
404
|
|
|
411
405
|
// ==================== SearchBar 組件類型 ====================
|
|
@@ -800,7 +794,6 @@ export declare const BaseSelector: DefineComponent<
|
|
|
800
794
|
install: (app: App) => void
|
|
801
795
|
}
|
|
802
796
|
|
|
803
|
-
|
|
804
797
|
/** SearchBar 組件定義 */
|
|
805
798
|
export declare const SearchBar: DefineComponent<
|
|
806
799
|
SearchBarProps,
|