0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-22 09:20:29 +01:00
Dieser Commit ist enthalten in:
Angus McLeod 2020-05-28 13:06:06 +10:00
Ursprung afb543e0de
Commit 0c7d6f97fc
11 geänderte Dateien mit 11 neuen und 0 gelöschten Zeilen

Datei anzeigen

@ -6,6 +6,7 @@ import wizardSchema from '../lib/wizard-schema';
import UndoChanges from '../mixins/undo-changes';
import Component from "@ember/component";
import { notificationLevels } from '../lib/wizard';
import I18n from "I18n";
export default Component.extend(UndoChanges, {
componentType: 'action',

Datei anzeigen

@ -1,5 +1,6 @@
import Component from "@ember/component";
import { A } from "@ember/array";
import I18n from "I18n";
export default Component.extend({
classNames: ['container', 'export'],

Datei anzeigen

@ -2,6 +2,7 @@ import { ajax } from 'discourse/lib/ajax';
import { default as discourseComputed } from 'discourse-common/utils/decorators';
import { notEmpty } from "@ember/object/computed";
import Component from "@ember/component";
import I18n from "I18n";
export default Component.extend({
classNames: ['container', 'import'],

Datei anzeigen

@ -4,6 +4,7 @@ import { computed } from "@ember/object";
import { defaultConnector } from '../lib/wizard-mapper';
import { later } from "@ember/runloop";
import { observes } from "discourse-common/utils/decorators";
import I18n from "I18n";
export default Component.extend({
classNameBindings: [':mapper-connector', ':mapper-block', 'hasMultiple::single'],

Datei anzeigen

@ -6,6 +6,7 @@ import { defaultSelectionType, selectionTypes } from '../lib/wizard-mapper';
import { snakeCase, generateName, userProperties } from '../lib/wizard';
import Component from "@ember/component";
import { bind, later } from "@ember/runloop";
import I18n from "I18n";
export default Component.extend({
classNameBindings: [':mapper-selector', 'activeType'],

Datei anzeigen

@ -1,5 +1,6 @@
import { default as discourseComputed } from 'discourse-common/utils/decorators';
import Component from "@ember/component";
import I18n from "I18n";
export default Component.extend({
classNames: 'wizard-message',

Datei anzeigen

@ -3,6 +3,7 @@ import { notEmpty } from "@ember/object/computed";
import { userProperties } from '../lib/wizard';
import { scheduleOnce } from "@ember/runloop";
import Component from "@ember/component";
import I18n from "I18n";
export default Component.extend({
classNames: 'wizard-text-editor',

Datei anzeigen

@ -5,6 +5,7 @@ import { default as discourseComputed } from 'discourse-common/utils/decorators'
import { not, and, equal } from "@ember/object/computed";
import { selectKitContent } from '../lib/wizard';
import Controller from "@ember/controller";
import I18n from "I18n";
export default Controller.extend({
queryParams: ['refresh_list'],

Datei anzeigen

@ -9,6 +9,7 @@ import { scheduleOnce, later } from "@ember/runloop";
import Controller from "@ember/controller";
import copyText from "discourse/lib/copy-text";
import CustomWizard from '../models/custom-wizard';
import I18n from "I18n";
export default Controller.extend({
hasName: notEmpty('wizard.name'),

Datei anzeigen

@ -1,5 +1,6 @@
import EmberObject from "@ember/object";
import { A } from "@ember/array";
import I18n from "I18n";
// Inputs

Datei anzeigen

@ -1,6 +1,7 @@
import CustomWizard from '../models/custom-wizard';
import { ajax } from 'discourse/lib/ajax';
import DiscourseRoute from "discourse/routes/discourse";
import I18n from "I18n";
export default DiscourseRoute.extend({
model(params) {