@angular-wave/angular.ts 0.6.3 → 0.6.4
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.
- package/dist/angular-ts.esm.js +2 -2
- package/dist/angular-ts.umd.js +2 -2
- package/package.json +1 -1
- package/src/angular.spec.js +2 -2
- package/src/animations/animate-children-directive.js +1 -1
- package/src/animations/animate-css-driver.js +2 -2
- package/src/animations/animate-css.js +1 -1
- package/src/animations/animate-js.js +1 -1
- package/src/animations/animate-queue.js +2 -2
- package/src/animations/animate.js +2 -2
- package/src/animations/animate.spec.js +3 -3
- package/src/animations/animation.js +2 -2
- package/src/binding.spec.js +1 -1
- package/src/core/cache/cache.js +1 -1
- package/src/core/compile/attributes.js +3 -3
- package/src/core/compile/compile.js +13 -140
- package/src/core/compile/compile.md +0 -8
- package/src/core/compile/compile.spec.js +35 -639
- package/src/core/controller/controller.js +1 -1
- package/src/core/di/injector.js +1 -1
- package/src/core/di/injector.spec.js +1 -1
- package/src/core/di/internal-injector.js +1 -1
- package/src/core/di/ng-module.js +1 -1
- package/src/core/filter/filter.js +1 -1
- package/src/core/interpolate/interpolate.js +1 -1
- package/src/core/interval/interval-factory.js +1 -1
- package/src/core/interval/interval.js +1 -1
- package/src/core/location/location.js +3 -3
- package/src/core/on.spec.js +1 -1
- package/src/core/parse/interpreter.js +1 -1
- package/src/core/prop.spec.js +2 -2
- package/src/core/q/q.js +1 -1
- package/src/core/root-element.spec.js +1 -1
- package/src/core/sanitize/sanitize-uri.js +1 -1
- package/src/core/sce/sce.js +2 -2
- package/src/core/sce/sce.spec.js +1 -1
- package/src/core/scope/scope.js +1 -1
- package/src/core/scope/scope.spec.js +1 -1
- package/src/core/timeout/timeout.js +1 -1
- package/src/core/url-utils/url-utils.js +1 -1
- package/src/directive/aria/aria.js +1 -1
- package/src/directive/aria/aria.spec.js +1 -1
- package/src/directive/attrs/attrs.js +3 -3
- package/src/directive/attrs/attrs.spec.js +1 -1
- package/src/directive/attrs/boolean.spec.js +1 -1
- package/src/directive/attrs/element-style.spec.js +1 -1
- package/src/directive/attrs/src.spec.js +1 -1
- package/src/directive/bind/bind.js +1 -1
- package/src/directive/bind/bind.spec.js +1 -1
- package/src/directive/bind/bing-html.spec.js +1 -1
- package/src/directive/change/change.spec.js +1 -1
- package/src/directive/class/class.js +1 -1
- package/src/directive/class/class.spec.js +2 -2
- package/src/directive/cloak/cloak.spec.js +1 -1
- package/src/directive/controller/controller.spec.js +2 -2
- package/src/directive/events/click.spec.js +1 -1
- package/src/directive/events/event.spec.js +1 -1
- package/src/directive/events/events.js +2 -2
- package/src/directive/form/form.js +2 -2
- package/src/directive/form/form.spec.js +1 -1
- package/src/directive/if/if.js +2 -3
- package/src/directive/if/if.md +0 -1
- package/src/directive/if/if.spec.js +2 -2
- package/src/directive/include/include.js +3 -3
- package/src/directive/include/include.spec.js +2 -2
- package/src/directive/init/init.spec.js +1 -1
- package/src/directive/input/input.js +1 -1
- package/src/directive/input/input.spec.js +1 -1
- package/src/directive/messages/messages.js +1 -1
- package/src/directive/messages/messages.spec.js +3 -3
- package/src/directive/model/model.js +6 -6
- package/src/directive/model/model.spec.js +2 -2
- package/src/directive/model-options/model-options.js +1 -1
- package/src/directive/model-options/model-options.spec.js +2 -2
- package/src/directive/non-bindable/non-bindable.spec.js +1 -1
- package/src/directive/observe/observe.spec.js +1 -1
- package/src/directive/options/options.js +6 -2
- package/src/directive/options/options.spec.js +2 -2
- package/src/directive/ref/href.spec.js +2 -2
- package/src/directive/ref/ref.js +1 -1
- package/src/directive/repeat/repeat.js +263 -255
- package/src/directive/repeat/repeat.md +0 -22
- package/src/directive/repeat/repeat.spec.js +2 -115
- package/src/directive/script/script.spec.js +1 -1
- package/src/directive/select/select.js +2 -2
- package/src/directive/select/select.spec.js +2 -2
- package/src/directive/show-hide/show-hide.js +1 -3
- package/src/directive/show-hide/show-hide.md +0 -2
- package/src/directive/show-hide/show-hide.spec.js +1 -1
- package/src/directive/style/style.spec.js +1 -1
- package/src/directive/switch/switch.js +2 -4
- package/src/directive/switch/switch.spec.js +1 -51
- package/src/directive/transclude/transclude.js +2 -2
- package/src/directive/validators/validators.js +2 -2
- package/src/directive/validators/validators.spec.js +1 -1
- package/src/filters/filter.js +1 -1
- package/src/filters/filter.spec.js +2 -2
- package/src/filters/filters.js +1 -1
- package/src/filters/filters.spec.js +1 -1
- package/src/filters/limit-to.js +1 -1
- package/src/filters/limit-to.spec.js +1 -1
- package/src/filters/order-by.js +1 -1
- package/src/index.js +3 -9
- package/src/loader.js +10 -5
- package/src/router/common/trace.js +1 -1
- package/src/router/directives/state-directives.js +1 -1
- package/src/router/directives/state-directives.spec.js +1 -1
- package/src/router/directives/view-directive.js +2 -2
- package/src/router/directives/view-directive.spec.js +1 -1
- package/src/router/hooks/redirect-to.js +1 -1
- package/src/router/params/param-type.js +1 -1
- package/src/router/params/param-types.js +1 -1
- package/src/router/params/param.js +1 -1
- package/src/router/resolve/resolvable.js +1 -1
- package/src/router/resolve/resolve-context.js +1 -1
- package/src/router/state/state-builder.js +1 -1
- package/src/router/state/state-matcher.js +1 -1
- package/src/router/state/state-object.js +1 -1
- package/src/router/state/state-queue-manager.js +1 -1
- package/src/router/state/state-registry.js +1 -1
- package/src/router/state/state-service.js +1 -1
- package/src/router/state/state.spec.js +2 -2
- package/src/router/state/target-state.js +1 -1
- package/src/router/state/views.js +1 -1
- package/src/router/state-provider.js +1 -1
- package/src/router/template-factory.js +1 -1
- package/src/router/template-factory.spec.js +1 -1
- package/src/router/transition/hook-registry.js +1 -1
- package/src/router/transition/transition-service.js +1 -1
- package/src/router/transition/transition.js +1 -1
- package/src/router/url/url-config.js +1 -1
- package/src/router/url/url-matcher.js +1 -1
- package/src/router/url/url-rule.js +1 -1
- package/src/router/url/url-rules.js +1 -1
- package/src/router/url/url-service.js +6 -1
- package/src/router/url/url-service.spec.js +1 -1
- package/src/router/view/view.spec.js +1 -1
- package/src/router/view-hook.spec.js +1 -1
- package/src/router/view-scroll.spec.js +1 -1
- package/src/services/anchor-scroll.js +1 -1
- package/src/services/browser.js +2 -2
- package/src/services/cookie-reader.js +1 -1
- package/src/services/http/http.js +2 -2
- package/src/services/http/http.spec.js +1 -1
- package/src/services/http-backend/http-backend.js +1 -1
- package/src/services/log.js +1 -1
- package/src/services/template-request.js +1 -1
- package/src/shared/common.js +1 -1
- package/src/shared/jqlite/jqlite.js +9 -9
- package/src/shared/jqlite/jqlite.spec.js +11 -11
- package/src/shared/min-err.spec.js +6 -1
- package/src/shared/predicates.js +1 -1
- package/src/shared/strings.js +1 -1
- package/src/shared/test-utils.js +1 -1
- package/src/shared/utils.js +1 -1
- package/src/shared/utils.spec.js +1 -1
- package/src/types.js +0 -2
- package/types/animations/animate-css-driver.d.ts +1 -1
- package/types/animations/animate.d.ts +1 -1
- package/types/core/cache/cache.d.ts +1 -1
- package/types/core/compile/attributes.d.ts +2 -2
- package/types/core/compile/compile.d.ts +1 -1
- package/types/core/location/location.d.ts +1 -1
- package/types/directive/model/model.d.ts +1 -1
- package/types/directive/repeat/repeat.d.ts +0 -1
- package/types/loader.d.ts +2 -0
- package/types/services/browser.d.ts +1 -1
- package/types/shared/jqlite/jqlite.d.ts +1 -1
- package/types/shared/test-utils.d.ts +1 -1
- package/types/types.d.ts +1 -5
package/src/core/di/injector.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Angular } from "../../loader";
|
|
2
2
|
import { createInjector, annotate } from "./injector";
|
|
3
|
-
import { valueFn, extend } from "../../shared/utils";
|
|
3
|
+
import { valueFn, extend } from "../../shared/utils.js";
|
|
4
4
|
|
|
5
5
|
describe("injector.modules", () => {
|
|
6
6
|
beforeEach(() => {
|
package/src/core/di/ng-module.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { JQLite } from "../../shared/jqlite/jqlite";
|
|
1
|
+
import { JQLite } from "../../shared/jqlite/jqlite.js";
|
|
2
2
|
import { urlResolve } from "../url-utils/url-utils";
|
|
3
3
|
import {
|
|
4
4
|
encodeUriSegment,
|
|
@@ -12,8 +12,8 @@ import {
|
|
|
12
12
|
parseKeyValue,
|
|
13
13
|
toInt,
|
|
14
14
|
toKeyValue,
|
|
15
|
-
} from "../../shared/utils";
|
|
16
|
-
import { ScopePhase } from "../scope/scope";
|
|
15
|
+
} from "../../shared/utils.js";
|
|
16
|
+
import { ScopePhase } from "../scope/scope.js";
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* @typedef {Object} DefaultPorts
|
package/src/core/on.spec.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Angular } from "../loader";
|
|
2
2
|
import { createInjector } from "./di/injector";
|
|
3
|
-
import { valueFn } from "../shared/utils";
|
|
3
|
+
import { valueFn } from "../shared/utils.js";
|
|
4
4
|
|
|
5
5
|
describe("ngOn* event binding", () => {
|
|
6
6
|
let $rootScope, module, injector, $compile;
|
package/src/core/prop.spec.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Angular } from "../loader";
|
|
2
2
|
import { createInjector } from "./di/injector";
|
|
3
|
-
import { valueFn } from "../shared/utils";
|
|
4
|
-
import { dealoc } from "../shared/jqlite/jqlite";
|
|
3
|
+
import { valueFn } from "../shared/utils.js";
|
|
4
|
+
import { dealoc } from "../shared/jqlite/jqlite.js";
|
|
5
5
|
|
|
6
6
|
describe("ngProp*", () => {
|
|
7
7
|
let $compile, $rootScope, compileProvider, $sce;
|
package/src/core/q/q.js
CHANGED
package/src/core/sce/sce.js
CHANGED
|
@@ -11,9 +11,9 @@ import {
|
|
|
11
11
|
lowercase,
|
|
12
12
|
minErr,
|
|
13
13
|
shallowCopy,
|
|
14
|
-
} from "../../shared/utils";
|
|
14
|
+
} from "../../shared/utils.js";
|
|
15
15
|
|
|
16
|
-
import { snakeToCamel } from "../../shared/jqlite/jqlite";
|
|
16
|
+
import { snakeToCamel } from "../../shared/jqlite/jqlite.js";
|
|
17
17
|
|
|
18
18
|
const $sceMinErr = minErr("$sce");
|
|
19
19
|
|
package/src/core/sce/sce.spec.js
CHANGED
package/src/core/scope/scope.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BOOLEAN_ATTR } from "../../shared/jqlite/jqlite";
|
|
2
|
-
import { directiveNormalize } from "../../shared/utils";
|
|
3
|
-
import { ALIASED_ATTR } from "../../shared/constants";
|
|
1
|
+
import { BOOLEAN_ATTR } from "../../shared/jqlite/jqlite.js";
|
|
2
|
+
import { directiveNormalize } from "../../shared/utils.js";
|
|
3
|
+
import { ALIASED_ATTR } from "../../shared/constants.js";
|
|
4
4
|
|
|
5
5
|
export const REGEX_STRING_REGEXP = /^\/(.+)\/([a-z]*)$/;
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Angular } from "../../loader";
|
|
2
2
|
import { createInjector } from "../../core/di/injector";
|
|
3
|
-
import { dealoc } from "../../shared/jqlite/jqlite";
|
|
3
|
+
import { dealoc } from "../../shared/jqlite/jqlite.js";
|
|
4
4
|
|
|
5
5
|
describe("boolean attr directives", () => {
|
|
6
6
|
let element, $rootScope, $compile, $rootElement;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Angular } from "../../loader";
|
|
2
2
|
import { createInjector } from "../../core/di/injector";
|
|
3
|
-
import { dealoc, JQLite } from "../../shared/jqlite/jqlite";
|
|
3
|
+
import { dealoc, JQLite } from "../../shared/jqlite/jqlite.js";
|
|
4
4
|
|
|
5
5
|
describe("style", () => {
|
|
6
6
|
let $rootScope;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { dealoc, JQLite } from "../../shared/jqlite/jqlite";
|
|
1
|
+
import { dealoc, JQLite } from "../../shared/jqlite/jqlite.js";
|
|
2
2
|
import { Angular } from "../../loader";
|
|
3
|
-
import { valueFn } from "../../shared/utils";
|
|
3
|
+
import { valueFn } from "../../shared/utils.js";
|
|
4
4
|
|
|
5
5
|
describe("ngClass", () => {
|
|
6
6
|
let element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Angular } from "../../loader";
|
|
2
2
|
import { createInjector } from "../../core/di/injector";
|
|
3
|
-
import { dealoc, JQLite } from "../../shared/jqlite/jqlite";
|
|
4
|
-
import { bind } from "../../shared/utils";
|
|
3
|
+
import { dealoc, JQLite } from "../../shared/jqlite/jqlite.js";
|
|
4
|
+
import { bind } from "../../shared/utils.js";
|
|
5
5
|
|
|
6
6
|
describe("ngController", () => {
|
|
7
7
|
let angular;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { directiveNormalize } from "../../shared/utils";
|
|
2
|
-
import { ScopePhase } from "../../core/scope/scope";
|
|
1
|
+
import { directiveNormalize } from "../../shared/utils.js";
|
|
2
|
+
import { ScopePhase } from "../../core/scope/scope.js";
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
5
|
* A collection of directives that allows creation of custom event handlers that are defined as
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
snakeCase,
|
|
8
8
|
extend,
|
|
9
9
|
isUndefined,
|
|
10
|
-
} from "../../shared/utils";
|
|
10
|
+
} from "../../shared/utils.js";
|
|
11
11
|
import {
|
|
12
12
|
PRISTINE_CLASS,
|
|
13
13
|
DIRTY_CLASS,
|
|
14
14
|
VALID_CLASS,
|
|
15
15
|
INVALID_CLASS,
|
|
16
|
-
} from "../../shared/constants";
|
|
16
|
+
} from "../../shared/constants.js";
|
|
17
17
|
|
|
18
18
|
export const nullFormCtrl = {
|
|
19
19
|
$addControl: () => {},
|
package/src/directive/if/if.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { domInsert } from "../../animations/animate";
|
|
2
|
-
import { getBlockNodes } from "../../shared/jqlite/jqlite";
|
|
3
|
-
import { hasAnimate } from "../../shared/utils";
|
|
2
|
+
import { getBlockNodes } from "../../shared/jqlite/jqlite.js";
|
|
3
|
+
import { hasAnimate } from "../../shared/utils.js";
|
|
4
4
|
|
|
5
5
|
ngIfDirective.$inject = ["$animate"];
|
|
6
6
|
/**
|
|
@@ -11,7 +11,6 @@ ngIfDirective.$inject = ["$animate"];
|
|
|
11
11
|
*/
|
|
12
12
|
export function ngIfDirective($animate) {
|
|
13
13
|
return {
|
|
14
|
-
multiElement: true,
|
|
15
14
|
transclude: "element",
|
|
16
15
|
priority: 600,
|
|
17
16
|
terminal: true,
|
package/src/directive/if/if.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { dealoc, JQLite } from "../../shared/jqlite/jqlite";
|
|
2
|
-
import { valueFn } from "../../shared/utils";
|
|
1
|
+
import { dealoc, JQLite } from "../../shared/jqlite/jqlite.js";
|
|
2
|
+
import { valueFn } from "../../shared/utils.js";
|
|
3
3
|
import { Angular } from "../../loader";
|
|
4
4
|
import { wait } from "../../shared/test-utils";
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { isDefined } from "../../shared/utils";
|
|
2
|
-
import { buildFragment } from "../../shared/jqlite/jqlite";
|
|
3
|
-
import { hasAnimate } from "../../shared/utils";
|
|
1
|
+
import { isDefined } from "../../shared/utils.js";
|
|
2
|
+
import { buildFragment } from "../../shared/jqlite/jqlite.js";
|
|
3
|
+
import { hasAnimate } from "../../shared/utils.js";
|
|
4
4
|
import { domInsert } from "../../animations/animate";
|
|
5
5
|
|
|
6
6
|
export const ngIncludeDirective = [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { dealoc, JQLite } from "../../shared/jqlite/jqlite";
|
|
1
|
+
import { dealoc, JQLite } from "../../shared/jqlite/jqlite.js";
|
|
2
2
|
import { Angular } from "../../loader";
|
|
3
3
|
import { createInjector } from "../../core/di/injector";
|
|
4
|
-
import { valueFn } from "../../shared/utils";
|
|
4
|
+
import { valueFn } from "../../shared/utils.js";
|
|
5
5
|
import { wait } from "../../shared/test-utils";
|
|
6
6
|
|
|
7
7
|
describe("ngInclude", () => {
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
timezoneToOffset,
|
|
14
14
|
nextUid,
|
|
15
15
|
equals,
|
|
16
|
-
} from "../../shared/utils";
|
|
16
|
+
} from "../../shared/utils.js";
|
|
17
17
|
import { ngModelMinErr } from "./../model/model";
|
|
18
18
|
|
|
19
19
|
// Regex code was initially obtained from SO prior to modification: https://stackoverflow.com/questions/3143070/javascript-regex-iso-datetime#answer-3143231
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createInjector } from "../../core/di/injector";
|
|
2
|
-
import { countWatchers } from "../../core/scope/scope";
|
|
2
|
+
import { countWatchers } from "../../core/scope/scope.js";
|
|
3
3
|
import { Angular } from "../../loader";
|
|
4
|
-
import { isString } from "../../shared/utils";
|
|
5
|
-
import { JQLite } from "../../shared/jqlite/jqlite";
|
|
4
|
+
import { isString } from "../../shared/utils.js";
|
|
5
|
+
import { JQLite } from "../../shared/jqlite/jqlite.js";
|
|
6
6
|
|
|
7
7
|
describe("ngMessages", () => {
|
|
8
8
|
let $rootScope, $compile, $templateCache;
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
TOUCHED_CLASS,
|
|
8
8
|
UNTOUCHED_CLASS,
|
|
9
9
|
VALID_CLASS,
|
|
10
|
-
} from "../../shared/constants";
|
|
10
|
+
} from "../../shared/constants.js";
|
|
11
11
|
import {
|
|
12
12
|
minErr,
|
|
13
13
|
isNumber,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
hasAnimate,
|
|
19
19
|
isBoolean,
|
|
20
20
|
snakeCase,
|
|
21
|
-
} from "../../shared/utils";
|
|
21
|
+
} from "../../shared/utils.js";
|
|
22
22
|
import {
|
|
23
23
|
isObjectEmpty,
|
|
24
24
|
nullFormCtrl,
|
|
@@ -26,8 +26,8 @@ import {
|
|
|
26
26
|
setupValidity,
|
|
27
27
|
} from "../form/form";
|
|
28
28
|
import { defaultModelOptions } from "../model-options/model-options";
|
|
29
|
-
import { startingTag } from "../../shared/jqlite/jqlite";
|
|
30
|
-
import { ScopePhase } from "../../core/scope/scope";
|
|
29
|
+
import { startingTag } from "../../shared/jqlite/jqlite.js";
|
|
30
|
+
import { ScopePhase } from "../../core/scope/scope.js";
|
|
31
31
|
|
|
32
32
|
export const ngModelMinErr = minErr("ngModel");
|
|
33
33
|
|
|
@@ -86,7 +86,7 @@ export class NgModelController {
|
|
|
86
86
|
* @param {import('../../core/exception-handler').ErrorHandler} $exceptionHandler
|
|
87
87
|
* @param {import('../../core/compile/attributes').Attributes} $attr
|
|
88
88
|
* @param {import('../../shared/jqlite/jqlite').JQLite} $element
|
|
89
|
-
* @param {import("../../core/parse/parse").ParseService} $parse
|
|
89
|
+
* @param {import("../../core/parse/parse.js").ParseService} $parse
|
|
90
90
|
* @param {*} $animate
|
|
91
91
|
* @param {*} $timeout
|
|
92
92
|
* @param {import("../../core/q/q").QPromise<any>} $q
|
|
@@ -146,7 +146,7 @@ export class NgModelController {
|
|
|
146
146
|
this.$$parsedNgModel = $parse($attr["ngModel"]);
|
|
147
147
|
this.$$parsedNgModelAssign = this.$$parsedNgModel.assign;
|
|
148
148
|
|
|
149
|
-
/** @type {import("../../core/parse/parse").CompiledExpression|((Scope) => any)} */
|
|
149
|
+
/** @type {import("../../core/parse/parse.js").CompiledExpression|((Scope) => any)} */
|
|
150
150
|
this.$$ngModelGet = this.$$parsedNgModel;
|
|
151
151
|
this.$$ngModelSet = this.$$parsedNgModelAssign;
|
|
152
152
|
this.$$pendingDebounce = null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { JQLite, dealoc } from "../../shared/jqlite/jqlite";
|
|
1
|
+
import { JQLite, dealoc } from "../../shared/jqlite/jqlite.js";
|
|
2
2
|
import { Angular } from "../../loader";
|
|
3
3
|
import { NgModelController } from "./model";
|
|
4
|
-
import { isDefined, valueFn, isObject } from "../../shared/utils";
|
|
4
|
+
import { isDefined, valueFn, isObject } from "../../shared/utils.js";
|
|
5
5
|
import { browserTrigger } from "../../shared/test-utils";
|
|
6
6
|
|
|
7
7
|
describe("ngModel", () => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defaultModelOptions } from "./model-options";
|
|
2
|
-
import { dealoc, JQLite } from "../../shared/jqlite/jqlite";
|
|
2
|
+
import { dealoc, JQLite } from "../../shared/jqlite/jqlite.js";
|
|
3
3
|
import { Angular } from "../../loader";
|
|
4
4
|
import { createInjector } from "../../core/di/injector";
|
|
5
|
-
import { valueFn } from "../../shared/utils";
|
|
5
|
+
import { valueFn } from "../../shared/utils.js";
|
|
6
6
|
|
|
7
7
|
function changeGivenInputTo(inputElm, val) {
|
|
8
8
|
inputElm[0].value = val;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
JQLite,
|
|
3
|
+
removeElement,
|
|
4
|
+
startingTag,
|
|
5
|
+
} from "../../shared/jqlite/jqlite.js";
|
|
2
6
|
import {
|
|
3
7
|
equals,
|
|
4
8
|
hashKey,
|
|
@@ -6,7 +10,7 @@ import {
|
|
|
6
10
|
isArrayLike,
|
|
7
11
|
isDefined,
|
|
8
12
|
minErr,
|
|
9
|
-
} from "../../shared/utils";
|
|
13
|
+
} from "../../shared/utils.js";
|
|
10
14
|
|
|
11
15
|
const ngOptionsMinErr = minErr("ngOptions");
|
|
12
16
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createInjector } from "../../core/di/injector";
|
|
2
|
-
import { JQLite, dealoc } from "../../shared/jqlite/jqlite";
|
|
2
|
+
import { JQLite, dealoc } from "../../shared/jqlite/jqlite.js";
|
|
3
3
|
import { Angular } from "../../loader";
|
|
4
4
|
import {
|
|
5
5
|
isBoolean,
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
equals,
|
|
8
8
|
isString,
|
|
9
9
|
isFunction,
|
|
10
|
-
} from "../../shared/utils";
|
|
10
|
+
} from "../../shared/utils.js";
|
|
11
11
|
import { browserTrigger } from "../../shared/test-utils";
|
|
12
12
|
|
|
13
13
|
describe("ngOptions", () => {
|