@bennerinformatics/ember-fw-table 2.0.16 → 2.0.17

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.
@@ -0,0 +1,11 @@
1
+ import Component from '@ember/component';
2
+ import layout from '../templates/components/fw-cell-permission-icon';
3
+
4
+ /**
5
+ * Displays a cell containing a boolean as either "Yes" or "No"
6
+ * @public
7
+ * @deprecated Use utils/formats.formatBoolean
8
+ */
9
+ export default Component.extend({
10
+ layout
11
+ });
@@ -0,0 +1,9 @@
1
+ {{#if (eq value 2)}}
2
+ <span class="text-success" title="Has Permission"><i class="fas fa-check"></i></span>
3
+ {{/if}}
4
+ {{#if (eq value 1)}}
5
+ <span class="text-primary" title="Permission Determined By Access Control"><i class="fas fa-lock"></i></span>
6
+ {{/if}}
7
+ {{#if (eq value 0)}}
8
+ <span class="text-danger" title="Doesn't Have Permission"><i class="fas fa-times"></i></span>
9
+ {{/if}}
@@ -0,0 +1 @@
1
+ export {default} from '@bennerinformatics/ember-fw-table/components/fw-cell-permission-icon';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bennerinformatics/ember-fw-table",
3
- "version": "2.0.16",
3
+ "version": "2.0.17",
4
4
  "description": "Additional resources related to tables for the Ember FW App System.",
5
5
  "keywords": [
6
6
  "ember-addon",