@react-pakistan/util-functions 1.25.90 → 2.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/README.md +74 -315
- package/constants/api-methods.d.ts +3 -1
- package/constants/api-methods.js +1 -15
- package/constants/cache-time.d.ts +7 -5
- package/constants/cache-time.js +1 -8
- package/constants/countries-timezones.d.ts +4 -2
- package/constants/countries-timezones.js +1 -1411
- package/constants/currencies.d.ts +4 -2
- package/constants/currencies.js +1 -1076
- package/constants/dial-codes.d.ts +5 -3
- package/constants/dial-codes.js +1 -1216
- package/constants/layout-direction.d.ts +3 -1
- package/constants/layout-direction.js +1 -8
- package/constants/react-pakistan-meta.d.ts +4 -2
- package/constants/react-pakistan-meta.js +1 -35
- package/constants/react-pakistan.d.ts +5 -3
- package/constants/react-pakistan.js +12 -104
- package/constants/select-value-delimiter.d.ts +3 -1
- package/constants/select-value-delimiter.js +1 -13
- package/constants/social-media-colors.d.ts +3 -1
- package/constants/social-media-colors.js +1 -42
- package/constants/social-media-sizes.d.ts +6 -4
- package/constants/social-media-sizes.js +1 -327
- package/constants/user-roles.d.ts +3 -1
- package/constants/user-roles.js +1 -9
- package/edu-pilot-pro/types/academics.d.ts +2 -266
- package/edu-pilot-pro/types/academics.js +1 -9
- package/edu-pilot-pro/types/admission.d.ts +803 -10
- package/edu-pilot-pro/types/admission.js +1 -7
- package/edu-pilot-pro/types/communication.d.ts +2 -165
- package/edu-pilot-pro/types/communication.js +1 -8
- package/edu-pilot-pro/types/enums.d.ts +30 -28
- package/edu-pilot-pro/types/enums.js +1 -445
- package/edu-pilot-pro/types/finance.d.ts +2 -128
- package/edu-pilot-pro/types/finance.js +1 -8
- package/edu-pilot-pro/types/index.d.ts +2 -12
- package/edu-pilot-pro/types/index.js +1 -28
- package/edu-pilot-pro/types/user-management.d.ts +2 -236
- package/edu-pilot-pro/types/user-management.js +1 -8
- package/factory/generic-component-factory.d.ts +12 -9
- package/factory/generic-component-factory.js +1 -131
- package/factory/generic-module-factory.d.ts +14 -10
- package/factory/generic-module-factory.js +1 -190
- package/general/basic-get.d.ts +8 -1
- package/general/basic-get.js +1 -83
- package/general/basic-post.d.ts +8 -1
- package/general/basic-post.js +1 -70
- package/general/calculate-pages.d.ts +9 -1
- package/general/calculate-pages.js +1 -7
- package/general/camel-to-sentence-case.d.ts +3 -1
- package/general/camel-to-sentence-case.js +1 -20
- package/general/check-even-odd-length.d.ts +3 -1
- package/general/check-even-odd-length.js +1 -17
- package/general/clear-cache.d.ts +7 -2
- package/general/clear-cache.js +1 -12
- package/general/cnic-formatter.d.ts +16 -3
- package/general/cnic-formatter.js +1 -53
- package/general/convert-url-to-base64.d.ts +8 -6
- package/general/convert-url-to-base64.js +1 -231
- package/general/countries.d.ts +5 -3
- package/general/countries.js +1 -514
- package/general/create-date.d.ts +3 -1
- package/general/create-date.js +1 -22
- package/general/crypto.d.ts +4 -2
- package/general/crypto.js +1 -45
- package/general/currencies.d.ts +2 -0
- package/general/currencies.js +0 -1077
- package/general/delete-image-from-private-supabase.d.ts +10 -2
- package/general/delete-image-from-private-supabase.js +1 -66
- package/general/delete-image-from-public-supabase.d.ts +10 -2
- package/general/delete-image-from-public-supabase.js +1 -66
- package/general/download-from-url.d.ts +8 -1
- package/general/download-from-url.js +1 -82
- package/general/dynamic-page-limit.d.ts +9 -3
- package/general/dynamic-page-limit.js +1 -7
- package/general/enum-to-text.d.ts +8 -1
- package/general/enum-to-text.js +1 -11
- package/general/fetch-data.d.ts +16 -4
- package/general/fetch-data.js +1 -95
- package/general/fetch-supabase-image.d.ts +11 -2
- package/general/fetch-supabase-image.js +1 -67
- package/general/fetch-supabase-private-assets.d.ts +11 -2
- package/general/fetch-supabase-private-assets.js +1 -69
- package/general/format-date.d.ts +10 -2
- package/general/format-date.js +1 -49
- package/general/format-number.d.ts +12 -2
- package/general/format-number.js +1 -35
- package/general/format-phone-display.d.ts +9 -1
- package/general/format-phone-display.js +1 -32
- package/general/format-phone.d.ts +10 -2
- package/general/format-phone.js +1 -20
- package/general/format-pricing.d.ts +8 -1
- package/general/format-pricing.js +1 -23
- package/general/format-secs.d.ts +8 -1
- package/general/format-secs.js +1 -21
- package/general/format-time.d.ts +8 -2
- package/general/format-time.js +1 -38
- package/general/format-value.d.ts +8 -1
- package/general/format-value.js +1 -7
- package/general/full-month-range.d.ts +3 -2
- package/general/full-month-range.js +1 -24
- package/general/full-year-range.d.ts +3 -2
- package/general/full-year-range.js +1 -20
- package/general/generate-article-schema.d.ts +3 -2
- package/general/generate-article-schema.js +1 -100
- package/general/generate-blog-schema.d.ts +3 -2
- package/general/generate-blog-schema.js +1 -32
- package/general/generate-book-schema.d.ts +3 -2
- package/general/generate-book-schema.js +1 -109
- package/general/generate-breadcrumb-schema.d.ts +3 -2
- package/general/generate-breadcrumb-schema.js +1 -34
- package/general/generate-carousel-schema.d.ts +3 -2
- package/general/generate-carousel-schema.js +1 -172
- package/general/generate-course-schema.d.ts +3 -2
- package/general/generate-course-schema.js +1 -124
- package/general/generate-dataset-schema.d.ts +3 -2
- package/general/generate-dataset-schema.js +1 -156
- package/general/generate-discussion-forum-schema.d.ts +3 -2
- package/general/generate-discussion-forum-schema.js +1 -67
- package/general/generate-education-schema.d.ts +3 -2
- package/general/generate-education-schema.js +1 -137
- package/general/generate-employer-aggregate-rating-schema.d.ts +3 -2
- package/general/generate-employer-aggregate-rating-schema.js +1 -64
- package/general/generate-event-schema.d.ts +3 -2
- package/general/generate-event-schema.js +1 -214
- package/general/generate-faq-schema.d.ts +3 -2
- package/general/generate-faq-schema.js +1 -43
- package/general/generate-grid.d.ts +3 -2
- package/general/generate-grid.js +1 -55
- package/general/generate-image-metadata-schema.d.ts +3 -2
- package/general/generate-image-metadata-schema.js +1 -73
- package/general/generate-job-posting-schema.d.ts +3 -2
- package/general/generate-job-posting-schema.js +1 -120
- package/general/generate-local-business-schema.d.ts +3 -2
- package/general/generate-local-business-schema.js +1 -75
- package/general/generate-math-solver-schema.d.ts +3 -2
- package/general/generate-math-solver-schema.js +1 -83
- package/general/generate-movie-carousel-schema.d.ts +3 -2
- package/general/generate-movie-carousel-schema.js +1 -160
- package/general/generate-organization-schema.d.ts +3 -2
- package/general/generate-organization-schema.js +1 -39
- package/general/generate-profile-page-schema.d.ts +3 -2
- package/general/generate-profile-page-schema.js +1 -82
- package/general/generate-qa-page-schema.d.ts +3 -2
- package/general/generate-qa-page-schema.js +1 -67
- package/general/generate-recipe-schema.d.ts +3 -2
- package/general/generate-recipe-schema.js +1 -104
- package/general/generate-ref.d.ts +8 -2
- package/general/generate-ref.js +1 -12
- package/general/generate-review-snippet-schema.d.ts +3 -2
- package/general/generate-review-snippet-schema.js +1 -137
- package/general/generate-shopping-loyalty-program-schema.d.ts +3 -2
- package/general/generate-shopping-loyalty-program-schema.js +1 -59
- package/general/generate-shopping-merchant-listing-schema.d.ts +3 -2
- package/general/generate-shopping-merchant-listing-schema.js +1 -153
- package/general/generate-shopping-merchant-return-policy-schema.d.ts +3 -2
- package/general/generate-shopping-merchant-return-policy-schema.js +1 -68
- package/general/generate-shopping-merchant-shipping-policy-schema.d.ts +3 -2
- package/general/generate-shopping-merchant-shipping-policy-schema.js +1 -74
- package/general/generate-shopping-overview-schema.d.ts +3 -2
- package/general/generate-shopping-overview-schema.js +1 -157
- package/general/generate-shopping-product-snippet-schema.d.ts +3 -2
- package/general/generate-shopping-product-snippet-schema.js +1 -167
- package/general/generate-shopping-variants-schema.d.ts +3 -2
- package/general/generate-shopping-variants-schema.js +1 -143
- package/general/generate-software-app-schema.d.ts +3 -2
- package/general/generate-software-app-schema.js +1 -143
- package/general/generate-speakable-schema.d.ts +3 -2
- package/general/generate-speakable-schema.js +1 -139
- package/general/generate-subscription-schema.d.ts +3 -2
- package/general/generate-subscription-schema.js +1 -133
- package/general/generate-vacation-rental-schema.d.ts +3 -2
- package/general/generate-vacation-rental-schema.js +1 -135
- package/general/generate-video-schema.d.ts +3 -2
- package/general/generate-video-schema.js +1 -163
- package/general/generic-cache.d.ts +17 -15
- package/general/generic-cache.js +1 -659
- package/general/get-available-page-limit.d.ts +8 -2
- package/general/get-available-page-limit.js +1 -31
- package/general/get-calendar-current-month.d.ts +11 -3
- package/general/get-calendar-current-month.js +1 -31
- package/general/get-calendar-dates.d.ts +11 -3
- package/general/get-calendar-dates.js +1 -42
- package/general/get-calendar-next-month.d.ts +12 -3
- package/general/get-calendar-next-month.js +1 -32
- package/general/get-calendar-previous-month.d.ts +12 -3
- package/general/get-calendar-previous-month.js +1 -36
- package/general/get-current-year.d.ts +7 -1
- package/general/get-current-year.js +1 -5
- package/general/get-day-name.d.ts +5 -3
- package/general/get-day-name.js +1 -14
- package/general/get-dial-code.d.ts +8 -1
- package/general/get-dial-code.js +1 -8
- package/general/get-full-name.d.ts +9 -2
- package/general/get-full-name.js +1 -8
- package/general/get-href.d.ts +3 -1
- package/general/get-href.js +1 -13
- package/general/get-month-name.d.ts +5 -3
- package/general/get-month-name.js +1 -19
- package/general/get-month-number.d.ts +5 -3
- package/general/get-month-number.js +1 -29
- package/general/get-number-of-days-in-month.d.ts +9 -2
- package/general/get-number-of-days-in-month.js +1 -12
- package/general/get-pathname.d.ts +3 -1
- package/general/get-pathname.js +1 -16
- package/general/get-week-day.d.ts +8 -1
- package/general/get-week-day.js +1 -9
- package/general/image-url-to-base64.d.ts +3 -1
- package/general/image-url-to-base64.js +1 -80
- package/general/is-created-or-updated.d.ts +3 -1
- package/general/is-created-or-updated.js +1 -26
- package/general/is-next-button-disabled.d.ts +9 -1
- package/general/is-next-button-disabled.js +1 -5
- package/general/is-odd.d.ts +3 -1
- package/general/is-odd.js +1 -13
- package/general/is-previous-button-disabled.d.ts +8 -1
- package/general/is-previous-button-disabled.js +1 -7
- package/general/linear-gradients.d.ts +4 -2
- package/general/linear-gradients.js +1 -52
- package/general/multi-part-search.d.ts +10 -2
- package/general/multi-part-search.js +1 -16
- package/general/normalize-phone.d.ts +15 -2
- package/general/normalize-phone.js +1 -40
- package/general/parse-frontmatter.d.ts +11 -4
- package/general/parse-frontmatter.js +2 -35
- package/general/remove-data-image-prefix.d.ts +8 -1
- package/general/remove-data-image-prefix.js +1 -7
- package/general/repeat-times.d.ts +3 -1
- package/general/repeat-times.js +1 -21
- package/general/resolve-anchor-link.d.ts +3 -1
- package/general/resolve-anchor-link.js +1 -26
- package/general/resolve-current-date.d.ts +3 -1
- package/general/resolve-current-date.js +1 -22
- package/general/resolve-grid.d.ts +3 -1
- package/general/resolve-grid.js +1 -18
- package/general/resolve-initials.d.ts +3 -1
- package/general/resolve-initials.js +1 -17
- package/general/set-timezone.d.ts +11 -1
- package/general/set-timezone.js +1 -12
- package/general/slugify.d.ts +3 -1
- package/general/slugify.js +1 -24
- package/general/text-to-enum.d.ts +8 -1
- package/general/text-to-enum.js +1 -10
- package/general/text-to-sentence-case.d.ts +3 -1
- package/general/text-to-sentence-case.js +1 -16
- package/general/time-out.d.ts +3 -1
- package/general/time-out.js +1 -16
- package/general/time-zones.d.ts +3 -1
- package/general/time-zones.js +1 -437
- package/general/truncate-text.d.ts +3 -1
- package/general/truncate-text.js +1 -18
- package/general/type.d.ts +3 -1
- package/general/type.js +1 -2
- package/general/upload-blob-to-private-supabase.d.ts +14 -2
- package/general/upload-blob-to-private-supabase.js +1 -62
- package/general/upload-blob-to-public-supabase.d.ts +14 -2
- package/general/upload-blob-to-public-supabase.js +1 -62
- package/general/upload-image-to-private-supabase.d.ts +15 -3
- package/general/upload-image-to-private-supabase.js +1 -66
- package/general/upload-image-to-public-supabase.d.ts +15 -3
- package/general/upload-image-to-public-supabase.js +1 -66
- package/general/url-to-sentence-case.d.ts +3 -1
- package/general/url-to-sentence-case.js +1 -19
- package/general/validate-comment.d.ts +3 -1
- package/general/validate-comment.js +1 -21
- package/general/validate-email.d.ts +3 -1
- package/general/validate-email.js +1 -24
- package/general/validate-form.d.ts +12 -3
- package/general/validate-form.js +1 -29
- package/general/validate-name.d.ts +3 -1
- package/general/validate-name.js +1 -21
- package/hooks/use-change.d.ts +11 -2
- package/hooks/use-change.js +1 -23
- package/hooks/use-debounce.d.ts +10 -1
- package/hooks/use-debounce.js +1 -14
- package/hooks/use-fetch.d.ts +7 -5
- package/hooks/use-fetch.js +1 -239
- package/hooks/use-force-render.d.ts +6 -2
- package/hooks/use-force-render.js +1 -17
- package/hooks/use-ip-geo-location.d.ts +8 -1
- package/hooks/use-ip-geo-location.js +1 -79
- package/hooks/use-is-mobile.d.ts +8 -1
- package/hooks/use-is-mobile.js +1 -22
- package/hooks/use-module-entity-v2.d.ts +7 -4
- package/hooks/use-module-entity-v2.js +1 -188
- package/hooks/use-module-entity.d.ts +7 -4
- package/hooks/use-module-entity.js +1 -177
- package/hooks/use-phone-formatter.d.ts +10 -2
- package/hooks/use-phone-formatter.js +1 -23
- package/hooks/use-position.d.ts +6 -3
- package/hooks/use-position.js +1 -43
- package/hooks/use-rtl.d.ts +4 -2
- package/hooks/use-rtl.js +1 -84
- package/hooks/use-sticky.d.ts +3 -1
- package/hooks/use-sticky.js +1 -39
- package/hooks/use-toggle-state.d.ts +3 -2
- package/hooks/use-toggle-state.js +1 -26
- package/hooks/use-window-event-listener.d.ts +9 -1
- package/hooks/use-window-event-listener.js +1 -11
- package/hooks/with-seo.d.ts +11 -2
- package/hooks/with-seo.js +1 -37
- package/local-storage/get-storage-value.d.ts +5 -2
- package/local-storage/get-storage-value.js +1 -20
- package/local-storage/remove-storage-value.d.ts +3 -1
- package/local-storage/remove-storage-value.js +1 -14
- package/local-storage/set-storage-value.d.ts +3 -1
- package/local-storage/set-storage-value.js +1 -14
- package/local-storage/type.d.ts +3 -1
- package/local-storage/type.js +1 -2
- package/npm.d.d.ts +2 -0
- package/npm.d.js +0 -0
- package/package.json +20 -18
- package/storybook/generate-sitemap.d.ts +3 -1
- package/storybook/generate-sitemap.js +17 -26
- package/storybook/preview.d.ts +4 -2
- package/storybook/preview.js +1 -62
- package/storybook/react-design-story-script.d.ts +3 -1
- package/storybook/react-design-story-script.js +5 -27
- package/storybook/react-emoji-collection.d.ts +3 -1
- package/storybook/react-emoji-collection.js +10 -55
- package/storybook/react-emoji-story-script.d.ts +3 -1
- package/storybook/react-emoji-story-script.js +5 -31
- package/storybook/react-emoji-story-template.d.ts +3 -1
- package/storybook/react-emoji-story-template.js +45 -15
- package/storybook/react-icon-collection.d.ts +3 -1
- package/storybook/react-icon-collection.js +10 -42
- package/storybook/react-icon-story-script.d.ts +3 -1
- package/storybook/react-icon-story-script.js +5 -27
- package/storybook/react-icon-story-template.d.ts +3 -1
- package/storybook/react-icon-story-template.js +45 -14
- package/storybook/react-logo-collection.d.ts +3 -1
- package/storybook/react-logo-collection.js +10 -42
- package/storybook/react-logo-story-script.d.ts +3 -1
- package/storybook/react-logo-story-script.js +5 -27
- package/storybook/react-logo-story-template.d.ts +3 -1
- package/storybook/react-logo-story-template.js +45 -14
- package/storybook/react-pakistan-theme.d.ts +3 -1
- package/storybook/react-pakistan-theme.js +1 -31
- package/storybook/responsive-args.d.ts +11 -10
- package/storybook/responsive-args.js +1 -19
- package/storybook/responsive-component.d.ts +4 -2
- package/storybook/responsive-component.js +37 -23
- package/storybook/responsive-screens.d.ts +3 -1
- package/storybook/responsive-screens.js +1 -109
- package/storybook/theme.d.ts +17 -15
- package/storybook/theme.js +1 -1022
- package/api/stellar-solutions/app-user/index.d.ts +0 -51
- package/api/stellar-solutions/app-user/index.js +0 -210
- package/api/stellar-solutions/bank/index.d.ts +0 -59
- package/api/stellar-solutions/bank/index.js +0 -210
- package/api/stellar-solutions/branch/index.d.ts +0 -58
- package/api/stellar-solutions/branch/index.js +0 -220
- package/api/stellar-solutions/company/index.d.ts +0 -57
- package/api/stellar-solutions/company/index.js +0 -218
- package/api/stellar-solutions/company-report/index.d.ts +0 -15
- package/api/stellar-solutions/company-report/index.js +0 -74
- package/api/stellar-solutions/constants.d.ts +0 -19
- package/api/stellar-solutions/constants.js +0 -22
- package/api/stellar-solutions/contact/index.d.ts +0 -56
- package/api/stellar-solutions/contact/index.js +0 -217
- package/api/stellar-solutions/currency/index.d.ts +0 -55
- package/api/stellar-solutions/currency/index.js +0 -212
- package/api/stellar-solutions/customer/index.d.ts +0 -68
- package/api/stellar-solutions/customer/index.js +0 -249
- package/api/stellar-solutions/expense/index.d.ts +0 -58
- package/api/stellar-solutions/expense/index.js +0 -229
- package/api/stellar-solutions/expense-category/index.d.ts +0 -53
- package/api/stellar-solutions/expense-category/index.js +0 -214
- package/api/stellar-solutions/lead/index.d.ts +0 -51
- package/api/stellar-solutions/lead/index.js +0 -206
- package/api/stellar-solutions/menu-order/index.d.ts +0 -53
- package/api/stellar-solutions/menu-order/index.js +0 -202
- package/api/stellar-solutions/payment/index.d.ts +0 -65
- package/api/stellar-solutions/payment/index.js +0 -230
- package/api/stellar-solutions/payment-mode/index.d.ts +0 -53
- package/api/stellar-solutions/payment-mode/index.js +0 -191
- package/api/stellar-solutions/preference/index.d.ts +0 -25
- package/api/stellar-solutions/preference/index.js +0 -114
- package/api/stellar-solutions/product/index.d.ts +0 -64
- package/api/stellar-solutions/product/index.js +0 -235
- package/api/stellar-solutions/product-category/index.d.ts +0 -51
- package/api/stellar-solutions/product-category/index.js +0 -212
- package/api/stellar-solutions/profile/index.d.ts +0 -78
- package/api/stellar-solutions/profile/index.js +0 -234
- package/api/stellar-solutions/quote-invoice/index.d.ts +0 -97
- package/api/stellar-solutions/quote-invoice/index.js +0 -369
- package/api/stellar-solutions/quote-invoice-report/index.d.ts +0 -15
- package/api/stellar-solutions/quote-invoice-report/index.js +0 -74
- package/api/stellar-solutions/tax/index.d.ts +0 -55
- package/api/stellar-solutions/tax/index.js +0 -224
- package/api/stellar-solutions/types/common.d.ts +0 -24
- package/api/stellar-solutions/types/common.js +0 -22
- package/api/stellar-solutions/types/erp.d.ts +0 -302
- package/api/stellar-solutions/types/erp.js +0 -73
- package/api/stellar-solutions/types/index.d.ts +0 -3
- package/api/stellar-solutions/types/index.js +0 -19
- package/api/stellar-solutions/types/pos.d.ts +0 -176
- package/api/stellar-solutions/types/pos.js +0 -61
- package/constants/index.d.ts +0 -12
- package/constants/index.js +0 -28
- package/factory/index.d.ts +0 -2
- package/factory/index.js +0 -18
- package/general/index.d.ts +0 -95
- package/general/index.js +0 -111
- package/index.d.ts +0 -28
- package/index.js +0 -44
- package/local-storage/index.d.ts +0 -4
- package/local-storage/index.js +0 -20
- package/setupTests.d.ts +0 -1
- package/setupTests.js +0 -52
- package/storybook/index.d.ts +0 -17
- package/storybook/index.js +0 -33
package/general/set-timezone.js
CHANGED
|
@@ -1,12 +1 @@
|
|
|
1
|
-
"
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.setTimezone = void 0;
|
|
7
|
-
var date_fns_tz_1 = require("date-fns-tz");
|
|
8
|
-
var lodash_curry_1 = __importDefault(require("lodash.curry"));
|
|
9
|
-
exports.setTimezone = (0, lodash_curry_1.default)(function (date, timezone) {
|
|
10
|
-
if (timezone === void 0) { timezone = 'Asia/Karachi'; }
|
|
11
|
-
return (0, date_fns_tz_1.utcToZonedTime)(date, timezone);
|
|
12
|
-
});
|
|
1
|
+
var s=Object.create;var i=Object.defineProperty;var D=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var f=Object.getPrototypeOf,p=Object.prototype.hasOwnProperty;var u=(e,t)=>{for(var o in t)i(e,o,{get:t[o],enumerable:!0})},m=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of d(t))!p.call(e,r)&&r!==o&&i(e,r,{get:()=>t[r],enumerable:!(a=D(t,r))||a.enumerable});return e};var T=(e,t,o)=>(o=e!=null?s(f(e)):{},m(t||!e||!e.__esModule?i(o,"default",{value:e,enumerable:!0}):o,e)),g=e=>m(i({},"__esModule",{value:!0}),e);var x={};u(x,{setTimezone:()=>h});module.exports=g(x);var n=require("date-fns-tz"),c=T(require("lodash.curry"));const h=(0,c.default)((e,t="Asia/Karachi")=>(0,n.utcToZonedTime)(e,t));0&&(module.exports={setTimezone});
|
package/general/slugify.d.ts
CHANGED
package/general/slugify.js
CHANGED
|
@@ -1,24 +1 @@
|
|
|
1
|
-
"
|
|
2
|
-
/**
|
|
3
|
-
* A util function to convert blog titles into web url slugs
|
|
4
|
-
*
|
|
5
|
-
* @params string
|
|
6
|
-
* @returns string
|
|
7
|
-
* @author Taimoor Khan
|
|
8
|
-
* @remarks AppCorpAgency
|
|
9
|
-
*/
|
|
10
|
-
/** End file docs */
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.slugify = void 0;
|
|
13
|
-
var slugify = function (str) {
|
|
14
|
-
return str
|
|
15
|
-
.replaceAll(/[’|&;$%@"<>/()+,:?]/gm, '')
|
|
16
|
-
.normalize('NFD') // normalize accented characters
|
|
17
|
-
.replace(/[\u0300-\u036f]/g, '') // remove accents
|
|
18
|
-
.replace(/[^a-zA-Z0-9\s-]/g, '') // remove special chars except spaces & hyphens
|
|
19
|
-
.trim() // trim leading/trailing spaces
|
|
20
|
-
.replace(/\s+/g, '-') // replace spaces with -
|
|
21
|
-
.replace(/-+/g, '-') // collapse multiple hyphens
|
|
22
|
-
.toLowerCase();
|
|
23
|
-
};
|
|
24
|
-
exports.slugify = slugify;
|
|
1
|
+
var g=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var t=Object.prototype.hasOwnProperty;var i=(e,r)=>{for(var a in r)g(e,a,{get:r[a],enumerable:!0})},o=(e,r,a,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let l of p(r))!t.call(e,l)&&l!==a&&g(e,l,{get:()=>r[l],enumerable:!(s=c(r,l))||s.enumerable});return e};var n=e=>o(g({},"__esModule",{value:!0}),e);var u={};i(u,{slugify:()=>m});module.exports=n(u);const m=e=>e.replaceAll(/[’|&;$%@"<>/()+,:?]/gm,"").normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^a-zA-Z0-9\s-]/g,"").trim().replace(/\s+/g,"-").replace(/-+/g,"-").toLowerCase();0&&(module.exports={slugify});
|
|
@@ -1 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Converts space-separated text to SCREAMING_SNAKE_CASE.
|
|
3
|
+
* @param text - The text to convert.
|
|
4
|
+
* @returns The enum-style string.
|
|
5
|
+
*/
|
|
6
|
+
declare const textToEnum: (text: string) => string;
|
|
7
|
+
|
|
8
|
+
export { textToEnum };
|
package/general/text-to-enum.js
CHANGED
|
@@ -1,10 +1 @@
|
|
|
1
|
-
"
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.textToEnum = void 0;
|
|
4
|
-
var textToEnum = function (text) {
|
|
5
|
-
return text
|
|
6
|
-
.split(' ')
|
|
7
|
-
.map(function (item) { return item.toUpperCase(); })
|
|
8
|
-
.join('_');
|
|
9
|
-
};
|
|
10
|
-
exports.textToEnum = textToEnum;
|
|
1
|
+
var s=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var g=(n,t)=>{for(var p in t)s(n,p,{get:t[p],enumerable:!0})},m=(n,t,p,e)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of r(t))!a.call(n,o)&&o!==p&&s(n,o,{get:()=>t[o],enumerable:!(e=i(t,o))||e.enumerable});return n};var x=n=>m(s({},"__esModule",{value:!0}),n);var j={};g(j,{textToEnum:()=>c});module.exports=x(j);const c=n=>n.split(" ").map(t=>t.toUpperCase()).join("_");0&&(module.exports={textToEnum});
|
|
@@ -1,16 +1 @@
|
|
|
1
|
-
"
|
|
2
|
-
/**
|
|
3
|
-
* A util function to convert url into sentence case
|
|
4
|
-
*
|
|
5
|
-
* @param str - string provided to convert url into sentence case - taimoorKhan
|
|
6
|
-
* @returns string in sentence case - Taimoor Khan
|
|
7
|
-
* @author Taimoor Khan
|
|
8
|
-
* @remarks
|
|
9
|
-
*/
|
|
10
|
-
/** End file docs */
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.textToSentenceCase = void 0;
|
|
13
|
-
var textToSentenceCase = function (text) {
|
|
14
|
-
return text.charAt(0).toUpperCase() + text.slice(1);
|
|
15
|
-
};
|
|
16
|
-
exports.textToSentenceCase = textToSentenceCase;
|
|
1
|
+
var r=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var p=(e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0})},g=(e,t,n,c)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of a(t))!i.call(e,s)&&s!==n&&r(e,s,{get:()=>t[s],enumerable:!(c=o(t,s))||c.enumerable});return e};var C=e=>g(r({},"__esModule",{value:!0}),e);var l={};p(l,{textToSentenceCase:()=>h});module.exports=C(l);const h=e=>e.charAt(0).toUpperCase()+e.slice(1);0&&(module.exports={textToSentenceCase});
|
package/general/time-out.d.ts
CHANGED
package/general/time-out.js
CHANGED
|
@@ -1,16 +1 @@
|
|
|
1
|
-
"
|
|
2
|
-
/**
|
|
3
|
-
* Returns a promisified setTimeout that can be awaited
|
|
4
|
-
* await timeout(500);
|
|
5
|
-
*
|
|
6
|
-
* @returns Promise
|
|
7
|
-
* @author
|
|
8
|
-
* @remarks
|
|
9
|
-
*/
|
|
10
|
-
/** End file docs */
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.timeout = void 0;
|
|
13
|
-
var timeout = function (ms) {
|
|
14
|
-
return new Promise(function (resolve) { return setTimeout(resolve, ms); });
|
|
15
|
-
};
|
|
16
|
-
exports.timeout = timeout;
|
|
1
|
+
var m=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var u=Object.prototype.hasOwnProperty;var P=(o,e)=>{for(var i in e)m(o,i,{get:e[i],enumerable:!0})},b=(o,e,i,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of n(e))!u.call(o,t)&&t!==i&&m(o,t,{get:()=>e[t],enumerable:!(r=s(e,t))||r.enumerable});return o};var c=o=>b(m({},"__esModule",{value:!0}),o);var p={};P(p,{timeout:()=>d});module.exports=c(p);const d=o=>new Promise(e=>setTimeout(e,o));0&&(module.exports={timeout});
|
package/general/time-zones.d.ts
CHANGED
package/general/time-zones.js
CHANGED
|
@@ -1,437 +1 @@
|
|
|
1
|
-
"
|
|
2
|
-
/**
|
|
3
|
-
* A util library of worldwide timezones
|
|
4
|
-
*
|
|
5
|
-
* @returns Array of all time zones
|
|
6
|
-
* @author Taimoor Khan
|
|
7
|
-
* @remarks
|
|
8
|
-
*/
|
|
9
|
-
/** End file docs */
|
|
10
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.timeZones = void 0;
|
|
12
|
-
exports.timeZones = [
|
|
13
|
-
'Africa/Abidjan',
|
|
14
|
-
'Africa/Accra',
|
|
15
|
-
'Africa/Addis_Ababa',
|
|
16
|
-
'Africa/Algiers',
|
|
17
|
-
'Africa/Asmara',
|
|
18
|
-
'Africa/Bamako',
|
|
19
|
-
'Africa/Bangui',
|
|
20
|
-
'Africa/Banjul',
|
|
21
|
-
'Africa/Bissau',
|
|
22
|
-
'Africa/Blantyre',
|
|
23
|
-
'Africa/Brazzaville',
|
|
24
|
-
'Africa/Bujumbura',
|
|
25
|
-
'Africa/Cairo',
|
|
26
|
-
'Africa/Casablanca',
|
|
27
|
-
'Africa/Ceuta',
|
|
28
|
-
'Africa/Conakry',
|
|
29
|
-
'Africa/Dakar',
|
|
30
|
-
'Africa/Dar_es_Salaam',
|
|
31
|
-
'Africa/Djibouti',
|
|
32
|
-
'Africa/Douala',
|
|
33
|
-
'Africa/El_Aaiun',
|
|
34
|
-
'Africa/Freetown',
|
|
35
|
-
'Africa/Gaborone',
|
|
36
|
-
'Africa/Harare',
|
|
37
|
-
'Africa/Johannesburg',
|
|
38
|
-
'Africa/Juba',
|
|
39
|
-
'Africa/Kampala',
|
|
40
|
-
'Africa/Khartoum',
|
|
41
|
-
'Africa/Kigali',
|
|
42
|
-
'Africa/Kinshasa',
|
|
43
|
-
'Africa/Lagos',
|
|
44
|
-
'Africa/Libreville',
|
|
45
|
-
'Africa/Lome',
|
|
46
|
-
'Africa/Luanda',
|
|
47
|
-
'Africa/Lubumbashi',
|
|
48
|
-
'Africa/Lusaka',
|
|
49
|
-
'Africa/Malabo',
|
|
50
|
-
'Africa/Maputo',
|
|
51
|
-
'Africa/Maseru',
|
|
52
|
-
'Africa/Mbabane',
|
|
53
|
-
'Africa/Mogadishu',
|
|
54
|
-
'Africa/Monrovia',
|
|
55
|
-
'Africa/Nairobi',
|
|
56
|
-
'Africa/Ndjamena',
|
|
57
|
-
'Africa/Niamey',
|
|
58
|
-
'Africa/Nouakchott',
|
|
59
|
-
'Africa/Ouagadougou',
|
|
60
|
-
'Africa/Porto-Novo',
|
|
61
|
-
'Africa/Sao_Tome',
|
|
62
|
-
'Africa/Tripoli',
|
|
63
|
-
'Africa/Tunis',
|
|
64
|
-
'Africa/Windhoek',
|
|
65
|
-
'America/Adak',
|
|
66
|
-
'America/Anchorage',
|
|
67
|
-
'America/Anguilla',
|
|
68
|
-
'America/Antigua',
|
|
69
|
-
'America/Araguaina',
|
|
70
|
-
'America/Argentina/Buenos_Aires',
|
|
71
|
-
'America/Argentina/Catamarca',
|
|
72
|
-
'America/Argentina/Cordoba',
|
|
73
|
-
'America/Argentina/Jujuy',
|
|
74
|
-
'America/Argentina/La_Rioja',
|
|
75
|
-
'America/Argentina/Mendoza',
|
|
76
|
-
'America/Argentina/Rio_Gallegos',
|
|
77
|
-
'America/Argentina/Salta',
|
|
78
|
-
'America/Argentina/San_Juan',
|
|
79
|
-
'America/Argentina/San_Luis',
|
|
80
|
-
'America/Argentina/Tucuman',
|
|
81
|
-
'America/Argentina/Ushuaia',
|
|
82
|
-
'America/Aruba',
|
|
83
|
-
'America/Asuncion',
|
|
84
|
-
'America/Atikokan',
|
|
85
|
-
'America/Bahia',
|
|
86
|
-
'America/Bahia_Banderas',
|
|
87
|
-
'America/Barbados',
|
|
88
|
-
'America/Belem',
|
|
89
|
-
'America/Belize',
|
|
90
|
-
'America/Blanc-Sablon',
|
|
91
|
-
'America/Boa_Vista',
|
|
92
|
-
'America/Bogota',
|
|
93
|
-
'America/Boise',
|
|
94
|
-
'America/Cambridge_Bay',
|
|
95
|
-
'America/Campo_Grande',
|
|
96
|
-
'America/Cancun',
|
|
97
|
-
'America/Caracas',
|
|
98
|
-
'America/Cayenne',
|
|
99
|
-
'America/Cayman',
|
|
100
|
-
'America/Chicago',
|
|
101
|
-
'America/Chihuahua',
|
|
102
|
-
'America/Costa_Rica',
|
|
103
|
-
'America/Creston',
|
|
104
|
-
'America/Cuiaba',
|
|
105
|
-
'America/Curacao',
|
|
106
|
-
'America/Danmarkshavn',
|
|
107
|
-
'America/Dawson',
|
|
108
|
-
'America/Dawson_Creek',
|
|
109
|
-
'America/Denver',
|
|
110
|
-
'America/Detroit',
|
|
111
|
-
'America/Dominica',
|
|
112
|
-
'America/Edmonton',
|
|
113
|
-
'America/Eirunepe',
|
|
114
|
-
'America/El_Salvador',
|
|
115
|
-
'America/Fort_Nelson',
|
|
116
|
-
'America/Fortaleza',
|
|
117
|
-
'America/Glace_Bay',
|
|
118
|
-
'America/Goose_Bay',
|
|
119
|
-
'America/Grand_Turk',
|
|
120
|
-
'America/Grenada',
|
|
121
|
-
'America/Guadeloupe',
|
|
122
|
-
'America/Guatemala',
|
|
123
|
-
'America/Guayaquil',
|
|
124
|
-
'America/Guyana',
|
|
125
|
-
'America/Halifax',
|
|
126
|
-
'America/Havana',
|
|
127
|
-
'America/Hermosillo',
|
|
128
|
-
'America/Indiana/Indianapolis',
|
|
129
|
-
'America/Indiana/Knox',
|
|
130
|
-
'America/Indiana/Marengo',
|
|
131
|
-
'America/Indiana/Petersburg',
|
|
132
|
-
'America/Indiana/Tell_City',
|
|
133
|
-
'America/Indiana/Vevay',
|
|
134
|
-
'America/Indiana/Vincennes',
|
|
135
|
-
'America/Indiana/Winamac',
|
|
136
|
-
'America/Inuvik',
|
|
137
|
-
'America/Iqaluit',
|
|
138
|
-
'America/Jamaica',
|
|
139
|
-
'America/Juneau',
|
|
140
|
-
'America/Kentucky/Louisville',
|
|
141
|
-
'America/Kentucky/Monticello',
|
|
142
|
-
'America/Kralendijk',
|
|
143
|
-
'America/La_Paz',
|
|
144
|
-
'America/Lima',
|
|
145
|
-
'America/Los_Angeles',
|
|
146
|
-
'America/Lower_Princes',
|
|
147
|
-
'America/Maceio',
|
|
148
|
-
'America/Managua',
|
|
149
|
-
'America/Manaus',
|
|
150
|
-
'America/Marigot',
|
|
151
|
-
'America/Martinique',
|
|
152
|
-
'America/Matamoros',
|
|
153
|
-
'America/Mazatlan',
|
|
154
|
-
'America/Menominee',
|
|
155
|
-
'America/Merida',
|
|
156
|
-
'America/Metlakatla',
|
|
157
|
-
'America/Mexico_City',
|
|
158
|
-
'America/Miquelon',
|
|
159
|
-
'America/Moncton',
|
|
160
|
-
'America/Monterrey',
|
|
161
|
-
'America/Montevideo',
|
|
162
|
-
'America/Montserrat',
|
|
163
|
-
'America/Nassau',
|
|
164
|
-
'America/New_York',
|
|
165
|
-
'America/Nipigon',
|
|
166
|
-
'America/Nome',
|
|
167
|
-
'America/Noronha',
|
|
168
|
-
'America/North_Dakota/Beulah',
|
|
169
|
-
'America/North_Dakota/Center',
|
|
170
|
-
'America/North_Dakota/New_Salem',
|
|
171
|
-
'America/Nuuk',
|
|
172
|
-
'America/Ojinaga',
|
|
173
|
-
'America/Panama',
|
|
174
|
-
'America/Pangnirtung',
|
|
175
|
-
'America/Paramaribo',
|
|
176
|
-
'America/Phoenix',
|
|
177
|
-
'America/Port_of_Spain',
|
|
178
|
-
'America/Port-au-Prince',
|
|
179
|
-
'America/Porto_Velho',
|
|
180
|
-
'America/Puerto_Rico',
|
|
181
|
-
'America/Punta_Arenas',
|
|
182
|
-
'America/Rainy_River',
|
|
183
|
-
'America/Rankin_Inlet',
|
|
184
|
-
'America/Recife',
|
|
185
|
-
'America/Regina',
|
|
186
|
-
'America/Resolute',
|
|
187
|
-
'America/Rio_Branco',
|
|
188
|
-
'America/Santarem',
|
|
189
|
-
'America/Santiago',
|
|
190
|
-
'America/Santo_Domingo',
|
|
191
|
-
'America/Sao_Paulo',
|
|
192
|
-
'America/Scoresbysund',
|
|
193
|
-
'America/Sitka',
|
|
194
|
-
'America/St_Barthelemy',
|
|
195
|
-
'America/St_Johns',
|
|
196
|
-
'America/St_Kitts',
|
|
197
|
-
'America/St_Lucia',
|
|
198
|
-
'America/St_Thomas',
|
|
199
|
-
'America/St_Vincent',
|
|
200
|
-
'America/Swift_Current',
|
|
201
|
-
'America/Tegucigalpa',
|
|
202
|
-
'America/Thule',
|
|
203
|
-
'America/Thunder_Bay',
|
|
204
|
-
'America/Tijuana',
|
|
205
|
-
'America/Toronto',
|
|
206
|
-
'America/Tortola',
|
|
207
|
-
'America/Vancouver',
|
|
208
|
-
'America/Whitehorse',
|
|
209
|
-
'America/Winnipeg',
|
|
210
|
-
'America/Yakutat',
|
|
211
|
-
'America/Yellowknife',
|
|
212
|
-
'Antarctica/Casey',
|
|
213
|
-
'Antarctica/Davis',
|
|
214
|
-
'Antarctica/DumontDUrville',
|
|
215
|
-
'Antarctica/Macquarie',
|
|
216
|
-
'Antarctica/Mawson',
|
|
217
|
-
'Antarctica/McMurdo',
|
|
218
|
-
'Antarctica/Palmer',
|
|
219
|
-
'Antarctica/Rothera',
|
|
220
|
-
'Antarctica/Syowa',
|
|
221
|
-
'Antarctica/Troll',
|
|
222
|
-
'Antarctica/Vostok',
|
|
223
|
-
'Arctic/Longyearbyen',
|
|
224
|
-
'Asia/Aden',
|
|
225
|
-
'Asia/Almaty',
|
|
226
|
-
'Asia/Amman',
|
|
227
|
-
'Asia/Anadyr',
|
|
228
|
-
'Asia/Aqtau',
|
|
229
|
-
'Asia/Aqtobe',
|
|
230
|
-
'Asia/Ashgabat',
|
|
231
|
-
'Asia/Atyrau',
|
|
232
|
-
'Asia/Baghdad',
|
|
233
|
-
'Asia/Bahrain',
|
|
234
|
-
'Asia/Baku',
|
|
235
|
-
'Asia/Bangkok',
|
|
236
|
-
'Asia/Barnaul',
|
|
237
|
-
'Asia/Beirut',
|
|
238
|
-
'Asia/Bishkek',
|
|
239
|
-
'Asia/Brunei',
|
|
240
|
-
'Asia/Chita',
|
|
241
|
-
'Asia/Choibalsan',
|
|
242
|
-
'Asia/Colombo',
|
|
243
|
-
'Asia/Damascus',
|
|
244
|
-
'Asia/Dhaka',
|
|
245
|
-
'Asia/Dili',
|
|
246
|
-
'Asia/Dubai',
|
|
247
|
-
'Asia/Dushanbe',
|
|
248
|
-
'Asia/Famagusta',
|
|
249
|
-
'Asia/Gaza',
|
|
250
|
-
'Asia/Hebron',
|
|
251
|
-
'Asia/Ho_Chi_Minh',
|
|
252
|
-
'Asia/Hong_Kong',
|
|
253
|
-
'Asia/Hovd',
|
|
254
|
-
'Asia/Irkutsk',
|
|
255
|
-
'Asia/Jakarta',
|
|
256
|
-
'Asia/Jayapura',
|
|
257
|
-
'Asia/Jerusalem',
|
|
258
|
-
'Asia/Kabul',
|
|
259
|
-
'Asia/Kamchatka',
|
|
260
|
-
'Asia/Karachi',
|
|
261
|
-
'Asia/Kathmandu',
|
|
262
|
-
'Asia/Khandyga',
|
|
263
|
-
'Asia/Kolkata',
|
|
264
|
-
'Asia/Krasnoyarsk',
|
|
265
|
-
'Asia/Kuala_Lumpur',
|
|
266
|
-
'Asia/Kuching',
|
|
267
|
-
'Asia/Kuwait',
|
|
268
|
-
'Asia/Macau',
|
|
269
|
-
'Asia/Magadan',
|
|
270
|
-
'Asia/Makassar',
|
|
271
|
-
'Asia/Manila',
|
|
272
|
-
'Asia/Muscat',
|
|
273
|
-
'Asia/Nicosia',
|
|
274
|
-
'Asia/Novokuznetsk',
|
|
275
|
-
'Asia/Novosibirsk',
|
|
276
|
-
'Asia/Omsk',
|
|
277
|
-
'Asia/Oral',
|
|
278
|
-
'Asia/Phnom_Penh',
|
|
279
|
-
'Asia/Pontianak',
|
|
280
|
-
'Asia/Pyongyang',
|
|
281
|
-
'Asia/Qatar',
|
|
282
|
-
'Asia/Qostanay',
|
|
283
|
-
'Asia/Qyzylorda',
|
|
284
|
-
'Asia/Riyadh',
|
|
285
|
-
'Asia/Sakhalin',
|
|
286
|
-
'Asia/Samarkand',
|
|
287
|
-
'Asia/Seoul',
|
|
288
|
-
'Asia/Shanghai',
|
|
289
|
-
'Asia/Singapore',
|
|
290
|
-
'Asia/Srednekolymsk',
|
|
291
|
-
'Asia/Taipei',
|
|
292
|
-
'Asia/Tashkent',
|
|
293
|
-
'Asia/Tbilisi',
|
|
294
|
-
'Asia/Tehran',
|
|
295
|
-
'Asia/Thimphu',
|
|
296
|
-
'Asia/Tokyo',
|
|
297
|
-
'Asia/Tomsk',
|
|
298
|
-
'Asia/Ulaanbaatar',
|
|
299
|
-
'Asia/Urumqi',
|
|
300
|
-
'Asia/Ust-Nera',
|
|
301
|
-
'Asia/Vientiane',
|
|
302
|
-
'Asia/Vladivostok',
|
|
303
|
-
'Asia/Yakutsk',
|
|
304
|
-
'Asia/Yangon',
|
|
305
|
-
'Asia/Yekaterinburg',
|
|
306
|
-
'Asia/Yerevan',
|
|
307
|
-
'Atlantic/Azores',
|
|
308
|
-
'Atlantic/Bermuda',
|
|
309
|
-
'Atlantic/Canary',
|
|
310
|
-
'Atlantic/Cape_Verde',
|
|
311
|
-
'Atlantic/Faroe',
|
|
312
|
-
'Atlantic/Madeira',
|
|
313
|
-
'Atlantic/Reykjavik',
|
|
314
|
-
'Atlantic/South_Georgia',
|
|
315
|
-
'Atlantic/St_Helena',
|
|
316
|
-
'Atlantic/Stanley',
|
|
317
|
-
'Australia/Adelaide',
|
|
318
|
-
'Australia/Brisbane',
|
|
319
|
-
'Australia/Broken_Hill',
|
|
320
|
-
'Australia/Darwin',
|
|
321
|
-
'Australia/Eucla',
|
|
322
|
-
'Australia/Hobart',
|
|
323
|
-
'Australia/Lindeman',
|
|
324
|
-
'Australia/Lord_Howe',
|
|
325
|
-
'Australia/Melbourne',
|
|
326
|
-
'Australia/Perth',
|
|
327
|
-
'Australia/Sydney',
|
|
328
|
-
'Europe/Amsterdam',
|
|
329
|
-
'Europe/Andorra',
|
|
330
|
-
'Europe/Astrakhan',
|
|
331
|
-
'Europe/Athens',
|
|
332
|
-
'Europe/Belgrade',
|
|
333
|
-
'Europe/Berlin',
|
|
334
|
-
'Europe/Bratislava',
|
|
335
|
-
'Europe/Brussels',
|
|
336
|
-
'Europe/Bucharest',
|
|
337
|
-
'Europe/Budapest',
|
|
338
|
-
'Europe/Busingen',
|
|
339
|
-
'Europe/Chisinau',
|
|
340
|
-
'Europe/Copenhagen',
|
|
341
|
-
'Europe/Dublin',
|
|
342
|
-
'Europe/Gibraltar',
|
|
343
|
-
'Europe/Guernsey',
|
|
344
|
-
'Europe/Helsinki',
|
|
345
|
-
'Europe/Isle_of_Man',
|
|
346
|
-
'Europe/Istanbul',
|
|
347
|
-
'Europe/Jersey',
|
|
348
|
-
'Europe/Kaliningrad',
|
|
349
|
-
'Europe/Kiev',
|
|
350
|
-
'Europe/Kirov',
|
|
351
|
-
'Europe/Lisbon',
|
|
352
|
-
'Europe/Ljubljana',
|
|
353
|
-
'Europe/London',
|
|
354
|
-
'Europe/Luxembourg',
|
|
355
|
-
'Europe/Madrid',
|
|
356
|
-
'Europe/Malta',
|
|
357
|
-
'Europe/Mariehamn',
|
|
358
|
-
'Europe/Minsk',
|
|
359
|
-
'Europe/Monaco',
|
|
360
|
-
'Europe/Moscow',
|
|
361
|
-
'Europe/Oslo',
|
|
362
|
-
'Europe/Paris',
|
|
363
|
-
'Europe/Podgorica',
|
|
364
|
-
'Europe/Prague',
|
|
365
|
-
'Europe/Riga',
|
|
366
|
-
'Europe/Rome',
|
|
367
|
-
'Europe/Samara',
|
|
368
|
-
'Europe/San_Marino',
|
|
369
|
-
'Europe/Sarajevo',
|
|
370
|
-
'Europe/Saratov',
|
|
371
|
-
'Europe/Simferopol',
|
|
372
|
-
'Europe/Skopje',
|
|
373
|
-
'Europe/Sofia',
|
|
374
|
-
'Europe/Stockholm',
|
|
375
|
-
'Europe/Tallinn',
|
|
376
|
-
'Europe/Tirane',
|
|
377
|
-
'Europe/Ulyanovsk',
|
|
378
|
-
'Europe/Uzhgorod',
|
|
379
|
-
'Europe/Vaduz',
|
|
380
|
-
'Europe/Vatican',
|
|
381
|
-
'Europe/Vienna',
|
|
382
|
-
'Europe/Vilnius',
|
|
383
|
-
'Europe/Volgograd',
|
|
384
|
-
'Europe/Warsaw',
|
|
385
|
-
'Europe/Zagreb',
|
|
386
|
-
'Europe/Zaporozhye',
|
|
387
|
-
'Europe/Zurich',
|
|
388
|
-
'Indian/Antananarivo',
|
|
389
|
-
'Indian/Chagos',
|
|
390
|
-
'Indian/Christmas',
|
|
391
|
-
'Indian/Cocos',
|
|
392
|
-
'Indian/Comoro',
|
|
393
|
-
'Indian/Kerguelen',
|
|
394
|
-
'Indian/Mahe',
|
|
395
|
-
'Indian/Maldives',
|
|
396
|
-
'Indian/Mauritius',
|
|
397
|
-
'Indian/Mayotte',
|
|
398
|
-
'Indian/Reunion',
|
|
399
|
-
'Pacific/Apia',
|
|
400
|
-
'Pacific/Auckland',
|
|
401
|
-
'Pacific/Bougainville',
|
|
402
|
-
'Pacific/Chatham',
|
|
403
|
-
'Pacific/Chuuk',
|
|
404
|
-
'Pacific/Easter',
|
|
405
|
-
'Pacific/Efate',
|
|
406
|
-
'Pacific/Kanton',
|
|
407
|
-
'Pacific/Fakaofo',
|
|
408
|
-
'Pacific/Fiji',
|
|
409
|
-
'Pacific/Funafuti',
|
|
410
|
-
'Pacific/Galapagos',
|
|
411
|
-
'Pacific/Gambier',
|
|
412
|
-
'Pacific/Guadalcanal',
|
|
413
|
-
'Pacific/Guam',
|
|
414
|
-
'Pacific/Honolulu',
|
|
415
|
-
'Pacific/Kiritimati',
|
|
416
|
-
'Pacific/Kosrae',
|
|
417
|
-
'Pacific/Kwajalein',
|
|
418
|
-
'Pacific/Majuro',
|
|
419
|
-
'Pacific/Marquesas',
|
|
420
|
-
'Pacific/Midway',
|
|
421
|
-
'Pacific/Nauru',
|
|
422
|
-
'Pacific/Niue',
|
|
423
|
-
'Pacific/Norfolk',
|
|
424
|
-
'Pacific/Noumea',
|
|
425
|
-
'Pacific/Pago_Pago',
|
|
426
|
-
'Pacific/Palau',
|
|
427
|
-
'Pacific/Pitcairn',
|
|
428
|
-
'Pacific/Pohnpei',
|
|
429
|
-
'Pacific/Port_Moresby',
|
|
430
|
-
'Pacific/Rarotonga',
|
|
431
|
-
'Pacific/Saipan',
|
|
432
|
-
'Pacific/Tahiti',
|
|
433
|
-
'Pacific/Tarawa',
|
|
434
|
-
'Pacific/Tongatapu',
|
|
435
|
-
'Pacific/Wake',
|
|
436
|
-
'Pacific/Wallis',
|
|
437
|
-
];
|
|
1
|
+
var c=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var o=Object.getOwnPropertyNames;var u=Object.prototype.hasOwnProperty;var s=(i,a)=>{for(var e in a)c(i,e,{get:a[e],enumerable:!0})},m=(i,a,e,A)=>{if(a&&typeof a=="object"||typeof a=="function")for(let r of o(a))!u.call(i,r)&&r!==e&&c(i,r,{get:()=>a[r],enumerable:!(A=n(a,r))||A.enumerable});return i};var t=i=>m(c({},"__esModule",{value:!0}),i);var f={};s(f,{timeZones:()=>l});module.exports=t(f);const l=["Africa/Abidjan","Africa/Accra","Africa/Addis_Ababa","Africa/Algiers","Africa/Asmara","Africa/Bamako","Africa/Bangui","Africa/Banjul","Africa/Bissau","Africa/Blantyre","Africa/Brazzaville","Africa/Bujumbura","Africa/Cairo","Africa/Casablanca","Africa/Ceuta","Africa/Conakry","Africa/Dakar","Africa/Dar_es_Salaam","Africa/Djibouti","Africa/Douala","Africa/El_Aaiun","Africa/Freetown","Africa/Gaborone","Africa/Harare","Africa/Johannesburg","Africa/Juba","Africa/Kampala","Africa/Khartoum","Africa/Kigali","Africa/Kinshasa","Africa/Lagos","Africa/Libreville","Africa/Lome","Africa/Luanda","Africa/Lubumbashi","Africa/Lusaka","Africa/Malabo","Africa/Maputo","Africa/Maseru","Africa/Mbabane","Africa/Mogadishu","Africa/Monrovia","Africa/Nairobi","Africa/Ndjamena","Africa/Niamey","Africa/Nouakchott","Africa/Ouagadougou","Africa/Porto-Novo","Africa/Sao_Tome","Africa/Tripoli","Africa/Tunis","Africa/Windhoek","America/Adak","America/Anchorage","America/Anguilla","America/Antigua","America/Araguaina","America/Argentina/Buenos_Aires","America/Argentina/Catamarca","America/Argentina/Cordoba","America/Argentina/Jujuy","America/Argentina/La_Rioja","America/Argentina/Mendoza","America/Argentina/Rio_Gallegos","America/Argentina/Salta","America/Argentina/San_Juan","America/Argentina/San_Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Aruba","America/Asuncion","America/Atikokan","America/Bahia","America/Bahia_Banderas","America/Barbados","America/Belem","America/Belize","America/Blanc-Sablon","America/Boa_Vista","America/Bogota","America/Boise","America/Cambridge_Bay","America/Campo_Grande","America/Cancun","America/Caracas","America/Cayenne","America/Cayman","America/Chicago","America/Chihuahua","America/Costa_Rica","America/Creston","America/Cuiaba","America/Curacao","America/Danmarkshavn","America/Dawson","America/Dawson_Creek","America/Denver","America/Detroit","America/Dominica","America/Edmonton","America/Eirunepe","America/El_Salvador","America/Fort_Nelson","America/Fortaleza","America/Glace_Bay","America/Goose_Bay","America/Grand_Turk","America/Grenada","America/Guadeloupe","America/Guatemala","America/Guayaquil","America/Guyana","America/Halifax","America/Havana","America/Hermosillo","America/Indiana/Indianapolis","America/Indiana/Knox","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Tell_City","America/Indiana/Vevay","America/Indiana/Vincennes","America/Indiana/Winamac","America/Inuvik","America/Iqaluit","America/Jamaica","America/Juneau","America/Kentucky/Louisville","America/Kentucky/Monticello","America/Kralendijk","America/La_Paz","America/Lima","America/Los_Angeles","America/Lower_Princes","America/Maceio","America/Managua","America/Manaus","America/Marigot","America/Martinique","America/Matamoros","America/Mazatlan","America/Menominee","America/Merida","America/Metlakatla","America/Mexico_City","America/Miquelon","America/Moncton","America/Monterrey","America/Montevideo","America/Montserrat","America/Nassau","America/New_York","America/Nipigon","America/Nome","America/Noronha","America/North_Dakota/Beulah","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/Nuuk","America/Ojinaga","America/Panama","America/Pangnirtung","America/Paramaribo","America/Phoenix","America/Port_of_Spain","America/Port-au-Prince","America/Porto_Velho","America/Puerto_Rico","America/Punta_Arenas","America/Rainy_River","America/Rankin_Inlet","America/Recife","America/Regina","America/Resolute","America/Rio_Branco","America/Santarem","America/Santiago","America/Santo_Domingo","America/Sao_Paulo","America/Scoresbysund","America/Sitka","America/St_Barthelemy","America/St_Johns","America/St_Kitts","America/St_Lucia","America/St_Thomas","America/St_Vincent","America/Swift_Current","America/Tegucigalpa","America/Thule","America/Thunder_Bay","America/Tijuana","America/Toronto","America/Tortola","America/Vancouver","America/Whitehorse","America/Winnipeg","America/Yakutat","America/Yellowknife","Antarctica/Casey","Antarctica/Davis","Antarctica/DumontDUrville","Antarctica/Macquarie","Antarctica/Mawson","Antarctica/McMurdo","Antarctica/Palmer","Antarctica/Rothera","Antarctica/Syowa","Antarctica/Troll","Antarctica/Vostok","Arctic/Longyearbyen","Asia/Aden","Asia/Almaty","Asia/Amman","Asia/Anadyr","Asia/Aqtau","Asia/Aqtobe","Asia/Ashgabat","Asia/Atyrau","Asia/Baghdad","Asia/Bahrain","Asia/Baku","Asia/Bangkok","Asia/Barnaul","Asia/Beirut","Asia/Bishkek","Asia/Brunei","Asia/Chita","Asia/Choibalsan","Asia/Colombo","Asia/Damascus","Asia/Dhaka","Asia/Dili","Asia/Dubai","Asia/Dushanbe","Asia/Famagusta","Asia/Gaza","Asia/Hebron","Asia/Ho_Chi_Minh","Asia/Hong_Kong","Asia/Hovd","Asia/Irkutsk","Asia/Jakarta","Asia/Jayapura","Asia/Jerusalem","Asia/Kabul","Asia/Kamchatka","Asia/Karachi","Asia/Kathmandu","Asia/Khandyga","Asia/Kolkata","Asia/Krasnoyarsk","Asia/Kuala_Lumpur","Asia/Kuching","Asia/Kuwait","Asia/Macau","Asia/Magadan","Asia/Makassar","Asia/Manila","Asia/Muscat","Asia/Nicosia","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Oral","Asia/Phnom_Penh","Asia/Pontianak","Asia/Pyongyang","Asia/Qatar","Asia/Qostanay","Asia/Qyzylorda","Asia/Riyadh","Asia/Sakhalin","Asia/Samarkand","Asia/Seoul","Asia/Shanghai","Asia/Singapore","Asia/Srednekolymsk","Asia/Taipei","Asia/Tashkent","Asia/Tbilisi","Asia/Tehran","Asia/Thimphu","Asia/Tokyo","Asia/Tomsk","Asia/Ulaanbaatar","Asia/Urumqi","Asia/Ust-Nera","Asia/Vientiane","Asia/Vladivostok","Asia/Yakutsk","Asia/Yangon","Asia/Yekaterinburg","Asia/Yerevan","Atlantic/Azores","Atlantic/Bermuda","Atlantic/Canary","Atlantic/Cape_Verde","Atlantic/Faroe","Atlantic/Madeira","Atlantic/Reykjavik","Atlantic/South_Georgia","Atlantic/St_Helena","Atlantic/Stanley","Australia/Adelaide","Australia/Brisbane","Australia/Broken_Hill","Australia/Darwin","Australia/Eucla","Australia/Hobart","Australia/Lindeman","Australia/Lord_Howe","Australia/Melbourne","Australia/Perth","Australia/Sydney","Europe/Amsterdam","Europe/Andorra","Europe/Astrakhan","Europe/Athens","Europe/Belgrade","Europe/Berlin","Europe/Bratislava","Europe/Brussels","Europe/Bucharest","Europe/Budapest","Europe/Busingen","Europe/Chisinau","Europe/Copenhagen","Europe/Dublin","Europe/Gibraltar","Europe/Guernsey","Europe/Helsinki","Europe/Isle_of_Man","Europe/Istanbul","Europe/Jersey","Europe/Kaliningrad","Europe/Kiev","Europe/Kirov","Europe/Lisbon","Europe/Ljubljana","Europe/London","Europe/Luxembourg","Europe/Madrid","Europe/Malta","Europe/Mariehamn","Europe/Minsk","Europe/Monaco","Europe/Moscow","Europe/Oslo","Europe/Paris","Europe/Podgorica","Europe/Prague","Europe/Riga","Europe/Rome","Europe/Samara","Europe/San_Marino","Europe/Sarajevo","Europe/Saratov","Europe/Simferopol","Europe/Skopje","Europe/Sofia","Europe/Stockholm","Europe/Tallinn","Europe/Tirane","Europe/Ulyanovsk","Europe/Uzhgorod","Europe/Vaduz","Europe/Vatican","Europe/Vienna","Europe/Vilnius","Europe/Volgograd","Europe/Warsaw","Europe/Zagreb","Europe/Zaporozhye","Europe/Zurich","Indian/Antananarivo","Indian/Chagos","Indian/Christmas","Indian/Cocos","Indian/Comoro","Indian/Kerguelen","Indian/Mahe","Indian/Maldives","Indian/Mauritius","Indian/Mayotte","Indian/Reunion","Pacific/Apia","Pacific/Auckland","Pacific/Bougainville","Pacific/Chatham","Pacific/Chuuk","Pacific/Easter","Pacific/Efate","Pacific/Kanton","Pacific/Fakaofo","Pacific/Fiji","Pacific/Funafuti","Pacific/Galapagos","Pacific/Gambier","Pacific/Guadalcanal","Pacific/Guam","Pacific/Honolulu","Pacific/Kiritimati","Pacific/Kosrae","Pacific/Kwajalein","Pacific/Majuro","Pacific/Marquesas","Pacific/Midway","Pacific/Nauru","Pacific/Niue","Pacific/Norfolk","Pacific/Noumea","Pacific/Pago_Pago","Pacific/Palau","Pacific/Pitcairn","Pacific/Pohnpei","Pacific/Port_Moresby","Pacific/Rarotonga","Pacific/Saipan","Pacific/Tahiti","Pacific/Tarawa","Pacific/Tongatapu","Pacific/Wake","Pacific/Wallis"];0&&(module.exports={timeZones});
|
package/general/truncate-text.js
CHANGED
|
@@ -1,18 +1 @@
|
|
|
1
|
-
"
|
|
2
|
-
/**
|
|
3
|
-
* A util function to truncate text to the
|
|
4
|
-
* given length provided and add ... at the end
|
|
5
|
-
*
|
|
6
|
-
* @param string - string to truncate
|
|
7
|
-
* @param length - number or chars to truncate after
|
|
8
|
-
* @returns string - Taim...
|
|
9
|
-
* @author Taimoor Khan
|
|
10
|
-
* @remarks Taimoor Khan Resume 3
|
|
11
|
-
*/
|
|
12
|
-
/** End file docs */
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.truncateText = void 0;
|
|
15
|
-
var truncateText = function (string, length) {
|
|
16
|
-
return "".concat(string === null || string === void 0 ? void 0 : string.substring(0, length), "...");
|
|
17
|
-
};
|
|
18
|
-
exports.truncateText = truncateText;
|
|
1
|
+
var e=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var b=Object.prototype.hasOwnProperty;var c=(n,t)=>{for(var s in t)e(n,s,{get:t[s],enumerable:!0})},o=(n,t,s,g)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of u(t))!b.call(n,r)&&r!==s&&e(n,r,{get:()=>t[r],enumerable:!(g=i(t,r))||g.enumerable});return n};var x=n=>o(e({},"__esModule",{value:!0}),n);var m={};c(m,{truncateText:()=>a});module.exports=x(m);const a=(n,t)=>`${n?.substring(0,t)}...`;0&&(module.exports={truncateText});
|
package/general/type.d.ts
CHANGED
package/general/type.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
"
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
var r=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var b=Object.prototype.hasOwnProperty;var l=(e,a,t,o)=>{if(a&&typeof a=="object"||typeof a=="function")for(let n of i(a))!b.call(e,n)&&n!==t&&r(e,n,{get:()=>a[n],enumerable:!(o=d(a,n))||o.enumerable});return e};var s=e=>l(r({},"__esModule",{value:!0}),e);var y={};module.exports=s(y);
|