| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 | 
							- /*!
 
-  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
 
-  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
 
-  * v1.0.0-beta.97
 
-  */
 
- import { h } from "@stencil/core";
 
- import { CSS, TEXT } from "./resources";
 
- /**
 
-  * @slot - A slot for adding custom content, primarily loading information.
 
-  */
 
- export class Scrim {
 
-   constructor() {
 
-     // --------------------------------------------------------------------------
 
-     //
 
-     //  Properties
 
-     //
 
-     // --------------------------------------------------------------------------
 
-     /**
 
-      * Accessible name when the component is loading.
 
-      *
 
-      * @default "Loading"
 
-      */
 
-     this.intlLoading = TEXT.loading;
 
-     /**
 
-      * When `true`, a busy indicator is displayed.
 
-      */
 
-     this.loading = false;
 
-   }
 
-   // --------------------------------------------------------------------------
 
-   //
 
-   //  Render Method
 
-   //
 
-   // --------------------------------------------------------------------------
 
-   render() {
 
-     const { el, loading, intlLoading } = this;
 
-     const hasContent = el.innerHTML.trim().length > 0;
 
-     const loaderNode = loading ? h("calcite-loader", { active: true, label: intlLoading }) : null;
 
-     const contentNode = hasContent ? (h("div", { class: CSS.content }, h("slot", null))) : null;
 
-     return (h("div", { class: CSS.scrim }, loaderNode, contentNode));
 
-   }
 
-   static get is() { return "calcite-scrim"; }
 
-   static get encapsulation() { return "shadow"; }
 
-   static get originalStyleUrls() {
 
-     return {
 
-       "$": ["scrim.scss"]
 
-     };
 
-   }
 
-   static get styleUrls() {
 
-     return {
 
-       "$": ["scrim.css"]
 
-     };
 
-   }
 
-   static get properties() {
 
-     return {
 
-       "intlLoading": {
 
-         "type": "string",
 
-         "mutable": false,
 
-         "complexType": {
 
-           "original": "string",
 
-           "resolved": "string",
 
-           "references": {}
 
-         },
 
-         "required": false,
 
-         "optional": true,
 
-         "docs": {
 
-           "tags": [{
 
-               "name": "default",
 
-               "text": "\"Loading\""
 
-             }],
 
-           "text": "Accessible name when the component is loading."
 
-         },
 
-         "attribute": "intl-loading",
 
-         "reflect": false,
 
-         "defaultValue": "TEXT.loading"
 
-       },
 
-       "loading": {
 
-         "type": "boolean",
 
-         "mutable": false,
 
-         "complexType": {
 
-           "original": "boolean",
 
-           "resolved": "boolean",
 
-           "references": {}
 
-         },
 
-         "required": false,
 
-         "optional": false,
 
-         "docs": {
 
-           "tags": [],
 
-           "text": "When `true`, a busy indicator is displayed."
 
-         },
 
-         "attribute": "loading",
 
-         "reflect": true,
 
-         "defaultValue": "false"
 
-       }
 
-     };
 
-   }
 
-   static get elementRef() { return "el"; }
 
- }
 
 
  |