cty-mui-angular 1.0.0 → 1.0.2
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/common/directives/template-ref.d.ts +9 -0
- package/common/index.d.ts +1 -0
- package/directive.module.d.ts +8 -0
- package/esm2022/common/directives/template-ref.mjs +21 -0
- package/esm2022/common/index.mjs +2 -1
- package/esm2022/directive.module.mjs +21 -0
- package/esm2022/index.mjs +2 -1
- package/esm2022/providers/ionic-controller.mjs +2 -19
- package/esm2022/standalone/index.mjs +2 -2
- package/esm2022/standalone/providers/ionic-controller.mjs +1 -1
- package/fesm2022/cty-mui-angular-common.mjs +21 -2
- package/fesm2022/cty-mui-angular-common.mjs.map +1 -1
- package/fesm2022/cty-mui-angular-standalone.mjs +1 -1
- package/fesm2022/cty-mui-angular-standalone.mjs.map +1 -1
- package/fesm2022/cty-mui-angular.mjs +20 -20
- package/fesm2022/cty-mui-angular.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/package.json +3 -2
- package/providers/ionic-controller.d.ts +2 -4
- package/standalone/index.d.ts +1 -1
- package/standalone/providers/ionic-controller.d.ts +1 -1
package/index.d.ts
CHANGED
|
@@ -11,4 +11,5 @@ export { CtyTutorialController } from './providers/tutorial-controller';
|
|
|
11
11
|
export { CtyOverlayController } from './providers/overlay-controller';
|
|
12
12
|
export { CtyController } from './providers/ionic-controller';
|
|
13
13
|
export { CtyMUIModule } from './cty-mui-module';
|
|
14
|
+
export { DirectiveModule } from './directive.module';
|
|
14
15
|
export { ModalFade, ModalRotate, ModalSlide, ModalZoom, CTYCityData, toBase64, fromBase64, getUTCDateTime, getUTCDate, getTimeZone, convertTimeZone, formatDateTime, formatDate, getFormatForDatePicker, getFormatForDateTimePicker, diff, addDays, addHours, addMinutes, addSeconds, addMonths, addYears, secondsToVehicle, isValidDate, convertDate, getElementRect, getEventClientCoords, getEventPageCoords, scrollElementTop, scrollElementBottom, scrollToPoint, checkScrollEnd, fileSize, numberToChinese, randomNum, pad, percent, price, convertNumber, numberToLetter, parseJson, parseArray, camelToKebab, kebabToCamel, clamp, localDelete, localGet, localSave, sessionDelete, sessionGet, sessionSave, closest, numericName, deepClone, getValueByKey, mergeObj, clipboard, isMobileNo, isEmail, isRealNameForm, identityCodeValid, isJSONObject, isEmptyArray, isEmptyObject, isPrimitive, isDef, isPromise, isHttp, ActionSheetOption, ActionSheetOptions, ActionSheetTapEventDetail, AgreeSpinner, AgreeTriggerArea, AlertOptions, AlertButton, AlertTapEventDetail, ResultCategory, AnswerEntry, QuestionCategory, ResultPlacement, ArticleCardLayout, BannerItem, BannerItemProps, CameraPhotoOption, CameraPhotoOptions, lineCapType, VideoItem, VideoItemProps, VideoCustomEventDetail, VideoCommonCustomEventDetail, VideoStateDetail, CascaderOption, CascaderOptions, CascaderTypes, DateFormat, DateFormatUnit, ContentPlacement, AxisType, FloatingBubbleOffset, FloatingBubbleGap, ImageOption, ImageViewerOptions, IndexListItem, SpinnerTypes, LoadingOptions, OverlayOptions, PositionType, QuickAccessOption, QuickAccessProps, RecordOptions, SegmentLayoutType, SegmentOption, SegmentProps, Option, ShareOption, ShareSheetOptions, ShareSheetEventDetail, ShareSheetFailEventDetail, StepsDirection, SwiperItem, SwiperItemProps, SwiperAutoplay, SwiperResult, TextEllipsisPosition, TourPlacement, TourStep, TutorialOptions, VideoOrientation, VideoPreload, VideoProgressBarPosition, VideoMarker, VirtualDirection, Easing, AnimationOptions, SlidePosition, UploadProgressTip, AudioRecordOptions, AudioFileInfo, LocalId, ServerId, ResourceResult, MediaSourceType, DocumentOptions, CameraOptions, CameraPopoverOptions, ImagePickerOptions, ImagePickerType, PictureOptions, DownloadMediaType, DownloadOptions, LibraryMediaItem, ThumbnailOptions, WXPaymentOptions, AuthorizationOptions, SharePlatformType, WechatShareScene, ShareContentType, WechatMiniProgramType, ShareOptions, } from 'cty-mui-core';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cty-mui-angular",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"exports": {
|
|
5
5
|
"./css/*": {
|
|
6
6
|
"style": "./css/*"
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"cty-mui-core": "^1.0.
|
|
32
|
+
"cty-mui-core": "^1.0.2",
|
|
33
33
|
"ionicons": "^7.0.0",
|
|
34
34
|
"jsonc-parser": "^3.0.0",
|
|
35
35
|
"tslib": "^2.3.0"
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
"@angular/core": ">=16.0.0",
|
|
39
39
|
"@angular/forms": ">=16.0.0",
|
|
40
40
|
"@angular/router": ">=16.0.0",
|
|
41
|
+
"@ionic/core": "^7.8.6",
|
|
41
42
|
"rxjs": ">=7.5.0",
|
|
42
43
|
"zone.js": ">=0.13.0"
|
|
43
44
|
},
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ActionSheetOptions, AlertOptions,
|
|
1
|
+
import type { ActionSheetOptions, AlertOptions, LoadingOptions, PickerOptions, ToastOptions } from '@ionic/core';
|
|
2
2
|
import { Config } from 'cty-mui-angular/common';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class CtyController {
|
|
@@ -7,9 +7,7 @@ export declare class CtyController {
|
|
|
7
7
|
ActionSheet(opt: ActionSheetOptions): Promise<HTMLIonActionSheetElement>;
|
|
8
8
|
Alert(opt: AlertOptions | string): Promise<HTMLIonAlertElement>;
|
|
9
9
|
Loading(opt: LoadingOptions): Promise<HTMLIonLoadingElement>;
|
|
10
|
-
|
|
11
|
-
Picker(opt: PickerOptions): Promise<HTMLIonPickerLegacyElement>;
|
|
12
|
-
Popover(e: Event, opt: PopoverOptions): Promise<HTMLIonPopoverElement>;
|
|
10
|
+
Picker(opt: PickerOptions): Promise<HTMLIonPickerElement>;
|
|
13
11
|
Toast(opt: ToastOptions | string): Promise<HTMLIonToastElement>;
|
|
14
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<CtyController, never>;
|
|
15
13
|
static ɵprov: i0.ɵɵInjectableDeclaration<CtyController>;
|
package/standalone/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Config, AudioRecorderService, DeviceInfoService, ImagePickerService, KeyboardService, MediaDownloaderService, NetworkService, PaymentService, ScreenOrientationService, ShareService, StatusBarService, UtilsService, VideoCaptureService, VolumeControlService, WechatService } from 'cty-mui-angular/common';
|
|
1
|
+
export { Config, AudioRecorderService, DeviceInfoService, ImagePickerService, KeyboardService, MediaDownloaderService, NetworkService, PaymentService, ScreenOrientationService, ShareService, StatusBarService, UtilsService, VideoCaptureService, VolumeControlService, WechatService, TemplateRefDirective, } from 'cty-mui-angular/common';
|
|
2
2
|
export { CtyAgree, CtyRate, CtySegmentSlides, CtyStepper, CtySwiper } from './directives';
|
|
3
3
|
export * from './directives/proxies';
|
|
4
4
|
export { provideCtyMUIAngular } from './providers/cty-mui-angular';
|
|
@@ -8,7 +8,7 @@ export declare class CtyController {
|
|
|
8
8
|
Alert(opt: AlertOptions | string): Promise<HTMLIonAlertElement>;
|
|
9
9
|
Loading(opt: LoadingOptions): Promise<HTMLIonLoadingElement>;
|
|
10
10
|
Modal(opt: ModalOptions): Promise<HTMLIonModalElement>;
|
|
11
|
-
Picker(opt: PickerOptions): Promise<
|
|
11
|
+
Picker(opt: PickerOptions): Promise<HTMLIonPickerElement>;
|
|
12
12
|
Popover(e: Event, opt: PopoverOptions): Promise<HTMLIonPopoverElement>;
|
|
13
13
|
Toast(opt: ToastOptions | string): Promise<HTMLIonToastElement>;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<CtyController, never>;
|