This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component, forwardRef, Input } from "@angular/core"; | |
import { NG_VALUE_ACCESSOR } from "@angular/forms"; | |
import { DateTime } from "luxon"; | |
import { BehaviorSubject, combineLatest, of } from "rxjs"; | |
import { filter, map, shareReplay, startWith, switchMap } from "rxjs/operators"; | |
import { AppointmentsService } from "src/appointments/appointments.service"; | |
import { AppointmentSlot } from "src/appointments/fields/appointment-slot.model"; | |
import { Day } from "src/core/day.model"; | |
import { BaseFieldComponent } from "src/core/forms/base-field.component"; | |
import { SitesService } from "src/core/sites"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import "../../app/variables"; | |
:host { | |
display: block; | |
min-width: 8rem; | |
select, | |
ng-select ::ng-deep .ng-select-container { | |
width: 100%; | |
min-height: 2.5rem; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mr-field-container | |
#container | |
[fieldId]="fieldId" | |
[label]="label" | |
[description]="description" | |
> | |
<ng-select | |
*ngIf="hasItems; else staticOptions" | |
[labelForId]="container.fieldId" | |
[attr.aria-describedby]="container.descriptionId" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
Component, | |
ContentChildren, | |
EventEmitter, | |
forwardRef, | |
Input, | |
OnDestroy, | |
Output, | |
QueryList, | |
} from "@angular/core"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { EventEmitter, Input, Output } from "@angular/core"; | |
import { ControlValueAccessor } from "@angular/forms"; | |
import { parseBooleanAttribute } from "src/utils"; | |
export abstract class BaseFieldComponent<T> implements ControlValueAccessor { | |
@Input() public fieldId?: string; | |
@Input() public label?: string; | |
@Input() public description?: string; | |
@Input() public value: T | null = null; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inputProducts = gets | |
total = 0 | |
products = { | |
"A" => { "1" => 2.00, "4" => 7.00 }, | |
"B" => { "1" => 12.00 }, | |
"C" => { "1" => 1.25, "6" => 6.00 }, | |
"D" => { "1" => 0.15 } | |
} | |
inputArray = inputProducts.split('') # input products | |
counts = Hash.new # number of item |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
SET_CHANNEL_FILTER, | |
SET_CHANNEL_TYPE, | |
SET_CONNECTIONS_LIST, | |
TOGGLE_ADD_CONNECTION_DIALOG, | |
FETCH_SOCIAL_URL, | |
CONNECTION_CALLBACK, | |
SET_SOCIAL_URLS, | |
REMOVE_CONNECTION, | |
SET_SUB_CALLBACK, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* The controller for the page used to connect to a connection or balancing group. | |
*/ | |
angular.module('client').controller('clientController', ['$scope', '$routeParams', '$injector', | |
function clientController($scope, $routeParams, $injector) { | |
// Required types | |
var ManagedClient = $injector.get('ManagedClient'); | |
var ManagedClientState = $injector.get('ManagedClientState'); | |
var ManagedFilesystem = $injector.get('ManagedFilesystem'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<guac-viewport> | |
<!-- Client view --> | |
<div class="client-view"> | |
<div class="client-view-content"> | |
<!-- Central portion of view --> | |
<div class="client-body" guac-touch-drag="clientDrag" guac-touch-pinch="clientPinch"> | |
<!-- Client --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Xsolve\SalesforceClient\Model; | |
use JMS\Serializer\Annotation as JMS; | |
use Xsolve\SalesforceClient\Enum\AbstractSObjectType; | |
use Xsolve\SalesforceClient\Enum\SObjectType; | |
class Account extends AbstractSObject | |
{ | |
/** | |
* @var bool|null | |
* @JMS\Type("boolean") |
NewerOlder