@ledvance/ui-biz-bundle 1.1.74 → 1.1.76
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/package.json
CHANGED
|
@@ -21,7 +21,6 @@ import Tag from "@ledvance/base/src/components/Tag";
|
|
|
21
21
|
import InfoText from "@ledvance/base/src/components/InfoText";
|
|
22
22
|
|
|
23
23
|
const { convertX: cx } = Utils.RatioUtils
|
|
24
|
-
const MAX_NUM = 10
|
|
25
24
|
|
|
26
25
|
export interface FixedTimePageParams {
|
|
27
26
|
fixedTimeDpCode: string
|
|
@@ -43,6 +42,7 @@ const FixedTimePage = () => {
|
|
|
43
42
|
const navigation = useNavigation()
|
|
44
43
|
const devInfo = useDeviceInfo()
|
|
45
44
|
const params = useParams<FixedTimePageParams>()
|
|
45
|
+
const MAX_NUM = params.isPlug ? 10 : 4
|
|
46
46
|
const is24Hour = useSystemTimeFormate()
|
|
47
47
|
const [fixedTime, setFixedTime] = useFixedTime(params.fixedTimeDpCode, params.isPlug)
|
|
48
48
|
const state = useReactive({
|
|
@@ -22,7 +22,6 @@ import InfoText from '@ledvance/base/src/components/InfoText'
|
|
|
22
22
|
|
|
23
23
|
const { convertX: cx } = Utils.RatioUtils
|
|
24
24
|
const { parseTimer } = Utils.TimeUtils
|
|
25
|
-
const MAX_NUM = 10
|
|
26
25
|
|
|
27
26
|
export interface RandomTimePageParams {
|
|
28
27
|
randomTimeDpCode: string
|
|
@@ -44,6 +43,7 @@ const RandomTimePage = () => {
|
|
|
44
43
|
const navigation = useNavigation()
|
|
45
44
|
const devInfo = useDeviceInfo()
|
|
46
45
|
const params = useParams<RandomTimePageParams>()
|
|
46
|
+
const MAX_NUM = params.isPlug ? 16 : 4
|
|
47
47
|
const is24Hour = useSystemTimeFormate()
|
|
48
48
|
const [randomTime, setRandomTime] = useRandomTime(params.randomTimeDpCode, params.isPlug)
|
|
49
49
|
const state = useReactive({
|
|
File without changes
|