@polyv/watch-identify-sdk-ui-default 0.1.0-rc.1
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 +1 -0
- package/lib/demo.html +1 -0
- package/lib/entranceMobile/demo.html +1 -0
- package/lib/entranceMobile/entranceMobile.common.js +23792 -0
- package/lib/entranceMobile/entranceMobile.common.js.map +1 -0
- package/lib/entranceMobile/entranceMobile.umd.js +23819 -0
- package/lib/entranceMobile/entranceMobile.umd.js.map +1 -0
- package/lib/entranceMobile/entranceMobile.umd.min.js +16 -0
- package/lib/entranceMobile/entranceMobile.umd.min.js.map +1 -0
- package/lib/entrancePc/demo.html +1 -0
- package/lib/entrancePc/entrancePc.common.js +27390 -0
- package/lib/entrancePc/entrancePc.common.js.map +1 -0
- package/lib/entrancePc/entrancePc.umd.js +27417 -0
- package/lib/entrancePc/entrancePc.umd.js.map +1 -0
- package/lib/entrancePc/entrancePc.umd.min.js +16 -0
- package/lib/entrancePc/entrancePc.umd.min.js.map +1 -0
- package/lib/polyv-watch-identify-sdk-ui-default.common.js +30474 -0
- package/lib/polyv-watch-identify-sdk-ui-default.common.js.map +1 -0
- package/lib/polyv-watch-identify-sdk-ui-default.umd.js +30501 -0
- package/lib/polyv-watch-identify-sdk-ui-default.umd.js.map +1 -0
- package/lib/polyv-watch-identify-sdk-ui-default.umd.min.js +16 -0
- package/lib/polyv-watch-identify-sdk-ui-default.umd.min.js.map +1 -0
- package/package.json +23 -0
- package/types/assets/lang/i18ns/china.d.ts +124 -0
- package/types/assets/lang/i18ns/english.d.ts +5 -0
- package/types/assets/lang/i18ns/index.d.ts +3 -0
- package/types/assets/lang/index.d.ts +8 -0
- package/types/assets/lang/lang-enum.d.ts +7 -0
- package/types/assets/lang/types.d.ts +8 -0
- package/types/assets/utils/browser.d.ts +6 -0
- package/types/assets/utils/copy.d.ts +9 -0
- package/types/assets/utils/dom.d.ts +11 -0
- package/types/assets/utils/utils.d.ts +5 -0
- package/types/assets/utils/validate.d.ts +35 -0
- package/types/assets/utils/vue-utils/emit-utils.d.ts +10 -0
- package/types/assets/utils/vue-utils/index.d.ts +7 -0
- package/types/assets/utils/vue-utils/props-utils.d.ts +53 -0
- package/types/components/bind-identity-info/mobile-bind-identity-info.vue.d.ts +2 -0
- package/types/components/bind-identity-info/pc-bind-identity-info.vue.d.ts +2 -0
- package/types/components/bind-identity-info/use-bind-identity-info.d.ts +14 -0
- package/types/components/bind-identity-info/use-identity-info-input.d.ts +26 -0
- package/types/components/common-base/dialog/mobile-dialog/index.d.ts +2 -0
- package/types/components/common-base/dialog/mobile-dialog/mobile-dialog.vue.d.ts +100 -0
- package/types/components/common-base/dialog/pc-dialog/index.d.ts +3 -0
- package/types/components/common-base/dialog/pc-dialog/pc-dialog.vue.d.ts +113 -0
- package/types/components/common-base/dialog/pc-dialog/types.d.ts +6 -0
- package/types/components/common-base/dialog/use-dialog-tips.d.ts +20 -0
- package/types/components/common-base/dialog/use-dialog.d.ts +125 -0
- package/types/components/common-base/form/form-checkbox/mobile-form-checkbox.vue.d.ts +29 -0
- package/types/components/common-base/form/form-checkbox/pc-form-checkbox.vue.d.ts +29 -0
- package/types/components/common-base/form/form-checkbox/use-form-checkbox.d.ts +23 -0
- package/types/components/common-base/form/form-image-verify-input/mobile-form-image-verify-input.vue.d.ts +24 -0
- package/types/components/common-base/form/form-image-verify-input/pc-form-image-verify-input.vue.d.ts +24 -0
- package/types/components/common-base/form/form-image-verify-input/type.d.ts +4 -0
- package/types/components/common-base/form/form-image-verify-input/use-image-verify-input.d.ts +26 -0
- package/types/components/common-base/form/form-input/hooks/use-form-input.d.ts +79 -0
- package/types/components/common-base/form/form-input/mobile-form-input.vue.d.ts +103 -0
- package/types/components/common-base/form/form-input/pc-form-input.vue.d.ts +103 -0
- package/types/components/common-base/form/form-input/types/form-input-types.d.ts +11 -0
- package/types/components/common-base/form/form-item.vue.d.ts +46 -0
- package/types/components/common-base/form/form-phone-input/mobile-form-phone-input.vue.d.ts +48 -0
- package/types/components/common-base/form/form-phone-input/pc-form-phone-input.vue.d.ts +48 -0
- package/types/components/common-base/form/form-phone-input/use-form-phone-input.d.ts +43 -0
- package/types/components/common-base/form/form-protocol/mobile-form-protocol.vue.d.ts +30 -0
- package/types/components/common-base/form/form-protocol/pc-form-protocol.vue.d.ts +30 -0
- package/types/components/common-base/form/form-protocol/use-form-protocol.d.ts +29 -0
- package/types/components/common-base/form/form-slide-verify/mobile-form-slide-verify.vue.d.ts +11 -0
- package/types/components/common-base/form/form-slide-verify/pc-form-slide-verify.vue.d.ts +11 -0
- package/types/components/common-base/form/form-slide-verify/use-slide-verify.d.ts +28 -0
- package/types/components/common-base/form/form-sms-verify-input/mobile-form-sms-verify-input.vue.d.ts +57 -0
- package/types/components/common-base/form/form-sms-verify-input/pc-form-sms-verify-input.vue.d.ts +57 -0
- package/types/components/common-base/form/form-sms-verify-input/use-sms-verify-input.d.ts +65 -0
- package/types/components/common-base/form/form-submit-button.vue.d.ts +70 -0
- package/types/components/common-base/form/form-wrap.vue.d.ts +74 -0
- package/types/components/common-base/form/hooks/use-form-common.d.ts +27 -0
- package/types/components/common-base/form/hooks/use-form-item.d.ts +57 -0
- package/types/components/common-base/form/hooks/use-form-submit-button.d.ts +41 -0
- package/types/components/common-base/form/hooks/use-form.d.ts +69 -0
- package/types/components/common-base/form/types/enums.d.ts +18 -0
- package/types/components/common-base/form/types/form-types.d.ts +25 -0
- package/types/components/common-base/loading/loading-animation.vue.d.ts +2 -0
- package/types/components/common-base/message-box/index.d.ts +7 -0
- package/types/components/common-base/message-box/mobile-message-box.vue.d.ts +78 -0
- package/types/components/common-base/message-box/pc-message-box.vue.d.ts +141 -0
- package/types/components/common-base/message-box/use-message-box.d.ts +174 -0
- package/types/components/common-base/normal-button/index.d.ts +3 -0
- package/types/components/common-base/normal-button/normal-button.vue.d.ts +73 -0
- package/types/components/common-base/normal-button/types.d.ts +47 -0
- package/types/components/common-base/normal-button/use-normal-button.d.ts +41 -0
- package/types/components/common-base/phone-code/mobile-phone-code.vue.d.ts +14 -0
- package/types/components/common-base/phone-code/pc-phone-code.vue.d.ts +14 -0
- package/types/components/common-base/phone-code/phone-code-data-en.d.ts +10 -0
- package/types/components/common-base/phone-code/phone-code-data.d.ts +10 -0
- package/types/components/common-base/phone-code/use-phone-code.d.ts +45 -0
- package/types/components/common-base/popup/index.d.ts +4 -0
- package/types/components/common-base/popup/mobile-popup.vue.d.ts +213 -0
- package/types/components/common-base/popup/types.d.ts +25 -0
- package/types/components/common-base/popup/use-popup.d.ts +160 -0
- package/types/components/component-icons/mobile/icons/arrow-down/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/arrow-left/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/arrow-right/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/arrow-up/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/ask/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/barrage-setting/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/booking/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/chat/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/check/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/check-round-fill/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/close/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/close-round/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/close-round-fill/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/danmu-switch/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/delete/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/emotion/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/forbid/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/heart/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/highlight/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/keyboard/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/like/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/me/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/media/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/message/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/news/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/pack-up/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/page-view/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/people/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/play-round/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/product/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/search/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/share/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/smiling-face/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/translate/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/video-call/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/voice-call/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/warning-round-fill/index.d.ts +6 -0
- package/types/components/component-icons/mobile/icons/watch-duration/index.d.ts +6 -0
- package/types/components/component-icons/mobile/map.d.ts +5 -0
- package/types/components/component-icons/pc/icons/apply-video-call/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/arrow-down/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/arrow-left/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/arrow-right/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/arrow-up/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/barrage-local-bottom/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/barrage-local-full/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/barrage-local-half/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/barrage-local-top/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/barrage-setting/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/bind-mobile/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/booking/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/bulletin/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/caret-down/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/caret-left/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/caret-right/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/caret-up/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/chat-error/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/chat-loading/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/chat-loading2/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/chat-msg-loading/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/check/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/check-round-fill/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/close/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/close-round/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/close-round-fill/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/copy/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/device-setting/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/emotion/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/feedback/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/forbid/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/hang-up/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/highlight/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/lang/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/media/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/page-view/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/people/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/pic/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/picture/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/play-round/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/reply/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/screenshare-setting/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/screenshare-start/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/screenshare-stop/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/search/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/set-nick/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/share/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/tips/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/translate/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/video-call/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/voice-call/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/warning-round-fill/index.d.ts +6 -0
- package/types/components/component-icons/pc/icons/watch-duration/index.d.ts +6 -0
- package/types/components/component-icons/pc/map.d.ts +4 -0
- package/types/components/direct-login-page/direct-login-page.vue.d.ts +2 -0
- package/types/components/direct-login-page/use-direct-login-page.d.ts +1 -0
- package/types/components/identify-login-page/mobile-identify-login-page.vue.d.ts +11 -0
- package/types/components/identify-login-page/pc-identify-login-page.vue.d.ts +11 -0
- package/types/components/identify-login-page/use-identify-login-page.d.ts +3 -0
- package/types/components/login-method-switch/index.d.ts +3 -0
- package/types/components/login-method-switch/mobile-login-method-switch.vue.d.ts +14 -0
- package/types/components/login-method-switch/pc-login-method-switch.vue.d.ts +14 -0
- package/types/components/login-method-switch/types.d.ts +7 -0
- package/types/components/login-method-switch/use-login-method-switch.d.ts +20 -0
- package/types/components/wx-login-page/components/wx-scan-login/pc-wx-scan-login.vue.d.ts +2 -0
- package/types/components/wx-login-page/components/wx-scan-login/use-wx-scan-login.d.ts +7 -0
- package/types/components/wx-login-page/mobile-wx-login-page.vue.d.ts +9 -0
- package/types/components/wx-login-page/pc-wx-login-page.vue.d.ts +9 -0
- package/types/components/wx-login-page/use-wx-login-page.d.ts +23 -0
- package/types/exports/index.d.ts +5 -0
- package/types/exports/lib/mobile.d.ts +65 -0
- package/types/exports/lib/pc.d.ts +45 -0
- package/types/exports/lib/watch-identify-login-page/mobile-watch-identify-login-page.vue.d.ts +40 -0
- package/types/exports/lib/watch-identify-login-page/pc-watch-identify-login-page.vue.d.ts +40 -0
- package/types/exports/lib/watch-identify-scan-login-result/watch-identify-scan-login-result.vue.d.ts +20 -0
- package/types/exports/mobile-index.d.ts +5 -0
- package/types/exports/pc-index.d.ts +5 -0
- package/types/hooks/behaviors/use-append-to/index.d.ts +7 -0
- package/types/hooks/behaviors/use-click-outside/index.d.ts +19 -0
- package/types/hooks/business/use-login-config/index.d.ts +25 -0
- package/types/hooks/components/use-popper/_components/popper-arrow.vue.d.ts +23 -0
- package/types/hooks/components/use-popper/_hooks/use-popper-arrow.d.ts +15 -0
- package/types/hooks/components/use-popper/_hooks/use-popper-core.d.ts +241 -0
- package/types/hooks/components/use-popper/_hooks/use-popper-interactive.d.ts +5 -0
- package/types/hooks/components/use-popper/_hooks/use-popper-visible.d.ts +9 -0
- package/types/hooks/components/use-popper/_popper-type.d.ts +70 -0
- package/types/hooks/components/use-popper/index.d.ts +31 -0
- package/types/hooks/components/use-popper/use-auto-topmost-show.d.ts +7 -0
- package/types/hooks/components/use-toast/_components/mobile-toast.vue.d.ts +42 -0
- package/types/hooks/components/use-toast/_components/pc-toast.vue.d.ts +42 -0
- package/types/hooks/components/use-toast/_hooks/use-toast-comp.d.ts +53 -0
- package/types/hooks/components/use-toast/_toast_type.d.ts +28 -0
- package/types/hooks/components/use-toast/index.d.ts +59 -0
- package/types/hooks/core/use-page-size/index.d.ts +4 -0
- package/types/hooks/core/use-root-inject/index.d.ts +11 -0
- package/types/hooks/core/use-root-provide/index.d.ts +58 -0
- package/types/hooks/core/use-screen-orient/index.d.ts +25 -0
- package/types/hooks/core/use-vue/index.d.ts +11 -0
- package/types/hooks/core/use-window-resize-listener/index.d.ts +7 -0
- package/types/hooks/platform/use-weixin/use-weixin-authorize.d.ts +4 -0
- package/types/hooks/tools/use-count-down/index.d.ts +29 -0
- package/types/main.d.ts +7 -0
- package/types/plugins/async-validator/index.d.ts +3 -0
- package/types/plugins/external-lib-loaders/load-ali-awsc.d.ts +4 -0
- package/types/plugins/polyv-ui/admin-import.d.ts +3 -0
- package/types/plugins/polyv-ui/types.d.ts +63 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useDirectLoginPageHook: () => void;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
|
|
2
|
+
"login-success": () => void;
|
|
3
|
+
}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, {
|
|
4
|
+
"login-method-switch"?(_: {}): any;
|
|
5
|
+
}>;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
8
|
+
new (): {
|
|
9
|
+
$scopedSlots: S;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {
|
|
2
|
+
"login-success": () => void;
|
|
3
|
+
}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, {
|
|
4
|
+
"login-method-switch"?(_: {}): any;
|
|
5
|
+
}>;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
8
|
+
new (): {
|
|
9
|
+
$scopedSlots: S;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
hiddenIcons: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").IdentifyLoginMethod[]> & {
|
|
3
|
+
default: () => import("@polyv/watch-identify-sdk-core").IdentifyLoginMethod[];
|
|
4
|
+
};
|
|
5
|
+
}, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
|
|
6
|
+
change: (arg: import("@polyv/watch-identify-sdk-core").IdentifyLoginMethod) => void;
|
|
7
|
+
}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
+
hiddenIcons: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").IdentifyLoginMethod[]> & {
|
|
9
|
+
default: () => import("@polyv/watch-identify-sdk-core").IdentifyLoginMethod[];
|
|
10
|
+
};
|
|
11
|
+
}>>, {
|
|
12
|
+
hiddenIcons: import("@polyv/watch-identify-sdk-core").IdentifyLoginMethod[];
|
|
13
|
+
}>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
hiddenIcons: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").IdentifyLoginMethod[]> & {
|
|
3
|
+
default: () => import("@polyv/watch-identify-sdk-core").IdentifyLoginMethod[];
|
|
4
|
+
};
|
|
5
|
+
}, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
|
|
6
|
+
change: (arg: import("@polyv/watch-identify-sdk-core").IdentifyLoginMethod) => void;
|
|
7
|
+
}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
+
hiddenIcons: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").IdentifyLoginMethod[]> & {
|
|
9
|
+
default: () => import("@polyv/watch-identify-sdk-core").IdentifyLoginMethod[];
|
|
10
|
+
};
|
|
11
|
+
}>>, {
|
|
12
|
+
hiddenIcons: import("@polyv/watch-identify-sdk-core").IdentifyLoginMethod[];
|
|
13
|
+
}>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { VueEmit } from '../../assets/utils/vue-utils/emit-utils';
|
|
2
|
+
import { VueProps } from '../../assets/utils/vue-utils/props-utils';
|
|
3
|
+
import { IconListItemType } from './types';
|
|
4
|
+
import { IdentifyLoginMethod } from '@polyv/watch-identify-sdk-core';
|
|
5
|
+
export declare const LoginMethodSwitchPropCtor: () => {
|
|
6
|
+
hiddenIcons: import("vue-types").VueTypeValidableDef<IdentifyLoginMethod[]> & {
|
|
7
|
+
default: () => IdentifyLoginMethod[];
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export declare const LoginMethodSwitchEmitCtor: () => {
|
|
11
|
+
change: (arg: IdentifyLoginMethod) => void;
|
|
12
|
+
};
|
|
13
|
+
export declare const useLoginMethodSwitch: (options: {
|
|
14
|
+
props: VueProps<typeof LoginMethodSwitchPropCtor>;
|
|
15
|
+
emits: VueEmit<typeof LoginMethodSwitchEmitCtor>;
|
|
16
|
+
}) => {
|
|
17
|
+
tips: import("vue").ComputedRef<string>;
|
|
18
|
+
displayIconList: import("vue").ComputedRef<IconListItemType[]>;
|
|
19
|
+
onLoginMethodChange: (icon: IconListItemType) => void;
|
|
20
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { UserLoginScanStatus } from '@polyv/watch-identify-sdk-core';
|
|
2
|
+
export declare const useWxScanLogin: () => {
|
|
3
|
+
loading: import("vue").Ref<boolean>;
|
|
4
|
+
qrCodeUrl: import("vue").Ref<string>;
|
|
5
|
+
qrCodeStatus: import("vue").Ref<UserLoginScanStatus>;
|
|
6
|
+
refreshQrCode: () => Promise<void>;
|
|
7
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, {
|
|
2
|
+
"login-method-switch"?(_: {}): any;
|
|
3
|
+
}>;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
+
new (): {
|
|
7
|
+
$scopedSlots: S;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, {
|
|
2
|
+
"login-method-switch"?(_: {}): any;
|
|
3
|
+
}>;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
+
new (): {
|
|
7
|
+
$scopedSlots: S;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { FormProtocolInstance } from '../../components/common-base/form/form-protocol/use-form-protocol';
|
|
2
|
+
import { MessageBoxInstance } from '../../components/common-base/message-box';
|
|
3
|
+
export declare const useWxLoginNotAllow: () => {
|
|
4
|
+
qrcodeUrl: import("vue").ComputedRef<string>;
|
|
5
|
+
copyContent: () => Promise<void>;
|
|
6
|
+
};
|
|
7
|
+
export declare const useWxLoginPageHook: () => {
|
|
8
|
+
renderEnabled: import("vue").Ref<boolean>;
|
|
9
|
+
UserAgreementConfig: import("vue").Ref<import("@polyv/watch-identify-sdk-core").UserAgreementConfig | undefined>;
|
|
10
|
+
protocolRef: import("vue").Ref<FormProtocolInstance | undefined>;
|
|
11
|
+
protocolChecked: import("vue").Ref<boolean>;
|
|
12
|
+
protocolContent: import("vue").ComputedRef<string>;
|
|
13
|
+
protocolTipsVisible: import("vue").Ref<boolean>;
|
|
14
|
+
protocolConfirmInfo: import("vue").ComputedRef<{
|
|
15
|
+
content: string;
|
|
16
|
+
title: string;
|
|
17
|
+
}>;
|
|
18
|
+
imageUrl: import("vue").ComputedRef<string>;
|
|
19
|
+
titleText: import("vue").ComputedRef<string>;
|
|
20
|
+
protocolConfirmRef: import("vue").Ref<MessageBoxInstance | undefined>;
|
|
21
|
+
onClickProtocolConfirmLink: (a: HTMLAnchorElement) => void;
|
|
22
|
+
onClickAuthBtn: () => Promise<void>;
|
|
23
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file 对外导出的根文件
|
|
3
|
+
*/
|
|
4
|
+
import MobileWatchIdentifyLoginPage from './watch-identify-login-page/mobile-watch-identify-login-page.vue';
|
|
5
|
+
import MobileWatchIdentifyScanLoginResult from './watch-identify-scan-login-result/watch-identify-scan-login-result.vue';
|
|
6
|
+
export declare const entranceMobile: {
|
|
7
|
+
/** 移动端观看端身份认证登录页面组件 */
|
|
8
|
+
MobileWatchIdentifyLoginPage: import("vue").DefineComponent<{
|
|
9
|
+
lang: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").LangType> & {
|
|
10
|
+
default: import("@polyv/watch-identify-sdk-core").LangType;
|
|
11
|
+
};
|
|
12
|
+
optionalLoginMethods: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").IdentifyLoginMethod[]> & {
|
|
13
|
+
default: () => import("@polyv/watch-identify-sdk-core").IdentifyLoginMethod[];
|
|
14
|
+
};
|
|
15
|
+
directAuthParams: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").DirectAuthSignParams>;
|
|
16
|
+
getWatchIdentifyCore: import("vue-types").VueTypeValidableDef<() => import("@polyv/watch-identify-sdk-core").IdentifyCore | undefined> & {
|
|
17
|
+
default: () => import("@polyv/watch-identify-sdk-core").IdentifyCore | undefined;
|
|
18
|
+
};
|
|
19
|
+
wxAutoAuthEnabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
}, {}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {
|
|
23
|
+
success: () => void;
|
|
24
|
+
fail: () => void;
|
|
25
|
+
}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
lang: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").LangType> & {
|
|
27
|
+
default: import("@polyv/watch-identify-sdk-core").LangType;
|
|
28
|
+
};
|
|
29
|
+
optionalLoginMethods: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").IdentifyLoginMethod[]> & {
|
|
30
|
+
default: () => import("@polyv/watch-identify-sdk-core").IdentifyLoginMethod[];
|
|
31
|
+
};
|
|
32
|
+
directAuthParams: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").DirectAuthSignParams>;
|
|
33
|
+
getWatchIdentifyCore: import("vue-types").VueTypeValidableDef<() => import("@polyv/watch-identify-sdk-core").IdentifyCore | undefined> & {
|
|
34
|
+
default: () => import("@polyv/watch-identify-sdk-core").IdentifyCore | undefined;
|
|
35
|
+
};
|
|
36
|
+
wxAutoAuthEnabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
}>>, {
|
|
40
|
+
lang: import("@polyv/watch-identify-sdk-core").LangType;
|
|
41
|
+
optionalLoginMethods: import("@polyv/watch-identify-sdk-core").IdentifyLoginMethod[];
|
|
42
|
+
getWatchIdentifyCore: () => import("@polyv/watch-identify-sdk-core").IdentifyCore | undefined;
|
|
43
|
+
wxAutoAuthEnabled: boolean;
|
|
44
|
+
}>;
|
|
45
|
+
/** 移动端观看端扫码结果组件 */
|
|
46
|
+
MobileWatchIdentifyScanLoginResult: import("vue").DefineComponent<{
|
|
47
|
+
lang: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").LangType> & {
|
|
48
|
+
default: import("@polyv/watch-identify-sdk-core").LangType;
|
|
49
|
+
};
|
|
50
|
+
scanStatus: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").UserLoginScanStatus> & {
|
|
51
|
+
default: import("@polyv/watch-identify-sdk-core").UserLoginScanStatus;
|
|
52
|
+
};
|
|
53
|
+
}, {}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
54
|
+
lang: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").LangType> & {
|
|
55
|
+
default: import("@polyv/watch-identify-sdk-core").LangType;
|
|
56
|
+
};
|
|
57
|
+
scanStatus: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").UserLoginScanStatus> & {
|
|
58
|
+
default: import("@polyv/watch-identify-sdk-core").UserLoginScanStatus;
|
|
59
|
+
};
|
|
60
|
+
}>>, {
|
|
61
|
+
lang: import("@polyv/watch-identify-sdk-core").LangType;
|
|
62
|
+
scanStatus: import("@polyv/watch-identify-sdk-core").UserLoginScanStatus;
|
|
63
|
+
}>;
|
|
64
|
+
};
|
|
65
|
+
export { MobileWatchIdentifyLoginPage, MobileWatchIdentifyScanLoginResult };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file 对外导出的根文件
|
|
3
|
+
*/
|
|
4
|
+
import PcWatchIdentifyLoginPage from './watch-identify-login-page/pc-watch-identify-login-page.vue';
|
|
5
|
+
export { PcWatchIdentifyLoginPage };
|
|
6
|
+
export declare const entrancePc: {
|
|
7
|
+
/** PC端观看端身份认证登录页面组件 */
|
|
8
|
+
PcWatchIdentifyLoginPage: import("vue").DefineComponent<{
|
|
9
|
+
lang: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").LangType> & {
|
|
10
|
+
default: import("@polyv/watch-identify-sdk-core").LangType;
|
|
11
|
+
};
|
|
12
|
+
optionalLoginMethods: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").IdentifyLoginMethod[]> & {
|
|
13
|
+
default: () => import("@polyv/watch-identify-sdk-core").IdentifyLoginMethod[];
|
|
14
|
+
};
|
|
15
|
+
directAuthParams: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").DirectAuthSignParams>;
|
|
16
|
+
getWatchIdentifyCore: import("vue-types").VueTypeValidableDef<() => import("@polyv/watch-identify-sdk-core").IdentifyCore | undefined> & {
|
|
17
|
+
default: () => import("@polyv/watch-identify-sdk-core").IdentifyCore | undefined;
|
|
18
|
+
};
|
|
19
|
+
wxAutoAuthEnabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
}, {}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {
|
|
23
|
+
success: () => void;
|
|
24
|
+
fail: () => void;
|
|
25
|
+
}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
lang: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").LangType> & {
|
|
27
|
+
default: import("@polyv/watch-identify-sdk-core").LangType;
|
|
28
|
+
};
|
|
29
|
+
optionalLoginMethods: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").IdentifyLoginMethod[]> & {
|
|
30
|
+
default: () => import("@polyv/watch-identify-sdk-core").IdentifyLoginMethod[];
|
|
31
|
+
};
|
|
32
|
+
directAuthParams: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").DirectAuthSignParams>;
|
|
33
|
+
getWatchIdentifyCore: import("vue-types").VueTypeValidableDef<() => import("@polyv/watch-identify-sdk-core").IdentifyCore | undefined> & {
|
|
34
|
+
default: () => import("@polyv/watch-identify-sdk-core").IdentifyCore | undefined;
|
|
35
|
+
};
|
|
36
|
+
wxAutoAuthEnabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
}>>, {
|
|
40
|
+
lang: import("@polyv/watch-identify-sdk-core").LangType;
|
|
41
|
+
optionalLoginMethods: import("@polyv/watch-identify-sdk-core").IdentifyLoginMethod[];
|
|
42
|
+
getWatchIdentifyCore: () => import("@polyv/watch-identify-sdk-core").IdentifyCore | undefined;
|
|
43
|
+
wxAutoAuthEnabled: boolean;
|
|
44
|
+
}>;
|
|
45
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import '@/assets/styles/animation.scss';
|
|
2
|
+
import { IdentifyLoginMethod } from '@polyv/watch-identify-sdk-core';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
lang: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").LangType> & {
|
|
5
|
+
default: import("@polyv/watch-identify-sdk-core").LangType;
|
|
6
|
+
};
|
|
7
|
+
optionalLoginMethods: import("vue-types").VueTypeValidableDef<IdentifyLoginMethod[]> & {
|
|
8
|
+
default: () => IdentifyLoginMethod[];
|
|
9
|
+
};
|
|
10
|
+
directAuthParams: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").DirectAuthSignParams>;
|
|
11
|
+
getWatchIdentifyCore: import("vue-types").VueTypeValidableDef<() => import("@polyv/watch-identify-sdk-core").IdentifyCore | undefined> & {
|
|
12
|
+
default: () => import("@polyv/watch-identify-sdk-core").IdentifyCore | undefined;
|
|
13
|
+
};
|
|
14
|
+
wxAutoAuthEnabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
}, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
|
|
18
|
+
success: () => void;
|
|
19
|
+
fail: () => void;
|
|
20
|
+
}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
lang: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").LangType> & {
|
|
22
|
+
default: import("@polyv/watch-identify-sdk-core").LangType;
|
|
23
|
+
};
|
|
24
|
+
optionalLoginMethods: import("vue-types").VueTypeValidableDef<IdentifyLoginMethod[]> & {
|
|
25
|
+
default: () => IdentifyLoginMethod[];
|
|
26
|
+
};
|
|
27
|
+
directAuthParams: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").DirectAuthSignParams>;
|
|
28
|
+
getWatchIdentifyCore: import("vue-types").VueTypeValidableDef<() => import("@polyv/watch-identify-sdk-core").IdentifyCore | undefined> & {
|
|
29
|
+
default: () => import("@polyv/watch-identify-sdk-core").IdentifyCore | undefined;
|
|
30
|
+
};
|
|
31
|
+
wxAutoAuthEnabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
}>>, {
|
|
35
|
+
lang: import("@polyv/watch-identify-sdk-core").LangType;
|
|
36
|
+
optionalLoginMethods: IdentifyLoginMethod[];
|
|
37
|
+
getWatchIdentifyCore: () => import("@polyv/watch-identify-sdk-core").IdentifyCore | undefined;
|
|
38
|
+
wxAutoAuthEnabled: boolean;
|
|
39
|
+
}>;
|
|
40
|
+
export default _default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import '@/assets/styles/animation.scss';
|
|
2
|
+
import { IdentifyLoginMethod } from '@polyv/watch-identify-sdk-core';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
lang: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").LangType> & {
|
|
5
|
+
default: import("@polyv/watch-identify-sdk-core").LangType;
|
|
6
|
+
};
|
|
7
|
+
optionalLoginMethods: import("vue-types").VueTypeValidableDef<IdentifyLoginMethod[]> & {
|
|
8
|
+
default: () => IdentifyLoginMethod[];
|
|
9
|
+
};
|
|
10
|
+
directAuthParams: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").DirectAuthSignParams>;
|
|
11
|
+
getWatchIdentifyCore: import("vue-types").VueTypeValidableDef<() => import("@polyv/watch-identify-sdk-core").IdentifyCore | undefined> & {
|
|
12
|
+
default: () => import("@polyv/watch-identify-sdk-core").IdentifyCore | undefined;
|
|
13
|
+
};
|
|
14
|
+
wxAutoAuthEnabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
}, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
|
|
18
|
+
success: () => void;
|
|
19
|
+
fail: () => void;
|
|
20
|
+
}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
lang: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").LangType> & {
|
|
22
|
+
default: import("@polyv/watch-identify-sdk-core").LangType;
|
|
23
|
+
};
|
|
24
|
+
optionalLoginMethods: import("vue-types").VueTypeValidableDef<IdentifyLoginMethod[]> & {
|
|
25
|
+
default: () => IdentifyLoginMethod[];
|
|
26
|
+
};
|
|
27
|
+
directAuthParams: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").DirectAuthSignParams>;
|
|
28
|
+
getWatchIdentifyCore: import("vue-types").VueTypeValidableDef<() => import("@polyv/watch-identify-sdk-core").IdentifyCore | undefined> & {
|
|
29
|
+
default: () => import("@polyv/watch-identify-sdk-core").IdentifyCore | undefined;
|
|
30
|
+
};
|
|
31
|
+
wxAutoAuthEnabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
}>>, {
|
|
35
|
+
lang: import("@polyv/watch-identify-sdk-core").LangType;
|
|
36
|
+
optionalLoginMethods: IdentifyLoginMethod[];
|
|
37
|
+
getWatchIdentifyCore: () => import("@polyv/watch-identify-sdk-core").IdentifyCore | undefined;
|
|
38
|
+
wxAutoAuthEnabled: boolean;
|
|
39
|
+
}>;
|
|
40
|
+
export default _default;
|
package/types/exports/lib/watch-identify-scan-login-result/watch-identify-scan-login-result.vue.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { LangType, UserLoginScanStatus } from '@polyv/watch-identify-sdk-core';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
lang: import("vue-types").VueTypeValidableDef<LangType> & {
|
|
4
|
+
default: LangType;
|
|
5
|
+
};
|
|
6
|
+
scanStatus: import("vue-types").VueTypeValidableDef<UserLoginScanStatus> & {
|
|
7
|
+
default: UserLoginScanStatus;
|
|
8
|
+
};
|
|
9
|
+
}, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
10
|
+
lang: import("vue-types").VueTypeValidableDef<LangType> & {
|
|
11
|
+
default: LangType;
|
|
12
|
+
};
|
|
13
|
+
scanStatus: import("vue-types").VueTypeValidableDef<UserLoginScanStatus> & {
|
|
14
|
+
default: UserLoginScanStatus;
|
|
15
|
+
};
|
|
16
|
+
}>>, {
|
|
17
|
+
lang: LangType;
|
|
18
|
+
scanStatus: UserLoginScanStatus;
|
|
19
|
+
}>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import Vue, { Ref } from 'vue';
|
|
2
|
+
export type ClickOutsideTargetType = RefOrElement | string | Ref<Vue>;
|
|
3
|
+
export type ClickOutsideTargets = ClickOutsideTargetType | ClickOutsideTargetType[];
|
|
4
|
+
export type ClickOutsideTargetsFunction = () => ClickOutsideTargets;
|
|
5
|
+
/**
|
|
6
|
+
* @hook 点击节点外部事件 hook
|
|
7
|
+
* @param targets 响应式节点数组或获取方法
|
|
8
|
+
* @param callback 回调方法
|
|
9
|
+
* @param autoListen 自动监听,默认:true
|
|
10
|
+
* @returns
|
|
11
|
+
* ```
|
|
12
|
+
* listenClickOutSide - 监听点击外部事件
|
|
13
|
+
* removeListenClickOutSide - 移除点击外部监听事件
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare const useClickOutside: (targets: ClickOutsideTargets | ClickOutsideTargetsFunction, callback: EmptyParamsFunc, autoListen?: boolean) => {
|
|
17
|
+
listenClickOutSide: () => void;
|
|
18
|
+
removeListenClickOutSide: () => void;
|
|
19
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UserAgreementConfig } from '@polyv/watch-identify-sdk-core';
|
|
2
|
+
/**
|
|
3
|
+
* 频道用户协议 hook
|
|
4
|
+
* @param autoGet 是否自动获取
|
|
5
|
+
*/
|
|
6
|
+
export declare const useLoginConfig: (opts?: {
|
|
7
|
+
autoGet: boolean;
|
|
8
|
+
}) => {
|
|
9
|
+
companyInfo: import("vue").Ref<{
|
|
10
|
+
name: string;
|
|
11
|
+
logo: string;
|
|
12
|
+
}>;
|
|
13
|
+
UserAgreementConfig: import("vue").Ref<UserAgreementConfig | undefined>;
|
|
14
|
+
protocolContent: import("vue").ComputedRef<string>;
|
|
15
|
+
protocolConfirmInfo: import("vue").ComputedRef<{
|
|
16
|
+
content: string;
|
|
17
|
+
title: string;
|
|
18
|
+
}>;
|
|
19
|
+
currentUserAgreementConfig: import("vue").ComputedRef<{
|
|
20
|
+
content: string;
|
|
21
|
+
dialogTitle: string;
|
|
22
|
+
dialogContent: string;
|
|
23
|
+
}>;
|
|
24
|
+
initLoginConfig: () => Promise<void>;
|
|
25
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
/** 箭头颜色 */
|
|
3
|
+
color: import("vue-types").VueTypeValidableDef<string> & {
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
/** 箭头大小 */
|
|
7
|
+
size: import("vue-types").VueTypeValidableDef<number> & {
|
|
8
|
+
default: number;
|
|
9
|
+
};
|
|
10
|
+
}, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
/** 箭头颜色 */
|
|
12
|
+
color: import("vue-types").VueTypeValidableDef<string> & {
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
/** 箭头大小 */
|
|
16
|
+
size: import("vue-types").VueTypeValidableDef<number> & {
|
|
17
|
+
default: number;
|
|
18
|
+
};
|
|
19
|
+
}>>, {
|
|
20
|
+
size: number;
|
|
21
|
+
color: string;
|
|
22
|
+
}>;
|
|
23
|
+
export default _default;
|