4.0.1 • Published 4 years ago

ember-cli-utilities v4.0.1

Weekly downloads
11
License
MIT
Repository
github
Last release
4 years ago

Dependency Status DevDependency Status Dependabot Github Workflow Coverage Status Ember Observer Score NPM Version NPM Downloads

ember-cli-utilities

Multiple Utility Services / Mixins to use in your ember application

DEMO

Compatibility

  • Ember.js v2.18 or above
  • Ember CLI v2.13 or above

Installation

ember install ember-cli-utilities

Usage

Addons

  • Dependencies
		"@glimmer/component": "1.0.0",
		"@glimmer/tracking": "1.0.0",
		"@orbit/data": "0.16.5",
		"@orbit/indexeddb": "0.16.5",
		"@orbit/indexeddb-bucket": "0.16.3",
		"@orbit/jsonapi": "0.16.5",
		"@orbit/local-storage": "0.16.5",
		"@orbit/local-storage-bucket": "0.16.3",
		"animate.css": "3.7.2",
		"ember-api-actions": "0.2.8",
		"ember-auto-import": "1.5.3",
		"ember-cli-babel": "7.18.0",
		"ember-cli-build-notifications": "0.4.0",
		"ember-cli-fastclick": "1.5.0",
		"ember-cli-htmlbars": "4.2.3",
		"ember-cli-moment-shim": "3.7.1",
		"ember-cli-notifications": "6.2.0",
		"ember-cli-pushjs": "2.0.8",
		"ember-cli-roboto-fontface": "2.0.5",
		"ember-cli-sass": "10.0.1",
		"ember-hammertime": "1.6.0",
		"ember-material-design-icons-shim": "0.1.13",
		"ember-moment": "8.0.0",
		"ember-offline": "devotox/ember-offline",
		"ember-orbit": "0.16.6",
		"ember-reactive-helpers": "devotox/ember-reactive-helpers",
		"ember-simple-auth": "3.0.0",
		"ember-skeleton": "devotox/ember-skeleton",
		"ember-string-helpers": "devotox/ember-string-helpers",
		"fast-sort": "2.1.1",
		"flatted": "2.0.1",
		"json-fn": "1.1.1",
		"moment": "2.24.0",
		"moment-timezone": "0.5.28",
		"normalize.css": "8.0.1",
		"sass": "1.26.3"

Components

  • notification-container
    • To be used with notification service to warn, alert, error notifications
  • loading-mask
    • Added anywhere as a contextual component, sets a loading mask for the whole viewport that also yields the hide, show, loading actions

Services

  • api
    • generic api connector to run all HTTP methods using ember-fetch
  • alpha-iterator
    • iterate through alphabet
  • crypto
    • set of useable crypto functions
  • device
    • set of functions to determine current device
  • ember-utils
    • utility functions combining ember functions
  • data-store
    • Ember Orbit Store with some wrappers for background reload
  • fastboot-store
    • easier to use FastBoot store functions
  • geometry
    • Geometry calculations to use with maps
  • logger
    • Ember logger with interface to state where logs coming from
  • loading-mask
    • works in tandem with loading mask component for programmatic access
  • navigation
    • navigation shell
  • notification
    • notification hub / notification center mashup
  • regex
    • set of useful regex
  • sandbox
    • run custom code in a sandbox without access to globals you do not specify
  • string-builder
    • Build strings efficiently
  • translation
    • fetch translations
  • utils
    • utility functions

Helpers

  • disable-bubbling
    • Disable bubbling of closure actions
  • json-parse
    • Parse JSON string

Initializers

  • component-router
    • injects router main into components
  • session-injection
    • injects session service into routes, controllers, components
  • orbit-main-bucket
    • initializes ember orbit bucket

Instance Initializers

  • intl
    • initializes the instance with the accurate language based on a query string or the system language

Transforms

  • array
    • transform for arrays for models
  • object
    • transform for objects for models
  • pg-date
    • transforms for postgres dates for models
  • uuid
    • transforms for uuids for models

Orbit JS

  • Has everything needed to have memory + backup + remote secenario - Scenario Contributing

Defaults

  • ember-fetch
    • preferNative: true
  • ember-paper
    • insertFontLinks: false
  • ember-cli-mirage
    • enabled: false
  • ember-cli-head
    • suppressBrowserRender: false
  • ember-cli-notifications
    • includeFontAwesome: false
    • clearDuration: 3500
    • autoClear: true
  • ember-load-css
    • enabled: true
    • minifyJS:
      • enabled: true
  • ember-hammertime
  • ember-offline
    • themes
      • theme: chrome
      • language: english
    • checkOnLoad: true
    • interceptRequests: true
    • requests: true
    • deDupBody: true
    • game: false
    • checks:
      • xhr:
        • url: 'api/status'
    • reconnect
      • initalDelay: 10
      • delay: null
  • moment
    • allowEmpty: true,
    • outputFormat: 'L',
    • includeLocales: 'en',
    • includeTimezone: 'subset'
  • pace
    • color: blue
    • target: body
    • theme: minimal
    • minTime: 100
    • ghostTime: 50
    • catchupTime: 50
    • easeFactor: 1.25
    • initialRate: 0.01
    • startOnPageLoad: true
    • maxProgressPerFrame: 20
    • restartOnPushState: true
    • restartOnRequestAfter: 500
    • elements:
    • eventLag:
      • minSamples: 10
      • sampleCount: 3
      • lagThreshold: 3
    • ajax:

See the Contributing guide for details.

License

This project is licensed under the MIT License.

4.0.1

4 years ago

3.3.6

4 years ago

3.3.5

4 years ago

3.3.4

4 years ago

3.3.3

4 years ago

3.3.1

4 years ago

3.2.11

4 years ago

3.2.10

4 years ago

3.2.6

4 years ago

3.2.8

4 years ago

3.2.5

4 years ago

3.2.4

4 years ago

3.2.3

4 years ago

3.2.2

4 years ago

3.2.1

4 years ago

3.1.16

4 years ago

3.1.14

4 years ago

3.1.13

4 years ago

3.1.11

4 years ago

3.1.10

4 years ago

3.1.9

4 years ago

3.1.7

4 years ago

3.1.8

4 years ago

3.1.3

4 years ago

3.1.6

4 years ago

3.1.5

4 years ago

3.1.4

4 years ago

3.1.2

4 years ago

3.0.8

4 years ago

3.1.1

4 years ago

3.0.7

4 years ago

3.0.4

4 years ago

3.0.6

4 years ago

3.0.5

4 years ago

3.0.3

4 years ago

3.0.2

4 years ago

3.0.1

4 years ago

2.5.19

5 years ago

2.5.18

5 years ago

2.5.17

5 years ago

2.5.16

5 years ago

2.5.15

5 years ago

2.5.14

5 years ago

2.5.13

5 years ago

2.5.12

5 years ago

2.5.11

5 years ago

2.5.10

5 years ago

2.5.8

5 years ago

2.5.7

5 years ago

2.5.6

5 years ago

2.5.5

5 years ago

2.5.4

5 years ago

2.5.1

6 years ago

2.4.11

6 years ago

2.4.10

6 years ago

2.4.9

6 years ago

2.4.4

6 years ago

2.4.3

6 years ago

2.4.2

6 years ago

2.4.1

6 years ago

2.3.9

6 years ago

2.3.8

6 years ago

2.3.7

6 years ago

2.3.6

6 years ago

2.3.5

6 years ago

2.3.4

6 years ago

2.3.3

6 years ago

2.3.2

6 years ago

2.3.1

6 years ago

2.2.11

6 years ago

2.2.10

6 years ago

2.2.9

6 years ago

2.2.8

6 years ago

2.2.7

6 years ago

2.2.6

6 years ago

2.2.5

6 years ago

2.2.4

6 years ago

2.2.3

6 years ago

2.2.2

6 years ago

2.2.1

6 years ago

2.1.9

6 years ago

2.1.8

6 years ago

2.1.7

6 years ago

2.1.6

6 years ago

2.1.5

6 years ago

2.1.4

6 years ago

2.1.3

6 years ago

2.1.2

6 years ago

2.1.1

6 years ago

2.0.10

6 years ago

2.0.9

6 years ago

2.0.8

6 years ago

2.0.7

6 years ago

2.0.6

6 years ago

2.0.5

6 years ago

2.0.4

6 years ago

2.0.3

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

1.1.9

6 years ago

1.1.8

6 years ago

1.1.7

6 years ago

1.1.6

6 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago