@projectcaluma/ember-core 11.0.0-beta.3 → 11.0.0-beta.31
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/CHANGELOG.md +60 -0
- package/addon/-private/possible-types.js +29 -26
- package/addon/caluma-query/index.js +1 -5
- package/addon/caluma-query/models/case.js +4 -4
- package/addon/caluma-query/models/index.js +5 -5
- package/addon/caluma-query/models/work-item.js +5 -5
- package/addon/caluma-query/resource.js +30 -29
- package/addon/services/-scheduler.js +27 -5
- package/addon/services/caluma-options.js +12 -27
- package/addon/utils/slugify.js +1 -1
- package/app/styles/@projectcaluma/ember-core.scss +1 -0
- package/app/styles/_cc-uikit-powerselect.scss +31 -0
- package/blueprints/@projectcaluma/ember-core/index.js +1 -1
- package/index.js +1 -1
- package/package.json +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,63 @@
|
|
|
1
|
+
# [@projectcaluma/ember-core-v11.0.0-beta.9](https://github.com/projectcaluma/ember-caluma/compare/@projectcaluma/ember-core-v11.0.0-beta.8...@projectcaluma/ember-core-v11.0.0-beta.9) (2022-08-05)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
* feat!: add multi file upload (#2040) ([c4fd004](https://github.com/projectcaluma/ember-caluma/commit/c4fd0049654b2d2e5ea62e5909a45d89cb888b40)), closes [#2040](https://github.com/projectcaluma/ember-caluma/issues/2040)
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
### BREAKING CHANGES
|
|
8
|
+
|
|
9
|
+
* This requires the caluma backend version v8.0.0-beta.12
|
|
10
|
+
or later.
|
|
11
|
+
|
|
12
|
+
# [@projectcaluma/ember-core-v11.0.0-beta.8](https://github.com/projectcaluma/ember-caluma/compare/@projectcaluma/ember-core-v11.0.0-beta.7...@projectcaluma/ember-core-v11.0.0-beta.8) (2022-08-02)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **analytics:** adds analytics module for caluma ([#1655](https://github.com/projectcaluma/ember-caluma/issues/1655)) ([9573abe](https://github.com/projectcaluma/ember-caluma/commit/9573abe95cd39cb1467113026f2ab7773c3c9143))
|
|
18
|
+
|
|
19
|
+
# [@projectcaluma/ember-core-v11.0.0-beta.7](https://github.com/projectcaluma/ember-caluma/compare/@projectcaluma/ember-core-v11.0.0-beta.6...@projectcaluma/ember-core-v11.0.0-beta.7) (2022-05-09)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* **resources:** fix deprecations of ember-resources ([7a84c5c](https://github.com/projectcaluma/ember-caluma/commit/7a84c5c78d5b28f7b5393c64722907728dd5f42b))
|
|
25
|
+
|
|
26
|
+
# [@projectcaluma/ember-core-v11.0.0-beta.6](https://github.com/projectcaluma/ember-caluma/compare/@projectcaluma/ember-core-v11.0.0-beta.5...@projectcaluma/ember-core-v11.0.0-beta.6) (2022-03-23)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Bug Fixes
|
|
30
|
+
|
|
31
|
+
* **embroider:** add missing dependency on @ember/string ([3a6e6bb](https://github.com/projectcaluma/ember-caluma/commit/3a6e6bb39a8c1a40a2ae00b3d4ea00606a755e25))
|
|
32
|
+
|
|
33
|
+
# [@projectcaluma/ember-core-v11.0.0-beta.5](https://github.com/projectcaluma/ember-caluma/compare/@projectcaluma/ember-core-v11.0.0-beta.4...@projectcaluma/ember-core-v11.0.0-beta.5) (2022-03-11)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Bug Fixes
|
|
37
|
+
|
|
38
|
+
* **core:** ensure only language code of the locale is passed to slugify ([02e4506](https://github.com/projectcaluma/ember-caluma/commit/02e45064b9171de85af5b9e1a890d5207a6ec252))
|
|
39
|
+
* **core:** handle null values in raw dates ([9c73d0b](https://github.com/projectcaluma/ember-caluma/commit/9c73d0b3853b154b5edc84bcf2c1227ffb825116)), closes [#1826](https://github.com/projectcaluma/ember-caluma/issues/1826)
|
|
40
|
+
* **distribution:** fix sorting after group names in navigation ([2299d3b](https://github.com/projectcaluma/ember-caluma/commit/2299d3b0e265204ab6747dbdc6a8b64fc22f247f))
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### Features
|
|
44
|
+
|
|
45
|
+
* **form:** support passing component override classes ([9409c7c](https://github.com/projectcaluma/ember-caluma/commit/9409c7cb5901dcdffec1c0294046da64b74b9922))
|
|
46
|
+
|
|
47
|
+
# [@projectcaluma/ember-core-v11.0.0-beta.4](https://github.com/projectcaluma/ember-caluma/compare/@projectcaluma/ember-core-v11.0.0-beta.3...@projectcaluma/ember-core-v11.0.0-beta.4) (2022-02-07)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
### Bug Fixes
|
|
51
|
+
|
|
52
|
+
* **core:** remove usage of moment and remove momentAttr for models ([92f3651](https://github.com/projectcaluma/ember-caluma/commit/92f365114900fe9f9ad5b49c9e9eed97b25991b5))
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
### BREAKING CHANGES
|
|
56
|
+
|
|
57
|
+
* **core:** The `momentAttr` decorator for models was replaced with
|
|
58
|
+
a `dateAttr` that returns a plain JS date object. Predefined date
|
|
59
|
+
attributes on models are now JS dates instead of moment objects.
|
|
60
|
+
|
|
1
61
|
# [@projectcaluma/ember-core-v11.0.0-beta.3](https://github.com/projectcaluma/ember-caluma/compare/@projectcaluma/ember-core-v11.0.0-beta.2...@projectcaluma/ember-core-v11.0.0-beta.3) (2022-02-03)
|
|
2
62
|
|
|
3
63
|
|
|
@@ -1,44 +1,31 @@
|
|
|
1
1
|
export default {
|
|
2
|
-
|
|
3
|
-
"Workflow",
|
|
4
|
-
"Form",
|
|
5
|
-
"Document",
|
|
6
|
-
"Case",
|
|
7
|
-
"WorkItem",
|
|
8
|
-
"Flow",
|
|
9
|
-
"DynamicOption",
|
|
10
|
-
"Option",
|
|
2
|
+
Question: [
|
|
11
3
|
"TextQuestion",
|
|
12
|
-
"StringAnswer",
|
|
13
4
|
"ChoiceQuestion",
|
|
14
5
|
"MultipleChoiceQuestion",
|
|
15
|
-
"ListAnswer",
|
|
16
6
|
"DynamicChoiceQuestion",
|
|
17
7
|
"DynamicMultipleChoiceQuestion",
|
|
18
8
|
"TextareaQuestion",
|
|
19
9
|
"FloatQuestion",
|
|
20
|
-
"FloatAnswer",
|
|
21
10
|
"IntegerQuestion",
|
|
22
|
-
"IntegerAnswer",
|
|
23
11
|
"DateQuestion",
|
|
24
|
-
"DateAnswer",
|
|
25
12
|
"TableQuestion",
|
|
26
|
-
"TableAnswer",
|
|
27
13
|
"FormQuestion",
|
|
28
|
-
"
|
|
14
|
+
"FilesQuestion",
|
|
29
15
|
"StaticQuestion",
|
|
30
|
-
"FileAnswer",
|
|
31
|
-
"File",
|
|
32
16
|
"CalculatedFloatQuestion",
|
|
33
17
|
"ActionButtonQuestion",
|
|
34
|
-
"SimpleTask",
|
|
35
|
-
"CompleteWorkflowFormTask",
|
|
36
|
-
"CompleteTaskFormTask",
|
|
37
18
|
],
|
|
38
|
-
|
|
39
|
-
Question: [
|
|
19
|
+
Node: [
|
|
40
20
|
"TextQuestion",
|
|
21
|
+
"Form",
|
|
22
|
+
"Document",
|
|
23
|
+
"Case",
|
|
24
|
+
"Workflow",
|
|
25
|
+
"Flow",
|
|
26
|
+
"WorkItem",
|
|
41
27
|
"ChoiceQuestion",
|
|
28
|
+
"Option",
|
|
42
29
|
"MultipleChoiceQuestion",
|
|
43
30
|
"DynamicChoiceQuestion",
|
|
44
31
|
"DynamicMultipleChoiceQuestion",
|
|
@@ -48,19 +35,35 @@ export default {
|
|
|
48
35
|
"DateQuestion",
|
|
49
36
|
"TableQuestion",
|
|
50
37
|
"FormQuestion",
|
|
51
|
-
"
|
|
38
|
+
"FilesQuestion",
|
|
52
39
|
"StaticQuestion",
|
|
40
|
+
"StringAnswer",
|
|
41
|
+
"ListAnswer",
|
|
42
|
+
"IntegerAnswer",
|
|
43
|
+
"FloatAnswer",
|
|
44
|
+
"DateAnswer",
|
|
45
|
+
"TableAnswer",
|
|
46
|
+
"FilesAnswer",
|
|
47
|
+
"File",
|
|
53
48
|
"CalculatedFloatQuestion",
|
|
54
49
|
"ActionButtonQuestion",
|
|
50
|
+
"SimpleTask",
|
|
51
|
+
"CompleteWorkflowFormTask",
|
|
52
|
+
"CompleteTaskFormTask",
|
|
53
|
+
"AnalyticsTable",
|
|
54
|
+
"AvailableField",
|
|
55
|
+
"AnalyticsField",
|
|
56
|
+
"DynamicOption",
|
|
55
57
|
],
|
|
56
58
|
Answer: [
|
|
57
59
|
"StringAnswer",
|
|
58
60
|
"ListAnswer",
|
|
59
|
-
"FloatAnswer",
|
|
60
61
|
"IntegerAnswer",
|
|
62
|
+
"FloatAnswer",
|
|
61
63
|
"DateAnswer",
|
|
62
64
|
"TableAnswer",
|
|
63
|
-
"
|
|
65
|
+
"FilesAnswer",
|
|
64
66
|
],
|
|
67
|
+
Task: ["SimpleTask", "CompleteWorkflowFormTask", "CompleteTaskFormTask"],
|
|
65
68
|
DynamicQuestion: ["DynamicChoiceQuestion", "DynamicMultipleChoiceQuestion"],
|
|
66
69
|
};
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
import { getOwner, setOwner } from "@ember/application";
|
|
2
|
-
import { useResource } from "ember-resources";
|
|
3
2
|
|
|
4
3
|
import CalumaQueryResource from "@projectcaluma/ember-core/caluma-query/resource";
|
|
5
4
|
|
|
6
5
|
export function useCalumaQuery(destroyable, query, thunk) {
|
|
7
|
-
return
|
|
8
|
-
query,
|
|
9
|
-
...thunk(),
|
|
10
|
-
}));
|
|
6
|
+
return CalumaQueryResource.from(destroyable, () => ({ query, ...thunk() }));
|
|
11
7
|
}
|
|
12
8
|
|
|
13
9
|
export default function calumaQuery({ query, options = {} }) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { inject as service } from "@ember/service";
|
|
2
2
|
|
|
3
3
|
import CalumaQueryModel, {
|
|
4
|
-
|
|
4
|
+
dateAttr,
|
|
5
5
|
} from "@projectcaluma/ember-core/caluma-query/models/index";
|
|
6
6
|
|
|
7
7
|
export default class CaseModel extends CalumaQueryModel {
|
|
8
8
|
@service intl;
|
|
9
9
|
|
|
10
|
-
@
|
|
11
|
-
@
|
|
12
|
-
@
|
|
10
|
+
@dateAttr createdAt;
|
|
11
|
+
@dateAttr modifiedAt;
|
|
12
|
+
@dateAttr closedAt;
|
|
13
13
|
|
|
14
14
|
get status() {
|
|
15
15
|
return this.intl.t(`caluma.caluma-query.case.status.${this.raw.status}`);
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import cloneDeep from "lodash.clonedeep";
|
|
2
|
-
import moment from "moment";
|
|
3
2
|
|
|
4
3
|
import { decodeId } from "@projectcaluma/ember-core/helpers/decode-id";
|
|
5
4
|
|
|
@@ -11,15 +10,16 @@ export function uuidAttr(target, name) {
|
|
|
11
10
|
};
|
|
12
11
|
}
|
|
13
12
|
|
|
14
|
-
export function
|
|
13
|
+
export function dateAttr(target, name) {
|
|
15
14
|
return {
|
|
16
15
|
get() {
|
|
17
|
-
const
|
|
16
|
+
const raw = this.raw[name];
|
|
17
|
+
const date = raw ? new Date(raw) : null;
|
|
18
18
|
|
|
19
|
-
return date
|
|
19
|
+
return raw && !isNaN(date) ? date : null;
|
|
20
20
|
},
|
|
21
21
|
set(value) {
|
|
22
|
-
if (value
|
|
22
|
+
if (!isNaN(value)) {
|
|
23
23
|
this.raw[name] = value.toISOString();
|
|
24
24
|
}
|
|
25
25
|
},
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { inject as service } from "@ember/service";
|
|
2
2
|
|
|
3
3
|
import CalumaQueryModel, {
|
|
4
|
-
|
|
4
|
+
dateAttr,
|
|
5
5
|
} from "@projectcaluma/ember-core/caluma-query/models/index";
|
|
6
6
|
|
|
7
7
|
export default class WorkItemModel extends CalumaQueryModel {
|
|
8
8
|
@service intl;
|
|
9
9
|
|
|
10
|
-
@
|
|
11
|
-
@
|
|
12
|
-
@
|
|
13
|
-
@
|
|
10
|
+
@dateAttr createdAt;
|
|
11
|
+
@dateAttr modifiedAt;
|
|
12
|
+
@dateAttr closedAt;
|
|
13
|
+
@dateAttr deadline;
|
|
14
14
|
|
|
15
15
|
get status() {
|
|
16
16
|
return this.intl.t(
|
|
@@ -1,47 +1,48 @@
|
|
|
1
1
|
import { getOwner, setOwner } from "@ember/application";
|
|
2
|
-
import { destroy } from "@ember/destroyable";
|
|
2
|
+
import { destroy, registerDestructor } from "@ember/destroyable";
|
|
3
3
|
import { action } from "@ember/object";
|
|
4
4
|
import { tracked } from "@glimmer/tracking";
|
|
5
|
-
import {
|
|
5
|
+
import { Resource } from "ember-resources/core";
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
this.query = query(options);
|
|
14
|
-
setOwner(this.query, getOwner(this));
|
|
7
|
+
const MUTABLE_OPTIONS = [
|
|
8
|
+
"pageSize",
|
|
9
|
+
"processAll",
|
|
10
|
+
"processNew",
|
|
11
|
+
"queryOptions",
|
|
12
|
+
];
|
|
15
13
|
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
export default class CalumaQueryResource extends Resource {
|
|
15
|
+
@tracked query;
|
|
18
16
|
|
|
19
|
-
|
|
20
|
-
this._updateOptions();
|
|
17
|
+
didSetup = false;
|
|
21
18
|
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
constructor(owner, args) {
|
|
20
|
+
super(owner, args);
|
|
24
21
|
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
registerDestructor(this, () => {
|
|
23
|
+
destroy(this.query);
|
|
24
|
+
});
|
|
27
25
|
}
|
|
28
26
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
27
|
+
modify(_, { options = {}, query, ...args }) {
|
|
28
|
+
if (!this.didSetup) {
|
|
29
|
+
// initialize the caluma query with the given options
|
|
30
|
+
this.query = query(options);
|
|
31
|
+
setOwner(this.query, getOwner(this));
|
|
34
32
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
33
|
+
this.didSetup = true;
|
|
34
|
+
} else {
|
|
35
|
+
// update changed options on the caluma query
|
|
36
|
+
MUTABLE_OPTIONS.forEach((optionKey) => {
|
|
37
|
+
const option = options[optionKey];
|
|
39
38
|
|
|
40
39
|
if (option !== undefined && option !== this.query[optionKey]) {
|
|
41
40
|
this.query[optionKey] = option;
|
|
42
41
|
}
|
|
43
|
-
}
|
|
44
|
-
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
this.query.fetch(args);
|
|
45
46
|
}
|
|
46
47
|
|
|
47
48
|
@action
|
|
@@ -2,6 +2,7 @@ import { assert } from "@ember/debug";
|
|
|
2
2
|
import { once } from "@ember/runloop";
|
|
3
3
|
import Service, { inject as service } from "@ember/service";
|
|
4
4
|
import { camelize } from "@ember/string";
|
|
5
|
+
import { tracked } from "@glimmer/tracking";
|
|
5
6
|
import { task } from "ember-concurrency";
|
|
6
7
|
import { pluralize } from "ember-inflector";
|
|
7
8
|
|
|
@@ -14,25 +15,46 @@ import { pluralize } from "ember-inflector";
|
|
|
14
15
|
*/
|
|
15
16
|
function typeResolver(type) {
|
|
16
17
|
return task(function* () {
|
|
17
|
-
const identifiers = [...this[type]
|
|
18
|
-
const callbacks = [...this[type]
|
|
18
|
+
const identifiers = [...(this[type]?.identifiers ?? [])];
|
|
19
|
+
const callbacks = [...(this[type]?.callbacks ?? [])];
|
|
19
20
|
|
|
20
21
|
this[type] = undefined;
|
|
21
22
|
|
|
22
23
|
if (!identifiers.length) return;
|
|
23
24
|
|
|
25
|
+
const cached = this[`${type}Cache`];
|
|
26
|
+
const uncachedIdentifiers = identifiers.filter(
|
|
27
|
+
(identifier) =>
|
|
28
|
+
!cached
|
|
29
|
+
.map((resolved) =>
|
|
30
|
+
String(resolved[this.calumaOptions[`${type}IdentifierProperty`]])
|
|
31
|
+
)
|
|
32
|
+
.includes(String(identifier))
|
|
33
|
+
);
|
|
34
|
+
|
|
24
35
|
const methodName = camelize(`resolve-${pluralize(type)}`);
|
|
25
|
-
const result =
|
|
36
|
+
const result = uncachedIdentifiers.length
|
|
37
|
+
? yield this.calumaOptions[methodName]?.(uncachedIdentifiers)
|
|
38
|
+
: [];
|
|
39
|
+
|
|
40
|
+
const allResults = [...cached, ...(result?.toArray?.() ?? result ?? [])];
|
|
26
41
|
|
|
27
|
-
|
|
42
|
+
if (result?.length) {
|
|
43
|
+
this[`${type}Cache`] = allResults;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
yield Promise.all(callbacks.map((callback) => callback(allResults)));
|
|
28
47
|
|
|
29
|
-
return
|
|
48
|
+
return allResults;
|
|
30
49
|
}).enqueue();
|
|
31
50
|
}
|
|
32
51
|
|
|
33
52
|
export default class PrivateSchedulerService extends Service {
|
|
34
53
|
@service calumaOptions;
|
|
35
54
|
|
|
55
|
+
@tracked groupCache = [];
|
|
56
|
+
@tracked userCache = [];
|
|
57
|
+
|
|
36
58
|
@typeResolver("group") resolveGroup;
|
|
37
59
|
@typeResolver("user") resolveUser;
|
|
38
60
|
|
|
@@ -18,33 +18,6 @@ export default class CalumaOptionsService extends Service {
|
|
|
18
18
|
|
|
19
19
|
@tracked currentGroupId;
|
|
20
20
|
|
|
21
|
-
constructor(...args) {
|
|
22
|
-
super(...args);
|
|
23
|
-
|
|
24
|
-
this.registerComponentOverride({
|
|
25
|
-
label: this.intl.t(
|
|
26
|
-
"caluma.form-builder.question.widgetOverrides.powerselect"
|
|
27
|
-
),
|
|
28
|
-
component: "cf-field/input/powerselect",
|
|
29
|
-
types: [
|
|
30
|
-
"ChoiceQuestion",
|
|
31
|
-
"MultipleChoiceQuestion",
|
|
32
|
-
"DynamicChoiceQuestion",
|
|
33
|
-
"DynamicMultipleChoiceQuestion",
|
|
34
|
-
],
|
|
35
|
-
});
|
|
36
|
-
|
|
37
|
-
this.registerComponentOverride({
|
|
38
|
-
label: this.intl.t("caluma.form-builder.question.widgetOverrides.hidden"),
|
|
39
|
-
component: "cf-field/input/hidden",
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
this.registerComponentOverride({
|
|
43
|
-
component: "cfb-form-editor/question/default/table",
|
|
44
|
-
types: [],
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
|
|
48
21
|
_namespace = null;
|
|
49
22
|
_overrides = {};
|
|
50
23
|
|
|
@@ -93,6 +66,18 @@ export default class CalumaOptionsService extends Service {
|
|
|
93
66
|
return Object.values(this._overrides);
|
|
94
67
|
}
|
|
95
68
|
|
|
69
|
+
/**
|
|
70
|
+
* Defines the behavior used when sending a reminder for
|
|
71
|
+
* an overdue inquiry. It should at least update the meta
|
|
72
|
+
* data on the inquiry work-item to update the reminder
|
|
73
|
+
* history and perform any application-specific behavior
|
|
74
|
+
* to send reminder notifications.
|
|
75
|
+
*
|
|
76
|
+
* @method sendReminderDistributionInquiry
|
|
77
|
+
* @param {String} inquiryId
|
|
78
|
+
*/
|
|
79
|
+
async sendReminderDistributionInquiry() {}
|
|
80
|
+
|
|
96
81
|
groupIdentifierProperty = "id";
|
|
97
82
|
groupNameProperty = "name";
|
|
98
83
|
resolveGroups(identifiers) {
|
package/addon/utils/slugify.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "../cc-uikit-powerselect";
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
@import "ember-uikit/variables-theme";
|
|
2
|
+
|
|
3
|
+
// Backgrounds
|
|
4
|
+
$ember-power-select-selected-background: lighten(
|
|
5
|
+
$global-secondary-background,
|
|
6
|
+
25%
|
|
7
|
+
) !default;
|
|
8
|
+
$ember-power-select-highlighted-background: lighten(
|
|
9
|
+
$ember-power-select-selected-background,
|
|
10
|
+
25%
|
|
11
|
+
) !default;
|
|
12
|
+
$ember-power-select-multiple-selection-background-color: $ember-power-select-selected-background !default;
|
|
13
|
+
|
|
14
|
+
// Texts
|
|
15
|
+
$ember-power-select-highlighted-color: #ffffff !default;
|
|
16
|
+
$ember-power-select-multiple-selection-color: #ffffff !default;
|
|
17
|
+
|
|
18
|
+
.ember-power-select-option[aria-selected="true"] {
|
|
19
|
+
color: $ember-power-select-highlighted-color;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// Borders
|
|
23
|
+
$ember-power-select-focus-outline: 0 !default;
|
|
24
|
+
$ember-power-select-border-color: $global-border !default;
|
|
25
|
+
$ember-power-select-default-border-radius: 0 !default;
|
|
26
|
+
$ember-power-select-multiple-option-border-color: $ember-power-select-border-color !default;
|
|
27
|
+
|
|
28
|
+
// Other
|
|
29
|
+
$ember-power-select-line-height: 38px !default;
|
|
30
|
+
$ember-power-select-multiple-option-padding: 0 8px !default;
|
|
31
|
+
$ember-power-select-multiple-option-line-height: 32px !default;
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@projectcaluma/ember-core",
|
|
3
|
-
"version": "11.0.0-beta.
|
|
3
|
+
"version": "11.0.0-beta.31",
|
|
4
4
|
"description": "Ember core addon for working with Caluma.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon"
|
|
@@ -9,62 +9,62 @@
|
|
|
9
9
|
"homepage": "https://docs.caluma.io/ember-caluma",
|
|
10
10
|
"repository": "github:projectcaluma/ember-caluma",
|
|
11
11
|
"scripts": {
|
|
12
|
-
"test": "npm-run-all test
|
|
12
|
+
"test": "npm-run-all --print-name \"lint\" \"test:*\"",
|
|
13
13
|
"test:ember": "ember test",
|
|
14
14
|
"test:ember-compatibility": "ember try:each"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@apollo/client": "^3.
|
|
18
|
-
"@
|
|
19
|
-
"
|
|
20
|
-
"ember-
|
|
17
|
+
"@apollo/client": "^3.7.0",
|
|
18
|
+
"@ember/string": "^3.0.0",
|
|
19
|
+
"@glimmer/tracking": "^1.1.2",
|
|
20
|
+
"ember-apollo-client": "~4.0.2",
|
|
21
|
+
"ember-auto-import": "^2.4.3",
|
|
21
22
|
"ember-cli-babel": "^7.26.11",
|
|
22
|
-
"ember-cli-htmlbars": "^6.
|
|
23
|
-
"ember-concurrency": "^2.
|
|
24
|
-
"ember-fetch": "^8.1.
|
|
23
|
+
"ember-cli-htmlbars": "^6.1.1",
|
|
24
|
+
"ember-concurrency": "^2.3.7",
|
|
25
|
+
"ember-fetch": "^8.1.2",
|
|
25
26
|
"ember-inflector": "^4.0.2",
|
|
26
27
|
"ember-intl": "^5.7.2",
|
|
27
|
-
"ember-resources": "^4.
|
|
28
|
+
"ember-resources": "^5.4.0",
|
|
29
|
+
"ember-uikit": "^6.1.0",
|
|
28
30
|
"graphql": "^15.8.0",
|
|
29
31
|
"graphql-tag": "^2.12.6",
|
|
30
32
|
"jexl": "^2.3.0",
|
|
31
33
|
"lodash.clonedeep": "^4.5.0",
|
|
32
|
-
"moment": "^2.29.1",
|
|
33
34
|
"slugify": "^1.6.5"
|
|
34
35
|
},
|
|
35
36
|
"devDependencies": {
|
|
36
37
|
"@ember/optional-features": "2.0.0",
|
|
37
38
|
"@ember/render-modifiers": "2.0.4",
|
|
38
|
-
"@ember/test-helpers": "2.
|
|
39
|
-
"@embroider/test-setup": "1.
|
|
40
|
-
"@
|
|
41
|
-
"@
|
|
42
|
-
"@
|
|
39
|
+
"@ember/test-helpers": "2.7.0",
|
|
40
|
+
"@embroider/test-setup": "1.8.3",
|
|
41
|
+
"@embroider/util": "^1.9.0",
|
|
42
|
+
"@faker-js/faker": "7.6.0",
|
|
43
|
+
"@glimmer/component": "1.1.2",
|
|
44
|
+
"@projectcaluma/ember-testing": "11.0.0-beta.31",
|
|
43
45
|
"broccoli-asset-rev": "3.0.0",
|
|
44
|
-
"ember-cli": "
|
|
46
|
+
"ember-cli": "4.8.0",
|
|
45
47
|
"ember-cli-code-coverage": "1.0.3",
|
|
46
|
-
"ember-cli-dependency-checker": "3.
|
|
48
|
+
"ember-cli-dependency-checker": "3.3.1",
|
|
47
49
|
"ember-cli-inject-live-reload": "2.1.0",
|
|
48
|
-
"ember-cli-mirage": "
|
|
50
|
+
"ember-cli-mirage": "3.0.0-alpha.3",
|
|
49
51
|
"ember-cli-sri": "2.1.1",
|
|
50
52
|
"ember-cli-terser": "4.0.2",
|
|
51
53
|
"ember-disable-prototype-extensions": "1.1.3",
|
|
52
|
-
"ember-export-application-global": "2.0.1",
|
|
53
54
|
"ember-load-initializers": "2.1.2",
|
|
54
|
-
"ember-
|
|
55
|
-
"ember-qunit": "5.1.5",
|
|
55
|
+
"ember-qunit": "6.0.0",
|
|
56
56
|
"ember-resolver": "8.0.3",
|
|
57
|
-
"ember-source": "
|
|
57
|
+
"ember-source": "4.8.0",
|
|
58
58
|
"ember-source-channel-url": "3.0.0",
|
|
59
59
|
"ember-try": "2.0.0",
|
|
60
60
|
"loader.js": "4.7.0",
|
|
61
61
|
"npm-run-all": "4.1.5",
|
|
62
|
-
"qunit": "2.
|
|
62
|
+
"qunit": "2.19.2",
|
|
63
63
|
"qunit-dom": "2.0.0",
|
|
64
|
-
"webpack": "5.
|
|
64
|
+
"webpack": "5.74.0"
|
|
65
65
|
},
|
|
66
66
|
"engines": {
|
|
67
|
-
"node": "
|
|
67
|
+
"node": "14.* || 16.* || >= 18"
|
|
68
68
|
},
|
|
69
69
|
"ember": {
|
|
70
70
|
"edition": "octane"
|