{"version":3,"sources":["webpack://UEKendo/webpack/universalModuleDefinition","webpack://UEKendo/webpack/bootstrap","webpack://UEKendo/./src/mvvm/observable-model.ts","webpack://UEKendo/./src/index.ts","webpack://UEKendo/./src/mvvm/binder.ts","webpack://UEKendo/./src/mvvm/view-model.ts","webpack://UEKendo/./src/declarations/widget-type.ts","webpack://UEKendo/./src/spa/router-helper.ts","webpack://UEKendo/external \"UE\"","webpack://UEKendo/./src/view-helper.ts","webpack://UEKendo/./src/spa/view-options.ts"],"names":["root","factory","exports","module","require","define","amd","window","__WEBPACK_EXTERNAL_MODULE__7__","installedModules","__webpack_require__","moduleId","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","init","kendo","data","ObservableObject","Binder","ObservableModel","ViewModel","WidgetType","target","bindings","options","path","UE","Validator","isNullOrWhitespace","matchArray","match","isNull","join","element","find","handler","_","onInit","show","onShow","hide","onHide","$","extend","model"],"mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,EAAQG,QAAQ,OACR,mBAAXC,QAAyBA,OAAOC,IAC9CD,OAAO,UAAW,CAAC,MAAOJ,GACA,iBAAZC,QACdA,QAAiB,QAAID,EAAQG,QAAQ,OAErCJ,EAAc,QAAIC,EAAQD,EAAS,IARrC,CASGO,QAAQ,SAASC,GACpB,O,YCTE,IAAIC,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUT,QAGnC,IAAIC,EAASM,EAAiBE,GAAY,CACzCC,EAAGD,EACHE,GAAG,EACHX,QAAS,IAUV,OANAY,EAAQH,GAAUI,KAAKZ,EAAOD,QAASC,EAAQA,EAAOD,QAASQ,GAG/DP,EAAOU,GAAI,EAGJV,EAAOD,QA0Df,OArDAQ,EAAoBM,EAAIF,EAGxBJ,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AAC,OAXG,UACP,cAWI,EAAAC,gBAXG,UAEP,cAWI,EAAAC,UAXG,UACP,cAWI,EAAAC,WAXG,UAGP,uBACA,qBACA,uB,8ZCRA,kBAaI,WAAsBC,EAAaC,EAA+BC,G,OAC9D,YAAMF,EAAQC,EAAUC,IAAQ,KAIxC,OAlB6C,OAkB7C,EAlBA,CAA6CT,MAAMC,KAAKE,Q,2fCJxD,IAKA,cASI,a,OACI,cAAO,KAIf,OAdgD,OAchD,EAdA,CALA,QAKgD,S,0CCFhD,IAAKG,E,iDAAAA,MAAU,IAGf,UAAeA,G,2PCHf,cAUA,mBAAwBI,GACpB,GAAIC,EAAGC,UAAUC,mBAAmBH,GAChC,OAAOA,EAEX,IAAMI,EAAaJ,EAAKK,MAAM,WAC9B,OAAIJ,EAAGC,UAAUI,OAAOF,GACbJ,EAGJ,MADOI,EAAWG,KAAK,KACZ,Q,cCtBtB3D,EAAOD,QAAUM,G,8ECYjB,0BAA+BuD,GAC3B,OAAOA,EAAQC,KAAK,qB,6BCAxB,SAAgB9B,EAAO+B,EAAsBX,GACzC,IAAMF,EAA4B,CAC9BR,KAAM,SAAAsB,GAAK,OAAAD,EAAQE,UACnBC,KAAM,SAAAF,GAAK,OAAAD,EAAQI,UACnBC,KAAM,SAAAJ,GAAK,OAAAD,EAAQM,WAEvB,OAAOC,EAAEC,OAAOrB,EAAQE,G,iDAN5B,WAeA,yBAA8BW,EAAsBX,GAChD,IAAMF,EAASlB,EAAO+B,GAEtB,OADAb,EAAOsB,MAAQT,EACRO,EAAEC,OAAOrB,EAAQE","file":"ue-kendo.min.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"UE\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"UEKendo\", [\"UE\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"UEKendo\"] = factory(require(\"UE\"));\n\telse\n\t\troot[\"UEKendo\"] = factory(root[\"UE\"]);\n})(window, function(__WEBPACK_EXTERNAL_MODULE__7__) {\nreturn "," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 1);\n","/**\r\n * Kendo の Model の基本機能を提供します。\r\n */\r\nexport default abstract class ObservableModel extends kendo.data.ObservableObject {\r\n\r\n //#region メソッド\r\n\r\n /**\r\n * コンストラクター\r\n *\r\n * @constructor\r\n */\r\n protected constructor() {\r\n super();\r\n super.init(this);\r\n }\r\n\r\n //#endregion メソッド\r\n}\r\n","/**\r\n * エントリ ポイントを提供します。\r\n */\r\nimport Binder from \"./mvvm/binder\";\r\nimport ObservableModel from \"./mvvm/observable-model\";\r\nimport ViewHandler from \"./spa/declarations/view-handler\";\r\nimport ViewModel from \"./mvvm/view-model\";\r\nimport WidgetType from \"./declarations/widget-type\";\r\n\r\nexport * from \"./declarations/types\";\r\nexport * as RouterHelper from \"./spa/router-helper\";\r\nexport * as ViewHelper from \"./view-helper\";\r\nexport * as ViewOptions from \"./spa/view-options\";\r\nexport {\r\n Binder,\r\n ObservableModel,\r\n ViewHandler,\r\n ViewModel,\r\n WidgetType,\r\n};\r\n","/**\r\n * カスタム バインディングの基本機能を提供します。\r\n * https://docs.telerik.com/kendo-ui/api/javascript/data/binder\r\n */\r\nexport default abstract class Binder extends kendo.data.Binder {\r\n\r\n //#region メソッド\r\n\r\n /**\r\n * コンストラクター\r\n *\r\n * @constructor\r\n * @param target バインドする対象のオブジェクトを指定します。\r\n * @param bindings ViewModel のバインド情報を指定します。\r\n * @param options バインド オプションを指定します。\r\n */\r\n // tslint:disable-next-line:no-any\r\n protected constructor(target: any, bindings: kendo.data.Bindings, options?: kendo.data.BinderOptions) {\r\n super(target, bindings, options);\r\n }\r\n\r\n //#endregion メソッド\r\n}\r\n","import ObservableModel from \"./observable-model\";\r\n\r\n/**\r\n * Kendo の ViewModel の基本機能を提供します。\r\n */\r\nexport default abstract class ViewModel extends ObservableModel {\r\n\r\n //#region メソッド\r\n\r\n /**\r\n * コンストラクター\r\n *\r\n * @constructor\r\n */\r\n protected constructor() {\r\n super();\r\n }\r\n\r\n //#endregion メソッド\r\n}\r\n","/**\r\n * Kendo Widget の種類を表す列挙値を提供します。\r\n */\r\nenum WidgetType {\r\n // TODO: 必要に応じて実装予定。\r\n}\r\nexport default WidgetType;\r\n","/**\r\n * kendo.Router をサポートする機能を提供します。\r\n */\r\nimport * as UE from \"ue\";\r\n\r\n//#region 関数\r\n\r\n/**\r\n * kendo.Router 用のルート パスを生成します。\r\n *\r\n * @param path パス文字列を指定します。\r\n * @returns kendo.Router 用のルート パスを返します。\r\n */\r\nexport function toRoute(path: string): string {\r\n if (UE.Validator.isNullOrWhitespace(path)) {\r\n return path;\r\n }\r\n const matchArray = path.match(/[^\\/]+/g);\r\n if (UE.Validator.isNull(matchArray)) {\r\n return path;\r\n }\r\n const route = matchArray.join(\"/\");\r\n return `(/)${route}(/)`;\r\n}\r\n\r\n//#endregion 関数\r\n","module.exports = __WEBPACK_EXTERNAL_MODULE__7__;","/**\r\n * View をサポートする機能を提供します。\r\n */\r\n\r\n//#region 関数\r\n\r\n/**\r\n * Kendo Grid の Toolbar 部分のオブジェクトを取得します。\r\n *\r\n * @param element 処理対象の要素を指定します。\r\n * @returns Kendo Grid の Toolbar 部分のオブジェクトを返します。\r\n */\r\nexport function getGridToolbar(element: JQuery): JQuery {\r\n return element.find(\".k-grid-toolbar\");\r\n}\r\n\r\n//#endregion 関数\r\n","/**\r\n * kendo.ViewOptions をサポートする機能を提供します。\r\n */\r\nimport ViewHandler from \"./declarations/view-handler\";\r\n\r\n//#region 関数\r\n\r\n/**\r\n * ViewHandler から kendo.ViewOptions を作成します。\r\n *\r\n * @param handler kendo.View のイベントを購読するオブジェクトを指定します。\r\n * @param options kendo.View のオプション情報を指定します。\r\n */\r\nexport function create(handler: ViewHandler, options?: kendo.ViewOptions): kendo.ViewOptions {\r\n const target: kendo.ViewOptions = {\r\n init: _ => handler.onInit(),\r\n show: _ => handler.onShow(),\r\n hide: _ => handler.onHide(),\r\n };\r\n return $.extend(target, options);\r\n}\r\n\r\n/**\r\n * ViewHandler から kendo.ViewOptions を作成します。\r\n *\r\n * @param handler kendo.View のイベントを購読するオブジェクトを指定します。\r\n * @param options kendo.View のオプション情報を指定します。\r\n */\r\nexport function createAsModel(handler: ViewHandler, options?: kendo.ViewOptions): kendo.ViewOptions {\r\n const target = create(handler);\r\n target.model = handler;\r\n return $.extend(target, options);\r\n}\r\n\r\n//#endregion 関数\r\n"],"sourceRoot":""}