@ng-atomic/common 2.0.1 → 3.0.0
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/directives/ios-safari-scroll-buggyfill/package.json +5 -5
- package/directives/package.json +5 -5
- package/esm2020/directives/index.mjs +2 -0
- package/esm2020/directives/ios-safari-scroll-buggyfill/index.mjs +3 -0
- package/esm2020/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.directive.mjs +24 -0
- package/esm2020/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.module.mjs +26 -0
- package/esm2020/directives/ios-safari-scroll-buggyfill/ng-atomic-common-directives-ios-safari-scroll-buggyfill.mjs +5 -0
- package/esm2020/directives/ng-atomic-common-directives.mjs +5 -0
- package/esm2020/index.mjs +2 -0
- package/esm2020/models/action-item.mjs +2 -0
- package/esm2020/models/index.mjs +2 -0
- package/esm2020/models/menu-item.mjs +2 -0
- package/esm2020/models/ng-atomic-common-models.mjs +5 -0
- package/esm2020/models/public_api.mjs +3 -0
- package/esm2020/ng-atomic-common.mjs +5 -0
- package/esm2020/pipes/domain/domain.module.mjs +26 -0
- package/esm2020/pipes/domain/domain.pipe.mjs +27 -0
- package/esm2020/pipes/domain/index.mjs +3 -0
- package/esm2020/pipes/index.mjs +7 -0
- package/esm2020/pipes/ng-atomic-common-pipes.mjs +5 -0
- package/esm2020/pipes/smart-clamp/index.mjs +3 -0
- package/esm2020/pipes/smart-clamp/smart-clamp.module.mjs +26 -0
- package/esm2020/pipes/smart-clamp/smart-clamp.pipe.mjs +44 -0
- package/esm2020/pipes/smart-exp/index.mjs +3 -0
- package/esm2020/pipes/smart-exp/smart-exp.module.mjs +16 -0
- package/esm2020/pipes/smart-exp/smart-exp.pipe.mjs +27 -0
- package/esm2020/pipes/smart-field/index.mjs +3 -0
- package/esm2020/pipes/smart-field/smart-field.module.mjs +26 -0
- package/esm2020/pipes/smart-field/smart-field.pipe.mjs +31 -0
- package/esm2020/pipes/smart-sort-by/index.mjs +3 -0
- package/esm2020/pipes/smart-sort-by/smart-sort-by.module.mjs +26 -0
- package/esm2020/pipes/smart-sort-by/smart-sort-by.pipe.mjs +31 -0
- package/esm2020/pipes/yen/index.mjs +3 -0
- package/esm2020/pipes/yen/yen.module.mjs +26 -0
- package/esm2020/pipes/yen/yen.pipe.mjs +17 -0
- package/esm2020/services/form/form.service.mjs +38 -0
- package/esm2020/services/form/index.mjs +2 -0
- package/esm2020/services/index.mjs +5 -0
- package/esm2020/services/loading/index.mjs +2 -0
- package/esm2020/services/loading/loading.service.mjs +32 -0
- package/esm2020/services/ng-atomic-common-services.mjs +5 -0
- package/esm2020/services/query-resolver/index.mjs +2 -0
- package/esm2020/services/query-resolver/query-resolver.service.mjs +27 -0
- package/esm2020/services/snack-bar/index.mjs +3 -0
- package/esm2020/services/snack-bar/snack-bar.module.mjs +24 -0
- package/esm2020/services/snack-bar/snack-bar.service.mjs +23 -0
- package/esm2020/store/entities.page.store.mjs +44 -0
- package/esm2020/store/entity.page.store.mjs +40 -0
- package/esm2020/store/index.mjs +3 -0
- package/esm2020/store/ng-atomic-common-store.mjs +5 -0
- package/esm2020/utils/comma/comma.mjs +4 -0
- package/esm2020/utils/comma/index.mjs +2 -0
- package/esm2020/utils/compare-by-id/compare-by-id.mjs +2 -0
- package/esm2020/utils/compare-by-id/index.mjs +2 -0
- package/esm2020/utils/date-utils/date-utils.mjs +13 -0
- package/esm2020/utils/date-utils/index.mjs +2 -0
- package/esm2020/utils/index.mjs +9 -0
- package/esm2020/utils/mat-dayjs-date/dayjs-date.adapter.mjs +191 -0
- package/esm2020/utils/mat-dayjs-date/dayjs-date.formats.mjs +15 -0
- package/esm2020/utils/mat-dayjs-date/dayjs-date.module.mjs +41 -0
- package/esm2020/utils/mat-dayjs-date/dayjs-jp-providers.mjs +20 -0
- package/esm2020/utils/mat-dayjs-date/index.mjs +5 -0
- package/esm2020/utils/ng-atomic-common-utils.mjs +5 -0
- package/esm2020/utils/query/index.mjs +2 -0
- package/esm2020/utils/query/query.resolver.mjs +97 -0
- package/esm2020/utils/smart-exp-transformer/index.mjs +2 -0
- package/esm2020/utils/smart-exp-transformer/smart-exp-transformer.mjs +18 -0
- package/esm2020/utils/to-object/index.mjs +2 -0
- package/esm2020/utils/to-object/to-object.mjs +10 -0
- package/fesm2015/{ng-atomic-common-directives-ios-safari-scroll-buggyfill.js → ng-atomic-common-directives-ios-safari-scroll-buggyfill.mjs} +8 -8
- package/fesm2015/ng-atomic-common-directives-ios-safari-scroll-buggyfill.mjs.map +1 -0
- package/fesm2015/{ng-atomic-common-directives.js → ng-atomic-common-directives.mjs} +8 -8
- package/fesm2015/ng-atomic-common-directives.mjs.map +1 -0
- package/fesm2015/ng-atomic-common-models.mjs +4 -0
- package/fesm2015/ng-atomic-common-models.mjs.map +1 -0
- package/fesm2015/ng-atomic-common-pipes.mjs +312 -0
- package/fesm2015/ng-atomic-common-pipes.mjs.map +1 -0
- package/fesm2015/{ng-atomic-common-services.js → ng-atomic-common-services.mjs} +24 -26
- package/fesm2015/ng-atomic-common-services.mjs.map +1 -0
- package/fesm2015/{ng-atomic-common-store.js → ng-atomic-common-store.mjs} +1 -1
- package/fesm2015/ng-atomic-common-store.mjs.map +1 -0
- package/fesm2015/{ng-atomic-common-utils.js → ng-atomic-common-utils.mjs} +9 -9
- package/fesm2015/ng-atomic-common-utils.mjs.map +1 -0
- package/fesm2015/{ng-atomic-common.js → ng-atomic-common.mjs} +1 -1
- package/fesm2015/ng-atomic-common.mjs.map +1 -0
- package/fesm2020/ng-atomic-common-directives-ios-safari-scroll-buggyfill.mjs +54 -0
- package/fesm2020/ng-atomic-common-directives-ios-safari-scroll-buggyfill.mjs.map +1 -0
- package/fesm2020/ng-atomic-common-directives.mjs +54 -0
- package/fesm2020/ng-atomic-common-directives.mjs.map +1 -0
- package/fesm2020/ng-atomic-common-models.mjs +4 -0
- package/fesm2020/ng-atomic-common-models.mjs.map +1 -0
- package/{fesm2015/ng-atomic-common-pipes.js → fesm2020/ng-atomic-common-pipes.mjs} +51 -58
- package/fesm2020/ng-atomic-common-pipes.mjs.map +1 -0
- package/fesm2020/ng-atomic-common-services.mjs +142 -0
- package/fesm2020/ng-atomic-common-services.mjs.map +1 -0
- package/fesm2020/ng-atomic-common-store.mjs +89 -0
- package/fesm2020/ng-atomic-common-store.mjs.map +1 -0
- package/fesm2020/ng-atomic-common-utils.mjs +406 -0
- package/fesm2020/ng-atomic-common-utils.mjs.map +1 -0
- package/fesm2020/ng-atomic-common.mjs +4 -0
- package/fesm2020/ng-atomic-common.mjs.map +1 -0
- package/models/package.json +5 -5
- package/package.json +77 -8
- package/pipes/package.json +5 -5
- package/services/package.json +5 -5
- package/store/package.json +5 -5
- package/utils/mat-dayjs-date/dayjs-jp-providers.d.ts +1 -1
- package/utils/package.json +5 -5
- package/bundles/ng-atomic-common-directives-ios-safari-scroll-buggyfill.umd.js +0 -87
- package/bundles/ng-atomic-common-directives-ios-safari-scroll-buggyfill.umd.js.map +0 -1
- package/bundles/ng-atomic-common-directives.umd.js +0 -87
- package/bundles/ng-atomic-common-directives.umd.js.map +0 -1
- package/bundles/ng-atomic-common-models.umd.js +0 -11
- package/bundles/ng-atomic-common-models.umd.js.map +0 -1
- package/bundles/ng-atomic-common-pipes.umd.js +0 -378
- package/bundles/ng-atomic-common-pipes.umd.js.map +0 -1
- package/bundles/ng-atomic-common-services.umd.js +0 -526
- package/bundles/ng-atomic-common-services.umd.js.map +0 -1
- package/bundles/ng-atomic-common-store.umd.js +0 -460
- package/bundles/ng-atomic-common-store.umd.js.map +0 -1
- package/bundles/ng-atomic-common-utils.umd.js +0 -806
- package/bundles/ng-atomic-common-utils.umd.js.map +0 -1
- package/bundles/ng-atomic-common.umd.js +0 -11
- package/bundles/ng-atomic-common.umd.js.map +0 -1
- package/esm2015/directives/index.js +0 -2
- package/esm2015/directives/index.js.map +0 -1
- package/esm2015/directives/ios-safari-scroll-buggyfill/index.js +0 -3
- package/esm2015/directives/ios-safari-scroll-buggyfill/index.js.map +0 -1
- package/esm2015/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.directive.js +0 -24
- package/esm2015/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.directive.js.map +0 -1
- package/esm2015/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.module.js +0 -26
- package/esm2015/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.module.js.map +0 -1
- package/esm2015/directives/ios-safari-scroll-buggyfill/ng-atomic-common-directives-ios-safari-scroll-buggyfill.js +0 -5
- package/esm2015/directives/ios-safari-scroll-buggyfill/ng-atomic-common-directives-ios-safari-scroll-buggyfill.js.map +0 -1
- package/esm2015/directives/ng-atomic-common-directives.js +0 -5
- package/esm2015/directives/ng-atomic-common-directives.js.map +0 -1
- package/esm2015/index.js +0 -2
- package/esm2015/index.js.map +0 -1
- package/esm2015/models/action-item.js +0 -2
- package/esm2015/models/action-item.js.map +0 -1
- package/esm2015/models/index.js +0 -2
- package/esm2015/models/index.js.map +0 -1
- package/esm2015/models/menu-item.js +0 -2
- package/esm2015/models/menu-item.js.map +0 -1
- package/esm2015/models/ng-atomic-common-models.js +0 -5
- package/esm2015/models/ng-atomic-common-models.js.map +0 -1
- package/esm2015/models/public_api.js +0 -3
- package/esm2015/models/public_api.js.map +0 -1
- package/esm2015/ng-atomic-common.js +0 -5
- package/esm2015/ng-atomic-common.js.map +0 -1
- package/esm2015/pipes/domain/domain.module.js +0 -26
- package/esm2015/pipes/domain/domain.module.js.map +0 -1
- package/esm2015/pipes/domain/domain.pipe.js +0 -29
- package/esm2015/pipes/domain/domain.pipe.js.map +0 -1
- package/esm2015/pipes/domain/index.js +0 -3
- package/esm2015/pipes/domain/index.js.map +0 -1
- package/esm2015/pipes/index.js +0 -7
- package/esm2015/pipes/index.js.map +0 -1
- package/esm2015/pipes/ng-atomic-common-pipes.js +0 -5
- package/esm2015/pipes/ng-atomic-common-pipes.js.map +0 -1
- package/esm2015/pipes/smart-clamp/index.js +0 -3
- package/esm2015/pipes/smart-clamp/index.js.map +0 -1
- package/esm2015/pipes/smart-clamp/smart-clamp.module.js +0 -26
- package/esm2015/pipes/smart-clamp/smart-clamp.module.js.map +0 -1
- package/esm2015/pipes/smart-clamp/smart-clamp.pipe.js +0 -45
- package/esm2015/pipes/smart-clamp/smart-clamp.pipe.js.map +0 -1
- package/esm2015/pipes/smart-exp/index.js +0 -3
- package/esm2015/pipes/smart-exp/index.js.map +0 -1
- package/esm2015/pipes/smart-exp/smart-exp.module.js +0 -16
- package/esm2015/pipes/smart-exp/smart-exp.module.js.map +0 -1
- package/esm2015/pipes/smart-exp/smart-exp.pipe.js +0 -28
- package/esm2015/pipes/smart-exp/smart-exp.pipe.js.map +0 -1
- package/esm2015/pipes/smart-field/index.js +0 -3
- package/esm2015/pipes/smart-field/index.js.map +0 -1
- package/esm2015/pipes/smart-field/smart-field.module.js +0 -26
- package/esm2015/pipes/smart-field/smart-field.module.js.map +0 -1
- package/esm2015/pipes/smart-field/smart-field.pipe.js +0 -33
- package/esm2015/pipes/smart-field/smart-field.pipe.js.map +0 -1
- package/esm2015/pipes/smart-sort-by/index.js +0 -3
- package/esm2015/pipes/smart-sort-by/index.js.map +0 -1
- package/esm2015/pipes/smart-sort-by/smart-sort-by.module.js +0 -26
- package/esm2015/pipes/smart-sort-by/smart-sort-by.module.js.map +0 -1
- package/esm2015/pipes/smart-sort-by/smart-sort-by.pipe.js +0 -32
- package/esm2015/pipes/smart-sort-by/smart-sort-by.pipe.js.map +0 -1
- package/esm2015/pipes/yen/index.js +0 -3
- package/esm2015/pipes/yen/index.js.map +0 -1
- package/esm2015/pipes/yen/yen.module.js +0 -26
- package/esm2015/pipes/yen/yen.module.js.map +0 -1
- package/esm2015/pipes/yen/yen.pipe.js +0 -17
- package/esm2015/pipes/yen/yen.pipe.js.map +0 -1
- package/esm2015/services/form/form.service.js +0 -35
- package/esm2015/services/form/form.service.js.map +0 -1
- package/esm2015/services/form/index.js +0 -2
- package/esm2015/services/form/index.js.map +0 -1
- package/esm2015/services/index.js +0 -5
- package/esm2015/services/index.js.map +0 -1
- package/esm2015/services/loading/index.js +0 -2
- package/esm2015/services/loading/index.js.map +0 -1
- package/esm2015/services/loading/loading.service.js +0 -32
- package/esm2015/services/loading/loading.service.js.map +0 -1
- package/esm2015/services/ng-atomic-common-services.js +0 -5
- package/esm2015/services/ng-atomic-common-services.js.map +0 -1
- package/esm2015/services/query-resolver/index.js +0 -2
- package/esm2015/services/query-resolver/index.js.map +0 -1
- package/esm2015/services/query-resolver/query-resolver.service.js +0 -31
- package/esm2015/services/query-resolver/query-resolver.service.js.map +0 -1
- package/esm2015/services/snack-bar/index.js +0 -3
- package/esm2015/services/snack-bar/index.js.map +0 -1
- package/esm2015/services/snack-bar/snack-bar.module.js +0 -24
- package/esm2015/services/snack-bar/snack-bar.module.js.map +0 -1
- package/esm2015/services/snack-bar/snack-bar.service.js +0 -23
- package/esm2015/services/snack-bar/snack-bar.service.js.map +0 -1
- package/esm2015/store/entities.page.store.js +0 -44
- package/esm2015/store/entities.page.store.js.map +0 -1
- package/esm2015/store/entity.page.store.js +0 -41
- package/esm2015/store/entity.page.store.js.map +0 -1
- package/esm2015/store/index.js +0 -3
- package/esm2015/store/index.js.map +0 -1
- package/esm2015/store/ng-atomic-common-store.js +0 -5
- package/esm2015/store/ng-atomic-common-store.js.map +0 -1
- package/esm2015/utils/comma/comma.js +0 -4
- package/esm2015/utils/comma/comma.js.map +0 -1
- package/esm2015/utils/comma/index.js +0 -2
- package/esm2015/utils/comma/index.js.map +0 -1
- package/esm2015/utils/compare-by-id/compare-by-id.js +0 -2
- package/esm2015/utils/compare-by-id/compare-by-id.js.map +0 -1
- package/esm2015/utils/compare-by-id/index.js +0 -2
- package/esm2015/utils/compare-by-id/index.js.map +0 -1
- package/esm2015/utils/date-utils/date-utils.js +0 -13
- package/esm2015/utils/date-utils/date-utils.js.map +0 -1
- package/esm2015/utils/date-utils/index.js +0 -2
- package/esm2015/utils/date-utils/index.js.map +0 -1
- package/esm2015/utils/index.js +0 -9
- package/esm2015/utils/index.js.map +0 -1
- package/esm2015/utils/mat-dayjs-date/dayjs-date.adapter.js +0 -191
- package/esm2015/utils/mat-dayjs-date/dayjs-date.adapter.js.map +0 -1
- package/esm2015/utils/mat-dayjs-date/dayjs-date.formats.js +0 -15
- package/esm2015/utils/mat-dayjs-date/dayjs-date.formats.js.map +0 -1
- package/esm2015/utils/mat-dayjs-date/dayjs-date.module.js +0 -41
- package/esm2015/utils/mat-dayjs-date/dayjs-date.module.js.map +0 -1
- package/esm2015/utils/mat-dayjs-date/dayjs-jp-providers.js +0 -20
- package/esm2015/utils/mat-dayjs-date/dayjs-jp-providers.js.map +0 -1
- package/esm2015/utils/mat-dayjs-date/index.js +0 -5
- package/esm2015/utils/mat-dayjs-date/index.js.map +0 -1
- package/esm2015/utils/ng-atomic-common-utils.js +0 -5
- package/esm2015/utils/ng-atomic-common-utils.js.map +0 -1
- package/esm2015/utils/query/index.js +0 -2
- package/esm2015/utils/query/index.js.map +0 -1
- package/esm2015/utils/query/query.resolver.js +0 -100
- package/esm2015/utils/query/query.resolver.js.map +0 -1
- package/esm2015/utils/smart-exp-transformer/index.js +0 -2
- package/esm2015/utils/smart-exp-transformer/index.js.map +0 -1
- package/esm2015/utils/smart-exp-transformer/smart-exp-transformer.js +0 -18
- package/esm2015/utils/smart-exp-transformer/smart-exp-transformer.js.map +0 -1
- package/esm2015/utils/to-object/index.js +0 -2
- package/esm2015/utils/to-object/index.js.map +0 -1
- package/esm2015/utils/to-object/to-object.js +0 -10
- package/esm2015/utils/to-object/to-object.js.map +0 -1
- package/fesm2015/ng-atomic-common-directives-ios-safari-scroll-buggyfill.js.map +0 -1
- package/fesm2015/ng-atomic-common-directives.js.map +0 -1
- package/fesm2015/ng-atomic-common-models.js +0 -4
- package/fesm2015/ng-atomic-common-models.js.map +0 -1
- package/fesm2015/ng-atomic-common-pipes.js.map +0 -1
- package/fesm2015/ng-atomic-common-services.js.map +0 -1
- package/fesm2015/ng-atomic-common-store.js.map +0 -1
- package/fesm2015/ng-atomic-common-utils.js.map +0 -1
- package/fesm2015/ng-atomic-common.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-atomic-common-utils.mjs","sources":["../../../../libs/common/utils/comma/comma.ts","../../../../libs/common/utils/compare-by-id/compare-by-id.ts","../../../../libs/common/utils/date-utils/date-utils.ts","../../../../libs/common/utils/mat-dayjs-date/dayjs-date.adapter.ts","../../../../libs/common/utils/mat-dayjs-date/dayjs-date.formats.ts","../../../../libs/common/utils/mat-dayjs-date/dayjs-jp-providers.ts","../../../../libs/common/utils/mat-dayjs-date/dayjs-date.module.ts","../../../../libs/common/utils/smart-exp-transformer/smart-exp-transformer.ts","../../../../libs/common/utils/to-object/to-object.ts","../../../../libs/common/utils/query/query.resolver.ts","../../../../libs/common/utils/index.ts","../../../../libs/common/utils/ng-atomic-common-utils.ts"],"sourcesContent":["export const comma = (n: number | null): string => n === null ? '0' : n.toLocaleString();\nexport const commaStr = (n: number, unit: string = '円') => n < 0 ? `-${comma(abs(n))}${unit}` : `${comma(n)}${unit}`;\nexport const abs = (n: number) => Math.abs(n);","export type HasId = { id: string };\nexport const compareById = (a: HasId, b: HasId) => parseInt(a.id, 10) - parseInt(b.id, 10);\n","import dayjs from 'dayjs';\n\nexport const removeComma = (str: string) => str.replace(/\\,/g, '');\n\nexport const DATE_FORMAT = 'YYYY-MM-DDTHH:mm:ss';\nconst DATE_REGEX = /^[0-9]{4}\\/(0[1-9]|1[0-2])\\/(0[1-9]|[12][0-9]|3[01])$/;\nconst DATETIME_REGEX = /^\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d:[0-5]\\d\\+([+-][0-2]\\d:[0-5]\\d)$/;\nexport const isDateStr = (str: string | null): str is string => str && !!str.match(DATE_REGEX);\nexport const isDateTimeStr = (str: string | null): str is string => str && !!str.match(DATE_REGEX);\n\nconst ISO_REGEX = /\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d:[0-5]\\d\\.\\d+([+-][0-2]\\d:[0-5]\\d|Z)/;\nexport const isIsoString = (str: string | null): str is string => str && !!str.match(ISO_REGEX);\n\n\nexport interface Timestamp {\n toDate: () => Date;\n}\n\nexport function timestampToDayjs(timestamp: Timestamp | null): dayjs.Dayjs | null {\n return timestamp ? dayjs(timestamp.toDate()) : null;\n}","\nimport { Optional, Inject, InjectionToken } from '@angular/core';\nimport { DateAdapter, MAT_DATE_LOCALE } from '@angular/material/core';\nimport dayjs from 'dayjs';\nimport { Dayjs } from 'dayjs';\nimport utc from 'dayjs/plugin/utc';\nimport localeData from 'dayjs/plugin/localeData';\nimport LocalizedFormat from 'dayjs/plugin/localizedFormat';\nimport customParseFormat from 'dayjs/plugin/customParseFormat';\n\n\nexport interface DayJsDateAdapterOptions {\n /**\n * Turns the use of utc dates on or off.\n * Changing this will change how Angular Material components like DatePicker output dates.\n * {@default false}\n */\n useUtc?: boolean;\n}\n\n/** InjectionToken for Dayjs date adapter to configure options. */\nexport const MAT_DAYJS_DATE_ADAPTER_OPTIONS = new InjectionToken<DayJsDateAdapterOptions>(\n 'MAT_DAYJS_DATE_ADAPTER_OPTIONS', {\n providedIn: 'root',\n factory: MAT_DAYJS_DATE_ADAPTER_OPTIONS_FACTORY\n});\n\nexport function MAT_DAYJS_DATE_ADAPTER_OPTIONS_FACTORY(): DayJsDateAdapterOptions {\n return {\n useUtc: false\n };\n}\n\n/** Creates an array and fills it with values. */\nfunction range<T>(length: number, valueFunction: (index: number) => T): T[] {\n const valuesArray = Array(length);\n for (let i = 0; i < length; i++) {\n valuesArray[i] = valueFunction(i);\n }\n return valuesArray;\n}\n\n/** Adapts Dayjs Dates for use with Angular Material. */\nexport class DayjsDateAdapter extends DateAdapter<Dayjs> {\n private localeData!: {\n firstDayOfWeek: number,\n longMonths: string[],\n shortMonths: string[],\n dates: string[],\n longDaysOfWeek: string[],\n shortDaysOfWeek: string[],\n narrowDaysOfWeek: string[]\n };\n\n constructor(\n @Optional() @Inject(MAT_DATE_LOCALE) public dateLocale: string,\n @Optional() @Inject(MAT_DAYJS_DATE_ADAPTER_OPTIONS) private options?: DayJsDateAdapterOptions\n ) {\n super();\n this.initializeParser(dateLocale);\n }\n\n // TODO: Implement\n setLocale(locale: string) {\n super.setLocale(locale);\n\n const dayJsLocaleData = this.dayJs().localeData();\n this.localeData = {\n firstDayOfWeek: dayJsLocaleData.firstDayOfWeek(),\n longMonths: dayJsLocaleData.months(),\n shortMonths: dayJsLocaleData.monthsShort(),\n dates: range(31, (i) => this.createDate(2017, 0, i + 1).format('D')),\n longDaysOfWeek: range(7, (i) => this.dayJs().set('day', i).format('dddd')),\n shortDaysOfWeek: dayJsLocaleData.weekdaysShort(),\n narrowDaysOfWeek: dayJsLocaleData.weekdaysMin(),\n };\n }\n\n getYear(date: Dayjs): number {\n return this.dayJs(date).year();\n }\n\n getMonth(date: Dayjs): number {\n return this.dayJs(date).month();\n }\n\n getDate(date: Dayjs): number {\n return this.dayJs(date).date();\n }\n\n getDayOfWeek(date: Dayjs): number {\n return this.dayJs(date).day();\n }\n\n getMonthNames(style: 'long' | 'short' | 'narrow'): string[] {\n return style === 'long' ? this.localeData.longMonths : this.localeData.shortMonths;\n }\n\n getDateNames(): string[] {\n return this.localeData.dates;\n }\n\n getDayOfWeekNames(style: 'long' | 'short' | 'narrow'): string[] {\n if (style === 'long') {\n return this.localeData.longDaysOfWeek;\n }\n if (style === 'short') {\n return this.localeData.shortDaysOfWeek;\n }\n return this.localeData.narrowDaysOfWeek;\n }\n\n getYearName(date: Dayjs): string {\n return this.dayJs(date).format('YYYY');\n }\n\n getFirstDayOfWeek(): number {\n return this.localeData.firstDayOfWeek;\n }\n\n getNumDaysInMonth(date: Dayjs): number {\n return this.dayJs(date).daysInMonth();\n }\n\n clone(date: Dayjs): Dayjs {\n return date.clone();\n }\n\n createDate(year: number, month: number, date: number): Dayjs {\n const returnDayjs = this.dayJs()\n .set('year', year)\n .set('month', month)\n .set('date', date);\n return returnDayjs;\n }\n\n today(): Dayjs {\n return this.dayJs();\n }\n\n parse(value: any, parseFormat: string): Dayjs | null {\n if (value && typeof value === 'string') {\n return this.dayJs(value, dayjs().localeData().longDateFormat(parseFormat), this.locale);\n }\n return value ? this.dayJs(value).locale(this.locale) : null;\n }\n\n format(date: Dayjs, displayFormat: string): string {\n if (!this.isValid(date)) {\n throw Error('DayjsDateAdapter: Cannot format invalid date.');\n }\n return date.locale(this.locale).format(displayFormat);\n }\n\n addCalendarYears(date: Dayjs, years: number): Dayjs {\n return date.add(years, 'year');\n }\n\n addCalendarMonths(date: Dayjs, months: number): Dayjs {\n return date.add(months, 'month');\n }\n\n addCalendarDays(date: Dayjs, days: number): Dayjs {\n return date.add(days, 'day');\n }\n\n toIso8601(date: Dayjs): string {\n return date.toISOString();\n }\n\n /**\n * Attempts to deserialize a value to a valid date object. This is different from parsing in that\n * deserialize should only accept non-ambiguous, locale-independent formats (e.g. a ISO 8601\n * string). The default implementation does not allow any deserialization, it simply checks that\n * the given value is already a valid date object or null. The `<mat-datepicker>` will call this\n * method on all of it's `@Input()` properties that accept dates. It is therefore possible to\n * support passing values from your backend directly to these properties by overriding this method\n * to also deserialize the format used by your backend.\n * @param value The value to be deserialized into a date object.\n * @returns The deserialized date object, either a valid date, null if the value can be\n * deserialized into a null date (e.g. the empty string), or an invalid date.\n */\n deserialize(value: any): Dayjs | null {\n let date;\n if (value instanceof Date) {\n date = this.dayJs(value);\n } else if (this.isDateInstance(value)) {\n // NOTE: assumes that cloning also sets the correct locale.\n return this.clone(value);\n }\n if (typeof value === 'string') {\n if (!value) {\n return null;\n }\n date = this.dayJs(value).toISOString();\n }\n if (date && this.isValid(date as Dayjs)) {\n return this.dayJs(date); // NOTE: Is this necessary since Dayjs is immutable and Moment was not?\n }\n return super.deserialize(value);\n }\n\n isDateInstance(obj: any): boolean {\n return dayjs.isDayjs(obj);\n }\n\n isValid(date: Dayjs): boolean {\n return this.dayJs(date).isValid();\n }\n\n invalid(): Dayjs {\n return this.dayJs(null);\n }\n\n private dayJs(input?: any, format?: string, locale?: string): Dayjs {\n if (!this.shouldUseUtc) {\n return dayjs(input, { format, locale }, locale);\n }\n return dayjs(input, { format, locale, utc: this.shouldUseUtc }, locale).utc();\n }\n\n private get shouldUseUtc(): boolean {\n const { useUtc }: DayJsDateAdapterOptions = this.options || {};\n return !!useUtc;\n }\n\n private initializeParser(dateLocale: string) {\n if (this.shouldUseUtc) {\n dayjs.extend(utc);\n }\n\n dayjs.extend(LocalizedFormat);\n dayjs.extend(customParseFormat);\n dayjs.extend(localeData);\n\n this.setLocale(dateLocale);\n }\n}","import { MatDateFormats } from '@angular/material/core';\n\n/**\n * Custom Date-Formats and Adapter (using https://github.com/iamkun/dayjs)\n */\nexport const MAT_DAYJS_DATE_FORMATS: MatDateFormats = {\n parse: {\n dateInput: 'MM/DD/YYYY',\n },\n display: {\n dateInput: 'MM/DD/YYYY',\n monthYearLabel: 'MMM YYYY',\n dateA11yLabel: 'LL',\n monthYearA11yLabel: 'MMMM YYYY',\n }\n};","import { MatDateFormats, MAT_DATE_FORMATS, MAT_DATE_LOCALE } from '@angular/material/core';\nimport dayjs from 'dayjs';\nimport 'dayjs/locale/ja'\ndayjs.locale('ja');\n\nexport const MAT_DAYJS_DATE_FORMATS_FOR_JP: MatDateFormats = {\n parse: {\n dateInput: 'YYYY/MM/DD',\n },\n display: {\n dateInput: 'YYYY/MM/DD',\n monthYearLabel: 'MMM YYYY',\n dateA11yLabel: 'LL',\n monthYearA11yLabel: 'MMMM YYYY',\n }\n};\n\nexport const MAT_DAYJS_JP_PROVIDERS = [\n { provide: MAT_DATE_LOCALE, useValue: 'ja' },\n { provide: MAT_DATE_FORMATS, useValue: MAT_DAYJS_DATE_FORMATS_FOR_JP },\n];\n","import { NgModule } from '@angular/core';\nimport { DateAdapter, MAT_DATE_FORMATS, MAT_DATE_LOCALE } from '@angular/material/core';\nimport { DayjsDateAdapter, MAT_DAYJS_DATE_ADAPTER_OPTIONS } from './dayjs-date.adapter';\nimport { MAT_DAYJS_DATE_FORMATS } from './dayjs-date.formats';\n\n@NgModule({\n providers: [\n {\n provide: DateAdapter,\n useClass: DayjsDateAdapter,\n deps: [MAT_DATE_LOCALE, MAT_DAYJS_DATE_ADAPTER_OPTIONS]\n },\n ],\n})\nexport class DayjsDateModule { }\n\n@NgModule({\n imports: [DayjsDateModule],\n providers: [{ provide: MAT_DATE_FORMATS, useValue: MAT_DAYJS_DATE_FORMATS }],\n})\nexport class MatDayjsDateModule { }","import { InjectionToken } from '@angular/core';\nimport dayjs from 'dayjs';\nimport { comma } from '../comma';\n\nexport const SMART_EXP_TRANSFORMER = new InjectionToken<SmartExpTransformer>('[@ng-atomic/common] Smart Transformer');\n\nexport type SmartExpTransformer = (input: string | number | dayjs.Dayjs | any, key?: string) => string;\n\n// export const yenTransform = (value: number, _unit?: string): string => {\n// return value < 1 ? `${comma(value * 100)}%` : `${comma(value)}円`;\n// }\n\nexport const yenTransform = (value: number, _unit?: string): string => {\n return `${comma(value)}円`;\n}\n\nexport const smartExpTransformer: SmartExpTransformer = input => dayjs.isDayjs(input)\n ? input.format('YY/MM/DD')\n : Array.isArray(input) \n ? `${input.length}個のアイテム`\n : typeof input === 'number'\n ? yenTransform(input)\n : input;","const getAllProps = (obj: object, keys: string[] = Object.keys(obj)): string[] => {\n const proto = Object.getPrototypeOf(obj);\n keys = Object.getOwnPropertyNames(proto)\n .filter(v => v !== '__proto__')\n .filter(v => Object.getOwnPropertyDescriptor(proto, v)!.get instanceof Function)\n .concat(keys);\n\n return proto.constructor.name === 'Object' ? keys : getAllProps(proto, keys);\n}\n\nexport const toObject = (obj: object): object => getAllProps(obj).reduce((p, k) => ({...p, [k]: obj[k]}), {});\n","import { flatten } from 'flat';\nimport { smartExpTransformer, SmartExpTransformer } from '../smart-exp-transformer';\nimport { toObject } from '../to-object';\nimport dayjs from 'dayjs';\n\nexport const filterByQuery = <T>(\n items: T[], \n queryString: string, \n dlm: Record<string, string> = {},\n transformer: SmartExpTransformer = smartExpTransformer,\n): T[] => {\n return new QueryResolver(dlm, transformer).resolve(items, queryString);\n}\n\ntype QueryResolveFunc<T> = (items: T[], query: string) => T[];\n\nclass QueryResolver<T extends object = any> {\n REVERSED_MAP: Record<string, string>;\n\n constructor(\n map: Record<string, string>,\n private transformer: SmartExpTransformer,\n ) {\n this.REVERSED_MAP = Object.entries(map).reduce((p, [k, v]) => ({\n ...p, [v]: k\n }), {} as Record<string, string>);\n }\n\n resolve(items: T[], queryString: string): T[] {\n return this.resolveQueries(items, queryString.split(' ').filter(q => q.length));\n }\n\n resolveQueries(items: T[], queries: string[]): T[] {\n return queries.reduce((_items, query: string) => {\n if (query.includes(':')) return this.inQueryByKey(_items, query);\n if (query.includes('=')) return this.inQueryByKey(_items, query);\n if (query.includes('>')) return this.gtQueryByKey(_items, query);\n if (query.includes('<')) return this.ltQueryByKey(_items, query);\n return this.inQuery(_items, query);\n }, items);\n }\n\n private parseQuery(query: string): [boolean, string, string] {\n const [_key, value] = query.split(':');\n return [_key.startsWith('-'), _key.startsWith('-') ? _key.slice(1) : _key, value];\n }\n\n private inQueryByKey: QueryResolveFunc<T> = (items, query) => {\n const [not, _key, value] = this.parseQuery(query);\n const key = this.REVERSED_MAP?.[_key] ?? _key;\n return items.filter(item => _not(this.in(key, flatten(toObject(item as any))?.[key], value), not));\n }\n\n private gtQueryByKey: QueryResolveFunc<T> = (items, query) => {\n const [_key, value] = query.split('>');\n const key = this.REVERSED_MAP?.[_key] ?? _key;\n return items.filter(item => {\n // TODO(nontangent): flattenしたときにdayjsが壊れる\n const v = flatten(toObject(item as any))?.[key] ?? toObject(item as any)?.[key];\n return this.gt(key, v, value)\n });\n }\n\n private ltQueryByKey: QueryResolveFunc<T> = (items, query) => {\n const [_key, value] = query.split('<');\n const key = this.REVERSED_MAP?.[_key] ?? _key;\n return items.filter(item => {\n // TODO(nontangent): flattenしたときにdayjsが壊れる\n const v = flatten(toObject(item as any))?.[key] ?? toObject(item as any)?.[key];\n return this.lt(key, v, value)\n });\n }\n\n private inQuery: QueryResolveFunc<T> = (items, q) => {\n return items.filter(item => Object.entries(flatten(toObject(item as T))).some(([k, v]) => this.in(k, v, q)));\n }\n\n private in(k: string, v: any, q: string) {\n return _in(this.transformer(v, k), q);\n }\n\n private gt(k: string, v: any, q: string) {\n // const value = dayjs.isDayjs(v) ? v : this.transformer(v, k);\n return _gt(v, q);\n }\n\n private lt(k: string, v: any, q: string) {\n // const value = dayjs.isDayjs(v) ? v : this.transformer(v, k);\n return _lt(v, q);\n }\n}\n\nconst _not = (bool: boolean, not: boolean): boolean => {\n return not ? !bool : bool;\n}\n\nconst _in = (value: any, query: string): boolean => {\n return typeof value === 'string' ? value?.includes(query) : false;\n}\n\nconst _gt = (value: any, query: string): boolean => {\n return typeof value === 'string' \n ? parseFloat(value) > parseFloat(query) \n : typeof value === 'number'\n ? value > parseFloat(query)\n : dayjs.isDayjs(value)\n ? dayjs(query).isBefore(value)\n : false;\n}\n\nconst _lt = (value: any, query: string): boolean => {\n return typeof value === 'string' \n ? parseFloat(value) < parseFloat(query) \n : typeof value === 'number'\n ? value < parseFloat(query)\n : dayjs.isDayjs(value)\n ? dayjs(query).isAfter(value)\n : false;\n}","export * from './comma';\nexport * from './compare-by-id';\nexport * from './date-utils';\nexport * from './mat-dayjs-date';\nexport * from './smart-exp-transformer';\nexport * from './to-object';\nexport * from './query';\n// export * from './define-element';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;MAAa,KAAK,GAAG,CAAC,CAAgB,KAAa,CAAC,KAAK,IAAI,GAAG,GAAG,GAAG,CAAC,CAAC,cAAc,GAAG;AAC5E,MAAA,QAAQ,GAAG,CAAC,CAAS,EAAE,IAAe,GAAA,GAAG,KAAK,CAAC,GAAG,CAAC,GAAG,CAAA,CAAA,EAAI,KAAK,CAAC,GAAG,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AAU,CAAC,KAAK,CAAC;AAC3B,cAAE,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;kBACpB,KAAK,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC;kBAC5B,KAAK,CAAC;AACZ,CAAC,CAAA;AAED,MAAM,GAAG,GAAG,CAAC,KAAU,EAAE,KAAa,KAAa;IACjD,OAAO,OAAO,KAAK,KAAK,QAAQ;UAC5B,UAAU,CAAC,KAAK,CAAC,GAAG,UAAU,CAAC,KAAK,CAAC;AACvC,UAAE,OAAO,KAAK,KAAK,QAAQ;AAC3B,cAAE,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;AAC3B,cAAE,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;kBACpB,KAAK,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;kBAC3B,KAAK,CAAC;AACZ,CAAC;;AC/GD;;ACPA;;AAEG;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-atomic-common.mjs","sources":["../../../../libs/common/ng-atomic-common.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;;AAEG"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Directive, HostListener, NgModule } from '@angular/core';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
|
|
5
|
+
class IosSafariScrollBuggyfillDirective {
|
|
6
|
+
ngAfterViewInit() {
|
|
7
|
+
// this.el.nativeElement.addEventListener('touchmove', (e: Event) => {
|
|
8
|
+
// e.preventDefault();
|
|
9
|
+
// }, {passive: false});
|
|
10
|
+
}
|
|
11
|
+
onTouchmove(event) {
|
|
12
|
+
event.preventDefault();
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
IosSafariScrollBuggyfillDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: IosSafariScrollBuggyfillDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
16
|
+
IosSafariScrollBuggyfillDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: IosSafariScrollBuggyfillDirective, selector: "[iosSafariScrollBuggyfill]", host: { listeners: { "touchmove": "onTouchmove($event)" } }, ngImport: i0 });
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: IosSafariScrollBuggyfillDirective, decorators: [{
|
|
18
|
+
type: Directive,
|
|
19
|
+
args: [{
|
|
20
|
+
selector: '[iosSafariScrollBuggyfill]'
|
|
21
|
+
}]
|
|
22
|
+
}], propDecorators: { onTouchmove: [{
|
|
23
|
+
type: HostListener,
|
|
24
|
+
args: ['touchmove', ['$event']]
|
|
25
|
+
}] } });
|
|
26
|
+
|
|
27
|
+
class IosSafariScrollBuggyfillModule {
|
|
28
|
+
}
|
|
29
|
+
IosSafariScrollBuggyfillModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: IosSafariScrollBuggyfillModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
30
|
+
IosSafariScrollBuggyfillModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: IosSafariScrollBuggyfillModule, declarations: [IosSafariScrollBuggyfillDirective], imports: [CommonModule], exports: [IosSafariScrollBuggyfillDirective] });
|
|
31
|
+
IosSafariScrollBuggyfillModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: IosSafariScrollBuggyfillModule, imports: [[
|
|
32
|
+
CommonModule,
|
|
33
|
+
]] });
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: IosSafariScrollBuggyfillModule, decorators: [{
|
|
35
|
+
type: NgModule,
|
|
36
|
+
args: [{
|
|
37
|
+
declarations: [
|
|
38
|
+
IosSafariScrollBuggyfillDirective,
|
|
39
|
+
],
|
|
40
|
+
imports: [
|
|
41
|
+
CommonModule,
|
|
42
|
+
],
|
|
43
|
+
exports: [
|
|
44
|
+
IosSafariScrollBuggyfillDirective,
|
|
45
|
+
]
|
|
46
|
+
}]
|
|
47
|
+
}] });
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Generated bundle index. Do not edit.
|
|
51
|
+
*/
|
|
52
|
+
|
|
53
|
+
export { IosSafariScrollBuggyfillDirective, IosSafariScrollBuggyfillModule };
|
|
54
|
+
//# sourceMappingURL=ng-atomic-common-directives-ios-safari-scroll-buggyfill.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-atomic-common-directives-ios-safari-scroll-buggyfill.mjs","sources":["../../../../libs/common/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.directive.ts","../../../../libs/common/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.module.ts","../../../../libs/common/directives/ios-safari-scroll-buggyfill/ng-atomic-common-directives-ios-safari-scroll-buggyfill.ts"],"sourcesContent":["import { AfterViewInit, Directive, HostListener } from '@angular/core';\n\n@Directive({\n selector: '[iosSafariScrollBuggyfill]'\n})\nexport class IosSafariScrollBuggyfillDirective implements AfterViewInit {\n\n ngAfterViewInit(): void {\n // this.el.nativeElement.addEventListener('touchmove', (e: Event) => {\n // e.preventDefault();\n // }, {passive: false});\n }\n\n @HostListener('touchmove', ['$event'])\n onTouchmove(event: Event) {\n event.preventDefault();\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { IosSafariScrollBuggyfillDirective } from './ios-safari-scroll-buggyfill.directive';\n\n\n\n@NgModule({\n declarations: [\n IosSafariScrollBuggyfillDirective,\n ],\n imports: [\n CommonModule,\n ],\n exports: [\n IosSafariScroll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A,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,8BAA8B,EAPhC,OAAA,EAAA,CAAA;YACP,YAAY;AACb,SAAA,CAAA,EAAA,CAAA,CAAA;4FAKU,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAX1C,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,iCAAiC;AAClC,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,iCAAiC;AAClC,qBAAA;AACF,iBAAA,CAAA;;;AChBD;;AAEG;;;;"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Directive, HostListener, NgModule } from '@angular/core';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
|
|
5
|
+
class IosSafariScrollBuggyfillDirective {
|
|
6
|
+
ngAfterViewInit() {
|
|
7
|
+
// this.el.nativeElement.addEventListener('touchmove', (e: Event) => {
|
|
8
|
+
// e.preventDefault();
|
|
9
|
+
// }, {passive: false});
|
|
10
|
+
}
|
|
11
|
+
onTouchmove(event) {
|
|
12
|
+
event.preventDefault();
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
IosSafariScrollBuggyfillDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: IosSafariScrollBuggyfillDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
16
|
+
IosSafariScrollBuggyfillDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: IosSafariScrollBuggyfillDirective, selector: "[iosSafariScrollBuggyfill]", host: { listeners: { "touchmove": "onTouchmove($event)" } }, ngImport: i0 });
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: IosSafariScrollBuggyfillDirective, decorators: [{
|
|
18
|
+
type: Directive,
|
|
19
|
+
args: [{
|
|
20
|
+
selector: '[iosSafariScrollBuggyfill]'
|
|
21
|
+
}]
|
|
22
|
+
}], propDecorators: { onTouchmove: [{
|
|
23
|
+
type: HostListener,
|
|
24
|
+
args: ['touchmove', ['$event']]
|
|
25
|
+
}] } });
|
|
26
|
+
|
|
27
|
+
class IosSafariScrollBuggyfillModule {
|
|
28
|
+
}
|
|
29
|
+
IosSafariScrollBuggyfillModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: IosSafariScrollBuggyfillModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
30
|
+
IosSafariScrollBuggyfillModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: IosSafariScrollBuggyfillModule, declarations: [IosSafariScrollBuggyfillDirective], imports: [CommonModule], exports: [IosSafariScrollBuggyfillDirective] });
|
|
31
|
+
IosSafariScrollBuggyfillModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: IosSafariScrollBuggyfillModule, imports: [[
|
|
32
|
+
CommonModule,
|
|
33
|
+
]] });
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: IosSafariScrollBuggyfillModule, decorators: [{
|
|
35
|
+
type: NgModule,
|
|
36
|
+
args: [{
|
|
37
|
+
declarations: [
|
|
38
|
+
IosSafariScrollBuggyfillDirective,
|
|
39
|
+
],
|
|
40
|
+
imports: [
|
|
41
|
+
CommonModule,
|
|
42
|
+
],
|
|
43
|
+
exports: [
|
|
44
|
+
IosSafariScrollBuggyfillDirective,
|
|
45
|
+
]
|
|
46
|
+
}]
|
|
47
|
+
}] });
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Generated bundle index. Do not edit.
|
|
51
|
+
*/
|
|
52
|
+
|
|
53
|
+
export { IosSafariScrollBuggyfillDirective, IosSafariScrollBuggyfillModule };
|
|
54
|
+
//# sourceMappingURL=ng-atomic-common-directives.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-atomic-common-directives.mjs","sources":["../../../../libs/common/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.directive.ts","../../../../libs/common/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.module.ts","../../../../libs/common/directives/ng-atomic-common-directives.ts"],"sourcesContent":["import { AfterViewInit, Directive, HostListener } from '@angular/core';\n\n@Directive({\n selector: '[iosSafariScrollBuggyfill]'\n})\nexport class IosSafariScrollBuggyfillDirective implements AfterViewInit {\n\n ngAfterViewInit(): void {\n // this.el.nativeElement.addEventListener('touchmove', (e: Event) => {\n // e.preventDefault();\n // }, {passive: false});\n }\n\n @HostListener('touchmove', ['$event'])\n onTouchmove(event: Event) {\n event.preventDefault();\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { IosSafariScrollBuggyfillDirective } from './ios-safari-scroll-buggyfill.directive';\n\n\n\n@NgModule({\n declarations: [\n IosSafariScrollBuggyfillDirective,\n ],\n imports: [\n CommonModule,\n ],\n exports: [\n IosSafariScrollBuggyfillDirective,\n ]\n})\nexport class IosSafariScrollBuggyfillModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAKa,iCAAiC,CAAA;IAE5C,eAAe,GAAA;;;;KAId;AAGD,IAAA,WAAW,CAAC,KAAY,EAAA;QACtB,KAAK,CAAC,cAAc,EAAE,CAAC;KACxB;;+HAXU,iCAAiC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mHAAjC,iCAAiC,EAAA,QAAA,EAAA,4BAAA,EAAA,IAAA,EAAA,EAAA,SAAA,EAAA,EAAA,WAAA,EAAA,q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"ng-atomic-common-models.mjs","sources":["../../../../libs/common/models/ng-atomic-common-models.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;;AAEG"}
|
|
@@ -7,18 +7,16 @@ import { smartExpTransformer, SMART_EXP_TRANSFORMER, yenTransform } from '@ng-at
|
|
|
7
7
|
const DOMAIN_LANG_MAP = new InjectionToken('domain lang map');
|
|
8
8
|
class DomainPipe {
|
|
9
9
|
constructor(map) {
|
|
10
|
-
var _a;
|
|
11
10
|
this.map = map;
|
|
12
|
-
|
|
11
|
+
this.map ?? (this.map = {});
|
|
13
12
|
}
|
|
14
13
|
transform(input) {
|
|
15
|
-
|
|
16
|
-
return (_b = (_a = this.map) === null || _a === void 0 ? void 0 : _a[input]) !== null && _b !== void 0 ? _b : input;
|
|
14
|
+
return this.map?.[input] ?? input;
|
|
17
15
|
}
|
|
18
16
|
}
|
|
19
|
-
DomainPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
20
|
-
DomainPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
17
|
+
DomainPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DomainPipe, deps: [{ token: DOMAIN_LANG_MAP, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
18
|
+
DomainPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DomainPipe, name: "D" });
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DomainPipe, decorators: [{
|
|
22
20
|
type: Pipe,
|
|
23
21
|
args: [{
|
|
24
22
|
name: 'D',
|
|
@@ -33,12 +31,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
33
31
|
|
|
34
32
|
class DomainModule {
|
|
35
33
|
}
|
|
36
|
-
DomainModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
37
|
-
DomainModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
38
|
-
DomainModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
34
|
+
DomainModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DomainModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
35
|
+
DomainModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DomainModule, declarations: [DomainPipe], imports: [CommonModule], exports: [DomainPipe] });
|
|
36
|
+
DomainModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DomainModule, imports: [[
|
|
39
37
|
CommonModule
|
|
40
38
|
]] });
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DomainModule, decorators: [{
|
|
42
40
|
type: NgModule,
|
|
43
41
|
args: [{
|
|
44
42
|
declarations: [
|
|
@@ -59,17 +57,16 @@ const smartSortByTransformer = (items, key, order) => {
|
|
|
59
57
|
};
|
|
60
58
|
class SmartSortByPipe {
|
|
61
59
|
constructor(transformer) {
|
|
62
|
-
var _a;
|
|
63
60
|
this.transformer = transformer;
|
|
64
|
-
|
|
61
|
+
this.transformer ?? (this.transformer = smartSortByTransformer);
|
|
65
62
|
}
|
|
66
63
|
transform(items, key, order = 'asc') {
|
|
67
64
|
return this.transformer(items, key, order);
|
|
68
65
|
}
|
|
69
66
|
}
|
|
70
|
-
SmartSortByPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
71
|
-
SmartSortByPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
72
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
67
|
+
SmartSortByPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartSortByPipe, deps: [{ token: SMART_SORT_BY_TRANSFORMER, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
68
|
+
SmartSortByPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartSortByPipe, name: "smartSortBy" });
|
|
69
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartSortByPipe, decorators: [{
|
|
73
70
|
type: Pipe,
|
|
74
71
|
args: [{
|
|
75
72
|
name: 'smartSortBy',
|
|
@@ -84,12 +81,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
84
81
|
|
|
85
82
|
class SmartSortByModule {
|
|
86
83
|
}
|
|
87
|
-
SmartSortByModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
88
|
-
SmartSortByModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
89
|
-
SmartSortByModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
84
|
+
SmartSortByModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartSortByModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
85
|
+
SmartSortByModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartSortByModule, declarations: [SmartSortByPipe], imports: [CommonModule], exports: [SmartSortByPipe] });
|
|
86
|
+
SmartSortByModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartSortByModule, imports: [[
|
|
90
87
|
CommonModule
|
|
91
88
|
]] });
|
|
92
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
89
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartSortByModule, decorators: [{
|
|
93
90
|
type: NgModule,
|
|
94
91
|
args: [{
|
|
95
92
|
declarations: [
|
|
@@ -106,12 +103,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
106
103
|
|
|
107
104
|
class SmartClampPipe {
|
|
108
105
|
constructor(transformer) {
|
|
109
|
-
var _a;
|
|
110
106
|
this.transformer = transformer;
|
|
111
107
|
this.slicePipe = new SlicePipe();
|
|
112
108
|
this._input = null;
|
|
113
109
|
this._output = [];
|
|
114
|
-
|
|
110
|
+
this.transformer ?? (this.transformer = smartSortByTransformer);
|
|
115
111
|
}
|
|
116
112
|
transform(items, store) {
|
|
117
113
|
const input = {
|
|
@@ -125,14 +121,14 @@ class SmartClampPipe {
|
|
|
125
121
|
return this._output;
|
|
126
122
|
}
|
|
127
123
|
this._input = input;
|
|
128
|
-
items = this.transformer(items, store
|
|
124
|
+
items = this.transformer(items, store?.sortKey, store?.sortOrder);
|
|
129
125
|
items = this.slicePipe.transform(items, store.page.start, store.page.end);
|
|
130
126
|
return this._output = items;
|
|
131
127
|
}
|
|
132
128
|
}
|
|
133
|
-
SmartClampPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
134
|
-
SmartClampPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
135
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
129
|
+
SmartClampPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartClampPipe, deps: [{ token: SMART_SORT_BY_TRANSFORMER, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
130
|
+
SmartClampPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartClampPipe, name: "smartClamp", pure: false });
|
|
131
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartClampPipe, decorators: [{
|
|
136
132
|
type: Pipe,
|
|
137
133
|
args: [{
|
|
138
134
|
name: 'smartClamp',
|
|
@@ -147,12 +143,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
147
143
|
|
|
148
144
|
class SmartClampModule {
|
|
149
145
|
}
|
|
150
|
-
SmartClampModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
151
|
-
SmartClampModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
152
|
-
SmartClampModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
146
|
+
SmartClampModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartClampModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
147
|
+
SmartClampModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartClampModule, declarations: [SmartClampPipe], imports: [CommonModule], exports: [SmartClampPipe] });
|
|
148
|
+
SmartClampModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartClampModule, imports: [[
|
|
153
149
|
CommonModule,
|
|
154
150
|
]] });
|
|
155
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
151
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartClampModule, decorators: [{
|
|
156
152
|
type: NgModule,
|
|
157
153
|
args: [{
|
|
158
154
|
declarations: [
|
|
@@ -169,17 +165,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
169
165
|
|
|
170
166
|
class SmartExpPipe {
|
|
171
167
|
constructor(transformer) {
|
|
172
|
-
var _a;
|
|
173
168
|
this.transformer = transformer;
|
|
174
|
-
|
|
169
|
+
this.transformer ?? (this.transformer = smartExpTransformer);
|
|
175
170
|
}
|
|
176
171
|
transform(input, key) {
|
|
177
172
|
return this.transformer(input, key);
|
|
178
173
|
}
|
|
179
174
|
}
|
|
180
|
-
SmartExpPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
181
|
-
SmartExpPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
182
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
175
|
+
SmartExpPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartExpPipe, deps: [{ token: SMART_EXP_TRANSFORMER, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
176
|
+
SmartExpPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartExpPipe, name: "smartExp" });
|
|
177
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartExpPipe, decorators: [{
|
|
183
178
|
type: Pipe,
|
|
184
179
|
args: [{
|
|
185
180
|
name: 'smartExp',
|
|
@@ -194,10 +189,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
194
189
|
|
|
195
190
|
class SmartExpModule {
|
|
196
191
|
}
|
|
197
|
-
SmartExpModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
198
|
-
SmartExpModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
199
|
-
SmartExpModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
200
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
192
|
+
SmartExpModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartExpModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
193
|
+
SmartExpModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartExpModule, declarations: [SmartExpPipe], exports: [SmartExpPipe] });
|
|
194
|
+
SmartExpModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartExpModule });
|
|
195
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartExpModule, decorators: [{
|
|
201
196
|
type: NgModule,
|
|
202
197
|
args: [{
|
|
203
198
|
declarations: [SmartExpPipe],
|
|
@@ -208,22 +203,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
208
203
|
const FORM_FIELD_MAP = new InjectionToken('[@ng-atomic] Smart Form Field');
|
|
209
204
|
class SmartFieldPipe {
|
|
210
205
|
constructor(map) {
|
|
211
|
-
var _a;
|
|
212
206
|
this.map = map;
|
|
213
|
-
|
|
207
|
+
this.map ?? (this.map = {
|
|
214
208
|
createdAt: { type: 'date' },
|
|
215
209
|
updatedAt: { type: 'date' },
|
|
216
210
|
deletedAt: { type: 'date' },
|
|
217
211
|
});
|
|
218
212
|
}
|
|
219
213
|
transform(key) {
|
|
220
|
-
|
|
221
|
-
return (_a = this.map[key]) !== null && _a !== void 0 ? _a : { type: 'input' };
|
|
214
|
+
return this.map[key] ?? { type: 'input' };
|
|
222
215
|
}
|
|
223
216
|
}
|
|
224
|
-
SmartFieldPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
225
|
-
SmartFieldPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
226
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
217
|
+
SmartFieldPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartFieldPipe, deps: [{ token: FORM_FIELD_MAP, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
218
|
+
SmartFieldPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartFieldPipe, name: "smartField" });
|
|
219
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartFieldPipe, decorators: [{
|
|
227
220
|
type: Pipe,
|
|
228
221
|
args: [{
|
|
229
222
|
name: 'smartField',
|
|
@@ -238,12 +231,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
238
231
|
|
|
239
232
|
class SmartFieldModule {
|
|
240
233
|
}
|
|
241
|
-
SmartFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
242
|
-
SmartFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
243
|
-
SmartFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
234
|
+
SmartFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
235
|
+
SmartFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartFieldModule, declarations: [SmartFieldPipe], imports: [CommonModule], exports: [SmartFieldPipe] });
|
|
236
|
+
SmartFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartFieldModule, imports: [[
|
|
244
237
|
CommonModule
|
|
245
238
|
]] });
|
|
246
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
239
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartFieldModule, decorators: [{
|
|
247
240
|
type: NgModule,
|
|
248
241
|
args: [{
|
|
249
242
|
declarations: [
|
|
@@ -263,9 +256,9 @@ class YenPipe {
|
|
|
263
256
|
return yenTransform(value, _unit);
|
|
264
257
|
}
|
|
265
258
|
}
|
|
266
|
-
YenPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
267
|
-
YenPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
268
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
259
|
+
YenPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: YenPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
260
|
+
YenPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: YenPipe, name: "yen" });
|
|
261
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: YenPipe, decorators: [{
|
|
269
262
|
type: Pipe,
|
|
270
263
|
args: [{
|
|
271
264
|
name: 'yen'
|
|
@@ -274,12 +267,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
274
267
|
|
|
275
268
|
class YenModule {
|
|
276
269
|
}
|
|
277
|
-
YenModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
278
|
-
YenModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
279
|
-
YenModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
270
|
+
YenModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: YenModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
271
|
+
YenModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: YenModule, declarations: [YenPipe], imports: [CommonModule], exports: [YenPipe] });
|
|
272
|
+
YenModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: YenModule, imports: [[
|
|
280
273
|
CommonModule
|
|
281
274
|
]] });
|
|
282
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
275
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: YenModule, decorators: [{
|
|
283
276
|
type: NgModule,
|
|
284
277
|
args: [{
|
|
285
278
|
declarations: [
|
|
@@ -299,4 +292,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
299
292
|
*/
|
|
300
293
|
|
|
301
294
|
export { DOMAIN_LANG_MAP, DomainModule, DomainPipe, FORM_FIELD_MAP, SMART_SORT_BY_TRANSFORMER, SmartClampModule, SmartClampPipe, SmartExpModule, SmartExpPipe, SmartFieldModule, SmartFieldPipe, SmartSortByModule, SmartSortByPipe, YenModule, YenPipe, smartSortByTransformer };
|
|
302
|
-
//# sourceMappingURL=ng-atomic-common-pipes.
|
|
295
|
+
//# sourceMappingURL=ng-atomic-common-pipes.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-atomic-common-pipes.mjs","sources":["../../../../libs/common/pipes/domain/domain.pipe.ts","../../../../libs/common/pipes/domain/domain.module.ts","../../../../libs/common/pipes/smart-sort-by/smart-sort-by.pipe.ts","../../../../libs/common/pipes/smart-sort-by/smart-sort-by.module.ts","../../../../libs/common/pipes/smart-clamp/smart-clamp.pipe.ts","../../../../libs/common/pipes/smart-clamp/smart-clamp.module.ts","../../../../libs/common/pipes/smart-exp/smart-exp.pipe.ts","../../../../libs/common/pipes/smart-exp/smart-exp.module.ts","../../../../libs/common/pipes/smart-field/smart-field.pipe.ts","../../../../libs/common/pipes/smart-field/smart-field.module.ts","../../../../libs/common/pipes/yen/yen.pipe.ts","../../../../libs/common/pipes/yen/yen.module.ts","../../../../libs/common/pipes/ng-atomic-common-pipes.ts"],"sourcesContent":["import { Inject, InjectionToken, Optional, Pipe } from '@angular/core';\n\nexport type DomainLangMap = Record<string, string>;\nexport const DOMAIN_LANG_MAP = new InjectionToken<DomainLangMap>('domain lang map');\n\n@Pipe({\n name: 'D',\n pure: true,\n})\nexport class DomainPipe {\n constructor(@Optional() @Inject(DOMAIN_LANG_MAP) private map: DomainLangMap) {\n this.map ??= {};\n }\n\n transform(input: string) {\n return this.map?.[input] ?? input;\n }\n}\n\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { DomainPipe } from './domain.pipe';\n\n\n\n@NgModule({\n declarations: [\n DomainPipe\n ],\n imports: [\n CommonModule\n ],\n exports: [\n DomainPipe\n ]\n})\nexport class DomainModule { }\n","import { Inject, InjectionToken, Optional, Pipe, PipeTransform } from '@angular/core';\nimport { sortBy } from 'lodash';\n\nexport const SMART_SORT_BY_TRANSFORMER = new InjectionToken('[@ng-atomic/common] Smart Sort By Transformer');\nexport type SmartSortByTransformer = <T>(items: T[], key: string, order: 'asc' | 'desc') => T[];\nexport const smartSortByTransformer: SmartSortByTransformer = (items, key, order) => {\n return order === 'asc' ? sortBy(items, key) : sortBy(items, key).reverse();\n}\n\n@Pipe({\n name: 'smartSortBy',\n pure: true,\n})\nexport class SmartSortByPipe implements PipeTransform {\n\n constructor(\n @Optional()\n @Inject(SMART_SORT_BY_TRANSFORMER)\n private transformer?: SmartSortByTransformer,\n ) {\n this.transformer ??= smartSortByTransformer;\n }\n\n transform<T>(items: T[], key: string, order: 'asc' | 'desc' = 'asc'): T[] {\n return this.transformer(items, key, order);\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { SmartSortByPipe } from './smart-sort-by.pipe';\n\n\n\n@NgModule({\n declarations: [\n SmartSortByPipe\n ],\n imports: [\n CommonModule\n ],\n exports: [\n SmartSortByPipe\n ]\n})\nexport class SmartSortByModule { }\n","import { SlicePipe } from '@angular/common';\nimport { Inject, Optional, Pipe, PipeTransform } from '@angular/core';\nimport { EntitiesPageStore } from '@ng-atomic/common/store';\nimport { smartSortByTransformer, SmartSortByTransformer, SMART_SORT_BY_TRANSFORMER } from '../smart-sort-by';\n\n@Pipe({\n name: 'smartClamp',\n pure: false,\n})\nexport class SmartClampPipe implements PipeTransform {\n private slicePipe = new SlicePipe();\n private _input = null;\n private _output = [];\n\n constructor(\n @Optional()\n @Inject(SMART_SORT_BY_TRANSFORMER)\n private transformer?: SmartSortByTransformer,\n ) {\n this.transformer ??= smartSortByTransformer;\n }\n\n transform<T>(items: T[], store: EntitiesPageStore<any, any>): T[] {\n const input = {\n items, \n sortKey: store.sortKey, \n sortOrder: store.sortOrder, \n start: store.page.start,\n end: store.page.end,\n };\n \n if (JSON.stringify(input) === JSON.stringify(this._input)) {\n return this._output;\n }\n\n this._input = input;\n items = this.transformer(items, store?.sortKey, store?.sortOrder as 'asc' | 'desc');\n items = this.slicePipe.transform(items, store.page.start, store.page.end);\n return this._output = items;\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { SmartClampPipe } from './smart-clamp.pipe';\n\n\n\n@NgModule({\n declarations: [\n SmartClampPipe\n ],\n imports: [\n CommonModule,\n ],\n exports: [\n SmartClampPipe\n ]\n})\nexport class SmartClampModule { }\n","import { Inject, Optional, Pipe } from '@angular/core';\nimport dayjs from 'dayjs';\nimport { SMART_EXP_TRANSFORMER, smartExpTransformer, SmartExpTransformer } from '@ng-atomic/common/utils';\n\n@Pipe({\n name: 'smartExp',\n pure: true,\n})\nexport class SmartExpPipe {\n constructor(\n @Optional() @Inject(SMART_EXP_TRANSFORMER) private transformer: SmartExpTransformer\n ) {\n this.transformer ??= smartExpTransformer;\n }\n\n transform(input: string | number | dayjs.Dayjs | any, key?: string): string {\n return this.transformer(input, key);\n }\n}","import { NgModule } from \"@angular/core\";\nimport { SmartExpPipe } from \"./smart-exp.pipe\";\n\n@NgModule({\n declarations: [SmartExpPipe],\n exports: [SmartExpPipe]\n})\nexport class SmartExpModule { }","import { Inject, InjectionToken, Optional, Pipe, PipeTransform } from '@angular/core';\n\ninterface Option<T> {\n name: string;\n value: T;\n}\n\ninterface InputField {\n type: 'input';\n}\n\ninterface DateInputField {\n type: 'date';\n}\n\ninterface SelectField<T> {\n type: 'select';\n options: Option<T>[];\n}\n\ninterface MultiSelectField<T> {\n type: 'multi-select';\n options: Option<T>[];\n}\n\ntype FormField<V> = InputField\n | DateInputField\n | SelectField<V>\n | MultiSelectField<V>;\n\nexport type FormFieldMap = Record<string, FormField<any>>;\n\nexport const FORM_FIELD_MAP = new InjectionToken<FormFieldMap>('[@ng-atomic] Smart Form Field');\n\n@Pipe({\n name: 'smartField',\n pure: true,\n})\nexport class SmartFieldPipe implements PipeTransform {\n\n constructor(\n @Optional() @Inject(FORM_FIELD_MAP) private map: Record<string, FormField<any>>\n ) {\n this.map ??= {\n createdAt: { type: 'date' },\n updatedAt: { type: 'date' },\n deletedAt: { type: 'date' },\n };\n }\n\n transform(key: string): FormField<any> {\n return this.map[key] ?? {type: 'input'};\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { SmartFieldPipe } from './smart-field.pipe';\n\n\n\n@NgModule({\n declarations: [\n SmartFieldPipe\n ],\n imports: [\n CommonModule\n ],\n exports: [\n SmartFieldPipe\n ]\n})\nexport class SmartFieldModule { }\n","import { Pipe, PipeTransform } from '@angular/core';\nimport { yenTransform } from '@ng-atomic/common/utils';\n\n@Pipe({\n name: 'yen'\n})\nexport class YenPipe implements PipeTransform {\n\n transform(value: number, _unit?: string): string {\n return yenTransform(value, _unit);\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { YenPipe } from './yen.pipe';\n\n\n\n@NgModule({\n declarations: [\n YenPipe\n ],\n imports: [\n CommonModule\n ],\n exports: [\n YenPipe\n ]\n})\nexport class YenModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAGa,eAAe,GAAG,IAAI,cAAc,CAAgB,iBAAiB,EAAE;MAMvE,UAAU,CAAA;AACrB,IAAA,WAAA,CAAyD,GAAkB,EAAA;QAAlB,IAAG,CAAA,GAAA,GAAH,GAAG,CAAe;QACzE,IAAI,CAAC,GAAG,KAAR,IAAI,CAAC,GAAG,GAAK,EAAE,CAAC,CAAA;KACjB;AAED,IAAA,SAAS,CAAC,KAAa,EAAA;QACrB,OAAO,IAAI,CAAC,GAAG,GAAG,KAAK,CAAC,IAAI,KAAK,CAAC;KACnC;;AAPU,UAAA,CAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAU,kBACW,eAAe,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA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