Signed-off-by: 18671941053 <zoujunjie6@huawei.com>
This commit is contained in:
18671941053 2024-08-15 15:23:08 +08:00
parent 862f16a38a
commit 95633348d6
16 changed files with 20 additions and 20 deletions

View File

@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { ConvertLunarCalendar } from '../../../../../common/src/main/ets/default/LunarCalendar'
import {ConvertLunarCalendar} from '../../../../../common/src/main/ets/default/LunarCalendar'
export class DateTimeCommon {

View File

@ -18,8 +18,8 @@ import {CommonEventSubscriber} from "commonEvent/commonEventSubscriber";
import {createOrGet} from "./SingleInstanceHelper";
import {sEventManager} from "./event/EventManager";
import {Log} from "./Log";
import { obtainLocalEvent } from "./event/EventUtil";
import { debounce } from "./Decorators";
import {obtainLocalEvent} from "./event/EventUtil";
import {debounce} from "./Decorators";
export const SCREEN_CHANGE_EVENT = "screenChangeEvent";
const TAG = "ScreenLockManager";

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { Log } from './Log';
import {Log} from './Log';
const TAG = 'Common-StyleManager';

View File

@ -14,10 +14,10 @@
*/
import commonEvent from "@ohos.commonEvent";
import { CommonEventData } from "commonEvent/commonEventData";
import {CommonEventData} from "commonEvent/commonEventData";
import {sEventManager} from "../event/EventManager";
import {Log} from "../Log";
import { SCREEN_CHANGE_EVENT } from "../ScreenLockManager";
import {SCREEN_CHANGE_EVENT} from "../ScreenLockManager";
export type CommonEventManager = {
subscriberCommonEvent: () => Promise<void>;

View File

@ -15,8 +15,8 @@
import ServiceExtensionContext from "application/ServiceExtensionContext";
import {Log} from "../Log";
import { EventParser, START_ABILITY_EVENT, Event, LocalEvent } from "./EventUtil";
import { Callback, createEventBus, EventBus } from "./EventBus";
import {EventParser, START_ABILITY_EVENT, Event, LocalEvent} from "./EventUtil";
import {Callback, createEventBus, EventBus} from "./EventBus";
export type unsubscribe = () => void;
export type Events = string | string[];

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import { StatusBarGroupComponentData } from '../../../../../../screenlock/src/main/ets/com/ohos/common/constants'
import {StatusBarGroupComponentData} from '../../../../../../screenlock/src/main/ets/com/ohos/common/constants'
import StatusBarVM from '../../../../../../screenlock/src/main/ets/com/ohos/vm/StatusBarVM'
import {Log, TimeEventArgs, TIME_CHANGE_EVENT, sEventManager, unsubscribe, sTimeManager} from '@ohos/common'

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import Constants, {NotificationLayout as Layout} from '../../common/constants';
import {NotificationLayout as Layout} from '../../common/constants';
import {Log} from '@ohos/common'
import SettingDialog from './settingDialog';
import ConfirmDialog from './confirmDialog'

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
import Constants, {NotificationLayout as Layout} from '../../common/constants';
import {NotificationLayout as Layout} from '../../common/constants';
import GeneralItem from './generalItem';
import CustomItem from './customItem';
import {Log} from '@ohos/common'

View File

@ -17,7 +17,7 @@ import {Log, Trace, SysFaultLogger, FaultID} from '@ohos/common'
import ScreenLockMar from '@ohos.screenLock';
import windowManager from '@ohos.window'
import Constants from '../common/constants'
import { Callback } from '@ohos.base';
import {Callback} from '@ohos.base';
const TAG = 'ScreenLock-ScreenLockModel';

View File

@ -19,9 +19,9 @@ import Router from '@system.router';
import commonEvent from '@ohos.commonEvent';
import hiDebug from '@ohos.hidebug';
import systemParameter from '@ohos.systemparameter';
import { CommonEventPublishData } from 'commonEvent/commonEventPublishData';
import {CommonEventPublishData} from 'commonEvent/commonEventPublishData';
import {Callback} from '@ohos.base';
import { UIContext } from '@ohos.arkui.UIContext';
import {UIContext} from '@ohos.arkui.UIContext';
const TAG = 'ScreenLock-ScreenLockService';
const URI_DIGITALPASSWORD = 'pages/digitalPassword'

View File

@ -17,7 +17,7 @@ import {Log, sEventManager, unsubscribe} from '@ohos/common'
import ViewModel from '../../vm/accountsViewModel';
import Constants from '../../common/constants';
import {UserData} from '../../data/userData';
import { ACCOUNTS_REFRESH_EVENT } from '../../model/accountsModel'
import {ACCOUNTS_REFRESH_EVENT} from '../../model/accountsModel'
const TAG = 'ScreenLock-Accounts'

View File

@ -15,7 +15,7 @@
import {Log, Trace} from '@ohos/common'
import Constants from '../common/constants'
import BaseViewModel, {service, AuthType, AuthSubType} from './baseViewModel'
import BaseViewModel, {service, AuthSubType} from './baseViewModel'
import {Callback} from '@ohos.base';
const TAG = 'ScreenLock-CustomPSDViewModel'

View File

@ -15,7 +15,7 @@
import {Log, Trace} from '@ohos/common'
import Constants from '../common/constants'
import BaseViewModel, {service, AuthType, AuthSubType} from './baseViewModel'
import BaseViewModel, {service, AuthSubType} from './baseViewModel'
import {Callback} from '@ohos.base';
const TAG = 'ScreenLock-DigitalPSDViewModel'

View File

@ -16,7 +16,7 @@
import Constants from '../common/constants';
import mSignalModel from '../signalModel';
import {Log} from '@ohos/common'
import { StatusBarGroupComponentData} from '../../../../../../screenlock/src/main/ets/com/ohos/common/constants'
import {StatusBarGroupComponentData} from '../../../../../../screenlock/src/main/ets/com/ohos/common/constants'
import StatusBarVM from '../../../../../../screenlock/src/main/ets/com/ohos/vm/StatusBarVM'
const TAG = 'SignalComponent-SignalIcon'

View File

@ -17,7 +17,7 @@ import commonEvent from "@ohos.commonEvent";
import Radio from '@ohos.telephony.radio';
import Sim from '@ohos.telephony.sim';
import Observer from '@ohos.telephony.observer';
import { Log } from '@ohos/common'
import {Log} from '@ohos/common'
import Constants from './common/constants';
const TAG = 'SignalStatus-SignalModel';

View File

@ -18,7 +18,7 @@ import windowManager from '@ohos.window'
import display from '@ohos.display'
import {Log, AbilityManager, sTimeManager} from '@ohos/common'
import Constants from '../../../../../../features/screenlock/src/main/ets/com/ohos/common/constants'
import { UIContext } from '@ohos.arkui.UIContext'
import {UIContext} from '@ohos.arkui.UIContext'
const TAG = "ScreenLock-ServiceExtAbility"