blob: 356cc46688e74665bf22e331aa1df75c9af1bb4f [file] [log] [blame]
{"remainingRequest":"/Users/jaslan/Development/nifi-fds/angular-url-loader.js!/Users/jaslan/Development/nifi-fds/node_modules/babel-loader/lib/index.js??ref--5-2!/Users/jaslan/Development/nifi-fds/platform/core/dialogs/fds-dialog.component.js","dependencies":[{"path":"/Users/jaslan/Development/nifi-fds/platform/core/dialogs/fds-dialog.component.js","mtime":1562689731041},{"path":"/Users/jaslan/Development/nifi-fds/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/Users/jaslan/Development/nifi-fds/angular-url-loader.js","mtime":1562689731025},{"path":"/Users/jaslan/Development/nifi-fds/node_modules/babel-loader/lib/index.js","mtime":499162500000}],"contextDependencies":[],"result":["/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright ownership.\n * The ASF licenses this file to You under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with\n * the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Component, ContentChildren, Directive } from '@angular/core';\nexport function FdsDialogTitleDirective() {}\nFdsDialogTitleDirective.prototype = {\n contstructor: FdsDialogTitleDirective\n};\nFdsDialogTitleDirective.decorators = [{\n type: Directive,\n args: [{\n selector: 'fds-dialog-title'\n }]\n}];\nexport function FdsDialogContentDirective() {}\nFdsDialogContentDirective.prototype = {\n contstructor: FdsDialogContentDirective\n};\nFdsDialogContentDirective.decorators = [{\n type: Directive,\n args: [{\n selector: 'fds-dialog-content'\n }]\n}];\nexport function FdsDialogActionsDirective() {}\nFdsDialogActionsDirective.prototype = {\n contstructor: FdsDialogActionsDirective\n};\nFdsDialogActionsDirective.decorators = [{\n type: Directive,\n args: [{\n selector: 'fds-dialog-actions'\n }]\n}];\n/**\n * FdsDialogComponent constructor\n *\n * @constructor\n */\n\nfunction FdsDialogComponent() {\n this.dialogTitle = '';\n this.dialogContent = '';\n this.dialogActions = '';\n}\n\nFdsDialogComponent.prototype = {\n constructor: FdsDialogComponent,\n\n /**\n * Respond after Angular projects external content into the component's view.\n */\n ngAfterContentInit: function ngAfterContentInit() {\n if (this.dialogTitle.length > 1) {\n throw new Error('Duplicate fds-dialog-title component at in fds-dialog.');\n }\n\n if (this.dialogContent.length > 1) {\n throw new Error('Duplicate fds-dialog-content component at in fds-dialog.');\n }\n\n if (this.dialogActions.length > 1) {\n throw new Error('Duplicate fds-dialog-actions component at in fds-dialog.');\n }\n }\n};\nFdsDialogComponent.annotations = [new Component({\n selector: 'fds-dialog',\n template: require('./fds-dialog.component.html'),\n queries: {\n dialogTitle: new ContentChildren(FdsDialogTitleDirective),\n dialogContent: new ContentChildren(FdsDialogContentDirective),\n dialogActions: new ContentChildren(FdsDialogActionsDirective)\n }\n})];\nFdsDialogComponent.parameters = [];\nexport { FdsDialogComponent };"]}